You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2007-09-13 19:33:06
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6022 Modified Files: mx_functions_core.php Log Message: updated config handling for user stats Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** mx_functions_core.php 9 Sep 2007 16:48:16 -0000 1.53 --- mx_functions_core.php 13 Sep 2007 19:32:57 -0000 1.54 *************** *** 2909,2915 **** case 'portal_startdate': case 'rand_seed': case 'record_online_users': case 'record_online_date': ! $do = false; break; case 'portal_name': --- 2909,2920 ---- case 'portal_startdate': case 'rand_seed': + $do = false; + break; case 'record_online_users': case 'record_online_date': ! if (PORTAL_BACKEND != 'internal') ! { ! $do = false; ! } break; case 'portal_name': |
|
From: Jon O. <jon...@us...> - 2007-09-13 13:20:53
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5073 Modified Files: mx_functions_style.php Log Message: mxt. removed for internal mode Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** mx_functions_style.php 13 Sep 2007 13:14:56 -0000 1.20 --- mx_functions_style.php 13 Sep 2007 13:20:48 -0000 1.21 *************** *** 746,750 **** WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; - break; case 'phpbb2': --- 746,749 ---- *************** *** 783,787 **** WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; - break; case 'phpbb2': --- 782,785 ---- |
|
From: Jon O. <jon...@us...> - 2007-09-13 13:15:04
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2266 Modified Files: mx_functions_style.php Log Message: mxt. removed for internal mode Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** mx_functions_style.php 12 Sep 2007 19:28:26 -0000 1.19 --- mx_functions_style.php 13 Sep 2007 13:14:56 -0000 1.20 *************** *** 744,748 **** $sql = "SELECT * FROM " . MX_THEMES_TABLE . " ! WHERE mxt.portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; --- 744,748 ---- $sql = "SELECT * FROM " . MX_THEMES_TABLE . " ! WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; *************** *** 781,785 **** $sql = "SELECT * FROM " . MX_THEMES_TABLE . " ! WHERE mxt.portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; --- 781,785 ---- $sql = "SELECT * FROM " . MX_THEMES_TABLE . " ! WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; |
|
From: OryNider <ory...@us...> - 2007-09-13 11:36:05
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19102 Modified Files: favicon.ico Log Message: A little change since this is not 2.8.x anymore :P Index: favicon.ico =================================================================== RCS file: /cvsroot/mxbb/core/favicon.ico,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsapwQ7w and /tmp/cvsIO0lTR differ |
|
From: OryNider <ory...@us...> - 2007-09-13 11:26:37
|
Update of /cvsroot/mxbb/mx_music/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15123 Modified Files: music_cat_xs.tpl music_index_body.tpl music_media_cat_body.tpl Log Message: this is not upgrade for 2.9.x, just to the latest version now... Index: music_cat_xs.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/music_cat_xs.tpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** music_cat_xs.tpl 10 Sep 2007 22:28:43 -0000 1.8 --- music_cat_xs.tpl 13 Sep 2007 11:26:29 -0000 1.9 *************** *** 48,52 **** <td class="row1" width="{S_COL_WIDTH}" colspan="7" align="center" valign="top" class="catBottom"> <div align="center" valign="top"> ! <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> </div> <!-- --- 48,52 ---- <td class="row1" width="{S_COL_WIDTH}" colspan="7" align="center" valign="top" class="catBottom"> <div align="center" valign="top"> ! <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->" id="image" type="image" border="1"></a> </div> <!-- *************** *** 109,114 **** document.write (' <Embed id="wmp" name="wmp" type="audio/mpeg"'); document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); ! document.write (' filename="{song_detail.U_SONG}"'); ! document.write (' src="{song_detail.U_SONG}"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); --- 109,114 ---- document.write (' <Embed id="wmp" name="wmp" type="audio/mpeg"'); document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); ! document.write (' filename="{song_detail.SONG_URL}"'); ! document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); *************** *** 116,120 **** document.write (' ShowStatusBar=1'); document.write (' AUTOSTART=0'); ! document.write (' AutoSize=1'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); --- 116,120 ---- document.write (' ShowStatusBar=1'); document.write (' AUTOSTART=0'); ! document.write (' AutoSize=0'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); *************** *** 122,126 **** if ( navigator.appName != "Netscape" ){ ! document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="70" height="300" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.U_SONG}" src="{song_detail.U_SONG}" ></embed>'); } } --- 122,126 ---- if ( navigator.appName != "Netscape" ){ ! document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } } *************** *** 140,155 **** document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); ! document.write ('<PARAM NAME="url" VALUE="{song_detail.U_SONG}">'); ! document.write ('<PARAM NAME="FileName" value="{song_detail.U_SONG}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="1">'); ! document.write ('<PARAM NAME="uiMode" VALUE="mini">'); document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); ! document.write (' filename="{song_detail.U_SONG}"'); ! document.write (' src="{song_detail.U_SONG}"'); document.write (' Name="MediaPlayer2"'); document.write (' ShowControls="1"'); --- 140,157 ---- document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); ! document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); ! document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="0">'); ! document.write ('<PARAM NAME="uiMode" VALUE="mini">'); ! document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); ! document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); ! document.write (' filename="{song_detail.SONG_URL}"'); ! document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name="MediaPlayer2"'); document.write (' ShowControls="1"'); *************** *** 157,163 **** document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); ! document.write (' AutoSize="1"'); ! document.write (' width="70"'); ! document.write (' height="300">'); document.write (' </embed>'); --- 159,165 ---- document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); ! document.write (' AutoSize="0"'); ! document.write (' width="{song_detail.WIDTH}"'); ! document.write (' height="{song_detail.HEIGHT}">'); document.write (' </embed>'); *************** *** 174,189 **** document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); ! document.write ('<PARAM NAME="url" VALUE="{song_detail.U_SONG}">'); ! document.write ('<PARAM NAME="FileName" value="{song_detail.U_SONG}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="1">'); //Firefox code document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); ! document.write (' filename="{song_detail.U_SONG}"'); ! document.write (' src="{song_detail.U_SONG}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); --- 176,193 ---- document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); ! document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); ! document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="0">'); ! document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); ! document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); //Firefox code document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); ! document.write (' filename="{song_detail.SONG_URL}"'); ! document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); *************** *** 191,195 **** document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); ! document.write (' AutoSize="1"'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); --- 195,199 ---- document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); ! document.write (' AutoSize="0"'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); *************** *** 202,206 **** else { ! document.write(' <embed type="audio/mpeg" height="70" width="300" AUTOSTART="0" filename="{song_detail.U_SONG}" src="{song_detail.U_SONG}" ></embed>'); } </SCRIPT> --- 206,210 ---- else { ! document.write(' <embed type="audio/mpeg" height="{song_detail.HEIGHT}" width="{song_detail.WIDTH}" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } </SCRIPT> *************** *** 208,225 **** <!-- IF song_detail.S_ROW_TYPE eq FLASH --> ! <EMBED src="{song_detail.U_SONG}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> ! <embed src="{song_detail.SONG_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> </embed> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> ! <object width="425" height="350"> ! <param name="movie" value="{song_detail.SONG_URL}"></param> ! <param name="wmode" value="transparent"></param> ! <embed src="{song_detail.VIDEO_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> </embed> </object> --- 212,247 ---- <!-- IF song_detail.S_ROW_TYPE eq FLASH --> ! <EMBED src="{song_detail.SONG_URL}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> ! <param name="allowScriptAccess" value="always" /> ! <param name="movie" value="{song_detail.VIDEO_URL}" /> ! <param name="wmode" value="transparent" /> ! <param name="loop" value="false" /> ! <param name="menu" value="false" /> ! <param name="quality" value="high" /> ! <param name="allowfullscreen" value="true" /> ! <param name="scale" value="noscale" /> ! <param name="salign" value="lt" /> ! <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" allowfullscreen="true"> </embed> + </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="VideoPlayback" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> ! <param name="allowScriptAccess" value="always" /> ! <param name="movie" value="{song_detail.VIDEO_URL}" /> ! <param name="wmode" value="transparent" /> ! <param name="loop" value="false" /> ! <param name="menu" value="false" /> ! <param name="quality" value="high" /> ! <param name="allowfullscreen" value="true" /> ! <param name="scale" value="noscale" /> ! <param name="salign" value="lt" /> ! <embed src="{song_detail.VIDEO_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" allowfullscreen="true"> </embed> </object> *************** *** 228,232 **** <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div id="flvplayer"> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="425" height="350" id="flvplayer" align="center"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> --- 250,254 ---- <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div id="flvplayer"> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" id="flvplayer" align="center"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> *************** *** 239,243 **** <param name="bgcolor" value="000000" /> <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> ! <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="425" height="360" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> --- 261,265 ---- <param name="bgcolor" value="000000" /> <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> ! <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> *************** *** 245,256 **** <!-- IF song_detail.S_ROW_TYPE eq RAM --> ! <embed src="{song_detail.U_SONG}" align="center" ! width="275" height="40" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq QT --> ! <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="377" height="212"> ! <param name="qtsrc" value="{song_detail.U_SONG}"> <param name="autoplay" value="false"> <param name="loop" value="false"> --- 267,278 ---- <!-- IF song_detail.S_ROW_TYPE eq RAM --> ! <embed src="{song_detail.SONG_URL}" align="center" ! width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq QT --> ! <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> ! <param name="qtsrc" value="{song_detail.SONG_URL}"> <param name="autoplay" value="false"> <param name="loop" value="false"> *************** *** 258,262 **** <param name="kioskmode" value="true"> <param name="cache" value="false"> ! <embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="{song_detail.U_SONG}" width="377" height="212" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"> </embed> --- 280,284 ---- <param name="kioskmode" value="true"> <param name="cache" value="false"> ! <embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="{song_detail.SONG_URL}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"> </embed> *************** *** 265,271 **** <!-- IF song_detail.S_ROW_TYPE eq IMG --> ! <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> - </td> </tr> --- 287,292 ---- <!-- IF song_detail.S_ROW_TYPE eq IMG --> ! <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> </td> </tr> Index: music_index_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/music_index_body.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** music_index_body.tpl 8 Sep 2007 13:29:03 -0000 1.4 --- music_index_body.tpl 13 Sep 2007 11:26:29 -0000 1.5 *************** *** 80,87 **** </td> <td class="row1" height="50" width="50%"> ! <!-- BEGIN virtual --> ! <span class="genmed"> <a href="{catrow.U_VIEW_PIC_CAT}" class="genmed">{catrow.L_ALL_CAT_PICS}</a></span><br /> ! <span class="genmed"> <a href="{catrow.U_VIEW_MEDIA_CAT}" class="genmed">{catrow.L_ALL_CAT_SONGS}</a></span><br /> ! <!-- END virtual --> </td> </tr> --- 80,90 ---- </td> <td class="row1" height="50" width="50%"> ! <!-- BEGIN virtualimagecat --> ! <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{catrow.L_ALL_CAT_PICS}</a></span> ! <!-- END virtualimagecat --> ! <!-- BEGIN virtualmediacat --> ! <br /> ! <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{catrow.L_ALL_CAT_SONGS}</a></span> ! <!-- END virtualmediacat --> </td> </tr> *************** *** 94,98 **** <!-- END catrow --> <tr> ! <td class="catbottom" colspan="4" height="28"><span class="cattitle"></span></td> </tr> </table> --- 97,104 ---- <!-- END catrow --> <tr> ! <td class="catBottom" height="28" colspan="4"> ! <span class="gensmall"> </span><br /> ! <span class="gensmall"> <a target="_blank" alt="music_rss" href="{U_RSS}">{L_RSS}</a></span> ! </td> </tr> </table> Index: music_media_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/music_media_cat_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_media_cat_body.tpl 10 Sep 2007 22:28:43 -0000 1.3 --- music_media_cat_body.tpl 13 Sep 2007 11:26:29 -0000 1.4 *************** *** 45,189 **** </tr> <tr> ! <td width="44%" colspan="7" class="row1" align="center"> ! <!-- IF song_detail.S_ROW_TYPE eq MEDIA --> ! <SCRIPT LANGUAGE="JavaScript"> ! var WMP7; ! var Mac; ! var Win; ! var Unix; ! var Linux; ! Win = navigator.userAgent.indexOf("Win") > -1; ! Mac = navigator.userAgent.indexOf("Mac") > -1; ! Unix = navigator.appVersion.indexOf("X11") > -1; ! Linux = navigator.appVersion.indexOf("Linux") > -1; ! if (Mac) ! { ! if ( navigator.appName == "Netscape" ){ ! //Netscape code ! document.write (' <Embed id="wmp" name="wmp" type="audio/mpeg"'); ! document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); ! document.write (' filename="{song_detail.U_SONG}"'); ! document.write (' src="{song_detail.U_SONG}"'); ! document.write (' Name=MediaPlayer'); ! document.write (' ShowControls=1'); ! document.write (' ShowDisplay=1'); ! document.write (' ShowStatusBar=1'); ! document.write (' AUTOSTART=0'); ! document.write (' AutoSize=1'); ! document.write (' width="{song_detail.WIDTH}"'); ! document.write (' height="{song_detail.HEIGHT}">'); ! document.write (' </Embed>'); } ! if ( navigator.appName != "Netscape" ){ ! document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="70" height="300" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.U_SONG}" src="{song_detail.U_SONG}" ></embed>'); } ! } ! if (Win) ! { ! if ( navigator.appName != "Netscape" ) ! { ! WMP7 = new ActiveXObject('WMPlayer.OCX'); ! } ! // Windows Media Player 7 Code ! if ( WMP7 ) ! { ! document.write (' <object id="MediaPlayer" width={WIDTH} height={HEIGHT} classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"'); ! document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); ! document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); ! document.write ('<PARAM NAME="url" VALUE="{song_detail.U_SONG}">'); ! document.write ('<PARAM NAME="FileName" value="{song_detail.U_SONG}">'); ! document.write ('<PARAM NAME="AutoStart" VALUE="false">'); ! document.write ('<PARAM NAME="ShowControls" VALUE="1">'); ! document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="1">'); ! document.write ('<PARAM NAME="uiMode" VALUE="mini">'); ! document.write (' <Embed type="application/x-mplayer2"'); ! document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); ! document.write (' filename="{song_detail.U_SONG}"'); ! document.write (' src="{song_detail.U_SONG}"'); ! document.write (' Name="MediaPlayer2"'); ! document.write (' ShowControls="1"'); ! document.write (' ShowDisplay="1"'); ! document.write (' ShowStatusBar="1"'); ! document.write (' AUTOSTART="false"'); ! document.write (' AutoSize="1"'); ! document.write (' width="70"'); ! document.write (' height="300">'); ! document.write (' </embed>'); ! document.write ('</OBJECT>'); ! } ! // Windows Media Player 6.4 Code ! else ! { ! //IE Code ! document.write (' <object id="wmp" width={WIDTH} height={HEIGHT} classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"'); ! document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); ! document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); ! document.write ('<PARAM NAME="url" VALUE="{song_detail.U_SONG}">'); ! document.write ('<PARAM NAME="FileName" value="{song_detail.U_SONG}">'); ! document.write ('<PARAM NAME="AutoStart" VALUE="false">'); ! document.write ('<PARAM NAME="ShowControls" VALUE="1">'); ! document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="1">'); ! //Firefox code ! document.write (' <Embed type="application/x-mplayer2"'); ! document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); ! document.write (' filename="{song_detail.U_SONG}"'); ! document.write (' src="{song_detail.U_SONG}"'); ! document.write (' Name="MediaPlayer"'); ! document.write (' ShowControls="1"'); ! document.write (' ShowDisplay="1"'); ! document.write (' ShowStatusBar="1"'); ! document.write (' AUTOSTART="false"'); ! document.write (' AutoSize="1"'); ! document.write (' width="{song_detail.WIDTH}"'); ! document.write (' height="{song_detail.HEIGHT}">'); ! document.write (' </embed>'); ! document.write ('</OBJECT>'); ! } ! } ! else ! { ! document.write(' <embed type="audio/mpeg" height="70" width="300" AUTOSTART="0" filename="{song_detail.U_SONG}" src="{song_detail.U_SONG}" ></embed>'); ! } ! </SCRIPT> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASH --> ! <EMBED src="{song_detail.U_SONG}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> ! </EMBED> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> ! <embed src="{song_detail.SONG_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> ! </embed> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> ! <object width="425" height="350"> ! <param name="movie" value="{song_detail.SONG_URL}"></param> ! <param name="wmode" value="transparent"></param> ! <embed src="{song_detail.VIDEO_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> ! </embed> ! </object> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLV --> ! <div id="flvplayer"> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="425" height="350" id="flvplayer" align="center"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> --- 45,211 ---- </tr> <tr> ! <td width="44%" colspan="7" class="row1" align="center"> ! <!-- IF song_detail.S_ROW_TYPE eq MEDIA --> ! <SCRIPT LANGUAGE="JavaScript"> ! var WMP7; ! var Mac; ! var Win; ! var Unix; ! var Linux; ! Win = navigator.userAgent.indexOf("Win") > -1; ! Mac = navigator.userAgent.indexOf("Mac") > -1; ! Unix = navigator.appVersion.indexOf("X11") > -1; ! Linux = navigator.appVersion.indexOf("Linux") > -1; ! if (Mac) ! { ! if ( navigator.appName == "Netscape" ){ ! //Netscape code ! document.write (' <Embed id="wmp" name="wmp" type="audio/mpeg"'); ! document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); ! document.write (' filename="{song_detail.SONG_URL}"'); ! document.write (' src="{song_detail.SONG_URL}"'); ! document.write (' Name=MediaPlayer'); ! document.write (' ShowControls=1'); ! document.write (' ShowDisplay=1'); ! document.write (' ShowStatusBar=1'); ! document.write (' AUTOSTART=0'); ! document.write (' AutoSize=0'); ! document.write (' width="{song_detail.WIDTH}"'); ! document.write (' height="{song_detail.HEIGHT}">'); ! document.write (' </Embed>'); } ! if ( navigator.appName != "Netscape" ){ ! document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } ! } ! if (Win) ! { ! if ( navigator.appName != "Netscape" ) ! { ! WMP7 = new ActiveXObject('WMPlayer.OCX'); ! } ! // Windows Media Player 7 Code ! if ( WMP7 ) ! { ! document.write (' <object id="MediaPlayer" width={WIDTH} height={HEIGHT} classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"'); ! document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); ! document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); ! document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); ! document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); ! document.write ('<PARAM NAME="AutoStart" VALUE="false">'); ! document.write ('<PARAM NAME="ShowControls" VALUE="1">'); ! document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="0">'); ! document.write ('<PARAM NAME="uiMode" VALUE="mini">'); ! document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); ! document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); ! document.write (' <Embed type="application/x-mplayer2"'); ! document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); ! document.write (' filename="{song_detail.SONG_URL}"'); ! document.write (' src="{song_detail.SONG_URL}"'); ! document.write (' Name="MediaPlayer2"'); ! document.write (' ShowControls="1"'); ! document.write (' ShowDisplay="1"'); ! document.write (' ShowStatusBar="1"'); ! document.write (' AUTOSTART="false"'); ! document.write (' AutoSize="0"'); ! document.write (' width="{song_detail.WIDTH}"'); ! document.write (' height="{song_detail.HEIGHT}">'); ! document.write (' </embed>'); ! document.write ('</OBJECT>'); ! } ! // Windows Media Player 6.4 Code ! else ! { ! //IE Code ! document.write (' <object id="wmp" width={WIDTH} height={HEIGHT} classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"'); ! document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); ! document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); ! document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); ! document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); ! document.write ('<PARAM NAME="AutoStart" VALUE="false">'); ! document.write ('<PARAM NAME="ShowControls" VALUE="1">'); ! document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="0">'); ! document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); ! document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); ! //Firefox code ! document.write (' <Embed type="application/x-mplayer2"'); ! document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); ! document.write (' filename="{song_detail.SONG_URL}"'); ! document.write (' src="{song_detail.SONG_URL}"'); ! document.write (' Name="MediaPlayer"'); ! document.write (' ShowControls="1"'); ! document.write (' ShowDisplay="1"'); ! document.write (' ShowStatusBar="1"'); ! document.write (' AUTOSTART="false"'); ! document.write (' AutoSize="0"'); ! document.write (' width="{song_detail.WIDTH}"'); ! document.write (' height="{song_detail.HEIGHT}">'); ! document.write (' </embed>'); ! document.write ('</OBJECT>'); ! } ! } ! else ! { ! document.write(' <embed type="audio/mpeg" height="{song_detail.HEIGHT}" width="{song_detail.WIDTH}" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); ! } ! </SCRIPT> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASH --> ! <EMBED src="{song_detail.SONG_URL}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> ! </EMBED> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> ! <param name="allowScriptAccess" value="always" /> ! <param name="movie" value="{song_detail.VIDEO_URL}" /> ! <param name="wmode" value="transparent" /> ! <param name="loop" value="false" /> ! <param name="menu" value="false" /> ! <param name="quality" value="high" /> ! <param name="allowfullscreen" value="true" /> ! <param name="scale" value="noscale" /> ! <param name="salign" value="lt" /> ! <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" allowfullscreen="true"> ! </embed> ! </object> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="VideoPlayback" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> ! <param name="allowScriptAccess" value="always" /> ! <param name="movie" value="{song_detail.VIDEO_URL}" /> ! <param name="wmode" value="transparent" /> ! <param name="loop" value="false" /> ! <param name="menu" value="false" /> ! <param name="quality" value="high" /> ! <param name="allowfullscreen" value="true" /> ! <param name="scale" value="noscale" /> ! <param name="salign" value="lt" /> ! <embed src="{song_detail.VIDEO_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" allowfullscreen="true"> ! </embed> ! </object> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLV --> ! <div id="flvplayer"> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" id="flvplayer" align="center"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> *************** *** 196,213 **** <param name="bgcolor" value="000000" /> <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> ! <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="425" height="360" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! </div> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> ! <embed src="{song_detail.U_SONG}" align="center" ! width="275" height="40" type="audio/x-pn-realaudio-plugin" console="cons" ! controls="ControlPanel" autostart="false"></embed> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq QT --> ! <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="377" height="212"> ! <param name="qtsrc" value="{song_detail.U_SONG}"> <param name="autoplay" value="false"> <param name="loop" value="false"> --- 218,235 ---- <param name="bgcolor" value="000000" /> <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> ! <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! </div> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> ! <embed src="{song_detail.SONG_URL}" align="center" ! width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="audio/x-pn-realaudio-plugin" console="cons" ! controls="ControlPanel" autostart="false"></embed> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq QT --> ! <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> ! <param name="qtsrc" value="{song_detail.SONG_URL}"> <param name="autoplay" value="false"> <param name="loop" value="false"> *************** *** 215,230 **** <param name="kioskmode" value="true"> <param name="cache" value="false"> ! <embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="{song_detail.U_SONG}" width="377" height="212" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"> </embed> ! </object> ! <!-- ENDIF --> ! ! <!-- IF song_detail.S_ROW_TYPE eq IMG --> ! <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> ! <!-- ENDIF --> ! </td> ! </tr> <tr> <td width="31%" align="center" class="catBottom" height="28"><span class="gen">{L_SONG_TITLE}</span></td> --- 237,251 ---- <param name="kioskmode" value="true"> <param name="cache" value="false"> ! <embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="{song_detail.SONG_URL}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"> </embed> ! </object> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq IMG --> ! <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->" id="image" type="image" border="1"></a> ! <!-- ENDIF --> ! </td> ! </tr> <tr> <td width="31%" align="center" class="catBottom" height="28"><span class="gen">{L_SONG_TITLE}</span></td> |
|
From: OryNider <ory...@us...> - 2007-09-13 11:26:16
|
Update of /cvsroot/mxbb/mx_music/language/lang_romanian In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15072/lang_romanian Added Files: index.htm Log Message: this is not upgrade for 2.9.x, just to the latest version now... --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2007-09-13 11:26:16
|
Update of /cvsroot/mxbb/mx_music/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15072/lang_english Modified Files: lang_main_music.php Added Files: index.htm Log Message: this is not upgrade for 2.9.x, just to the latest version now... Index: lang_main_music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/language/lang_english/lang_main_music.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** lang_main_music.php 8 Sep 2007 13:28:47 -0000 1.5 --- lang_main_music.php 13 Sep 2007 11:26:11 -0000 1.6 *************** *** 41,47 **** ! $lang['Category_pics'] = 'View this category Images'; $lang['Images'] = 'Images'; ! $lang['Category_songs'] = 'View this category Songs and Videos'; $lang['Media'] = 'Media'; --- 41,47 ---- ! $lang['Category_pics'] = 'Category Images'; $lang['Images'] = 'Images'; ! $lang['Category_songs'] = 'Category Media'; $lang['Media'] = 'Media'; --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2007-09-13 11:26:06
|
Update of /cvsroot/mxbb/mx_music/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14648/includes Modified Files: music_cat.php music_media_cat.php music_rss.php Added Files: index.htm Log Message: this is not upgrade for 2.9.x, just to the latest version now... Index: music_media_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_media_cat.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_media_cat.php 10 Sep 2007 22:27:39 -0000 1.3 --- music_media_cat.php 13 Sep 2007 11:25:57 -0000 1.4 *************** *** 1237,1242 **** 'U_MX_MUSIC' => append_sid(this_mo_portalurl()), ! 'WIDTH' => ( !empty($media_width) ? $media_width : '228' ), ! 'HEIGHT' => ( !empty($media_height) ? $media_height : '300' ), 'FLASH' => 'flash', --- 1237,1242 ---- 'U_MX_MUSIC' => append_sid(this_mo_portalurl()), ! 'WIDTH' => ( !empty($media_width) ? $media_width : '425' ), ! 'HEIGHT' => ( !empty($media_height) ? $media_height : '350' ), 'FLASH' => 'flash', Index: music_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_cat.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** music_cat.php 10 Sep 2007 22:27:39 -0000 1.9 --- music_cat.php 13 Sep 2007 11:25:57 -0000 1.10 *************** *** 972,977 **** 'U_MX_MUSIC' => append_sid(this_mo_portalurl()), ! 'WIDTH' => ( !empty($media_width) ? $media_width : '228' ), ! 'HEIGHT' => ( !empty($media_height) ? $media_height : '300' ), 'FLASH' => 'flash', --- 972,977 ---- 'U_MX_MUSIC' => append_sid(this_mo_portalurl()), ! 'WIDTH' => ( !empty($media_width) ? $media_width : '425' ), ! 'HEIGHT' => ( !empty($media_height) ? $media_height : '350' ), 'FLASH' => 'flash', *************** *** 984,987 **** --- 984,990 ---- 'MEDIA' => 'media', + 'L_RSS' => ( !empty($lang['Rss_Feed']) ? $lang['Rss_Feed'] : 'RSS Feed' ), + 'U_RSS' => append_sid(this_mo_mxurl("music_mode=music_rss&cat_id=" . $cat_id . "&sid=" . $userdata['session_id'], true)), + 'S_AUTH_LIST' => $auth_list) ); --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> Index: music_rss.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_rss.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_rss.php 8 Sep 2007 13:28:29 -0000 1.3 --- music_rss.php 13 Sep 2007 11:25:58 -0000 1.4 *************** *** 115,127 **** $no_limit=( isset($HTTP_GET_VARS['nolimit']) ) ? true : false; ! $sql = "SELECT c.*, COUNT(s.song_id) AS count FROM ". MUSIC_CAT_TABLE ." AS c LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id ! WHERE cat_id <> 0 GROUP BY cat_id ORDER BY cat_order ASC"; ! if( !($result = $db->sql_query($sql)) ) ! { ! die("Could not query categories list"); } --- 115,147 ---- $no_limit=( isset($HTTP_GET_VARS['nolimit']) ) ? true : false; ! $cat_id = $_POST['cat_id'] ? $_POST['cat_id'] : ( $_GET['cat_id'] ? $_GET['cat_id'] : 0 ); ! $cat_parent = $_POST['c'] ? $_POST['c'] : ( $_GET['c'] ? $_GET['c'] : 0 ); ! $cat_where = ($cat_id != 0) ? "cat_parent = $cat_parent" : "cat_id <> 0"; ! ! if ($cat_id != 0) ! { ! $sql = "SELECT c.*, COUNT(s.song_id) AS count ! FROM ". MUSIC_CAT_TABLE ." AS c ! LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id ! WHERE cat_id = $cat_id ! GROUP BY cat_id ! ORDER BY cat_order ASC"; ! if( !($result = $db->sql_query($sql)) ) ! { ! die("Could not query this category"); ! } ! } ! else ! { ! $sql = "SELECT c.*, COUNT(s.song_id) AS count FROM ". MUSIC_CAT_TABLE ." AS c LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id ! WHERE $cat_where GROUP BY cat_id ORDER BY cat_order ASC"; ! if( !($result = $db->sql_query($sql)) ) ! { ! die("Could not query categories list"); ! } } *************** *** 209,212 **** --- 229,241 ---- $thissong = $db->sql_fetchrow($result); + if ( $thissong['song_imagename'] == '' ) + { + $img_id = $mx_images['no_image']; + } + else + { + $img_id = ($module_root_path . 'upload/song_image/' . $thissong['song_imagename']); + } + if ( $thissong['song_url'] == '' ) { *************** *** 256,264 **** $row_type = 'qt'; } ! else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { ! $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $url_download; ! $row_type = 'img'; } else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) --- 285,302 ---- $row_type = 'qt'; } ! else if ( $song_filetype == 'flv' ) { ! /* ! if ( !is_object($mx_page) ) ! { ! $mx_page = new mx_page(); ! } ! $mx_page->add_footer_text( $music_root_path . 'music_player.js', true ); ! */ ! ! $template->assign_block_vars('songrow.flv', array()); ! $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $music_root_path . 'music_player.swf'; ! $row_type = 'flv'; } else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) *************** *** 470,473 **** --- 508,512 ---- $url_page = append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_page&" . "song_id=" . $thissong['song_id'])); $url_song = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_song&" . "song_id=" . $thissong['song_id'], true)); + $url_flv = !empty($thissong['song_url']) ? $thissong['song_url'] : PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; $url_comment = append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_comment&" . "song_id=" . $thissong['song_id'])); *************** *** 489,499 **** case 'flashvideo': ! $html_code = '<embed src="' . $url_song . '" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""></embed>'; ! $enclosure = 'url="' . $url_video . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; break; case 'youtube': ! $html_code = '<embed src="' . $url_video . '" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""></embed>'; ! $enclosure = 'url="' . $url_video . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; break; --- 528,543 ---- case 'flashvideo': ! $html_code = '<embed src="' . $url_video . '" wmode="transparent" width="425" height="350" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'; ! $enclosure = 'url="' . $url_song . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; break; case 'youtube': ! $html_code = '<embed src="' . $url_video . '" id="VideoPlayback" wmode="transparent" width="425" height="350" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'; ! $enclosure = 'url="' . $url_song . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; ! break; ! ! case 'flv': ! $html_code = '<embed src="' . $url_video . '" flashvars="file=' . $url_flv . '&image=' . $img_id . '&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="425" height="350" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'; ! $enclosure = 'url="' . $url_song . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; break; *************** *** 504,508 **** case 'img': ! $html_code = '<a href="' . $url_page . '">' . '<img src="' . $url_thumb_song . '" border="1" vspace="2" hspace="2" align="left" width="425" height="350">' . '</a>'; $enclosure = 'url="' . $url_song . '" ' . 'type="image/png" length="1024000"'; break; --- 548,552 ---- case 'img': ! $html_code = '<a href="' . $url_page . '">' . '<img src="' . $url_thumb_song . '" border="1" vspace="2" hspace="2" align="left" width="425" height="350" />' . '</a>'; $enclosure = 'url="' . $url_song . '" ' . 'type="image/png" length="1024000"'; break; |
|
From: OryNider <ory...@us...> - 2007-09-13 11:26:05
|
Update of /cvsroot/mxbb/mx_music/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14648/admin Modified Files: admin_music_auth.php admin_music_cat.php admin_music_cfg.php admin_music_ext.php Added Files: index.htm Log Message: this is not upgrade for 2.9.x, just to the latest version now... Index: admin_music_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/admin/admin_music_ext.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_music_ext.php 1 Aug 2007 23:33:26 -0000 1.2 --- admin_music_ext.php 13 Sep 2007 11:25:57 -0000 1.3 *************** *** 85,89 **** if ( isset( $HTTP_POST_VARS['submit'] ) ) { ! $message = $lang['music_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_music_config'], "<a href=\"" . append_sid( "admin_music_ext.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 85,89 ---- if ( isset( $HTTP_POST_VARS['submit'] ) ) { ! $message = $lang['music_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_music_config'], "<a href=\"" . append_sid( "admin_music_ext.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } Index: admin_music_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/admin/admin_music_cat.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_music_cat.php 30 Aug 2007 03:52:17 -0000 1.3 --- admin_music_cat.php 13 Sep 2007 11:25:57 -0000 1.4 *************** *** 358,362 **** // Return a message... ! $message = $lang['Category_changed_order'] . "<br /><br />" . sprintf($lang['Click_return_music_category'], "<a href=\"" . append_sid("admin_music_cat.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); --- 358,362 ---- // Return a message... ! $message = $lang['Category_changed_order'] . "<br /><br />" . sprintf($lang['Click_return_music_category'], "<a href=\"" . append_sid("admin_music_cat.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); Index: admin_music_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/admin/admin_music_auth.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_music_auth.php 1 Aug 2007 23:33:26 -0000 1.2 --- admin_music_auth.php 13 Sep 2007 11:25:57 -0000 1.3 *************** *** 206,210 **** // okay, return a message... ! $message = $lang['Music_Auth_successfully'] . '<br /><br />' . sprintf($lang['Click_return_music_auth'], '<a href="' . append_sid("admin_music_auth.$phpEx") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>'); message_die(GENERAL_MESSAGE, $message); --- 206,210 ---- // okay, return a message... ! $message = $lang['Music_Auth_successfully'] . '<br /><br />' . sprintf($lang['Click_return_music_auth'], '<a href="' . append_sid("admin_music_auth.$phpEx") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . '">', '</a>'); message_die(GENERAL_MESSAGE, $message); --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> Index: admin_music_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/admin/admin_music_cfg.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_music_cfg.php 10 Sep 2007 22:27:37 -0000 1.5 --- admin_music_cfg.php 13 Sep 2007 11:25:57 -0000 1.6 *************** *** 85,89 **** if( isset($HTTP_POST_VARS['submit']) ) { ! $message = $lang['Music_config_updated'] . "<br /><br />" . sprintf($lang['Click_return_music_config'], "<a href=\"" . append_sid("admin_music_cfg.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); --- 85,89 ---- if( isset($HTTP_POST_VARS['submit']) ) { ! $message = $lang['Music_config_updated'] . "<br /><br />" . sprintf($lang['Click_return_music_config'], "<a href=\"" . append_sid("admin_music_cfg.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); |
|
From: OryNider <ory...@us...> - 2007-09-13 11:26:05
|
Update of /cvsroot/mxbb/mx_music In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14648 Modified Files: music.php Log Message: this is not upgrade for 2.9.x, just to the latest version now... Index: music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** music.php 10 Sep 2007 22:27:38 -0000 1.9 --- music.php 13 Sep 2007 11:25:58 -0000 1.10 *************** *** 201,208 **** --- 201,216 ---- 'SUBCAT_NAV' => ' ' . $lang['Nav_Separator'] . ' <a class="nav" href="' . append_sid(this_mo_mxurl("c=" . $thiscat_parent['cat_id'])) . '">' . $thiscat_parent['cat_title'] . '</a>', 'CAT_PARENT_TITLE' => $thiscat_parent['cat_title'], + 'U_RSS' => append_sid(this_mo_mxurl("music_mode=music_rss&c=" . $thiscat_parent['cat_id'] . "&sid=" . $userdata['session_id'], true)), 'CAT_PARENT' => $thiscat_parent['cat_id']) ); } } + else + { + $template->assign_vars(array( + 'U_RSS' => append_sid(this_mo_mxurl("music_mode=music_rss" . "&sid=" . $userdata['session_id'], true)) + )); + + } $sql = "SELECT c.*, COUNT(s.song_id) AS count *************** *** 399,660 **** LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE s.song_cat_id = '". $catrows[$i]['cat_id'] ."' $song_approval_sql GROUP BY s.song_id"; if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query song information', '', __LINE__, __FILE__, $sql); ! } ! $itemrow = $db->sql_fetchrow($result); ! if ( $itemrow['song_url'] == '' ) ! { ! $song_filetype = substr($itemrow['song_filename'], strlen($itemrow['song_filename']) - 3, 3); ! $song_filename = ( !empty($itemrow['song_filename']) ? $itemrow['song_filename'] : '' ); ! } ! else ! { ! $song_filetype = substr($itemrow['song_url'], strlen($itemrow['song_url']) - 3, 3); ! $song_url = $itemrow['song_url']; ! } ! // ! // Media Center ! // ! if ( $song_filetype == 'swf' ) ! { ! $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $url_download; ! $row_type = 'flash'; ! } ! else if ( $song_filetype == 'ram' ) ! { ! $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $url_download; ! $row_type = 'ram'; ! } ! else if ( $song_filetype == '.rm' ) ! { ! $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $url_download; ! $row_type = 'rm'; ! } ! else if ( $song_filetype == '.qt' ) ! { ! $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $url_download; ! $row_type = 'qt'; ! } ! else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) ! { ! $url_download = !empty($itemrow['song_url']) ? $itemrow['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $url_download; ! $row_type = 'img'; ! } ! else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) ! { ! $url_download = !empty($itemrow['song_url']) ? $itemrow['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $url_download; ! $row_type = 'img'; ! } ! else if( ($song_filetype == 'pls') && !empty($itemrow['song_url']) ) { ! $url_download = append_sid($module_root_path . 'galerie_media.' . $phpEx . '?music_mode=music_stream&song_id=' . $song_id); ! $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); ! $url_video = $url_download; ! $row_type = 'media'; } - else if(!empty($itemrow['song_url'])) - { - $host = explode("//", $itemrow['song_url']); - $host = $host[1]; - $host = explode("/", $host); - $domain = $host[0]; - $counthost = count($host) - 1; - $docid2 = $host[$counthost]; - - // $domaintmp = explode(".", $domain, -1); // Php 5 only - // $sitename = implode(".", $domaintmp); ! if( !function_exists('mx_music_sitename') ) ! { ! function mx_music_sitename($domain) { ! $domaintmp = explode(".", $domain); ! ! $y = count($domaintmp) - 1; ! $r = ""; ! for ($a = 0; $y > $a; $a++) { ! $r .= ".".$domaintmp[$a]; ! } ! return $r; ! } ! } ! ! $sitename = substr(mx_music_sitename($domain), 1); ! if( !function_exists('mx_music_sitesufix') ) ! { ! function mx_music_sitesufix($domain) { ! $domaintmp = explode(".", $domain); ! ! $y = count($domaintmp) - 1; ! $r = $domaintmp[$y];; ! return $r; ! } ! } ! ! $sitesufix = mx_music_sitesufix($domain); ! ! if (!empty($sitesufix) ) ! { ! if ($sitesufix == 'de') ! { ! $sitelngprefix = 'de.'; ! } ! else ! { ! $sitelngprefix = 'en.'; ! } ! } ! else ! { ! $sitelngprefix = ''; ! } ! ! if ($sitename == 'video.google') ! { ! $videoid['song_url'] = explode("-", $itemrow['song_url']); ! ! if (empty($videoid['song_url'][1]) ) ! { ! $docid['song_url'] = explode("?", $itemrow['song_url']); ! ! if (empty($docid['song_url'][1]) ) ! { ! $url_video = ( !empty($docid['song_url'][1]) ? 'http://' . $domain . '/googleplayer.swf?' . $docid['song_url'][1] : $itemrow['song_url'] ); ! $url_download = ( !empty($docid['song_url'][1]) ? 'http://' . $domain . '/videoplay?' . $docid['song_url'][1] : $itemrow['song_url'] ); ! $lang['Download'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); ! $row_type = 'flashvideo'; ! } ! else ! { ! $url_video = ( !empty($docid['song_url'][1]) ? 'http://' . $domain . '/googleplayer.swf?' . $docid['song_url'][1] : $itemrow['song_url'] ); ! $url_download = ( !empty($docid['song_url'][1]) ? 'http://' . $domain . '/videoplay?' . $docid['song_url'][1] : $itemrow['song_url'] ); ! $lang['Download'] = ( !empty($lang['Share']) ? $lang['Watch'] : 'Watch URL' ); ! $row_type = 'youtube'; ! } ! } ! else ! { ! $url_video = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/googleplayer.swf?docId=-' . $videoid['song_url'][1] : $itemrow['song_url'] ); ! $url_download = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/videoplay?docid=-' . $videoid['song_url'][1] : $itemrow['song_url'] ); ! $lang['Download'] = ( !empty($lang['Watch']) ? $lang['Watch'] : 'Watch URL' ); ! $row_type = 'youtube'; ! } ! } ! else if ( ($sitename == 'www.youtube') || ($sitename == 'youtube') ) ! { ! $videoid['song_url'] = explode("=", $itemrow['song_url']); ! ! if (empty($videoid['song_url'][1]) ) ! { ! $row_type = 'flashvideo'; ! } ! else ! { ! $url_video = 'http://' . $domain . '/v/' . $videoid['song_url'][1]; ! //$url_download = append_sid($itemrow['song_url']); ! $row_type = 'youtube'; ! } ! ! $url_download = append_sid($itemrow['song_url']); ! $lang['Download'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); ! $url_video = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/v/' . $videoid['song_url'][1] : $url_download ); ! } ! else if ( ($sitename == 'www.clipfish') || ($sitename == 'clipfish') ) ! { ! $thisvid['song_url'] = explode("videoid", $itemrow['song_url']); ! $videoid['song_url'] = explode("=", $thisvid['song_url'][1]); ! ! if (empty($videoid['song_url'][1]) ) ! { ! $url_download = append_sid($itemrow['song_url']); ! $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); ! $url_video = $url_download; ! $row_type = 'flashvideo'; ! } ! else ! { ! $url_download = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/player.php?videoid=' . $videoid['song_url'][1] : $itemrow['song_url'] ); ! $lang['Download'] = ( !empty($lang['Watch']) ? $lang['Watch'] : 'Watch URL' ); ! $url_video = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/videoplayer.swf?as=0&videoid=' . $videoid['song_url'][1] : $url_download ); ! $row_type = 'youtube'; ! } ! } ! else if ( ($sitename == 'www.myvideo') || ($sitename == 'myvideo') ) ! { ! if (empty($docid2) ) ! { ! $url_download = append_sid($itemrow['song_url']); ! $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); ! $url_video = $url_download; ! $row_type = 'flashvideo'; ! } ! else ! { ! $url_download = ( !empty($docid2) ? 'http://' . $domain . '/watch/' . $docid2 : $itemrow['song_url'] ); ! $lang['Downlowd'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); ! $url_video = ( !empty($docid2) ? 'http://' . $domain . '/movie/' . $docid2 : $url_download ); ! $row_type = 'youtube'; ! } ! } ! else if ( ($sitename == 'de.sevenload') || ($sitename == 'sevenload') || ($sitename == 'page.sevenload') || ($sitename == 'www.sevenload') ) ! { ! $videoid['song_url'] = explode("=", $itemrow['song_url']); ! ! if (empty($videoid['song_url'][1]) ) ! { ! if (empty($docid2) ) ! { ! $url_download = append_sid($itemrow['song_url']); ! $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); ! $url_video = $url_download; ! $row_type = 'flashvideo'; ! } ! else ! { ! $url_download = ( !empty($docid2) ? 'http://' . $sitelngprefix . 'sevenload.' . 'com' . '/videos/' . $docid2 : $itemrow['song_url'] ); ! $lang['Download'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); ! $url_video = ( !empty($docid2) ? 'http://' . $domain . '/swf/player.swf?id=' . $docid2 : $url_download ); ! $row_type = 'youtube'; ! } ! } ! else ! { ! $url_download = ( !empty($videoid['song_url'][1]) ? 'http://' . $sitelngprefix . 'sevenload.'. 'com' . '/videos/' . $videoid['song_url'][1] : $itemrow['song_url'] ); ! $lang['Download'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); ! $url_video = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/swf/player.swf?id=' . $videoid['song_url'][1] : $url_download ); ! $row_type = 'youtube'; ! } ! } ! else { ! $url_download = append_sid($itemrow['song_url']); ! $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); ! $url_video = $url_download; ! $row_type = 'media'; } } ! else { ! //$url_download = append_sid($module_root_path . 'galerie_media.' . $phpEx . '?music_mode=music_download&song_id=' . $song_id); ! $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=" . $song_id)); ! $url_video = $url_download; ! $row_type = 'media'; } if(!empty($template->xs_version)) { ! if ($row_type) { ! $template->assign_block_vars('catrow.virtual', array()); } } --- 407,464 ---- LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE s.song_cat_id = '". $catrows[$i]['cat_id'] ."' $song_approval_sql + AND s.song_filetype NOT LIKE 'jpg' + AND s.song_filetype NOT LIKE 'gif' + AND s.song_filetype NOT LIKE 'png' GROUP BY s.song_id"; if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query songs information', '', __LINE__, __FILE__, $sql); ! } ! $mediarow = array(); ! while( $row = $db->sql_fetchrow($result) ) { ! $mediarow[] = $row; } ! $total_media = count($mediarow); ! if(!empty($template->xs_version)) ! { ! if ($total_media > 0) { ! $template->assign_block_vars('catrow.virtualmediacat', array()); } } ! ! $sql = "SELECT s.*, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments ! FROM ". MUSIC_TABLE ." AS s ! LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id ! LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id ! LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id ! WHERE s.song_cat_id = '". $catrows[$i]['cat_id'] ."' $song_approval_sql ! GROUP BY s.song_id"; ! if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query songs information', '', __LINE__, __FILE__, $sql); ! } ! ! $totalrow = array(); ! ! while( $row = $db->sql_fetchrow($result) ) ! { ! $totalrow[] = $row; } + $total_items = count($totalrow); + + $total_images = $total_items - $total_media; + if(!empty($template->xs_version)) { ! if ($total_images > 0) { ! $template->assign_block_vars('catrow.virtualimagecat', array()); } } *************** *** 1130,1133 **** --- 934,939 ---- 'SORT_NEW_COMMENT_OPTION' => $sort_new_comment_option, + 'L_RSS' => ( !empty($lang['Rss_Feed']) ? $lang['Rss_Feed'] : 'RSS Feed' ), + 'L_SORT' => $lang['Sort']) |
|
From: OryNider <ory...@us...> - 2007-09-13 11:26:04
|
Update of /cvsroot/mxbb/mx_music/music_box In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14648/music_box Added Files: index.htm music_player.swf Log Message: this is not upgrade for 2.9.x, just to the latest version now... --- NEW FILE: music_player.swf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2007-09-13 09:42:44
|
Update of /cvsroot/mxbb/core/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26949 Modified Files: prosilver.cfg Log Message: typhos Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/prosilver.cfg,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** prosilver.cfg 12 Sep 2007 19:28:26 -0000 1.2 --- prosilver.cfg 13 Sep 2007 09:42:41 -0000 1.3 *************** *** 56,60 **** $mx_template_settings['border_graphics'] = false; ! //********************************************************************************\ | Define what graphics bundles to use | - these are very handy paths to ALL kind of phpBB/mxBB graphics --- 56,60 ---- $mx_template_settings['border_graphics'] = false; ! /********************************************************************************\ | Define what graphics bundles to use | - these are very handy paths to ALL kind of phpBB/mxBB graphics |
|
From: Jon O. <jon...@us...> - 2007-09-13 09:42:22
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26917 Modified Files: admin_mx_smilies.php Log Message: typhos Index: admin_mx_smilies.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_smilies.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_mx_smilies.php 13 Sep 2007 09:12:37 -0000 1.1 --- admin_mx_smilies.php 13 Sep 2007 09:42:18 -0000 1.2 *************** *** 457,461 **** $smile_code = ( isset($HTTP_POST_VARS['smile_code']) ) ? trim($HTTP_POST_VARS['smile_code']) : ''; $smile_url = ( isset($HTTP_POST_VARS['smile_url']) ) ? trim($HTTP_POST_VARS['smile_url']) : ''; ! $smile_url = phpbb_ltrim(basename($smile_url), "'"); $smile_emotion = ( isset($HTTP_POST_VARS['smile_emotion']) ) ? htmlspecialchars(trim($HTTP_POST_VARS['smile_emotion'])) : ''; $smile_id = ( isset($HTTP_POST_VARS['smile_id']) ) ? intval($HTTP_POST_VARS['smile_id']) : 0; --- 457,461 ---- $smile_code = ( isset($HTTP_POST_VARS['smile_code']) ) ? trim($HTTP_POST_VARS['smile_code']) : ''; $smile_url = ( isset($HTTP_POST_VARS['smile_url']) ) ? trim($HTTP_POST_VARS['smile_url']) : ''; ! $smile_url = phpBB2::phpbb_ltrim(basename($smile_url), "'"); $smile_emotion = ( isset($HTTP_POST_VARS['smile_emotion']) ) ? htmlspecialchars(trim($HTTP_POST_VARS['smile_emotion'])) : ''; $smile_id = ( isset($HTTP_POST_VARS['smile_id']) ) ? intval($HTTP_POST_VARS['smile_id']) : 0; *************** *** 502,506 **** $smile_code = ( isset($HTTP_POST_VARS['smile_code']) ) ? $HTTP_POST_VARS['smile_code'] : ''; $smile_url = ( isset($HTTP_POST_VARS['smile_url']) ) ? $HTTP_POST_VARS['smile_url'] : ''; ! $smile_url = phpbb_ltrim(basename($smile_url), "'"); $smile_emotion = ( isset($HTTP_POST_VARS['smile_emotion']) ) ? htmlspecialchars(trim($HTTP_POST_VARS['smile_emotion'])) : ''; $smile_code = trim($smile_code); --- 502,506 ---- $smile_code = ( isset($HTTP_POST_VARS['smile_code']) ) ? $HTTP_POST_VARS['smile_code'] : ''; $smile_url = ( isset($HTTP_POST_VARS['smile_url']) ) ? $HTTP_POST_VARS['smile_url'] : ''; ! $smile_url = phpBB2::phpbb_ltrim(basename($smile_url), "'"); $smile_emotion = ( isset($HTTP_POST_VARS['smile_emotion']) ) ? htmlspecialchars(trim($HTTP_POST_VARS['smile_emotion'])) : ''; $smile_code = trim($smile_code); |
|
From: Jon O. <jon...@us...> - 2007-09-13 09:13:33
|
Update of /cvsroot/mxbb/core/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12986 Added Files: smile_edit_body.tpl smile_import_body.tpl smile_list_body.tpl words_edit_body.tpl words_list_body.tpl Log Message: Updated schemas Added smiles and word censors db/admincp for standalone mode --- NEW FILE: words_edit_body.tpl --- <h1>{L_WORDS_TITLE}</h1> <p>{L_WORDS_TEXT}</p> <form method="post" action="{S_WORDS_ACTION}"><table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <th colspan="2" class="thHead">{L_WORD_CENSOR}</th> </tr> <tr> <td class="row1">{L_WORD}</td> <td class="row2"><input class="post" type="text" name="word" value="{WORD}" /></td> </tr> <tr> <td class="row1">{L_REPLACEMENT}</td> <td class="row2"><input class="post" type="text" name="replacement" value="{REPLACEMENT}" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="save" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: smile_edit_body.tpl --- <h1>{L_SMILEY_TITLE}</h1> <p>{L_SMILEY_EXPLAIN}</p> <script language="javascript" type="text/javascript"> <!-- function update_smiley(newimage) { document.smiley_image.src = "{S_SMILEY_BASEDIR}/" + newimage; } //--> </script> <form method="post" action="{S_SMILEY_ACTION}"><table class="forumline" cellspacing="1" cellpadding="4" border="0" align="center"> <tr> <th class="thHead" colspan="2">{L_SMILEY_CONFIG}</th> </tr> <tr> <td class="row2">{L_SMILEY_CODE}</td> <td class="row2"><input class="post" type="text" name="smile_code" value="{SMILEY_CODE}" /></td> </tr> <tr> <td class="row1">{L_SMILEY_URL}</td> <td class="row1"><select name="smile_url" onchange="update_smiley(this.options[selectedIndex].value);">{S_FILENAME_OPTIONS}</select> <img name="smiley_image" src="{SMILEY_IMG}" border="0" alt="" /> </td> </tr> <tr> <td class="row2">{L_SMILEY_EMOTION}</td> <td class="row2"><input class="post" type="text" name="smile_emotion" value="{SMILEY_EMOTICON}" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" value="{L_SUBMIT}" /></td> </tr> </table></form> --- NEW FILE: words_list_body.tpl --- <h1>{L_WORDS_TITLE}</h1> <P>{L_WORDS_TEXT}</p> <form method="post" action="{S_WORDS_ACTION}"><table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <th class="thCornerL">{L_WORD}</th> <th class="thTop">{L_REPLACEMENT}</th> <th colspan="2" class="thCornerR">{L_ACTION}</th> </tr> <!-- BEGIN words --> <tr> <td class="{words.ROW_CLASS}" align="center">{words.WORD}</td> <td class="{words.ROW_CLASS}" align="center">{words.REPLACEMENT}</td> <td class="{words.ROW_CLASS}"><a href="{words.U_WORD_EDIT}">{L_EDIT}</a></td> <td class="{words.ROW_CLASS}"><a href="{words.U_WORD_DELETE}">{L_DELETE}</a></td> </tr> <!-- END words --> <tr> <td colspan="5" align="center" class="catBottom">{S_HIDDEN_FIELDS}<input type="submit" name="add" value="{L_ADD_WORD}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: smile_import_body.tpl --- <h1>{L_SMILEY_TITLE}</h1> <p>{L_SMILEY_EXPLAIN}</p> <form method="post" action="{S_SMILEY_ACTION}"><table class="forumline" cellspacing="1" cellpadding="4" border="0" align="center"> <tr> <th class="thHead" colspan="2">{L_SMILEY_IMPORT}</th> </tr> <tr> <td class="row2">{L_SELECT_LBL}</td> <td class="row2">{S_SMILE_SELECT}</td> </tr> <tr> <td class="row1">{L_DEL_EXISTING}</td> <td class="row1"><input type="checkbox" name="clear_current" value="1" /></td> </tr> <tr> <td class="row2" colspan="2" align="center">{L_CONFLICTS}<br /><input type="radio" name="replace" value="1" checked="checked"/> {L_REPLACE_EXISTING} <input type="radio" name="replace" value="0" /> {L_KEEP_EXISTING}</td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="mainoption" name="import_pack" type="submit" value="{L_IMPORT}" /></td> </tr> </table></form> --- NEW FILE: smile_list_body.tpl --- <h1>{L_SMILEY_TITLE}</h1> <P>{L_SMILEY_TEXT}</p> <form method="post" action="{S_SMILEY_ACTION}"><table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <th class="thCornerL">{L_CODE}</th> <th class="thTop">{L_SMILE}</th> <th class="thTop">{L_EMOT}</th> <th colspan="2" class="thCornerR">{L_ACTION}</th> </tr> <!-- BEGIN smiles --> <tr> <td class="{smiles.ROW_CLASS}">{smiles.CODE}</td> <td class="{smiles.ROW_CLASS}"><img src="{smiles.SMILEY_IMG}" alt="{smiles.CODE}" /></td> <td class="{smiles.ROW_CLASS}">{smiles.EMOT}</td> <td class="{smiles.ROW_CLASS}"><a href="{smiles.U_SMILEY_EDIT}">{L_EDIT}</a></td> <td class="{smiles.ROW_CLASS}"><a href="{smiles.U_SMILEY_DELETE}">{L_DELETE}</a></td> </tr> <!-- END smiles --> <tr> <td class="catBottom" colspan="5" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="add" value="{L_SMILEY_ADD}" class="mainoption" /> <input class="liteoption" type="submit" name="import_pack" value="{L_IMPORT_PACK}"> <input class="liteoption" type="submit" name="export_pack" value="{L_EXPORT_PACK}"></td> </tr> </table></form> |
|
From: Jon O. <jon...@us...> - 2007-09-13 09:13:23
|
Update of /cvsroot/mxbb/core/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12957 Modified Files: lang_admin.php Log Message: Updated schemas Added smiles and word censors db/admincp for standalone mode Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_english/lang_admin.php,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** lang_admin.php 9 Sep 2007 16:49:18 -0000 1.78 --- lang_admin.php 13 Sep 2007 09:13:19 -0000 1.79 *************** *** 30,33 **** --- 30,34 ---- $lang['1_General_admin'] = 'General'; $lang['1_1_Management'] = 'Configuration'; + $lang['1_2_WordCensors'] = 'Word Censors'; $lang['2_CP'] = 'Management'; *************** *** 37,40 **** --- 38,46 ---- $lang['2_4_PageCP'] = 'Page Control Panel'; + $lang['3_CP'] = 'Styles'; + $lang['2_1_new'] = 'Add new'; + $lang['2_2_manage'] = 'Manage'; + $lang['2_3_smilies'] = 'Smilies'; + $lang['4_Panel_system'] = 'System Tools'; $lang['4_1_Cache'] = 'Regenerate Cache'; |
|
From: Jon O. <jon...@us...> - 2007-09-13 09:13:11
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12540/schemas Modified Files: mysql_schema_install.sql upgrade_schemas_map.php Added Files: mysql_schema_upgrade_to_2.9.2.sql Log Message: Updated schemas Added smiles and word censors db/admincp for standalone mode Index: upgrade_schemas_map.php =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/upgrade_schemas_map.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** upgrade_schemas_map.php 9 Sep 2007 16:49:08 -0000 1.21 --- upgrade_schemas_map.php 13 Sep 2007 09:13:03 -0000 1.22 *************** *** 22,25 **** --- 22,26 ---- array('schema' => 'upgrade_to_2.9.0' , 'sql' => "SELECT portal_desc FROM mx_table_portal"), array('schema' => 'upgrade_to_2.9.1' , 'sql' => "SELECT themes_id FROM mx_table_themes"), + array('schema' => 'upgrade_to_2.9.2' , 'sql' => "SELECT smilies_id FROM mx_table_smilies"), ); --- NEW FILE: mysql_schema_upgrade_to_2.9.2.sql --- # -------------------------------------------------------- # # Table structure for table 'mx_table_smilies' # CREATE TABLE mx_table_smilies ( smilies_id smallint(5) UNSIGNED NOT NULL auto_increment, code varchar(50), smile_url varchar(100), emoticon varchar(75), PRIMARY KEY (smilies_id) ); # -- Smilies INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 1, ':D', 'icon_biggrin.gif', 'Very Happy'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 2, ':-D', 'icon_biggrin.gif', 'Very Happy'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 3, ':grin:', 'icon_biggrin.gif', 'Very Happy'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 4, ':)', 'icon_smile.gif', 'Smile'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 5, ':-)', 'icon_smile.gif', 'Smile'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 6, ':smile:', 'icon_smile.gif', 'Smile'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 7, ':(', 'icon_sad.gif', 'Sad'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 8, ':-(', 'icon_sad.gif', 'Sad'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 9, ':sad:', 'icon_sad.gif', 'Sad'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 10, ':o', 'icon_surprised.gif', 'Surprised'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 11, ':-o', 'icon_surprised.gif', 'Surprised'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 12, ':eek:', 'icon_surprised.gif', 'Surprised'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 13, ':shock:', 'icon_eek.gif', 'Shocked'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 14, ':?', 'icon_confused.gif', 'Confused'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 15, ':-?', 'icon_confused.gif', 'Confused'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 16, ':???:', 'icon_confused.gif', 'Confused'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 17, '8)', 'icon_cool.gif', 'Cool'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 18, '8-)', 'icon_cool.gif', 'Cool'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 19, ':cool:', 'icon_cool.gif', 'Cool'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 20, ':lol:', 'icon_lol.gif', 'Laughing'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 21, ':x', 'icon_mad.gif', 'Mad'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 22, ':-x', 'icon_mad.gif', 'Mad'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 23, ':mad:', 'icon_mad.gif', 'Mad'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 24, ':P', 'icon_razz.gif', 'Razz'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 25, ':-P', 'icon_razz.gif', 'Razz'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 26, ':razz:', 'icon_razz.gif', 'Razz'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 27, ':oops:', 'icon_redface.gif', 'Embarassed'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 28, ':cry:', 'icon_cry.gif', 'Crying or Very sad'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 29, ':evil:', 'icon_evil.gif', 'Evil or Very Mad'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 30, ':twisted:', 'icon_twisted.gif', 'Twisted Evil'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 31, ':roll:', 'icon_rolleyes.gif', 'Rolling Eyes'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 32, ':wink:', 'icon_wink.gif', 'Wink'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 33, ';)', 'icon_wink.gif', 'Wink'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 34, ';-)', 'icon_wink.gif', 'Wink'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 35, ':!:', 'icon_exclaim.gif', 'Exclamation'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 36, ':?:', 'icon_question.gif', 'Question'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 37, ':idea:', 'icon_idea.gif', 'Idea'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 38, ':arrow:', 'icon_arrow.gif', 'Arrow'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 39, ':|', 'icon_neutral.gif', 'Neutral'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 40, ':-|', 'icon_neutral.gif', 'Neutral'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 41, ':neutral:', 'icon_neutral.gif', 'Neutral'); INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 42, ':mrgreen:', 'icon_mrgreen.gif', 'Mr. Green'); # -------------------------------------------------------- # # Table structure for table 'mx_table_words' # CREATE TABLE mx_table_words ( word_id mediumint(8) UNSIGNED NOT NULL auto_increment, word char(100) NOT NULL, replacement char(100) NOT NULL, PRIMARY KEY (word_id) ); Index: mysql_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_install.sql,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** mysql_schema_install.sql 9 Sep 2007 16:49:08 -0000 1.43 --- mysql_schema_install.sql 13 Sep 2007 09:13:02 -0000 1.44 *************** *** 829,830 **** --- 829,899 ---- INSERT INTO mx_table_themes (themes_id, template_name, style_name, head_stylesheet, portal_backend) VALUES (4, 'prosilver', 'prosilver', 'prosilver.css', 'phpbb3'); + # -------------------------------------------------------- + # + # Table structure for table 'mx_table_smilies' + # + CREATE TABLE mx_table_smilies ( + smilies_id smallint(5) UNSIGNED NOT NULL auto_increment, + code varchar(50), + smile_url varchar(100), + emoticon varchar(75), + PRIMARY KEY (smilies_id) + ); + + + # -- Smilies + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 1, ':D', 'icon_biggrin.gif', 'Very Happy'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 2, ':-D', 'icon_biggrin.gif', 'Very Happy'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 3, ':grin:', 'icon_biggrin.gif', 'Very Happy'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 4, ':)', 'icon_smile.gif', 'Smile'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 5, ':-)', 'icon_smile.gif', 'Smile'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 6, ':smile:', 'icon_smile.gif', 'Smile'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 7, ':(', 'icon_sad.gif', 'Sad'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 8, ':-(', 'icon_sad.gif', 'Sad'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 9, ':sad:', 'icon_sad.gif', 'Sad'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 10, ':o', 'icon_surprised.gif', 'Surprised'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 11, ':-o', 'icon_surprised.gif', 'Surprised'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 12, ':eek:', 'icon_surprised.gif', 'Surprised'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 13, ':shock:', 'icon_eek.gif', 'Shocked'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 14, ':?', 'icon_confused.gif', 'Confused'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 15, ':-?', 'icon_confused.gif', 'Confused'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 16, ':???:', 'icon_confused.gif', 'Confused'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 17, '8)', 'icon_cool.gif', 'Cool'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 18, '8-)', 'icon_cool.gif', 'Cool'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 19, ':cool:', 'icon_cool.gif', 'Cool'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 20, ':lol:', 'icon_lol.gif', 'Laughing'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 21, ':x', 'icon_mad.gif', 'Mad'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 22, ':-x', 'icon_mad.gif', 'Mad'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 23, ':mad:', 'icon_mad.gif', 'Mad'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 24, ':P', 'icon_razz.gif', 'Razz'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 25, ':-P', 'icon_razz.gif', 'Razz'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 26, ':razz:', 'icon_razz.gif', 'Razz'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 27, ':oops:', 'icon_redface.gif', 'Embarassed'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 28, ':cry:', 'icon_cry.gif', 'Crying or Very sad'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 29, ':evil:', 'icon_evil.gif', 'Evil or Very Mad'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 30, ':twisted:', 'icon_twisted.gif', 'Twisted Evil'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 31, ':roll:', 'icon_rolleyes.gif', 'Rolling Eyes'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 32, ':wink:', 'icon_wink.gif', 'Wink'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 33, ';)', 'icon_wink.gif', 'Wink'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 34, ';-)', 'icon_wink.gif', 'Wink'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 35, ':!:', 'icon_exclaim.gif', 'Exclamation'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 36, ':?:', 'icon_question.gif', 'Question'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 37, ':idea:', 'icon_idea.gif', 'Idea'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 38, ':arrow:', 'icon_arrow.gif', 'Arrow'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 39, ':|', 'icon_neutral.gif', 'Neutral'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 40, ':-|', 'icon_neutral.gif', 'Neutral'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 41, ':neutral:', 'icon_neutral.gif', 'Neutral'); + INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 42, ':mrgreen:', 'icon_mrgreen.gif', 'Mr. Green'); + + + # -------------------------------------------------------- + # + # Table structure for table 'mx_table_words' + # + CREATE TABLE mx_table_words ( + word_id mediumint(8) UNSIGNED NOT NULL auto_increment, + word char(100) NOT NULL, + replacement char(100) NOT NULL, + PRIMARY KEY (word_id) + ); + |
|
From: Jon O. <jon...@us...> - 2007-09-13 09:13:10
|
Update of /cvsroot/mxbb/core/install/templates In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12540/templates Modified Files: mx_install_body.tpl Log Message: Updated schemas Added smiles and word censors db/admincp for standalone mode Index: mx_install_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/install/templates/mx_install_body.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_install_body.tpl 9 Sep 2007 16:49:08 -0000 1.5 --- mx_install_body.tpl 13 Sep 2007 09:13:05 -0000 1.6 *************** *** 53,57 **** <!-- END datarow --> ! if(i) window.onload = check_phpbb_path; //--></script><noscript> <div align="center" style="color:red;">{L_NOSCRIPT_WARNING}</div> --- 53,57 ---- <!-- END datarow --> ! window.onload = check_phpbb_path; //--></script><noscript> <div align="center" style="color:red;">{L_NOSCRIPT_WARNING}</div> |
|
From: Jon O. <jon...@us...> - 2007-09-13 09:12:53
|
Update of /cvsroot/mxbb/core/includes/sessions/internal In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12512 Modified Files: constants.php Log Message: Updated schemas Added smiles and word censors db/admincp for standalone mode Index: constants.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/internal/constants.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** constants.php 9 Sep 2007 16:51:31 -0000 1.1 --- constants.php 13 Sep 2007 09:12:49 -0000 1.2 *************** *** 169,173 **** define('SESSIONS_TABLE', $mx_table_prefix.'sessions'); define('SESSIONS_KEYS_TABLE', $mx_table_prefix.'sessions_keys'); ! define('SMILIES_TABLE', $table_prefix.'smilies'); //define('THEMES_TABLE', $table_prefix.'themes'); //define('THEMES_NAME_TABLE', $table_prefix.'themes_name'); --- 169,173 ---- define('SESSIONS_TABLE', $mx_table_prefix.'sessions'); define('SESSIONS_KEYS_TABLE', $mx_table_prefix.'sessions_keys'); ! define('SMILIES_TABLE', $mx_table_prefix.'smilies'); //define('THEMES_TABLE', $table_prefix.'themes'); //define('THEMES_NAME_TABLE', $table_prefix.'themes_name'); *************** *** 176,180 **** define('USER_GROUP_TABLE', $mx_table_prefix.'user_group'); define('USERS_TABLE', $mx_table_prefix.'users'); ! define('WORDS_TABLE', $table_prefix.'words'); //define('VOTE_DESC_TABLE', $table_prefix.'vote_desc'); //define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results'); --- 176,180 ---- define('USER_GROUP_TABLE', $mx_table_prefix.'user_group'); define('USERS_TABLE', $mx_table_prefix.'users'); ! define('WORDS_TABLE', $mx_table_prefix.'words'); //define('VOTE_DESC_TABLE', $table_prefix.'vote_desc'); //define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results'); |
|
From: Jon O. <jon...@us...> - 2007-09-13 09:12:46
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12479/install Modified Files: mx_install.php Log Message: Updated schemas Added smiles and word censors db/admincp for standalone mode Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.80 retrieving revision 1.81 diff -C2 -d -r1.80 -r1.81 *** mx_install.php 9 Sep 2007 16:48:17 -0000 1.80 --- mx_install.php 13 Sep 2007 09:12:38 -0000 1.81 *************** *** 33,37 **** // $mx_portal_name = 'mxBB Modular System'; ! $mx_portal_version = '2.9.1'; $mx_portal_copy = '<b>mxBB Modular System!</b> <br /><br/> mxBB is a fully modular system, portal and CMS, featuring dynamic pages, blocks, and themes, by means of a powerful yet flexible AdminCP. mxBB Portal is the classical phpBB portal add-on, improved and enhanced for every phpBB version released since 2001. <br /><br />Authors: The mxBB Development Team. <br />Please visit <a href="http://www.mx-system.com/">www.mx-system.com</a> for further information.'; --- 33,37 ---- // $mx_portal_name = 'mxBB Modular System'; ! $mx_portal_version = '2.9.2'; $mx_portal_copy = '<b>mxBB Modular System!</b> <br /><br/> mxBB is a fully modular system, portal and CMS, featuring dynamic pages, blocks, and themes, by means of a powerful yet flexible AdminCP. mxBB Portal is the classical phpBB portal add-on, improved and enhanced for every phpBB version released since 2001. <br /><br />Authors: The mxBB Development Team. <br />Please visit <a href="http://www.mx-system.com/">www.mx-system.com</a> for further information.'; *************** *** 815,818 **** --- 815,819 ---- include($mx_root_path . "config.$phpEx"); } + if( defined('MX_INSTALLED') ) { *************** *** 992,996 **** )); ! $select_phpbb_path .= '<option value="-1">'.'Internal'.'</option>'; // --- 993,997 ---- )); ! $select_phpbb_path .= '<option value="-1">'.'Internal'.'</option>'; // *************** *** 1090,1096 **** --- 1091,1108 ---- $phpbb_failed = true; $files_cnt = 0; + + if( $files_cnt <= 0 ) + { + install_die($lang['Install_phpbb_not_found'], $debuginfo); + } + if( $phpbb_failed ) + { + install_die($lang['Install_phpbb_db_failed'], $debuginfo); + } + install_die($lang['Install_phpbb_unsupported'], $debuginfo); } // -------------------- + /* if( defined('INSTALL_READONLY') && !$phpbb_found ) { *************** *** 1105,1108 **** --- 1117,1121 ---- install_die($lang['Install_phpbb_unsupported'], $debuginfo); } + */ $s_hidden_fields = '<input type="hidden" name="install_mode" value="' . $install_mode . '" />'. *************** *** 1139,1152 **** 'PHPBB_PATH' => $phpbb_relative, 'PORTAL_URL' => $portal_url, ! 'PHPBB_URL' => $phpbb_url, ! 'DBMS' => $phpbb_info['dbms'], ! 'DB_HOST' => $phpbb_info['dbhost'], ! 'DB_NAME' => $phpbb_info['dbname'], ! 'DB_USER' => $phpbb_info['dbuser'], ! 'DB_PASSWD' => $phpbb_info['dbpasswd'], ! 'DB_PREFIX' => $phpbb_info['table_prefix'], ! 'ACM_TYPE' => ( !empty($phpbb_info['acm_type']) ? $phpbb_info['acm_type'] : 'file' ), ! 'DBMS_SELECT' => dbms_select('mysql'), 'S_HIDDEN_FIELDS' => $s_hidden_fields, --- 1152,1165 ---- 'PHPBB_PATH' => $phpbb_relative, 'PORTAL_URL' => $portal_url, ! 'PHPBB_URL' => $phpbb_url, ! 'DBMS' => $phpbb_info['dbms'], ! 'DB_HOST' => $phpbb_info['dbhost'], ! 'DB_NAME' => $phpbb_info['dbname'], ! 'DB_USER' => $phpbb_info['dbuser'], ! 'DB_PASSWD' => $phpbb_info['dbpasswd'], ! 'DB_PREFIX' => $phpbb_info['table_prefix'], ! 'ACM_TYPE' => ( !empty($phpbb_info['acm_type']) ? $phpbb_info['acm_type'] : 'file' ), ! 'DBMS_SELECT' => dbms_select('mysql'), 'S_HIDDEN_FIELDS' => $s_hidden_fields, |
|
From: Jon O. <jon...@us...> - 2007-09-13 09:12:43
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12479/admin Modified Files: admin_mx_styles.php Added Files: admin_mx_smilies.php admin_mx_words.php Log Message: Updated schemas Added smiles and word censors db/admincp for standalone mode Index: admin_mx_styles.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_styles.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_mx_styles.php 9 Sep 2007 16:48:16 -0000 1.1 --- admin_mx_styles.php 13 Sep 2007 09:12:37 -0000 1.2 *************** *** 24,32 **** { $file = basename(__FILE__); ! $module['Styles']['Add_new'] = 'admin/' . "$file?mode=addnew"; //$module['Styles']['Create_new'] = 'admin/' . "$file?mode=create"; ! $module['Styles']['Manage'] = 'admin/' . $file; //$module['Styles']['Export'] = 'admin/' . "$file?mode=export"; - //$module['2_CP']['2_1_Modules'] = 'admin/' . $file; return; --- 24,31 ---- { $file = basename(__FILE__); ! $module['3_CP']['2_1_new'] = 'admin/' . "$file?mode=addnew"; //$module['Styles']['Create_new'] = 'admin/' . "$file?mode=create"; ! $module['3_CP']['2_2_manage'] = 'admin/' . $file; //$module['Styles']['Export'] = 'admin/' . "$file?mode=export"; //$module['2_CP']['2_1_Modules'] = 'admin/' . $file; return; --- NEW FILE: admin_mx_smilies.php --- <?php /*************************************************************************** * admin_mx_smilies.php * ------------------- * begin : Thu May 31, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: admin_mx_smilies.php,v 1.1 2007/09/13 09:12:37 jonohlsson Exp $ * ****************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ /************************************************************************** * This file will be used for modifying the smiley settings for a board. **************************************************************************/ define('IN_PHPBB', 1); // // First we do the setmodules stuff for the admin cp. // if( !empty($setmodules) ) { $filename = basename(__FILE__); $module['3_CP']['2_3_smilies'] = 'admin/' . $filename; return; } // // Load default header // if( isset($HTTP_GET_VARS['export_pack']) ) { if ( $HTTP_GET_VARS['export_pack'] == "send" ) { $no_page_header = true; } } /* $mx_root_path = "./../"; require($mx_root_path . 'extension.inc'); $cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? true : false; $no_page_header = $cancel; require('./pagestart.' . $phpEx); */ // // Security and Page header // define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); $cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? true : false; $no_page_header = $cancel; require('./pagestart.' . $phpEx); // // Load default header // include_once('./page_header_admin.php'); if ($cancel) { redirect('admin/' . mx_append_sid("admin_mx_smilies.$phpEx", true)); } // // Check to see what mode we should operate in. // if( isset($HTTP_POST_VARS['mode']) || isset($HTTP_GET_VARS['mode']) ) { $mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode']; $mode = htmlspecialchars($mode); } else { $mode = ""; } $delimeter = '=+:'; // // Read a listing of uploaded smilies for use in the add or edit smliey code... // $dir = @opendir($phpbb_root_path . $board_config['smilies_path']); while($file = @readdir($dir)) { if( !@is_dir(phpBB2::phpbb_realpath($phpbb_root_path . $board_config['smilies_path'] . '/' . $file)) ) { $img_size = @getimagesize($phpbb_root_path . $board_config['smilies_path'] . '/' . $file); if( $img_size[0] && $img_size[1] ) { $smiley_images[] = $file; } else if( eregi('.pak$', $file) ) { $smiley_paks[] = $file; } } } @closedir($dir); // // Select main mode // if( isset($HTTP_GET_VARS['import_pack']) || isset($HTTP_POST_VARS['import_pack']) ) { // // Import a list a "Smiley Pack" // $smile_pak = ( isset($HTTP_POST_VARS['smile_pak']) ) ? $HTTP_POST_VARS['smile_pak'] : $HTTP_GET_VARS['smile_pak']; $clear_current = ( isset($HTTP_POST_VARS['clear_current']) ) ? $HTTP_POST_VARS['clear_current'] : $HTTP_GET_VARS['clear_current']; $replace_existing = ( isset($HTTP_POST_VARS['replace']) ) ? $HTTP_POST_VARS['replace'] : $HTTP_GET_VARS['replace']; if ( !empty($smile_pak) ) { // // The user has already selected a smile_pak file.. Import it. // if( !empty($clear_current) ) { $sql = "DELETE FROM " . SMILIES_TABLE; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, "Couldn't delete current smilies", "", __LINE__, __FILE__, $sql); } } else { $sql = "SELECT code FROM ". SMILIES_TABLE; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, "Couldn't get current smilies", "", __LINE__, __FILE__, $sql); } $cur_smilies = $db->sql_fetchrowset($result); for( $i = 0; $i < count($cur_smilies); $i++ ) { $k = $cur_smilies[$i]['code']; $smiles[$k] = 1; } } $fcontents = @file($mx_root_path . $board_config['smilies_path'] . '/'. $smile_pak); if( empty($fcontents) ) { mx_message_die(GENERAL_ERROR, "Couldn't read smiley pak file", "", __LINE__, __FILE__, $sql); } for( $i = 0; $i < count($fcontents); $i++ ) { $smile_data = explode($delimeter, trim(addslashes($fcontents[$i]))); for( $j = 2; $j < count($smile_data); $j++) { // // Replace > and < with the proper html_entities for matching. // $smile_data[$j] = str_replace("<", "<", $smile_data[$j]); $smile_data[$j] = str_replace(">", ">", $smile_data[$j]); $k = $smile_data[$j]; if( $smiles[$k] == 1 ) { if( !empty($replace_existing) ) { $sql = "UPDATE " . SMILIES_TABLE . " SET smile_url = '" . str_replace("\'", "''", $smile_data[0]) . "', emoticon = '" . str_replace("\'", "''", $smile_data[1]) . "' WHERE code = '" . str_replace("\'", "''", $smile_data[$j]) . "'"; } else { $sql = ''; } } else { $sql = "INSERT INTO " . SMILIES_TABLE . " (code, smile_url, emoticon) VALUES('" . str_replace("\'", "''", $smile_data[$j]) . "', '" . str_replace("\'", "''", $smile_data[0]) . "', '" . str_replace("\'", "''", $smile_data[1]) . "')"; } if( $sql != '' ) { $result = $db->sql_query($sql); if( !$result ) { mx_message_die(GENERAL_ERROR, "Couldn't update smilies!", "", __LINE__, __FILE__, $sql); } } } } $message = $lang['smiley_import_success'] . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . mx_append_sid("admin_mx_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); } else { // // Display the script to get the smile_pak cfg file... // $smile_paks_select = "<select name='smile_pak'><option value=''>" . $lang['Select_pak'] . "</option>"; while( list($key, $value) = @each($smiley_paks) ) { if ( !empty($value) ) { $smile_paks_select .= "<option>" . $value . "</option>"; } } $smile_paks_select .= "</select>"; $hidden_vars = "<input type='hidden' name='mode' value='import'>"; $template->set_filenames(array( "body" => "admin/smile_import_body.tpl") ); $template->assign_vars(array( "L_SMILEY_TITLE" => $lang['smiley_title'], "L_SMILEY_EXPLAIN" => $lang['smiley_import_inst'], "L_SMILEY_IMPORT" => $lang['smiley_import'], "L_SELECT_LBL" => $lang['choose_smile_pak'], "L_IMPORT" => $lang['import'], "L_CONFLICTS" => $lang['smile_conflicts'], "L_DEL_EXISTING" => $lang['del_existing_smileys'], "L_REPLACE_EXISTING" => $lang['replace_existing'], "L_KEEP_EXISTING" => $lang['keep_existing'], "S_SMILEY_ACTION" => mx_append_sid("admin_mx_smilies.$phpEx"), "S_SMILE_SELECT" => $smile_paks_select, "S_HIDDEN_FIELDS" => $hidden_vars) ); $template->pparse("body"); } } else if( isset($HTTP_POST_VARS['export_pack']) || isset($HTTP_GET_VARS['export_pack']) ) { // // Export our smiley config as a smiley pak... // if ( $HTTP_GET_VARS['export_pack'] == "send" ) { $sql = "SELECT * FROM " . SMILIES_TABLE; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, "Could not get smiley list", "", __LINE__, __FILE__, $sql); } $resultset = $db->sql_fetchrowset($result); $smile_pak = ""; for($i = 0; $i < count($resultset); $i++ ) { $smile_pak .= $resultset[$i]['smile_url'] . $delimeter; $smile_pak .= $resultset[$i]['emoticon'] . $delimeter; $smile_pak .= $resultset[$i]['code'] . "\n"; } header("Content-Type: text/x-delimtext; name=\"smiles.pak\""); header("Content-disposition: attachment; filename=smiles.pak"); echo $smile_pak; exit; } $message = sprintf($lang['export_smiles'], "<a href=\"" . mx_append_sid("admin_mx_smilies.$phpEx?export_pack=send", true) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . mx_append_sid("admin_mx_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); } else if( isset($HTTP_POST_VARS['add']) || isset($HTTP_GET_VARS['add']) ) { // // Admin has selected to add a smiley. // $template->set_filenames(array( "body" => "admin/smile_edit_body.tpl") ); $filename_list = ""; for( $i = 0; $i < count($smiley_images); $i++ ) { $filename_list .= '<option value="' . $smiley_images[$i] . '">' . $smiley_images[$i] . '</option>'; } $s_hidden_fields = '<input type="hidden" name="mode" value="savenew" />'; $template->assign_vars(array( "L_SMILEY_TITLE" => $lang['smiley_title'], "L_SMILEY_CONFIG" => $lang['smiley_config'], "L_SMILEY_EXPLAIN" => $lang['smile_desc'], "L_SMILEY_CODE" => $lang['smiley_code'], "L_SMILEY_URL" => $lang['smiley_url'], "L_SMILEY_EMOTION" => $lang['smiley_emot'], "L_SUBMIT" => $lang['Submit'], "L_RESET" => $lang['Reset'], "SMILEY_IMG" => $mx_root_path . $board_config['smilies_path'] . '/' . $smiley_images[0], "S_SMILEY_ACTION" => mx_append_sid("admin_mx_smilies.$phpEx"), "S_HIDDEN_FIELDS" => $s_hidden_fields, "S_FILENAME_OPTIONS" => $filename_list, "S_SMILEY_BASEDIR" => $mx_root_path . $board_config['smilies_path']) ); $template->pparse("body"); } else if ( $mode != "" ) { switch( $mode ) { case 'delete': // // Admin has selected to delete a smiley. // $smiley_id = ( !empty($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id']; $smiley_id = intval($smiley_id); $confirm = isset($HTTP_POST_VARS['confirm']); if( $confirm ) { $sql = "DELETE FROM " . SMILIES_TABLE . " WHERE smilies_id = " . $smiley_id; $result = $db->sql_query($sql); if( !$result ) { mx_message_die(GENERAL_ERROR, "Couldn't delete smiley", "", __LINE__, __FILE__, $sql); } $message = $lang['smiley_del_success'] . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . mx_append_sid("admin_mx_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); } else { // Present the confirmation screen to the user $template->set_filenames(array( 'body' => 'admin/confirm_body.tpl') ); $hidden_fields = '<input type="hidden" name="mode" value="delete" /><input type="hidden" name="id" value="' . $smiley_id . '" />'; $template->assign_vars(array( 'MESSAGE_TITLE' => $lang['Confirm'], 'MESSAGE_TEXT' => $lang['Confirm_delete_smiley'], 'L_YES' => $lang['Yes'], 'L_NO' => $lang['No'], 'S_CONFIRM_ACTION' => mx_append_sid("admin_mx_smilies.$phpEx"), 'S_HIDDEN_FIELDS' => $hidden_fields) ); $template->pparse('body'); } break; case 'edit': // // Admin has selected to edit a smiley. // $smiley_id = ( !empty($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id']; $smiley_id = intval($smiley_id); $sql = "SELECT * FROM " . SMILIES_TABLE . " WHERE smilies_id = " . $smiley_id; $result = $db->sql_query($sql); if( !$result ) { mx_message_die(GENERAL_ERROR, 'Could not obtain emoticon information', "", __LINE__, __FILE__, $sql); } $smile_data = $db->sql_fetchrow($result); $filename_list = ""; for( $i = 0; $i < count($smiley_images); $i++ ) { if( $smiley_images[$i] == $smile_data['smile_url'] ) { $smiley_selected = "selected=\"selected\""; $smiley_edit_img = $smiley_images[$i]; } else { $smiley_selected = ""; } $filename_list .= '<option value="' . $smiley_images[$i] . '"' . $smiley_selected . '>' . $smiley_images[$i] . '</option>'; } $template->set_filenames(array( "body" => "admin/smile_edit_body.tpl") ); $s_hidden_fields = '<input type="hidden" name="mode" value="save" /><input type="hidden" name="smile_id" value="' . $smile_data['smilies_id'] . '" />'; $template->assign_vars(array( "SMILEY_CODE" => $smile_data['code'], "SMILEY_EMOTICON" => $smile_data['emoticon'], "L_SMILEY_TITLE" => $lang['smiley_title'], "L_SMILEY_CONFIG" => $lang['smiley_config'], "L_SMILEY_EXPLAIN" => $lang['smile_desc'], "L_SMILEY_CODE" => $lang['smiley_code'], "L_SMILEY_URL" => $lang['smiley_url'], "L_SMILEY_EMOTION" => $lang['smiley_emot'], "L_SUBMIT" => $lang['Submit'], "L_RESET" => $lang['Reset'], "SMILEY_IMG" => $mx_root_path . $board_config['smilies_path'] . '/' . $smiley_edit_img, "S_SMILEY_ACTION" => mx_append_sid("admin_mx_smilies.$phpEx"), "S_HIDDEN_FIELDS" => $s_hidden_fields, "S_FILENAME_OPTIONS" => $filename_list, "S_SMILEY_BASEDIR" => $mx_root_path . $board_config['smilies_path']) ); $template->pparse("body"); break; case "save": // // Admin has submitted changes while editing a smiley. // // // Get the submitted data, being careful to ensure that we only // accept the data we are looking for. // $smile_code = ( isset($HTTP_POST_VARS['smile_code']) ) ? trim($HTTP_POST_VARS['smile_code']) : ''; $smile_url = ( isset($HTTP_POST_VARS['smile_url']) ) ? trim($HTTP_POST_VARS['smile_url']) : ''; $smile_url = phpbb_ltrim(basename($smile_url), "'"); $smile_emotion = ( isset($HTTP_POST_VARS['smile_emotion']) ) ? htmlspecialchars(trim($HTTP_POST_VARS['smile_emotion'])) : ''; $smile_id = ( isset($HTTP_POST_VARS['smile_id']) ) ? intval($HTTP_POST_VARS['smile_id']) : 0; $smile_code = trim($smile_code); $smile_url = trim($smile_url); // If no code was entered complain ... if ($smile_code == '' || $smile_url == '') { mx_message_die(GENERAL_MESSAGE, $lang['Fields_empty']); } // // Convert < and > to proper htmlentities for parsing. // $smile_code = str_replace('<', '<', $smile_code); $smile_code = str_replace('>', '>', $smile_code); // // Proceed with updating the smiley table. // $sql = "UPDATE " . SMILIES_TABLE . " SET code = '" . str_replace("\'", "''", $smile_code) . "', smile_url = '" . str_replace("\'", "''", $smile_url) . "', emoticon = '" . str_replace("\'", "''", $smile_emotion) . "' WHERE smilies_id = $smile_id"; if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, "Couldn't update smilies info", "", __LINE__, __FILE__, $sql); } $message = $lang['smiley_edit_success'] . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . mx_append_sid("admin_mx_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); break; case "savenew": // // Admin has submitted changes while adding a new smiley. // // // Get the submitted data being careful to ensure the the data // we recieve and process is only the data we are looking for. // $smile_code = ( isset($HTTP_POST_VARS['smile_code']) ) ? $HTTP_POST_VARS['smile_code'] : ''; $smile_url = ( isset($HTTP_POST_VARS['smile_url']) ) ? $HTTP_POST_VARS['smile_url'] : ''; $smile_url = phpbb_ltrim(basename($smile_url), "'"); $smile_emotion = ( isset($HTTP_POST_VARS['smile_emotion']) ) ? htmlspecialchars(trim($HTTP_POST_VARS['smile_emotion'])) : ''; $smile_code = trim($smile_code); $smile_url = trim($smile_url); // If no code was entered complain ... if ($smile_code == '' || $smile_url == '') { mx_message_die(GENERAL_MESSAGE, $lang['Fields_empty']); } // // Convert < and > to proper htmlentities for parsing. // $smile_code = str_replace('<', '<', $smile_code); $smile_code = str_replace('>', '>', $smile_code); // // Save the data to the smiley table. // $sql = "INSERT INTO " . SMILIES_TABLE . " (code, smile_url, emoticon) VALUES ('" . str_replace("\'", "''", $smile_code) . "', '" . str_replace("\'", "''", $smile_url) . "', '" . str_replace("\'", "''", $smile_emotion) . "')"; $result = $db->sql_query($sql); if( !$result ) { mx_message_die(GENERAL_ERROR, "Couldn't insert new smiley", "", __LINE__, __FILE__, $sql); } $message = $lang['smiley_add_success'] . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . mx_append_sid("admin_mx_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); break; } } else { // // This is the main display of the page before the admin has selected // any options. // $sql = "SELECT * FROM " . SMILIES_TABLE; $result = $db->sql_query($sql); if( !$result ) { mx_message_die(GENERAL_ERROR, "Couldn't obtain smileys from database", "", __LINE__, __FILE__, $sql); } $smilies = $db->sql_fetchrowset($result); $template->set_filenames(array( "body" => "admin/smile_list_body.tpl") ); $template->assign_vars(array( "L_ACTION" => $lang['Action'], "L_SMILEY_TITLE" => $lang['smiley_title'], "L_SMILEY_TEXT" => $lang['smile_desc'], "L_DELETE" => $lang['Delete'], "L_EDIT" => $lang['Edit'], "L_SMILEY_ADD" => $lang['smile_add'], "L_CODE" => $lang['Code'], "L_EMOT" => $lang['Emotion'], "L_SMILE" => $lang['Smile'], "L_IMPORT_PACK" => $lang['import_smile_pack'], "L_EXPORT_PACK" => $lang['export_smile_pack'], "S_HIDDEN_FIELDS" => $s_hidden_fields, "S_SMILEY_ACTION" => mx_append_sid("admin_mx_smilies.$phpEx")) ); // // Loop throuh the rows of smilies setting block vars for the template. // for($i = 0; $i < count($smilies); $i++) { // // Replace htmlentites for < and > with actual character. // $smilies[$i]['code'] = str_replace('<', '<', $smilies[$i]['code']); $smilies[$i]['code'] = str_replace('>', '>', $smilies[$i]['code']); $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; $template->assign_block_vars("smiles", array( "ROW_COLOR" => "#" . $row_color, "ROW_CLASS" => $row_class, "SMILEY_IMG" => $phpbb_root_path . $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'], "CODE" => $smilies[$i]['code'], "EMOT" => $smilies[$i]['emoticon'], "U_SMILEY_EDIT" => mx_append_sid("admin_mx_smilies.$phpEx?mode=edit&id=" . $smilies[$i]['smilies_id']), "U_SMILEY_DELETE" => mx_append_sid("admin_mx_smilies.$phpEx?mode=delete&id=" . $smilies[$i]['smilies_id'])) ); } // // Spit out the page. // $template->pparse("body"); } // // Page Footer // include_once($mx_root_path . 'admin/page_footer_admin.' . $phpEx); ?> --- NEW FILE: admin_mx_words.php --- <?php /*************************************************************************** * admin_mx_words.php * ------------------- * begin : Thursday, Jul 12, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: admin_mx_words.php,v 1.1 2007/09/13 09:12:37 jonohlsson Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if( !empty($setmodules) ) { $file = basename(__FILE__); $module['1_General_admin']['1_2_WordCensors'] = 'admin/' . $file; return; } define('IN_PHPBB', 1); // // Security and Page header // define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); $no_page_header = TRUE; require('./pagestart.' . $phpEx); // // Load default header // include_once('./page_header_admin.php'); if ($cancel) { redirect('admin/' . mx_append_sid("admin_mx_words.$phpEx", true)); } if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) { $mode = (isset($HTTP_GET_VARS['mode'])) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode']; $mode = htmlspecialchars($mode); } else { // // These could be entered via a form button // if( isset($HTTP_POST_VARS['add']) ) { $mode = "add"; } else if( isset($HTTP_POST_VARS['save']) ) { $mode = "save"; } else { $mode = ""; } } // Restrict mode input to valid options $mode = ( in_array($mode, array('add', 'edit', 'save', 'delete')) ) ? $mode : ''; if( $mode != "" ) { if( $mode == "edit" || $mode == "add" ) { $word_id = ( isset($HTTP_GET_VARS['id']) ) ? intval($HTTP_GET_VARS['id']) : 0; $template->set_filenames(array( "body" => "admin/words_edit_body.tpl") ); $word_info = array('word' => '', 'replacement' => ''); $s_hidden_fields = ''; if( $mode == "edit" ) { if( $word_id ) { $sql = "SELECT * FROM " . WORDS_TABLE . " WHERE word_id = $word_id"; if(!$result = $db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, "Could not query words table", "Error", __LINE__, __FILE__, $sql); } $word_info = $db->sql_fetchrow($result); $s_hidden_fields .= '<input type="hidden" name="id" value="' . $word_id . '" />'; } else { mx_message_die(GENERAL_MESSAGE, $lang['No_word_selected']); } } $template->assign_vars(array( "WORD" => $word_info['word'], "REPLACEMENT" => $word_info['replacement'], "L_WORDS_TITLE" => $lang['Words_title'], "L_WORDS_TEXT" => $lang['Words_explain'], "L_WORD_CENSOR" => $lang['Edit_word_censor'], "L_WORD" => $lang['Word'], "L_REPLACEMENT" => $lang['Replacement'], "L_SUBMIT" => $lang['Submit'], "S_WORDS_ACTION" => mx_append_sid("admin_mx_words.$phpEx"), "S_HIDDEN_FIELDS" => $s_hidden_fields) ); $template->pparse("body"); include_once($mx_root_path . 'admin/page_footer_admin.' . $phpEx); } else if( $mode == "save" ) { $word_id = ( isset($HTTP_POST_VARS['id']) ) ? intval($HTTP_POST_VARS['id']) : 0; $word = ( isset($HTTP_POST_VARS['word']) ) ? trim($HTTP_POST_VARS['word']) : ""; $replacement = ( isset($HTTP_POST_VARS['replacement']) ) ? trim($HTTP_POST_VARS['replacement']) : ""; if($word == "" || $replacement == "") { mx_message_die(GENERAL_MESSAGE, $lang['Must_enter_word']); } if( $word_id ) { $sql = "UPDATE " . WORDS_TABLE . " SET word = '" . str_replace("\'", "''", $word) . "', replacement = '" . str_replace("\'", "''", $replacement) . "' WHERE word_id = $word_id"; $message = $lang['Word_updated']; } else { $sql = "INSERT INTO " . WORDS_TABLE . " (word, replacement) VALUES ('" . str_replace("\'", "''", $word) . "', '" . str_replace("\'", "''", $replacement) . "')"; $message = $lang['Word_added']; } if(!$result = $db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, "Could not insert data into words table", $lang['Error'], __LINE__, __FILE__, $sql); } $message .= "<br /><br />" . sprintf($lang['Click_return_wordadmin'], "<a href=\"" . mx_append_sid("admin_mx_words.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); } else if( $mode == "delete" ) { if( isset($HTTP_POST_VARS['id']) || isset($HTTP_GET_VARS['id']) ) { $word_id = ( isset($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id']; $word_id = intval($word_id); } else { $word_id = 0; } $confirm = isset($HTTP_POST_VARS['confirm']); if( $word_id && $confirm ) { $sql = "DELETE FROM " . WORDS_TABLE . " WHERE word_id = $word_id"; if(!$result = $db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, "Could not remove data from words table", $lang['Error'], __LINE__, __FILE__, $sql); } $message = $lang['Word_removed'] . "<br /><br />" . sprintf($lang['Click_return_wordadmin'], "<a href=\"" . mx_append_sid("admin_mx_words.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); } elseif( $word_id && !$confirm) { // Present the confirmation screen to the user $template->set_filenames(array( 'body' => 'admin/confirm_body.tpl') ); $hidden_fields = '<input type="hidden" name="mode" value="delete" /><input type="hidden" name="id" value="' . $word_id . '" />'; $template->assign_vars(array( 'MESSAGE_TITLE' => $lang['Confirm'], 'MESSAGE_TEXT' => $lang['Confirm_delete_word'], 'L_YES' => $lang['Yes'], 'L_NO' => $lang['No'], 'S_CONFIRM_ACTION' => mx_append_sid("admin_mx_words.$phpEx"), 'S_HIDDEN_FIELDS' => $hidden_fields) ); } else { mx_message_die(GENERAL_MESSAGE, $lang['No_word_selected']); } } } else { $template->set_filenames(array( "body" => "admin/words_list_body.tpl") ); $sql = "SELECT * FROM " . WORDS_TABLE . " ORDER BY word"; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, "Could not query words table", $lang['Error'], __LINE__, __FILE__, $sql); } $word_rows = $db->sql_fetchrowset($result); $db->sql_freeresult($result); $word_count = count($word_rows); $template->assign_vars(array( "L_WORDS_TITLE" => $lang['Words_title'], "L_WORDS_TEXT" => $lang['Words_explain'], "L_WORD" => $lang['Word'], "L_REPLACEMENT" => $lang['Replacement'], "L_EDIT" => $lang['Edit'], "L_DELETE" => $lang['Delete'], "L_ADD_WORD" => $lang['Add_new_word'], "L_ACTION" => $lang['Action'], "S_WORDS_ACTION" => mx_append_sid("admin_mx_words.$phpEx"), "S_HIDDEN_FIELDS" => '') ); for($i = 0; $i < $word_count; $i++) { $word = $word_rows[$i]['word']; $replacement = $word_rows[$i]['replacement']; $word_id = $word_rows[$i]['word_id']; $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; $template->assign_block_vars("words", array( "ROW_COLOR" => "#" . $row_color, "ROW_CLASS" => $row_class, "WORD" => $word, "REPLACEMENT" => $replacement, "U_WORD_EDIT" => mx_append_sid("admin_mx_words.$phpEx?mode=edit&id=$word_id"), "U_WORD_DELETE" => mx_append_sid("admin_mx_words.$phpEx?mode=delete&id=$word_id")) ); } } $template->pparse("body"); include('./page_footer_admin.'.$phpEx); ?> |
Update of /cvsroot/mxbb/mx_xs/templates/tpl In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10234 Added Files: _xs_test.tpl cache.tpl clone.tpl clone2.tpl config.tpl downloads.tpl edit.tpl edit_data.tpl edit_data_list.tpl edit_file.tpl export.tpl export2.tpl export_data.tpl export_data2.tpl frame_top.tpl frameset.tpl ftp.tpl import.tpl import2.tpl index.tpl install.tpl message.tpl style_config.tpl styles.tpl uninstall.tpl update.tpl update2.tpl xs_footer.tpl xs_header.tpl Log Message: --- NEW FILE: clone2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * clone2.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_CLONE_STYLE}</h1> <p>{L_XS_CLONE_STYLE_EXPLAIN}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_CLONE_STYLE}</th> </tr> <tr> <td class="explain" colspan="2" align="left">{L_XS_CLONE_STYLE_EXPLAIN2}</td> </tr> <!-- BEGIN styles --> <tr> <td class="row1">{styles.L_CLONE}<br /><span class="gensmall">{L_XS_CLONE_STYLE_EXPLAIN3}</span></td> <td class="row2"><form action="{FORM_ACTION}" method="post" style="display: inline;">{S_HIDDEN_FIELDS}<input type="hidden" name="clone_style" value="{styles.ID}" /><input type="text" class="post" name="clone_name" value="{styles.STYLE}" size="30" /> <input type="submit" class="mainoption" value="{L_SUBMIT}" /></form></td> </tr> <!-- END styles --> <tr> <th class="thHead" colspan="2">{L_CLONE_STYLE3}</th> </tr> <tr> <td class="explain" colspan="2" align="left">{L_XS_CLONE_STYLE_EXPLAIN4}</td> </tr> <form action="{FORM_ACTION}" name="clone" method="post"><input type="hidden" name="clone_tpl" value="{CLONE_TEMPLATE}" />{S_HIDDEN_FIELDS} <tr> <td class="row1">{L_XS_CLONE_NEWDIR_NAME}</td> <td class="row2"><input type="text" class="post" name="clone_style_name" value="{CLONE_TEMPLATE}" size="30" <!-- BEGIN switch_onchange --> onkeyup="document.clone.clone_style_name_0.value=document.clone.clone_style_name.value" <!-- END switch_onchange --> /></td> </tr> <!-- BEGIN switch_select_style --> <tr> <td class="row1">{L_XS_CLONE_SELECT}<br /><span class="gensmall">{L_XS_CLONE_SELECT_EXPLAIN}</span></td> <td class="row2" nowrap="nowrap"> <!-- BEGIN style --> <input type="hidden" name="clone_style_id_{switch_select_style.style.NUM}" value="{switch_select_style.style.ID}" /> <input type="checkbox" name="clone_style_{switch_select_style.style.NUM}" checked="checked" /> <input type="text" class="post" name="clone_style_name_{switch_select_style.style.NUM}" value="{switch_select_style.style.NAME}" title="{switch_select_style.style.NAME}" size="30" /><br /> <!-- END style --> </td> </tr> <!-- END switch_select_style --> <!-- BEGIN switch_select_nostyle --> <tr> <td class="row1">{L_XS_CLONE_NEWNAME}</td> <td class="row2" nowrap="nowrap"> <input type="hidden" name="clone_style_id_0" value="{STYLE_ID}" /> <input type="hidden" name="clone_style_0" value="checked" /> <input type="text" class="post" name="clone_style_name_0" value="{STYLE_NAME}" title="{STYLE_NAME}" size="30" /> </td> </tr> <!-- END switch_select_nostyle --> <input type="hidden" name="total" value="{TOTAL}" /> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </form> </table> --- NEW FILE: update.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * update.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_UPDATES}</h1> <p>{L_XS_UPDATES_COMMENT}</p> <form action="{UPDATE_URL}" method="post"> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th colspan="4" class="thHead" align="center">{L_XS_UPDATES}</th> </tr> <tr> <td colspan="4" class="row1" width="100%" align="left">{L_XS_UPDATE_INFO1}</td> </tr> <tr> <th class="thCornerL" colspan="2" align="center" nowrap="nowrap">{L_XS_UPDATE_NAME}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_TYPE}</th> <th class="thCornerR" align="center" nowrap="nowrap">{L_XS_UPDATE_CURRENT_VERSION}</th> </tr> <!-- BEGIN row --> <input type="hidden" name="{row.VAR}item" value="{row.ITEM}" /> <tr> <td class="{row.ROW_CLASS}"><!-- BEGIN url --><input type="checkbox" name="{row.VAR}checked" checked="checked" /><!-- END url --><!-- BEGIN nourl --><input type="hidden" name="{row.VAR}checked" value="0" /><!-- END nourl --></td> <td class="{row.ROW_CLASS}" width="100%"><span class="gen">{row.NAME}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.TYPE}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.VERSION}</span></td> </tr> <!-- END row --> <tr> <td colspan="4" class="row1" align="left" valign="middle"><span class="gen">{L_XS_UPDATE_TIMEOUT} <input type="text" name="timeout" value="180" size="6" /></span></td> </tr> <tr> <td class="catBottom" colspan="4" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_XS_UPDATE_CONTINUE}" class="mainoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: install.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * install.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_INSTALL_STYLES}</h1> <p>{L_XS_INSTALL_STYLES_EXPLAIN2}</p> <form action="{U_ACTION}" method="post" style="display: inline">{S_HIDDEN_FIELDS}<input type="hidden" name="total" value="{TOTAL}" /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_INSTALL_STYLES}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_INSTALL}</span></td> <td class="catRight" align="center"><span class="gen">{L_XS_SELECT}</span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.STYLE}</span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.THEME}</span></td> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><a href="{styles.U_INSTALL}">{L_XS_INSTALL_LC}</a></span></td> <td class="{styles.ROW_CLASS}" align="center"><input type="checkbox" name="{styles.CB_NAME}" /><input type="hidden" name="{styles.CB_NAME}_style" value="{styles.STYLE}" /><input type="hidden" name="{styles.CB_NAME}_num" value="{styles.NUM}" /></td> </tr> <!-- END styles --> <tr> <td class="catBottom" colspan="4" align="center"><input type="submit" name="submit" value="{L_XS_INSTALL}" class="mainoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: xs_header.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * xs_header.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <html> <head> <meta http-equiv="Content-Style-Type" content="text/css"> <link rel="stylesheet" href="{XS_PATH}style.css" type="text/css"> <style> <!-- body { background-color: #E5E5E5; background-image: url('{XS_PATH}images/top_bg2.gif'); background-position: top left; background-repeat: repeat-x; margin-top: 5px; margin-bottom: 5px; margin-left: 2px; margin-right: 2px; } --> </style> </head> <body> <table width="100%" height="100%" cellspacing="0" cellpadding="2" class="bodyline"> <tr> <td align="left" valign="top" style="padding: 5px;"> <table width="100%" cellspacing="0" cellpadding="3" class="navbar"> <tr> <td align="left" nowrap="nowrap"> <!-- BEGIN nav_left --> {nav_left.ITEM} <!-- END nav_left --> </td> <td align="right" nowrap="nowrap"> <!-- BEGIN nav_right --> {nav_right.ITEM} <!-- END nav_right --> </td> </tr> </table> <br /> --- NEW FILE: uninstall.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * uninstall.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:53 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_UNINSTALL_STYLES}</h1> <p>{L_XS_UNINSTALL_STYLES_EXPLAIN2}</p> <!-- BEGIN left_refresh --> <script language="JavaScript"> <!-- top.nav.location = top.nav.location; // '{left_refresh.ACTION}'; //--> </script> <!-- END left_refresh --> <!-- BEGIN removed --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_Information}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_STYLE_REMOVED}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END removed --> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_UNINSTALL_STYLES}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_UNINSTALL}</span></td> <td class="catRight" align="center"><span class="gen">{L_XS_REMOVE_FILES}</span></td> </tr> <!-- BEGIN styles --> <!-- BEGIN item --> <tr> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.item.THEME}</span></td> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><a href="{styles.item.U_DELETE}">{L_XS_UNINSTALL_LC}</a></td> <!-- BEGIN delete --> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><a href="{styles.item.delete.U_DELETE}">{L_XS_UNINSTALL2_LC}</a></span></td> <!-- END delete --> <!-- BEGIN nodelete --> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"> </td> <!-- END nodelete --> </tr> <!-- END item --> <!-- END styles --> </table> <br /> --- NEW FILE: import.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * import.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:53 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_IMPORT_STYLES}</h1> <p>{L_XS_IMPORT_EXPLAIN}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" align="center" nowrap="nowrap">{L_XS_FILE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_TEMPLATE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_STYLES}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPLOAD_TIME}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_COMMENT}</th> <th class="thCornerR" align="center" nowrap="nowrap">{L_XS_OPTIONS}</th> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left"><span class="gensmall">{styles.FILE2}</span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen"><!-- BEGIN valid -->{styles.TEMPLATE}<!-- END valid --><!-- BEGIN error -->-<!-- END error --></span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen"><!-- BEGIN list -->{list.STYLE}<br /><!-- END list --></span></td> <td class="{styles.ROW_CLASS}" align="center" nowrap="nowrap"><span class="genmed"><!-- BEGIN valid -->{styles.DATE}<!-- END valid --><!-- BEGIN error -->-<!-- END error --></span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gensmall"><!-- BEGIN valid -->{styles.COMMENT}<!-- END valid --><!-- BEGIN error -->{styles.error.ERROR}<!-- END error --></span></td> <td class="{styles.ROW_CLASS}" align="center"> <!-- BEGIN valid --> [<a href="{styles.U_IMPORT}">{L_XS_IMPORT_LC}</a>] [<a href="{styles.U_LIST}">{L_XS_LIST_FILES_LC}</a>] <!-- END valid --> [<a href="{styles.U_DELETE}">{L_XS_DELETE_FILE_LC}</a>] </td> </tr> <!-- END styles --> <!-- BEGIN nostyles --> <tr> <td colspan="6" align="center" class="row1"><span class="gen">{L_XS_IMPORT_NO_CACHED}</span></td> </tr> <!-- END nostyles --> </table> <br /> <table width="100%"> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_ADD_STYLES}</th> </tr> <tr> <td class="row1">{L_XS_ADD_STYLES_WEB}:</td> <td class="row2" nowrap="nowrap"> <form action="{U_SCRIPT}" method="post" style="display: inline;"><input type="hidden" name="action" value="web" />{S_HIDDEN_FIELDS} <input type="text" name="source" size="40" value="http://" /> <input type="submit" value="{L_XS_ADD_STYLES_WEB_GET}" class="mainoption" /> </form> </tr> </tr> <tr> <td class="row1">{L_XS_ADD_STYLES_COPY}:</td> <td class="row2" nowrap="nowrap"> <form action="{U_SCRIPT}" method="post" style="display: inline;"><input type="hidden" name="action" value="copy" />{S_HIDDEN_FIELDS} <input type="text" name="source" size="40" value="" /> <input type="submit" value="{L_XS_ADD_STYLES_COPY_GET}" class="mainoption" /> </form> </tr> </tr> <tr> <td class="row1">{L_XS_ADD_STYLES_UPLOAD}:</td> <td class="row2" nowrap="nowrap"> <form action="{U_SCRIPT}" method="post" enctype="multipart/form-data" style="display: inline;"><input type="hidden" name="action" value="upload" />{S_HIDDEN_FIELDS} <input type="file" name="source" size="30" /> <input type="submit" value="{L_XS_ADD_STYLES_UPLOAD_GET}" class="mainoption" /> </form> </tr> </tr> </table> <br /> --- NEW FILE: export.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * export.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_EXPORT_STYLE}</h1> <p>{L_XS_EXPORT_STYLE_EXPLAIN}</p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="3">{L_XS_EXPORT_STYLE}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLES}</span></td> <td class="catRight" align="center"><span class="gen"> </span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.STYLES}</span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_EXPORT}">{L_XS_EXPORT_STYLE_LC}</a></span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: clone.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * clone.tpl * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_CLONE_STYLES}</h1> <p>{L_XS_CLONE_STYLE_EXPLAIN}</p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_CLONE_STYLES}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLES}</span></td> <td class="catRight" align="center"><span class="gen"> </span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.STYLES}</span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_CLONE}">{L_XS_CLONE_STYLE_LC}</a></span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: import2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * import2.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <form action="{FORM_ACTION}" method="post">{S_RETURN}<input type="hidden" name="import" value="{IMPORT_FILENAME}" /><table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_IMPORT_TPL}</th> </tr> <tr> <td class="row1" align="left" colspan="2"><span class="gensmall">{L_XS_IMPORT_TPL_COMMENT}<br /><br />{L_XS_IMPORT_TPL_FILENAME} {STYLE_FILENAME}<br />{L_XS_IMPORT_TPL_TPLNAME} {STYLE_TEMPLATE}<br />{L_XS_IMPORT_TPL_COMMENT2} {STYLE_COMMENT}<br /></span></td> </tr> <!-- BEGIN switch_select_style --> <tr> <td class="row1"><span class="gen">{L_XS_IMPORT_SELECT_STYLES}</span></td> <td class="row2" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="1"> <!-- BEGIN style --> <tr> <td nowrap="nowrap"><span class="gen"><label><input type="checkbox" name="import_install_{switch_select_style.style.NUM}" checked="checked" /> {switch_select_style.style.NAME}</label></span></td> <td nowrap="nowrap"><span class="gen"> (<label><input type="radio" name="import_default" value="{switch_select_style.style.NUM}" /> {L_XS_IMPORT_INSTALL_DEF_LC}</label>)</span></td> </tr> <!-- END style --> </table></td> </tr> <!-- END switch_select_style --> <!-- BEGIN switch_select_nostyle --> <tr> <td class="row1"><span class="gen">{L_XS_IMPORT_INSTALL_STYLE}</span></td> <td class="row2" nowrap="nowrap"><span class="gen"><label><input type="checkbox" name="import_install_0" /> {STYLE_NAME}</label> (<label><input type="radio" name="import_default_0" /> {L_XS_IMPORT_INSTALL_DEF_LC}</label>)</span></td> </tr> <!-- END switch_select_nostyle --> <input type="hidden" name="total" value="{TOTAL}" /> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_XS_IMPORT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: export2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * export2.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_EXPORT_STYLE}</h1> <p>{L_XS_EXPORT_STYLE_EXPLAIN}</p> <form action="{FORM_ACTION}" method="post"><input type="hidden" name="export" value="{EXPORT_TEMPLATE}" /><table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1">{L_XS_EXPORT_TPL_NAME}:</td> <td class="row2"><input type="text" class="post" name="export_template" value="{EXPORT_TEMPLATE}" size="30" /></td> </tr> <!-- BEGIN switch_select_style --> <tr> <td class="row1">{L_XS_EXPORT_STYLE_NAMES}:</td> <td class="row2" nowrap="nowrap"> <!-- BEGIN style --> <input type="hidden" name="export_style_id_{switch_select_style.style.NUM}" value="{switch_select_style.style.ID}" /> <input type="checkbox" name="export_style_{switch_select_style.style.NUM}" checked="checked" /> <input type="text" class="post" name="export_style_name_{switch_select_style.style.NUM}" value="{switch_select_style.style.NAME}" title="{switch_select_style.style.NAME}" size="30" /><br /> <!-- END style --> </td> </tr> <!-- END switch_select_style --> <!-- BEGIN switch_select_nostyle --> <tr> <td class="row1">{L_XS_EXPORT_STYLE_NAME}:</td> <td class="row2" nowrap="nowrap"> <input type="hidden" name="export_style_id_0" value="{STYLE_ID}" /> <input type="hidden" name="export_style_0" value="checked" /> <input type="text" class="post" name="export_style_name_0" value="{STYLE_NAME}" title="{STYLE_NAME}" size="30" /> </td> </tr> <!-- END switch_select_nostyle --> <tr> <td class="row1">{L_XS_EXPORT_STYLE_COMMENT}:</td> <td class="row2"><input type="text" class="post" name="export_comment" maxlength="250" size="50" value="" /></td> </tr> <tr> <td class="row1">{L_XS_EXPORT_WHERE}:</td> <td class="row2" nowrap="nowrap"><table width="100%" cellspacing="0" cellpadding="1"> <tr> <td colspan="2"><input type="radio" name="export_to" value="save" {SEND_METHOD_SAVE} /> {L_XS_EXPORT_WHERE_DOWNLOAD}</td> </tr> <tr><td colspan="2"><br /></td></tr> <tr> <td colspan="2"><input type="radio" name="export_to" value="file" {SEND_METHOD_FILE} /> {L_XS_EXPORT_WHERE_STORE}</td> </tr> <tr> <td width="20%" nowrap="nowrap"> {L_XS_EXPORT_WHERE_STORE_DIR}:</td> <td width="60%"><input class="post" type="text" name="export_to_dir" value="{SEND_DATA_DIR}" size="30" /></td> </tr> <tr><td colspan="2"><br /></td></tr> <tr> <td colspan="2"><input type="radio" name="export_to" value="ftp" {SEND_METHOD_FTP} /> {L_XS_EXPORT_WHERE_FTP}</td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_HOST}:</td> <td><input class="post" type="text" name="export_to_ftp_host" value="{SEND_DATA_HOST}" size="30" /></td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_LOGIN}:</td> <td><input class="post" type="text" name="export_to_ftp_login" value="{SEND_DATA_LOGIN}" size="30" /></td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_PASS}:</td> <td><input class="post" type="text" name="export_to_ftp_pass" value="" size="30" /></td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_REMOTEDIR}:</td> <td><input class="post" type="text" name="export_to_ftp_dir" value="{SEND_DATA_FTPDIR}" size="30" /></td> </tr> </table></td> </tr> <tr> <td class="row1">{L_XS_EXPORT_FILENAME}:</td> <td class="row2"><input class="post" type="text" name="export_filename" value="{EXPORT_TEMPLATE}.style" size="30" /></td> </tr> <input type="hidden" name="total" value="{TOTAL}" /> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: styles.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * styles.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_DEF_TITLE}</h1> <p>{L_XS_DEF_EXPLAIN}</p> <!-- BEGIN list_users --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_XS_STYLES_USERS}</th> </tr> <tr> <td class="row1"><span class="gen"> <table border="0" cellspacing="0" cellpadding="1"> <!-- BEGIN user --> <tr> <td>{user.NUM}:</td> <td> </td> <td>[{user.ID}]</td> <td> </td> <td>{user.NAME}</td> </tr> <!-- END user --> </table> </span></td> </tr> </table> <br /> <!-- END list_users --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" align="center" nowrap="nowrap">{L_XS_ID}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_STYLE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_TEMPLATE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_USERS}</th> <th class="thCornerR" colspan="2" align="center" nowrap="nowrap">{L_XS_OPTIONS}</th> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><!-- BEGIN default --><b><!-- END default -->{styles.ID}<!-- BEGIN default --></b><!-- END default --></span></td> <td class="{styles.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen"><!-- BEGIN default --><b><!-- END default -->{styles.STYLE}<!-- BEGIN default --></b><!-- END default --></span></td> <td class="{styles.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen"><!-- BEGIN default --><b><!-- END default -->{styles.TEMPLATE}<!-- BEGIN default --></b><!-- END default --></span></td> <td class="{styles.ROW_CLASS}" align="center"><!-- BEGIN default --><b><!-- END default --><!-- BEGIN users --><a href="{styles.U_TOTAL}"><!-- END users -->{styles.TOTAL}<!-- BEGIN users --></a><!-- END users --><!-- BEGIN default --></b><!-- END default --></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall"> <!-- BEGIN default --> <!-- BEGIN override --> [<a href="{styles.U_OVERRIDE}">{L_XS_STYLES_NO_OVERRIDE}</a>] <!-- END override --> <!-- BEGIN nooverride --> [<a href="{styles.U_OVERRIDE}">{L_XS_STYLES_DO_OVERRIDE}</a>] <!-- END nooverride --> <!-- END default --> <!-- BEGIN nodefault --> [<a href="{styles.U_DEFAULT}">{L_XS_STYLES_SET_DEFAULT}</a>] <!-- BEGIN admin_only --> [<a href="{styles.nodefault.admin_only.U_CHANGE}">{L_XS_STYLES_MAKE_PUBLIC}</a>] <!-- END admin_only --> <!-- BEGIN public --> [<a href="{styles.nodefault.public.U_CHANGE}">{L_XS_STYLES_MAKE_ADMIN}</a>] <!-- END public --> <!-- END nodefault --> <br /> [<a href="{styles.U_SWITCHALL}">{L_XS_STYLES_SWITCH_ALL}</a>] </span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gensmall"> <!-- BEGIN total --> <form action="{U_SCRIPT}" method="get" name="select_{styles.ID}" onsubmit="if(document.select_{styles.ID}.style.value == -1){return false;}" style="display: inline;">{S_HIDDEN_FIELDS}<input type="hidden" name="moveaway" value="{styles.ID}" /> <select name="movestyle" onchange="document.select_{styles.ID}.submit();"> <option value="">{L_XS_STYLES_SWITCH_ALL2}</option> <option value="0">{L_XS_STYLES_DEFSTYLE}</option> <optgroup label="{L_XS_STYLES_AVAILABLE}"> <?php for($i=0; $i<$styles_count; $i++) if($i != $styles_i) { $item = &$this->_tpldata['styles.'][$i]; echo '<option value="', $item['ID'], '">', $item['STYLE'], '</option>'; } ?> </optgroup> </select> </form> <!-- END total --> <!-- BEGIN none --> <!-- END none --> </span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: ftp.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * ftp.tpl * ------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_FTP_TITLE}</h1> <!-- BEGIN xs_ftp_local --> <p>{L_XS_FTP_COMMENT1}</p> <!-- END xs_ftp_local --> <!-- BEGIN xs_ftp_nolocal --> <p>{L_XS_FTP_COMMENT2}</p> <!-- END xs_ftp_nolocal --> <!-- BEGIN error --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_ERROR}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{error.MSG}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <!-- END error --> <form name="ftp" action="{FORM_ACTION}" method="post">{S_HIDDEN_FIELDS}{S_EXTRA_FIELDS}<table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <!-- BEGIN xs_ftp_local --> <tr> <th class="thHead" colspan="2">{L_XS_FTP_CONFIG}</td> </tr> <tr> <td class="row1">{L_XS_FTP_SELECT_METHOD}:</td> <td class="row2" nowrap="nowrap"> <input type="radio" name="xs_ftp_local" value="1" /> {L_XS_FTP_SELECT_LOCAL}<br /> <input type="radio" name="xs_ftp_local" value="" checked="checked" /> {L_XS_FTP_SELECT_FTP}<br /> </td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_FTP_SETTINGS}</th> </tr> <!-- END xs_ftp_local --> <!-- BEGIN xs_ftp_nolocal --> <input type="hidden" name="xs_ftp_local" value="" /> <tr> <th class="thHead" colspan="2">{L_XS_FTP_SETTINGS}</th> </tr> <!-- END xs_ftp_nolocal --> <tr> <td class="row1">{L_XS_FTP_HOST}{HOST_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_host" value="{XS_FTP_HOST}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_LOGIN}{LOGIN_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_login" value="{XS_FTP_LOGIN}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_PATH}{PATH_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_path" value="{XS_FTP_PATH}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_PASS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_pass" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: edit_file.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * edit_file.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <script language="JavaScript" type="text/javascript"> <!-- function xs_replace() { var old = document.edit.content.value; var search = document.edit.edit_replace1.value; var replace = document.edit.edit_replace2.value; var data = ''; var pos = old.indexOf(search); if(pos == -1) { alert('{L_XS_FILEEDIT_SEARCH_NOMATCH}'); } else { data = old.substring(0, pos) + replace + old.substring(pos + search.length, old.length); document.edit.edit_replace3.value = old; document.edit.content.value = data; alert('{L_XS_FILEEDIT_SEARCH_MATCH1}'); } } function xs_replace_all() { var old = document.edit.content.value; var search = document.edit.edit_replace1.value; var replace = document.edit.edit_replace2.value; var data = ''; var pos = old.indexOf(search); var count = 0; var backup = old; if(pos == -1) { alert('{L_XS_FILEEDIT_SEARCH_NOMATCH}'); } else { while(pos >= 0) { data = data + old.substring(0, pos) + replace; old = old.substring(pos + search.length, old.length); pos = old.indexOf(search); count ++; } data = data + old; document.edit.edit_replace3.value = backup; document.edit.content.value = data; alert('{L_XS_FILEEDIT_SEARCH_MATCHES}'); } } function xs_replace_restore() { var data = document.edit.edit_replace3.value; if(data.length < 1) { alert('{L_XS_FILEEDIT_NOUNDO}'); } else { document.edit.content.value = data; alert('{L_XS_FILEEDIT_UNDO_COMPLETE}'); } } //--> </script> <h1>{L_XS_EDIT_TEMPLATES}</h1> <p>{L_XS_EDIT_TEMPLATE_COMMENT2}</p> <form action="{U_ACTION}" method="post" enctype="multipart/form-data" name="edit" style="display: inline;">{S_HIDDEN_FIELDS}{S_FILTER}<input type="hidden" name="dir" value="{DIR}" /><input type="hidden" name="edit" value="{FILE}" /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th>{L_XS_FILEEDIT_EDIT_NAME} {FULLFILE}</th> </tr> <tr> <td class="row3" align="left" valign="middle"><span class="genmed"> {L_XS_FILEEDIT_LOCATION} <!-- BEGIN tree --> {tree.SEPARATOR} <a href="{tree.URL}">{tree.ITEM}</a> <!-- END tree --> / <a href="{U_EDIT}">{FILE}</a> | [<a href="{U_EDIT}">{L_XS_FILEEDIT_RELOAD_LC}</a>] [<a href="{U_DOWNLOAD}">{L_XS_FILEEDIT_DOWNLOAD_LC}</a>] </span></td> </tr> <tr> <td class="row1" align="left"><textarea name="content" cols="120" rows="35" style="width: 100%">{CONTENT}</textarea></td> </tr> <tr> <td class="row1" align="left"><span class="gen"><label><input type="checkbox" name="trim" checked="checked" /> {L_XS_FILEEDIT_TRIM}</label></span></td> </tr> <tr> <th>{L_XS_FILEEDIT_FUNCTIONS}</th> </tr> <input type="hidden" name="edit_replace3" value="" /> <tr> <td class="row1" align="left"><span class="genmed"> {L_XS_FILEEDIT_REPLACE1}<textarea name="edit_replace1" class="post" cols="20" rows="2"></textarea>{L_XS_FILEEDIT_REPLACE2}<textarea name="edit_replace2" class="post" cols="20" rows="2"></textarea> [<a href="javascript:void(0);" onclick="xs_replace();">{L_XS_FILEEDIT_REPLACE_FIRST_LC}</a>] [<a href="javascript:void(0);" onclick="xs_replace_all();">{L_XS_FILEEDIT_REPLACE_ALL_LC}</a>] [<a href="javascript:void(0)" onclick="xs_replace_restore();">{L_XS_FILEEDIT_REPLACE_UNDO_LC}</a>]<br /> </span></td> </tr> <tr> <th>{L_XS_FILEEDIT_BACKUPS}</th> </tr> <tr> <td class="row1" align="left"><span class="genmed"> [<a href="{U_BACKUP}">{L_XS_FILEEDIT_BACKUPS_SAVE_LC}</a>]<br /> <!-- BEGIN backup --> {backup.TIME} [<a href="{backup.U_VIEW}">{L_XS_FILEEDIT_BACKUPS_SHOW_LC}</a>] [<a href="{backup.U_RESTORE}">{L_XS_FILEEDIT_BACKUPS_RESTORE_LC}</a>] [<a href="{backup.U_DOWNLOAD}">{L_XS_FILEEDIT_BACKUPS_DOWNLOAD_LC}</a>] [<a href="{backup.U_DELETE}">{L_XS_FILEEDIT_BACKUPS_DELETE_LC}</a>]<br /> <!-- END backup --> </span></td> </tr> <tr> <th>{L_XS_FILEEDIT_UPLOAD}</th> </tr> <tr> <td class="row1" align="left" valign="middle"><span class="genmed"> {L_XS_FILEEDIT_UPLOAD_FILE} <input type="file" name="upload" class="post" /> </span></td> </tr> <tr> <td class="catBottom" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" name="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: config.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * confir.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_CONFIG_MAINTITLE}</h1> <p>{L_XS_CONFIG_SUBTITLE}</p> <!-- BEGIN left_refresh --> <script language="JavaScript"> <!-- top.nav.location = top.nav.location; // '{left_refresh.ACTION}'; //--> </script> <!-- END left_refresh --> <!-- BEGIN switch_updated --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_XS_CONFIG_UPDATED}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_CONFIG_UPDATED_EXPLAIN}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END switch_updated --> <!-- BEGIN switch_xs_warning --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_XS_CONFIG_WARNING}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_CONFIG_WARNING_EXPLAIN}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END switch_xs_warning --> <!-- BEGIN noftp --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_Error}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_FTP_COMMENT3}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END noftp --> <!-- BEGIN ftperror --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_Error}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{ftperror.ERROR}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END ftperror --> <form name="config" action="{FORM_ACTION}" method="post" style="display: inline;"><table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_CONFIG_TITLE}</th> </tr> <tr> <td class="row1">{L_XS_CONFIG_NAVBAR}<br /><span class="gensmall">{L_XS_CONFIG_NAVBAR_EXPLAIN}</span></td> <td class="row2" nowrap="nowrap"> <!-- BEGIN shownav --> <label><input type="checkbox" name="shownav_{shownav.NUM}" {shownav.CHECKED} /> {shownav.LABEL}</label><br /> <!-- END shownav --> </td> </tr> <tr> <td class="row1">{L_XS_CONFIG_DEF_TEMPLATE}<br /><span class="gensmall">{L_XS_CONFIG_DEF_TEMPLATE_EXPLAIN}</span></td> <td class="row2"><input class="post" type="text" name="xs_def_template" value="{XS_DEF_TEMPLATE}" /></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_CHECK_SWITCHES}<br /><span class="gensmall">{L_XS_CONFIG_CHECK_SWITCHES_EXPLAIN}</span></td> <td class="row2"> <label><input type="radio" name="xs_check_switches" value="0" {XS_CHECK_SWITCHES_0} /> {L_XS_CONFIG_CHECK_SWITCHES_0}</label><br /> <br /> <label><input type="radio" name="xs_check_switches" value="2" {XS_CHECK_SWITCHES_2} /> {L_XS_CONFIG_CHECK_SWITCHES_2}</label><br /> <br /> <label><input type="radio" name="xs_check_switches" value="1" {XS_CHECK_SWITCHES_1} /> {L_XS_CONFIG_CHECK_SWITCHES_1}</label> </td> </tr> <tr> <td class="row1">{L_XS_CONFIG_SHOW_ERRORS}<br /><span class="gensmall">{L_XS_CONFIG_SHOW_ERROR_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_warn_includes" value="1" {XS_WARN_INCLUDES_1} /> {L_YES}</label> <label><input type="radio" name="xs_warn_includes" value="0" {XS_WARN_INCLUDES_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_TPL_COMMENTS}<br /><span class="gensmall">{L_XS_CONFIG_TPL_COMMENTS_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_add_comments" value="1" {XS_ADD_COMMENTS_1} /> {L_YES}</label> <label><input type="radio" name="xs_add_comments" value="0" {XS_ADD_COMMENTS_0} /> {L_NO}</label></td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_CONFIG_CACHE}</th> </tr> <tr> <td class="row1">{L_XS_CONFIG_USE_CACHE}<br /><span class="gensmall">{L_XS_CONFIG_USE_CACHE_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_use_cache" value="1" {XS_USE_CACHE_1} /> {L_YES}</label> <label><input type="radio" name="xs_use_cache" value="0" {XS_USE_CACHE_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_AUTO_COMPILE}<br /><span class="gensmall">{L_XS_CONFIG_AUTO_COMPILE_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_auto_compile" value="1" {XS_AUTO_COMPILE_1} /> {L_YES}</label> <label><input type="radio" name="xs_auto_compile" value="0" {XS_AUTO_COMPILE_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_AUTO_RECOMPILE}<br /><span class="gensmall">{L_XS_CONFIG_AUTO_RECOMPILE_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_auto_recompile" value="1" {XS_AUTO_RECOMPILE_1} /> {L_YES}</label> <label><input type="radio" name="xs_auto_recompile" value="0" {XS_AUTO_RECOMPILE_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_PHP}<br /><span class="gensmall">{L_XS_CONFIG_PHP_EXPLAIN}</span></td> <td class="row2"><input class="post" type="text" name="xs_php" value="{XS_PHP}" /></td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_FTP_CONFIG}</th> </tr> <tr> <td class="explain" colspan="2" align="left">{L_XS_FTP_EXPLAIN}</td> </tr> <tr> <td class="row1">{L_XS_FTP_HOST}{HOST_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_host" value="{XS_FTP_HOST}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_LOGIN}{LOGIN_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_login" value="{XS_FTP_LOGIN}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_PATH}{PATH_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_path" value="{XS_FTP_PATH}" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> <br clear="all" /> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_DEBUG_HEADER}</th> </tr> <tr> <td colspan="2" class="explain" align="left">{L_XS_DEBUG_EXPLAIN}</td> </tr> <tr> <th class="thHead" colspan="2">{XS_DEBUG_HDR1}</th> </tr> <tr> <td class="row1" align="left"><span class="gen">{L_XS_DEBUG_TPL_NAME}</span></td> <td class="row2" align="left"><span class="gen">{XS_DEBUG_FILENAME1}</span></td> </tr> <tr> <td class="row1" align="left"><span class="gen">{L_XS_DEBUG_CACHE_FILENAME}</span></td> <td class="row2" align="left"><span class="gen">{XS_DEBUG_FILENAME2}</span></td> </tr> <tr> <td class="row1" align="left"><span class="gen">{L_XS_DEBUG_DATA}</span></td> <td class="row2" align="left"><span class="gensmall">{XS_DEBUG_DATA}</span></td> </tr> </table> --- NEW FILE: update2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * update2.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_UPDATES}</h1> <p>{L_XS_UPDATES_COMMENT2}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" align="center" nowrap="nowrap">{L_XS_UPDATE_NAME}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_TYPE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_CURRENT_VERSION}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_LATEST_VERSION}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_DOWNLOADINFO}</th> <th class="thCornerR" align="center" nowrap="nowrap">{L_XS_UPDATE_FILEINFO}</th> </tr> <!-- BEGIN row --> <tr> <td class="{row.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen">{row.ITEM}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.TYPE}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.VERSION}</span></td> <!-- BEGIN update --> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.update.VERSION}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gensmall"> <!-- BEGIN updated -->[<a href="{row.update.UPDATE}" target="_blank">{L_XS_DOWNLOAD_LC}</a>]<!-- END updated --> <!-- BEGIN import -->[<a href="{row.update.U_IMPORT}">{L_XS_IMPORT_LC}</a>]<!-- END import --> </span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gensmall"><!-- BEGIN info -->[<a href="{row.update.INFO}" target="_blank">{L_XS_INFO_LC}</a>]<!-- END info --><!-- BEGIN noinfo --> <!-- END noinfo --></span></td> <!-- END update --> <!-- BEGIN noupdate --> <td colspan="2" class="{row.ROW_CLASS}" align="left" nowrap="nowrap"><span class="genmed">{row.noupdate.MESSAGE}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gensmall"><!-- BEGIN info -->[<a href="{row.noupdate.INFO}" target="_blank">{L_XS_INFO_LC}</a>]<!-- END info --><!-- BEGIN noinfo --> <!-- END noinfo --></span></td> <!-- END noupdate --> <!-- BEGIN error --> <td colspan="2" class="{row.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen">{row.error.ERROR}</span></td> <td class="{row.ROW_CLASS}"> </td> <!-- END error --> </tr> <!-- END row --> <tr> <td class="catBottom" colspan="6" align="center">{COUNT_TOTAL}, {COUNT_ERROR}, {COUNT_UPDATE}</td> </tr> </table> <br /> --- NEW FILE: cache.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * cache.tpl * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_MANAGE_CACHE}</h1> <p> {L_XS_MANAGE_CACHE_EXPLAIN2} {RESULT} </p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_MANAGE_CACHE}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLES}</span></td> <td class="cat" align="center"><span class="gen"><span class="gen"><a href="{U_CLEAR_ALL}">{L_XS_CLEAR_ALL_LC}</a></span></td> <td class="catRight" align="center"><span class="gen"><span class="gen"><a href="{U_COMPILE_ALL}" onclick="return confirm('{L_XS_CACHE_CONFIRM}'); ">{L_XS_COMPILE_ALL_LC}</a></span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.STYLES}</span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_CLEAR}">{L_XS_CLEAR_CACHE_LC}</a></span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_COMPILE}">{L_XS_COMPILE_CACHE_LC}</a></span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: edit_data.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * edit_data.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:53 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_EDIT_STYLES_DATA}</h1> <p>{L_XS_EDITDATA_EXPLAIN}</p> <form action="{U_ACTION}" method="post">{S_HIDDEN_FIELDS}<input type="hidden" name="edit" value="{ID}" /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="3">{L_XS_EDIT_STYLES_DATA}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_EDITDATA_VAR}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_EDITDATA_VALUE}</span></td> <td class="catRight" align="center"><span class="gen">{L_XS_EDITDATA_COMMENT}</span></td> </tr> <!-- BEGIN row --> <tr> <td class="{row.ROW_CLASS}" align="left" width="40%"><span class="gen">{row.TEXT}:</span><!-- IF row.EXPLAIN --><span class="gensmall"><br />{row.EXPLAIN}</span><!-- ENDIF --></td> <td class="{row.ROW_CLASS}" align="left"><input type="text" class="post" name="edit_{row.VAR}" maxlength="{row.LEN}" size="{row.SIZE}" value="{row.VALUE}" /></td> <!-- BEGIN name --> <td class="{row.ROW_CLASS}" align="left"><input type="text" class="post" name="name_{row.VAR}" maxlength="50" value="{row.name.DATA}" size="50" title="{row.name.DATA}" /></td> <!-- END name --> <!-- BEGIN noname --> <td class="{row.ROW_CLASS}"><span class="gen"> </span></td> <!-- END noname --> </tr> <!-- END row --> <tr> <td class="catBottom" colspan="3" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" name="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: downloads.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * downloads.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_DOWNLOAD_STYLES}</h1> <p>{L_XS_DOWNLOAD_EXPLAIN2}</p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th class="thHead" colspan="2">{L_XS_DOWNLOAD_LOCATIONS}</th> </tr> <!-- BEGIN url --> <tr> <td class="{url.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen">{url.NUM1}. {url.TITLE} [<a href="{url.U_DOWNLOAD}">{L_XS_CLICK_HERE_LC}</a>]</span></td> <td class="{url.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gensmall">{url.URL} [<a href="{url.U_EDIT}">{L_XS_EDIT_LC}</a>]</span></td> </tr> <!-- END url --> <!-- BEGIN edit --> <tr> <th colspan="2" class="thHead">{L_XS_EDIT_LINK}</th> </tr> <form action="{U_POST}" method="post">{S_HIDDEN_FIELDS}<input type="hidden" name="edit" value="{edit.ID}" /> <tr> <td class="row1" align="left">{L_XS_LINK_TITLE}:</td><td class="row2"><input type="text" class="post" name="edit_title" value="{edit.TITLE}" /></td> </tr> <tr> <td class="row1" align="left">{L_XS_LINK_URL}:</td><td class="row2"><input type="text" class="post" name="edit_url" value="{edit.URL}" /></td> </tr> <tr> <td class="row1" align="left">{L_XS_DELETE}:</td><td class="row2"><input type="checkbox" name="edit_delete" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </form> <!-- END edit --> <tr> <th colspan="2" class="thHead">{L_XS_ADD_LINK}</th> </tr> <form action="{U_POST}" method="post">{S_HIDDEN_FIELDS} <tr> <td class="row1" align="left">{L_XS_LINK_TITLE}:</td><td class="row2"><input type="text" class="post" name="add_title" /></td> </tr> <tr> <td class="row1" align="left">{L_XS_LINK_URL}:</td><td class="row2"><input type="text" class="post" name="add_url" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </form> </table> <br /> --- NEW FILE: index.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * index.tpl * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 80 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_TITLE}</h1> <p>{L_XS_MAIN_COMMENT1}</p> <table cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_MAIN_TITLE}</th> </tr> <tr> <td class="row1">{L_XS_CONFIGURATION}:<br /><span class="gensmall">{L_XS_CONFIGURATION_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_CONFIG}">{L_XS_SET_CONFIGURATION_LC}</a>]</td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_INSTALL_UNINSTALL_STYLES}</th> </tr> <tr> <td class="row1">{L_XS_INSTALL_STYLES}:<br /><span class="gensmall">{L_XS_INSTALL_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_INSTALL_STYLES}">{L_XS_INSTALL_STYLES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_UNINSTALL_STYLES}:<br /><span class="gensmall">{L_XS_UNINSTALL_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_UNINSTALL_STYLES}">{L_XS_UNINSTALL_STYLES_LC}</a>]</td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_MANAGE_STYLES}</th> </tr> <tr> <td class="row1">{L_XS_DEFAULT_STYLE}:<br /><span class="gensmall">{L_XS_DEFAULT_STYLE_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_DEFAULT_STYLE}">{L_XS_SET_DEFAULT_STYLE_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_MANAGE_CACHE}:<br /><span class="gensmall">{L_XS_MANAGE_CACHE_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_MANAGE_CACHE}">{L_XS_MANAGE_CACHE_LC}</a>]</td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_IMPORT_EXPORT_STYLES}</th> </tr> <tr> <td class="explain" colspan="2">{L_XS_MAIN_COMMENT2}</td> </tr> <tr> <td class="row1">{L_XS_IMPORT_STYLES}:<br /><span class="gensmall">{L_XS_IMPORT_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_IMPORT_STYLES}">{L_XS_IMPORT_STYLES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_EXPORT_STYLES}:<br /><span class="gensmall">{L_XS_EXPORT_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EXPORT_STYLES}">{L_XS_EXPORT_STYLES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_CLONE_STYLES}:<br /><span class="gensmall">{L_XS_CLONE_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_CLONE_STYLE}">{L_XS_CLONE_STYLES_LC}</a>]</td> </tr> <!-- <tr> <td class="row1">{L_XS_DOWNLOAD_STYLES}:<br /><span class="gensmall">{L_XS_DOWNLOAD_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_DOWNLOAD_STYLES}">{L_XS_DOWNLOAD_STYLES_LC}</a>]</td> </tr> --> <tr> <th class="thHead" colspan="2">{L_XS_EDIT_TEMPLATES}</th> </tr> <tr> <td class="row1">{L_XS_EDIT_TEMPLATES}:<br /><span class="gensmall">{L_XS_EDIT_TEMPLATES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EDIT_STYLES}">{L_XS_EDIT_TEMPLATES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_EDIT_STYLES_DATA}:<br /><span class="gensmall">{L_XS_EDIT_STYLES_DATA_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EDIT_STYLES_DATA}">{L_XS_EDIT_STYLES_DATA_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_EXPORT_STYLES_DATA}:<br /><span class="gensmall">{L_XS_EXPORT_STYLES_DATA_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EXPORT_DATA}">{L_XS_EXPORT_STYLES_DATA_LC}</a>]</td> </tr> <!-- IF S_SHOW_UPDATES --> <tr> <th class="thHead" colspan="2">{L_XS_OTHER_FUNCTIONS}</th> </tr> <tr> <td class="row1">{L_XS_CHECK_FOR_UPDATES}:<br /><span class="gensmall">{L_XS_CHECK_FOR_UPDATES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_UPDATES}">{L_XS_CHECK_FOR_UPDATES_LC}</a>]</td> </tr> <!-- ENDIF --> </table> <br clear="all" /> --- NEW FILE: message.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * message.tpl * ... [truncated message content] |
|
From: OryNider <ory...@us...> - 2007-09-13 00:24:41
|
Update of /cvsroot/mxbb/mx_xs/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10133/includes Added Files: index.htm template.php Log Message: --- NEW FILE: template.php --- <?php /** * * @package mxBB Portal Module - mx_xs * @version $Id: template.php,v 1.1 2007/09/13 00:24:22 orynider Exp $ * @copyright (c) 2002-2007 [CyberAlien, OryNider] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ /** * * Template class. By Nathan Codding of the phpBB group. * The interface was originally inspired by PHPLib templates, * and the template file formats are quite similar. * * eXtreme Styles mod/module by CyberAlien. [...2405 lines suppressed...] $list = explode('|', $str); for($i=0; $i<count($list); $i++) { $row = explode('=', $list[$i], 2); if(count($row) == 2) { $array[$row[0]] = $row[1]; } } return $array; } } function xs_switch($tpl, $name) { return (isset($tpl->_tpldata[$name.'.']) && count($tpl->_tpldata[$name.'.']) > 0); } ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2007-09-13 00:24:41
|
Update of /cvsroot/mxbb/mx_xs/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10217 Added Files: lang_xs.php Log Message: --- NEW FILE: lang_xs.php --- <?php /** * * @package mxBB Portal Module - mx_xs * @version $Id: lang_xs.php,v 1.1 2007/09/13 00:24:35 orynider Exp $ * @copyright (c) 2002-2006 [Vjacheslav Trushkin, OryNider] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ $lang['Extreme_Styles'] = 'eXtreme Styles'; $lang['xs_title'] = 'eXtreme Styles module'; $lang['xs_file'] = 'File'; $lang['xs_template'] = 'Template'; $lang['xs_id'] = 'ID'; $lang['xs_style'] = 'Style'; $lang['xs_styles'] = 'Styles'; $lang['xs_users'] = 'Users'; $lang['xs_options'] = 'Options'; $lang['xs_comment'] = 'Comment'; $lang['xs_upload_time'] = 'Upload Time'; $lang['xs_select'] = 'Select'; $lang['xs_continue'] = 'Continue'; // button $lang['xs_click_here_lc'] = 'click here'; $lang['xs_edit_lc'] = 'edit'; /* * navigation */ $lang['xs_config_shownav'] = array( 'Configuration', 'Install Styles', 'Uninstall Styles', 'Default Style', 'Manage Cache', 'Import Styles', 'Export Styles', 'Clone Styles', 'Download Styles', 'Edit Templates', 'Edit Styles', 'Export Database', 'Check Updates', ); /* * frame_top.tpl */ $lang['xs_menu_lc'] = 'extreme styles module menu'; $lang['xs_support_forum_lc'] = 'support forum'; $lang['xs_download_styles_lc'] = 'download styles'; $lang['xs_install_styles_lc'] = 'install styles'; /* * index.tpl */ $lang['xs_main_comment1'] = 'This is the eXtreme Styles module main menu. There are quite a few functions within this interface, so this page is here as a guide. There is a short explanation of every function below the function name.<br /><br />Note: This module replaces the phpBB styles management. You will find the default phpBB functions in this list, but these functions are now optimized and have extra features.<br /><br />If you have any questions please visit <a href="http://www.stsoftware.biz/forum" target="_blank">support forum</a> where you can get assistance for this module.'; $lang['xs_main_comment2'] = 'The eXtreme Styles module allows an admin to store entire styles in .style files. Styles are stored in a small compressed file and by doing so this saves the trouble of downloading/uploading many files. Style files are compressed so download/upload is much more efficient than downloading/uploading usual style files.'; $lang['xs_main_comment3'] = 'All functions of phpBB styles management are replaced with eXtreme Styles module.<br /><br /><a href="{URL}">Click here</a> to see menu.'; $lang['xs_main_title'] = 'eXtreme Styles Navigation Menu'; $lang['xs_menu'] = 'eXtreme Styles Menu'; $lang['xs_manage_styles'] = 'Manage Styles'; $lang['xs_import_export_styles'] = 'Import/Export Styles'; $lang['xs_install_uninstall_styles'] = 'Install/Uninstall Styles'; $lang['xs_edit_templates'] = 'Edit Templates'; $lang['xs_other_functions'] = 'Other Functions'; $lang['xs_configuration'] = 'Configuration'; $lang['xs_configuration_explain'] = 'This feature allows you to change the eXtreme Styles configuration.'; $lang['xs_default_style'] = 'Default Style'; $lang['xs_default_style_explain'] = 'This feature allows you to change the default forum style and switch users from one style to another.'; $lang['xs_manage_cache'] = 'Manage Cache'; $lang['xs_manage_cache_explain'] = 'This feature allows you to manage cached files.'; $lang['xs_import_styles'] = 'Import Styles'; $lang['xs_import_styles_explain'] = 'This feature allows you to download and install .style files.'; $lang['xs_export_styles'] = 'Export Styles'; $lang['xs_export_styles_explain'] = 'This feature allows you to save a style from your forum as a .style file and then easily transfer it to another forum or another website.'; $lang['xs_clone_styles'] = 'Clone Styles'; $lang['xs_clone_styles_explain'] = 'This feature allows you to quickly clone styles or a whole template.'; $lang['xs_download_styles'] = 'Download Styles'; $lang['xs_download_styles_explain'] = 'This feature allows you to quickly download and install styles from websites. You can configure a list of websites yourself.'; $lang['xs_install_styles'] = 'Install Styles'; $lang['xs_install_styles_explain'] = 'This feature allows you to install styles that are already uploaded to your forum.'; $lang['xs_uninstall_styles'] = 'Uninstall Styles'; $lang['xs_uninstall_styles_explain'] = 'This feature allows you to remove styles from your forum.'; $lang['xs_edit_templates_explain'] = 'This feature allows you to edit tpl files online.'; $lang['xs_edit_styles_data'] = 'Edit Styles Data'; $lang['xs_edit_styles_data_explain'] = 'This feature allows you to edit style variables. It is used by some styles, but most styles don\'t use it and use a css file instead.'; $lang['xs_export_styles_data'] = 'Export Styles Data'; $lang['xs_export_styles_data_explain'] = 'This feature allows you to save style variables to theme_info.cfg.'; $lang['xs_check_for_updates'] = 'Check for Updates'; $lang['xs_check_for_updates_explain'] = 'This feature allows you to check for updated versions of styles and modules installed on your forum.'; $lang['xs_set_configuration_lc'] = 'set configuration'; $lang['xs_set_default_style_lc'] = 'set default style'; $lang['xs_manage_cache_lc'] = 'manage cache'; $lang['xs_import_styles_lc'] = 'import styles'; $lang['xs_export_styles_lc'] = 'export styles'; $lang['xs_clone_styles_lc'] = 'clone styles'; $lang['xs_uninstall_styles_lc'] = 'uninstall styles'; $lang['xs_edit_templates_lc'] = 'edit templates'; $lang['xs_edit_styles_data_lc'] = 'edit styles data'; $lang['xs_export_styles_data_lc'] = 'export styles data'; $lang['xs_check_for_updates_lc'] = 'check for updates'; /* * ftp.tpl, ftp functions */ $lang['xs_ftp_comment1'] = 'To use this feature you must select the file upload method. If you select FTP, then a password will not be stored and eXtreme Styles will ask you for a password every time you select functions that requires FTP access. If you select local file system then make sure all required directories are writeable.'; $lang['xs_ftp_comment2'] = 'To use this feature you must set FTP settings. A password will not be stored and eXtreme Styles will ask you for a password every time you select functions that requires FTP access.'; $lang['xs_ftp_comment3'] = 'Warning: FTP functions are disabled on this server. You will not be able to use eXtreme Styles functionality that require FTP access.'; $lang['xs_ftp_title'] = 'FTP Configuration'; $lang['xs_ftp_explain'] = 'FTP is used to upload new styles. If you want to use the import styles feature then you should configure FTP settings accordingly. eXtreme Styles tries to auto-detect settings if and when possible.'; $lang['xs_ftp_error_fatal'] = 'FTP functions are disabled on this server. Cannot continue.'; $lang['xs_ftp_error_connect'] = 'FTP error: cannot connect to {HOST}'; $lang['xs_ftp_error_login'] = 'FTP error: cannot login'; $lang['xs_ftp_error_chdir'] = 'FTP error: cannot change directory to {DIR}'; $lang['xs_ftp_error_nonphpbbdir'] = 'FTP error: you have set invalid directory. There are no phpBB files in that directory'; $lang['xs_ftp_error_noconnect'] = 'Cannot connect to ftp server'; $lang['xs_ftp_error_login2'] = 'Invalid ftp login or password'; $lang['xs_ftp_log_disabled'] = 'ftp functions are disabled on this server. script cannot continue.'; $lang['xs_ftp_log_connecting'] = 'connecting to {HOST}'; $lang['xs_ftp_log_noconnect'] = 'cannot connect to {HOST}'; $lang['xs_ftp_log_connected'] = 'connected. loggin in...'; $lang['xs_ftp_log_nologin'] = 'cannot login as {USER}'; $lang['xs_ftp_log_loggedin'] = 'logged in'; $lang['xs_ftp_log_end'] = 'finished executing script'; $lang['xs_ftp_log_nopwd'] = 'error: cannot retrieve current directory'; $lang['xs_ftp_log_nomkdir'] = 'error: cannot create directory {DIR}'; $lang['xs_ftp_log_mkdir'] = 'created directory {DIR}'; $lang['xs_ftp_log_nochdir'] = 'error: cannot change directory to {DIR}'; $lang['xs_ftp_log_normdir'] = 'error: cannot remove directory {DIR}'; $lang['xs_ftp_log_rmdir'] = 'removed directory {DIR}'; $lang['xs_ftp_log_chdir'] = 'changed directory to {DIR}'; $lang['xs_ftp_log_noupload'] = 'error: cannot upload file {FILE}'; $lang['xs_ftp_log_upload'] = 'uploaded file {FILE}'; $lang['xs_ftp_log_nochmodule'] = 'warning: cannot chmodule file {FILE}'; $lang['xs_ftp_log_chmodule'] = 'chmodule file {FILE} to {moduleE}'; $lang['xs_ftp_log_invalidcommand'] = 'error: unknown command: {COMMAND}'; $lang['xs_ftp_log_chdir2'] = 'changing current directory back to {DIR}'; $lang['xs_ftp_log_nochdir2'] = 'cannot change directory to {DIR}'; $lang['xs_ftp_config'] = 'FTP Configuration'; $lang['xs_ftp_select_method'] = 'Select upload method'; $lang['xs_ftp_select_local'] = 'Use local file system (no configuration required)'; $lang['xs_ftp_select_ftp'] = 'Use FTP (set ftp settings below)'; $lang['xs_ftp_settings'] = 'FTP Settings'; $lang['xs_ftp_host'] = 'FTP Host'; $lang['xs_ftp_login'] = 'FTP Login'; $lang['xs_ftp_path'] = 'FTP Path to phpBB'; $lang['xs_ftp_pass'] = 'FTP Password'; $lang['xs_ftp_remotedir'] = 'Remote Directory'; $lang['xs_ftp_host_guess'] = ' (probably "{HOST}" [<a href="javascript: void(0)" onclick="{CLICK}">set host</a>])'; $lang['xs_ftp_login_guess'] = ' (probably "{LOGIN}" [<a href="javascript: void(0)" onclick="{CLICK}">set host</a>])'; $lang['xs_ftp_path_guess'] = ' (probably "{PATH}" [<a href="javascript: void(0)" onclick="{CLICK}">set path</a>])'; /* * config.tpl */ $lang['xs_config_updated'] = 'Configuration updated.'; $lang['xs_config_updated_explain'] = 'You need to refresh this page before the new configuration can take effect. <a href="{URL}">Click here</a> to refresh page.'; $lang['xs_config_warning'] = 'Warning: cache cannot be written.'; $lang['xs_config_warning_explain'] = 'Cache directory is not writeable. eXtreme Styles can attempt to fix this problem.<br /><a href="{URL}">Click here</a> to try to change access modulee to cache directory.<br /><br />If cache doesn\'t work on your server for some reason don\'t worry - eXtreme Styles<br />increases forum speed many times even without cache.'; $lang['xs_config_maintitle'] = 'eXtreme Styles module Configuration'; $lang['xs_config_subtitle'] = 'This is the configuration for eXtreme Styles. If you don\'t understand what certain variables do then don\'t change it.'; $lang['xs_config_title'] = 'eXtreme Styles module v{VERSION} settings'; $lang['xs_config_cache'] = 'Cache configuration'; $lang['xs_config_navbar'] = 'Show on left frame:'; $lang['xs_config_navbar_explain'] = 'You can select what items to show on left frame in admin control panel.'; $lang['xs_config_def_template'] = 'Default template directory'; $lang['xs_config_def_template_explain'] = 'If a required tpl file is not found in current template directory (that might happen if you moduleded phpBB incorrectly) then template system will look for same file in a related directory (like if current template is "myTemplate" and script requires file "myTemplate/myfile.tpl" and that file isn\'t there template system will look for that file as "subSilver/myfile.tpl"). Set to empty to disable this feature.'; $lang['xs_config_check_switches'] = 'Check switches while compiling'; $lang['xs_config_check_switches_explain'] = 'This feature checks for errors in templates. Turning it off will speed up compilation, but the compiler might skip some errors in templates if it contains errors.<br /><br />Smart check will check templates for errors and automatically fix all known errors (there are few known typos in different modules). Works little bit slower than simple check.<br /><br />But sometimes template looks proper only when error check is disabled; this happens because of bad html coding - contact whoever wrote the tpl file if you want to fix errors.<br /><br />If cache feature is disabled, then turn this off for faster compilation.'; $lang['xs_config_check_switches_0'] = 'Off'; $lang['xs_config_check_switches_1'] = 'Smart check'; $lang['xs_config_check_switches_2'] = 'Simple check'; $lang['xs_config_show_errors'] = 'Shows errors when files are incorrectly included in tpl files'; $lang['xs_config_show_error_explain'] = 'This feature enables/disables errors in tpl files that the user used incorrectly <!-- INCLUDE filename -->'; $lang['xs_config_tpl_comments'] = 'Add tpl filenames in html'; $lang['xs_config_tpl_comments_explain'] = 'This feature adds comments to html code that allow style designers to detect which tpl file is displayed.'; $lang['xs_config_use_cache'] = 'Use cache'; $lang['xs_config_use_cache_explain'] = 'Cache is saved to disk and it will accelerate templates system because there would be no need to compile template every time it is shown.'; $lang['xs_config_auto_compile'] = 'Automatically save cache'; $lang['xs_config_auto_compile_explain'] = 'This will automatically compile templates that are not cached and save to cache directory.'; $lang['xs_config_auto_recompile'] = 'Automatically re-compile cache'; $lang['xs_config_auto_recompile_explain'] = 'This will automatically re-compile templates if a template was changed.'; $lang['xs_config_php'] = 'Extension of cache filenames'; $lang['xs_config_php_explain'] = 'This is extension of cached files. Files are stored in php format so default extension is "php". Do not include dot'; $lang['xs_config_back'] = '<a href="{URL}">Click here</a> to return to configuration.'; $lang['xs_config_sql_error'] = 'Failed to update general configuration for {VAR}'; // Debug info $lang['xs_debug_header'] = 'Debug info'; $lang['xs_debug_explain'] = 'This is debug info. Used to find/fix problems when configuring cache.'; $lang['xs_debug_vars'] = 'Template variables'; $lang['xs_debug_tpl_name'] = 'Template filename:'; $lang['xs_debug_cache_filename'] = 'Cache filename:'; $lang['xs_debug_data'] = 'Debug data:'; $lang['xs_check_hdr'] = 'Checking cache for %s'; $lang['xs_check_filename'] = 'Error: invalid filename'; $lang['xs_check_openfile1'] = 'Error: cannot open file "%s". Will try to create directories...'; $lang['xs_check_openfile2'] = 'Error: cannot open file "%s" for the second time. Giving up...'; $lang['xs_check_nodir'] = 'Checking "%s" - no such directory.'; $lang['xs_check_nodir2'] = 'Error: cannot create directory "%s" - you might need to check permissions.'; $lang['xs_check_createddir'] = 'Created directory "%s"'; $lang['xs_check_dir'] = 'Checking "%s" - directory exists.'; $lang['xs_check_ok'] = 'Opened file "%s" for writing. Everything seems to be ok.'; $lang['xs_error_demo_edit'] = 'you cannot edit file in demo modulee'; $lang['xs_error_not_installed'] = 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'; /* * chmodule */ $lang['xs_chmodule'] = 'CHmodule'; $lang['xs_chmodule_return'] = '<br /><br /><a href="{URL}">Click here</a> to return to configuration.'; $lang['xs_chmodule_message1'] = 'Configuration changed.'; $lang['xs_chmodule_error1'] = 'Cannot change access modulee to cache directory'; /* * default style */ $lang['xs_def_title'] = 'Set Default Style'; $lang['xs_def_explain'] = 'This feature allows you to quickly change default forum style and also switch users from one style to another.'; $lang['xs_styles_set_default'] = 'set default'; $lang['xs_styles_no_override'] = 'do not override user settings'; $lang['xs_styles_do_override'] = 'override user settings'; $lang['xs_styles_switch_all'] = 'switch all users to this style'; $lang['xs_styles_switch_all2'] = 'switch all users to:'; $lang['xs_styles_defstyle'] = 'default style'; $lang['xs_styles_available'] = 'Available styles'; $lang['xs_styles_make_public'] = 'make style public'; $lang['xs_styles_make_admin'] = 'make style admin-only'; $lang['xs_styles_users'] = 'Users List'; /* * cache management */ $lang['xs_manage_cache_explain2'] = 'This feature allows you to compile or remove cached files for styles.'; $lang['xs_clear_all_lc'] = 'clear all'; $lang['xs_compile_all_lc'] = 'compile all'; $lang['xs_clear_cache_lc'] = 'clear cache'; $lang['xs_compile_cache_lc'] = 'compile cache'; $lang['xs_cache_confirm'] = 'If you have many styles it might cause huge server load. Are you sure you want to continue?'; $lang['xs_cache_nowrite'] = 'Error: cannot access cache directory'; $lang['xs_cache_log_deleted'] = 'Deleted {FILE}'; $lang['xs_cache_log_nodelete'] = 'Error: cannot delete file {FILE}'; $lang['xs_cache_log_nothing'] = 'Nothing to delete for template {TPL}'; $lang['xs_cache_log_nothing2'] = 'Nothing to delete in cache directory'; $lang['xs_cache_log_count'] = 'Successfully deleted {NUM} files'; $lang['xs_cache_log_count2'] = 'Error deleting {NUM} files'; $lang['xs_cache_log_compiled'] = 'Compiled: {NUM} files'; $lang['xs_cache_log_errors'] = 'Errors: {NUM}'; $lang['xs_cache_log_noaccess'] = 'Error: cannot access directory {DIR}'; $lang['xs_cache_log_compiled2'] = 'Compiled: {FILE}'; $lang['xs_cache_log_nocompile'] = 'Error compiling: {FILE}'; /* * export/import/download/clone */ $lang['xs_import_explain'] = 'This feature allows you to import styles. It can also automatically install and update styles.<br /><br />Note: If you have added any modules (except for eXtreme Styles module) on this forum then you should be careful when importing styles because styles might not be compatible with your forum. You can only install styles that have the same moduleifications as the other styles that you\'ve configured on your forums.'; $lang['xs_import_lc'] = 'import'; $lang['xs_list_files_lc'] = 'list files'; $lang['xs_delete_file_lc'] = 'delete file'; $lang['xs_export_style_lc'] = 'export style'; $lang['xs_import_no_cached'] = 'There are no cached styles to import'; $lang['xs_add_styles'] = 'Add Styles'; $lang['xs_add_styles_web'] = 'Download from web'; $lang['xs_add_styles_web_get'] = 'Get it'; $lang['xs_add_styles_copy'] = 'Copy from local file'; $lang['xs_add_styles_copy_get'] = 'Copy'; $lang['xs_add_styles_upload'] = 'Upload from computer'; $lang['xs_add_styles_upload_get'] = 'Upload'; $lang['xs_export_style'] = 'Export Style'; $lang['xs_export_style_explain'] = 'This feature allows you to export a style as a single file. This single file is very small - smaller than a .zip file (because it is compressed with gzip, which works better than zip) and all styles inside is a single file. In turn, it is very easy to transfer styles from one forum to another.<br /><br />This feature also allows you to upload exported styles using ftp to a server. This system allows you to transfer a style to another forum quickly without manually copying it.'; $lang['xs_export_style_title'] = 'Export Template "{TPL}"'; $lang['xs_export_tpl_name'] = 'Export as (template name)'; $lang['xs_export_style_names'] = 'Select style(s) to export'; $lang['xs_export_style_name'] = 'Style to export (style name)'; $lang['xs_export_style_comment'] = 'Comment'; $lang['xs_export_where'] = 'Where to export'; $lang['xs_export_where_download'] = 'Download as file'; $lang['xs_export_where_store'] = 'Store as file on server'; $lang['xs_export_where_store_dir'] = 'Directory'; $lang['xs_export_where_ftp'] = 'Upload via FTP'; $lang['xs_export_filename'] = 'Export filename'; $lang['xs_download_explain2'] = 'This feature allows you to quickly download and install styles directly from different websites. Click on the link near the website name and you will be redirected to a style downloads page.<br /><br />You can also manage the list of websites.'; $lang['xs_download_locations'] = 'Download Locations'; $lang['xs_edit_link'] = 'Edit Link'; $lang['xs_add_link'] = 'Add Link'; $lang['xs_link_title'] = 'Link Title'; $lang['xs_link_url'] = 'Link URL'; $lang['xs_delete'] = 'Delete'; $lang['xs_style_header_error_file'] = 'Cannot open local file'; $lang['xs_style_header_error_server'] = 'Error on server: '; $lang['xs_style_header_error_invalid'] = 'Invalid file header'; $lang['xs_style_header_error_reason'] = 'Error reading file header: '; $lang['xs_style_header_error_incomplete'] = 'File is incomplete'; $lang['xs_style_header_error_incomplete2'] = 'Invalid file size. Probably file is incomplete.'; $lang['xs_style_header_error_invalid2'] = 'Invalid file. Presumeably, the file is not an eXtreme Styles module-compatible style or invalid version.'; $lang['xs_error_cannot_open'] = 'Cannot open file.'; $lang['xs_error_decompress_style'] = 'Error decompressing file. Probably file is corrupted.'; $lang['xs_error_cannot_create_file'] = 'Cannot create file "{FILE}"'; $lang['xs_error_cannot_create_tmp'] = 'Cannot create temporary file "{FILE}"'; $lang['xs_import_invalid_file'] = 'Invalid file'; $lang['xs_import_incomplete_file'] = 'Incomplete file'; $lang['xs_import_uploaded'] = 'Style uploaded.'; $lang['xs_import_installed'] = 'Style uploaded and installed.'; $lang['xs_import_notinstall'] = 'Style uploaded, but error installing style (sql error).'; $lang['xs_import_notinstall2'] = 'Style uploaded, but error installing style: no styles found in theme_info.cfg'; $lang['xs_import_notinstall3'] = 'Style uploaded, but error installing style: no entry for "{STYLE}" found in theme_info.cfg'; $lang['xs_import_notinstall4'] = 'Style uploaded, but error installing style: could not obtain next themes_id information'; $lang['xs_import_notinstall5'] = 'Style uploaded, but error installing style: could not update styles table'; $lang['xs_import_nodownload'] = 'Cannot download style from {URL}'; $lang['xs_import_nodownload2'] = 'Cannot copy style from {URL}'; $lang['xs_import_nodownload3'] = 'File not uploaded.'; $lang['xs_import_uploaded2'] = 'Style downloaded. You can now import it.<br /><br /><a href="{URL}">Click here</a> to import style.'; $lang['xs_import_uploaded3'] = 'Style copied. You can now import it.<br /><br /><a href="{URL}">Click here</a> to import style.'; $lang['xs_import_uploaded4'] = 'Style uploaded. You can now import it.<br /><br /><a href="{URL}">Click here</a> to import style.'; $lang['xs_export_no_open_dir'] = 'Cannot open directory {DIR}'; $lang['xs_export_no_open_file'] = 'Cannot open file {FILE}'; $lang['xs_export_no_read_file'] = 'Error reading file {FILE}'; $lang['xs_no_theme_data'] = 'Could not get style data for selected template'; $lang['xs_no_style_info'] = 'Could not get style information'; $lang['xs_export_noselect_themes'] = 'You should select at least one style'; $lang['xs_export_error'] = 'Cannot export template "{TPL}": '; $lang['xs_export_error2'] = 'Cannot export template "{TPL}": style is empty'; $lang['xs_export_saved'] = 'Style is saved as "{FILE}"'; $lang['xs_export_error_uploading'] = 'Error uploading file'; $lang['xs_export_uploaded'] = 'File uploaded.'; $lang['xs_clone_taken'] = 'This style name is already used.'; $lang['xs_error_new_row'] = 'Could not insert new row in table.'; $lang['xs_theme_cloned'] = 'Style cloned.'; $lang['xs_invalid_style_name'] = 'Invalid style name.'; $lang['xs_clone_style_exists'] = 'That template already exists'; $lang['xs_clone_no_select'] = 'You should select at least one style to clone.'; $lang['xs_no_themes'] = 'Style not found in database.'; $lang['xs_import_back'] = '<a href="{URL}">Click here</a> to return to import styles page.'; $lang['xs_import_back_download'] = '<a href="{URL}" target="main">Click here</a> to return to downloads.'; $lang['xs_export_back'] = '<a href="{URL}">Click here</a> to return to export styles page.'; $lang['xs_clone_back'] = '<a href="{URL}">Click here</a> to return to clone styles page.'; $lang['xs_download_back'] = '<a href="{URL}">Click here</a> to return to downloads page.'; $lang['xs_import_tpl'] = 'Import Template "{TPL}"'; $lang['xs_import_tpl_comment'] = 'This feature will upload template to your forum. If template with this name already exists on your forum this feature will automatically overwrite old files so it can also be used to update styles.<br /><br />This feature can also automatically install styles. If you want to install style after importing it then select one or more styles below.'; $lang['xs_import_tpl_filename'] = 'Filename:'; $lang['xs_import_tpl_tplname'] = 'Template name:'; $lang['xs_import_tpl_comment2'] = 'Comment:'; $lang['xs_import_select_styles'] = 'Select style(s) to install:'; $lang['xs_import_install_def_lc'] = 'make default forum style'; $lang['xs_import_install_style'] = 'Install style:'; $lang['xs_import'] = 'Import'; $lang['xs_import_list_contents'] = 'Contents of file: '; $lang['xs_import_list_filename'] = 'Filename: '; $lang['xs_import_list_template'] = 'Template: '; $lang['xs_import_list_comment'] = 'Comment: '; $lang['xs_import_list_styles'] = 'Style(s): '; $lang['xs_import_list_files'] = 'Files ({NUM}):'; $lang['xs_import_download_lc'] = 'download file'; $lang['xs_import_view_lc'] = 'view file'; $lang['xs_import_file_size'] = '({NUM} bytes)'; $lang['xs_import_nogzip'] = 'This function requires gz compression, and apparently that isn\'t supported on this server.'; $lang['xs_import_nowrite_cache'] = 'Cannot write to cache. This function requires cache to be writable. Check module configuration.<br /><br /><a href="{URL1}">Click here</a> to make cache writable.<br /><br /><a href="{URL2}">Click here</a> to return to import page.'; $lang['xs_import_download_warning'] = 'This will take you to an external website where you can quickly download styles with a few simple clicks using the eXtreme Styles import feature.'; $lang['xs_clone_style'] = 'Clone Style'; $lang['xs_clone_style_explain'] = 'This feature allows you to quickly clone style or whole template.<br /><br />Warning: If you are copying template make sure author of original template allows you to do this (unless it is subSilver - you can do whatever you want with subSilver). Usually authors allow to moduleify their styles, but moduleified style should not be distributed.'; $lang['xs_clone_style_explain2'] = 'This feature allows you to create new style for a template. This feature will not copy any files - it will add entry in database for your new style. Both old and new style will share same templates.'; $lang['xs_clone_style_explain3'] = 'Enter name for new style that you are going to create and click "clone" button.'; $lang['xs_clone_style_explain4'] = 'This feature allows you to clone template. You can also copy all styles associated with that template. Later you can safely edit tpl files for new template and old template will not be affected.'; $lang['xs_clone_style_lc'] = 'clone style'; $lang['xs_clone_style2'] = 'Clone style "{STYLE}":'; $lang['xs_clone_style3'] = 'Clone Template "{STYLE}"'; $lang['xs_clone_newdir_name'] = 'New template (directory) name:'; $lang['xs_clone_select'] = 'Select style(s) to clone:'; $lang['xs_clone_select_explain'] = 'You should select at least one style.'; $lang['xs_clone_newname'] = 'New style name:'; /* * install/uninstall */ $lang['xs_install_styles_explain2'] = 'This is a list of styles that are uploaded on your forum, but aren\'t installed. Click on the "install" link for the style that you want to install, or select several styles and click submit button.'; $lang['xs_uninstall_styles_explain2'] = 'This is a list of styles that are installed on your forum. Click on the "uninstall" link to remove some styles from the forum. Uninstalling is safe - all users who employ the style that is being uninstalled will be switched to the default forum style. Also, uninstalling will automatically delete cache for that style.'; $lang['xs_install'] = 'Install'; $lang['xs_install_lc'] = 'install'; $lang['xs_uninstall'] = 'Uninstall'; $lang['xs_remove_files'] = 'Remove Files'; $lang['xs_style_removed'] = 'Style removed.'; $lang['xs_uninstall_lc'] = 'uninstall'; $lang['xs_uninstall2_lc'] = 'uninstall and delete files'; $lang['xs_install_back'] = '<a href="{URL}">Click here</a> to return to styles installation.'; $lang['xs_uninstall_back'] = '<a href="{URL}">Click here</a> to return to styles uninstallation.'; $lang['xs_goto_default'] = '<a href="{URL}">Click here</a> to change default style.'; $lang['xs_install_installed'] = 'Style(s) installed.'; $lang['xs_install_error'] = 'Error installing style.'; $lang['xs_install_none'] = 'There are no new styles to install. All available styles are already installed.'; $lang['xs_uninstall_default'] = 'You cannot remove default style. To change default style <a href="{URL}">click here</a>.'; /* * export theme_info.cfg */ $lang['xs_export_styles_data_explain2'] = 'This feature saves style data in theme_info.cfg. It can be used to save database information before transferring styles from one forum to another.<br /><br />Note: If you are using the eXtreme Styles export feature to move a style to another forum you don\'t need to save theme_info.cfg - it is done automatically by the style export feature.'; $lang['xs_export_styles_data_explain3'] = 'Select styles that you want to export.'; $lang['xs_export_data_back'] = '<a href="{URL}">Click here</a> to return to export style data page.'; $lang['xs_export_style_data_lc'] = 'export style data'; $lang['xs_export_data_saved'] = 'Data exported.'; /* * edit templates (file manager) */ $lang['xs_edit_template_comment1'] = 'This feature allows you to edit templates. File browser shows only editable files.'; $lang['xs_edit_template_comment2'] = 'This feature allows you to edit templates.'; $lang['xs_edit_file_saved'] = 'File is saved.'; $lang['xs_edit_not_found'] = 'File not found.'; $lang['xs_edittpl_back_dir'] = '<a href="{URL}">Click here</a> to return to file manager.'; $lang['xs_fileman_browser'] = 'File Browser'; $lang['xs_fileman_directory'] = 'Directory:'; $lang['xs_fileman_dircount'] = 'Directories ({COUNT}):'; $lang['xs_fileman_filter'] = 'Filter'; $lang['xs_fileman_filter_ext'] = 'Show only files with extension:'; $lang['xs_fileman_filter_content'] = 'Show only files that contain:'; $lang['xs_fileman_filter_clear'] = 'Clear Filter'; $lang['xs_fileman_filename'] = 'Filename'; $lang['xs_fileman_filesize'] = 'Size'; $lang['xs_fileman_filetime'] = 'moduleification'; $lang['xs_fileman_options'] = 'Options'; $lang['xs_fileman_time_today'] = '(today)'; $lang['xs_fileman_edit_lc'] = 'edit'; $lang['xs_fileedit_search_nomatch'] = 'Match not found'; $lang['xs_fileedit_search_match1'] = 'Replaced 1 match'; $lang['xs_fileedit_search_matches'] = "Replaced ' + count + ' matches"; $lang['xs_fileedit_noundo'] = 'There is nothing to undo'; $lang['xs_fileedit_undo_complete'] = 'Old content restored'; $lang['xs_fileedit_edit_name'] = 'Edit file:'; $lang['xs_fileedit_location'] = 'Location:'; $lang['xs_fileedit_reload_lc'] = 'reload file'; $lang['xs_fileedit_download_lc'] = 'download file'; $lang['xs_fileedit_trim'] = 'Automatically trim spaces at beginning and end of file.'; $lang['xs_fileedit_functions'] = 'Edit Functions'; $lang['xs_fileedit_replace1'] = 'Replace '; $lang['xs_fileedit_replace2'] = ' with '; $lang['xs_fileedit_replace_first_lc'] = 'replace first match'; $lang['xs_fileedit_replace_all_lc'] = 'replace all matches'; $lang['xs_fileedit_replace_undo_lc'] = 'undo replacement'; $lang['xs_fileedit_backups'] = 'Backups'; $lang['xs_fileedit_backups_save_lc'] = 'save backup'; $lang['xs_fileedit_backups_show_lc'] = 'show contents'; $lang['xs_fileedit_backups_restore_lc'] = 'restore'; $lang['xs_fileedit_backups_download_lc'] = 'download'; $lang['xs_fileedit_backups_delete_lc'] = 'delete'; $lang['xs_fileedit_upload'] = 'Upload'; $lang['xs_fileedit_upload_file'] = 'Upload file:'; /* * edit styles data (theme_info) */ $lang['xs_data_head_stylesheet'] = 'CSS Stylesheet'; $lang['xs_data_body_background'] = 'Background Image'; $lang['xs_data_body_bgcolor'] = 'Background Colour'; $lang['xs_data_style_name'] = 'Style Name'; $lang['xs_data_body_link'] = 'Link Colour'; $lang['xs_data_body_text'] = 'Text Colour'; $lang['xs_data_body_vlink'] = 'Visited Link Colour'; $lang['xs_data_body_alink'] = 'Active Link Colour'; $lang['xs_data_body_hlink'] = 'Hover Link Colour'; $lang['xs_data_tr_color'] = 'Table Row Colour %s'; $lang['xs_data_tr_class'] = 'Table Row Class %s'; $lang['xs_data_th_color'] = 'Table Header Colour %s'; $lang['xs_data_th_class'] = 'Table Header Class %s'; $lang['xs_data_td_color'] = 'Table Cell Colour %s'; $lang['xs_data_td_class'] = 'Table Cell Class %s'; $lang['xs_data_fontface'] = 'Font Face %s'; $lang['xs_data_fontsize'] = 'Font Size %s'; $lang['xs_data_fontcolor'] = 'Font Colour %s'; $lang['xs_data_span_class'] = 'Span Class %s'; $lang['xs_data_img_size_poll'] = 'Polling Image Size [px]'; $lang['xs_data_img_size_privmsg'] = 'Private Message Status size [px]'; $lang['xs_data_theme_public'] = 'Public Style (1 or 0)'; $lang['xs_data_unknown'] = 'Description is not available (%s)'; $lang['xs_edittpl_error_updating'] = 'Error updating style.'; $lang['xs_edittpl_style_updated'] = 'Style updated.'; $lang['xs_invalid_style_id'] = 'Invalid style id.'; $lang['xs_edittpl_back_edit'] = '<a href="{URL}">Click here</a> to return to editing.'; $lang['xs_edittpl_back_list'] = '<a href="{URL}">Click here</a> to return to styles list.'; $lang['xs_editdata_explain'] = 'This feature allows you to edit database data for installed styles. Some styles ignore database values and use css files instead, and some styles use only some of database values.'; $lang['xs_editdata_var'] = 'Variable'; $lang['xs_editdata_value'] = 'Value'; $lang['xs_editdata_comment'] = 'Comment'; /* * updates */ $lang['xs_updates'] = 'Updates'; $lang['xs_updates_comment'] = 'This feature checks for updates of some styles and modules. It works only with items that have relevant update information.'; $lang['xs_updates_comment2'] = 'This is result of version check.'; $lang['xs_update_total1'] = 'Total: {NUM} items'; $lang['xs_update_info1'] = 'This administrator feature will check for available updates of phpBB, certain modules, and some styles installed on your forum. When it finds available updates it shows you the link where you can download the updated file.<br /><br />This function requires sockets to be enabled. Most free web hosts do not have this feature so if this forum is on free host (like lycos) then you cannot use update feature, but if this forum is on normal server then everything should be okay.<br /><br />When you click "continue", the script will check all software installed on forum. If your website is slow it might take some time. Be patient and don\'t click "stop" in your browser if process is delayed. If this server is slow or update website is slow then script might timeout - if this happens you should increase timeout value.'; $lang['xs_update_name'] = 'Name'; $lang['xs_update_type'] = 'Type'; $lang['xs_update_current_version'] = 'Your version'; $lang['xs_update_latest_version'] = 'Latest version'; $lang['xs_update_downloadinfo'] = 'Download URL'; $lang['xs_update_timeout'] = 'Update script timeout (seconds):'; $lang['xs_update_continue'] = 'Continue'; $lang['xs_update_total2'] = 'Errors: {NUM}'; $lang['xs_update_total3'] = 'Updates available: {NUM} items'; $lang['xs_update_select1'] = 'Select items to update'; $lang['xs_update_types'] = array( 0 => 'Unknown', 1 => 'Style', 2 => 'module', 3 => 'phpBB' ); $lang['xs_update_fileinfo'] = 'More info'; $lang['xs_update_nothing'] = 'There is nothing to update.'; $lang['xs_update_noupdate'] = 'You are using the latest version.'; $lang['xs_update_error_url'] = 'Error: cannot retrieve url %s'; $lang['xs_update_error_noitem'] = 'Error: No update information available'; $lang['xs_update_error_noconnect'] = 'Error: Cannot connect to update server'; $lang['xs_update_download'] = 'download'; $lang['xs_update_downloadinfo2'] = 'download/info'; $lang['xs_update_info'] = 'website'; $lang['xs_permission_denied'] = 'Permission Denied'; $lang['xs_download_lc'] = 'download'; $lang['xs_info_lc'] = 'info'; /* * style configuration */ $lang['Template_Config'] = 'Template Config'; $lang['xs_style_configuration'] = 'Template Configuration'; ?> |
|
From: OryNider <ory...@us...> - 2007-09-13 00:24:41
|
Update of /cvsroot/mxbb/mx_xs/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10133/images Added Files: button.gif cellpic1.gif cellpic2.jpg cellpic3.gif cellpic4.gif dot.gif spacer.gif top_bg.gif top_bg2.gif top_logo.jpg Log Message: --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic4.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic1.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: top_bg2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: top_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: top_logo.jpg --- (This appears to be a binary file; contents omitted.) |
|
From: OryNider <ory...@us...> - 2007-09-13 00:24:40
|
Update of /cvsroot/mxbb/mx_xs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10133 Added Files: db_install.php db_upgrade.php formIE.css index.htm mx_xs.pak style.css Log Message: --- NEW FILE: mx_xs.pak --- module=+:62=+:mx_xs=+:modules/mx_xs/=+:A eXtreme Style (MOD)=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- NEW FILE: db_upgrade.php --- <?php /** * * @package mxBB Portal Module - mx_xs * @version $Id: db_upgrade.php,v 1.1 2007/09/13 00:24:20 orynider Exp $ * @copyright (c) 2002-2006 [menalto.gallery.com, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $mx_module_version = 'mxBB Core Module'; $mx_module_copy = 'Original phpBB <i>eXtreme style</i> by Vjacheslav Trushkin :: Adapted for mxBB by <a href="http://www.mxbb.net" target="_blank">OryNider</a>'; $message = "<b>Upgrading!</b><br/><br/>"; $sql = array(); $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: formIE.css --- /* Fancy form styles for IE */ input, textarea, select { border-top-width : 1px; border-right-width : 1px; border-bottom-width : 1px; border-left-width : 1px; } input { text-indent : 2px; } input.button { border-top-width : 1px; border-right-width : 1px; border-bottom-width : 1px; border-left-width : 1px; } .postbody { line-height: 18px} --- NEW FILE: db_install.php --- <?php /** * * @package mxBB Portal Module - mx_xs * @version $Id: db_install.php,v 1.1 2007/09/13 00:24:20 orynider Exp $ * @copyright (c) 2002-2006 [menalto.gallery.com, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $mx_module_version = 'mxBB Core Module'; $mx_module_copy = 'Original phpBB <i>eXtreme style</i> by Vjacheslav Trushkin :: Adapted for mxBB by <a href="http://www.mxbb.net" target="_blank">OryNider</a>'; $message = "<b>This is a fresh install!</b><br/><br/>"; $sql = array(); $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: style.css --- /*************************************************************************** * style.css * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 80 * project revision : 83 * last modified : 12 Mar 2007 10:28:54 * ***************************************************************************/ body { background-color: #E5E5E5; margin: 0px; scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; scrollbar-darkshadow-color: #98AAB1; } /* General font families for common tags */ font, th, td, p, div { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } a:link,a:active,a:visited { color: #005784; } a:hover { text-decoration: underline; color: #D46400; } hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;} ul { list-style-image: url('images/dot.gif'); margin-left: 20px; margin-bottom: 0px; margin-top: 0px; } h1 { margin-top: 0px; } label:hover { color: #D46400; } /* This is the border line & background colour round the entire page */ table.bodyline { background-color: #F4F4F4; border: 1px #98AAB1 solid; } /* This is the outline round the main forum tables */ table.forumline { background-color: #FFF; border: 2px #98AAB1 solid; } td.forumline { background-color: #F8F8F8; border: 2px #98AAB1 solid; } img.screenshot { border: 2px #006699 solid; padding: 1px; background-color: #F8F8F8; } img.screenshot { border: 2px #015884 solid; padding: 1px; background-color: #F8F8F8; } /* Main table cell colours and backgrounds */ td.row1 { background-color: #F0F0F0; } td.row2 { background-color: #E4E9ED; } td.row3 { background-color: #D8DFE3; } table.navbar { border: solid 1px #98AAB1; background-color: #DFE3E6; background-image: url('images/cellpic4.gif'); background-repeat: repeat-x; height: 22px; } table.navbar td { color: #FFA34F; font-size: 11px; font-weight: bold; padding-left: 5px; } table.navbar td a, table.navbar td a:visited { color: #3385AD; text-decoration: underline; } table.navbar td a:hover, table.navbar td a:active { color: #FFA34F; text-decoration: underline; } table.navbar td.nav_invert { color: #3385AD; font-size: 11px; font-weight: bold; padding-left: 5px; } table.navbar td.nav_invert a, table.navbar td.nav_invert a:visited { color: #FFA34F; text-decoration: none; } table.navbar td.nav_invert a:hover, table.navbar td.nav_invert a:active { color: #3385AD; text-decoration: underline; } .bottomnav { color: #444; font-size: 11px; font-weight: bold; } .bottomnav a, .bottomnav a:visited { color: #3385AD; text-decoration: none; } .bottomnav a:hover, .bottomnav a:active { color: #FFA34F; text-decoration: underline; } /* highlight text */ .ast { color: #DD6900; font-weight: bold; } /* Header cells - the blue and silver gradient backgrounds */ th { color: #C8DCE6; font-size: 11px; font-weight: bold; background-color: #328BB8; background-image: url('images/cellpic3.gif'); background-repeat: repeat-x; height: 28px; } td.explain { background-color: #E7ECF0; background-image: url('images/cellpic1.gif'); background-repeat: repeat-x; font-size: 10px; color: #015884; border: 0px #FFF solid; } td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { background-image: url('images/cellpic1.gif'); background-color: #BFC8CE; background-repeat: repeat-x; border: 0px #FFFFFF solid; height: 28px; } td.cat,td.catHead,td.catBottom { height: 29px; border-width: 0px 0px 0px 0px; } /* Setting additional nice inner borders for the main table cells. The names indicate which sides the border will be on. Don't worry if you don't understand this, just ignore it :-) */ th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { font-weight: bold; border: 0px #FFFFFF solid; height: 28px; } th.thHead,td.catHead { font-size: 12px; } /*th.thHead,td.catHead { border-width: 1px 1px 0px 1px; } th.thSides,td.catSides,td.spaceRow,td.explain { border-width: 0px 1px 0px 1px; } th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; } th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; } th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; } th.thTop { border-width: 1px 0px 0px 0px; } th.thCornerL { border-width: 1px 0px 0px 1px; } th.thCornerR { border-width: 1px 1px 0px 0px; }*/ /* The largest text used in the index page title and toptic title etc. */ .maintitle,h1,h2 { font-weight: bold; font-size: 20px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; text-decoration: none; line-height : 120%; color : #000000; } /* General text */ .gen { font-size : 12px; } .genmed { font-size : 11px; } .gensmall { font-size : 10px; } .gen,.genmed,.gensmall { color : #000000; } a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; } a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DD6900; text-decoration: underline; } /* The register, login, search etc links at the top of the page */ .mainmenu { font-size : 11px; color : #000000 } a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /* Forum category titles */ .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699} a.cattitle { text-decoration: none; color : #006699; } a.cattitle:hover{ text-decoration: underline; } /* Forum title: Text and link to the forums used in: index.php */ .forumlink { font-weight: bold; font-size: 12px; color : #006699; } a.forumlink { text-decoration: none; color : #006699; } a.forumlink:hover{ text-decoration: underline; color : #DD6900; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ .nav { font-weight: bold; font-size: 11px; color : #000000;} a.nav { text-decoration: none; color : #006699; } a.nav:hover { text-decoration: underline; } /* titles for the topics: could specify viewed link colour too */ .topictitle { font-weight: bold; font-size: 11px; color : #000000; } a.topictitle:link { text-decoration: none; color : #006699; } a.topictitle:visited { text-decoration: none; color : #5493B4; } a.topictitle:hover { text-decoration: underline; color : #DD6900; } /* Name of poster in viewmsg.php and viewtopic.php and other places */ .name { font-size : 11px; color : #000000;} /* Location, number of posts, post date etc */ .postdetails { font-size : 10px; color : #000000; } /* The content of the posts (body of text) */ .postbody { font-size : 12px;} a.postlink:link { text-decoration: none; color : #006699 } a.postlink:visited { text-decoration: none; color : #5493B4; } a.postlink:hover { text-decoration: underline; color : #DD6900} /* update */ .update-comment { color: #666; } /* Quote & Code blocks */ .code { font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; background-color: #FAFAFA; border: #D1D7DC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } .quote { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; background-color: #FAFAFA; border: #D1D7DC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } /* Copyright and bottom info */ .copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} .copyright a { color: #006699; text-decoration: none;} .copyright a:hover { color: #000000; text-decoration: underline;} /* Form elements */ input,textarea, select { color : #000000; font: normal 11px Verdana, Arial, Helvetica, sans-serif; border-color : #000000; } /* The text input fields background colour */ input.post, textarea.post, select { background-color: #FFFFFF; border: solid 1px #000; color: #000; } input { text-indent : 2px; } /* The buttons used for bbCode styling in message post */ input.button { background-color : #EFEFEF; color : #000000; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } /* The main submit button option */ input.mainoption { font-weight : bold; } /* None-bold submit button */ input.liteoption { font-weight : normal; } input.mainoption, input.liteoption { height: 18px; font-size: 11px; color: #000; padding: 0 5px; margin: 0 5px; border: solid 1px #000; background: #F0F0F0 url('images/button.gif') repeat-x top left; } input.mainoption:hover, input.liteoption:hover { color: #FFA34F; background: #F0F0F0 url('images/button.gif') repeat-x bottom left; } /* This is the line in the posting page which shows the rollover help line. This is actually a text box, but if set to be the same colour as the background no one will know ;) */ .helpline { background-color: #DEE3E7; border: solid 0px #FFF; } /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */ @import url("formIE.css"); --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |