|
From: Markus P. <mar...@us...> - 2005-04-19 17:14:30
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10345/templates/subSilver Modified Files: mx_google.tpl mx_includex.tpl mx_language.tpl Log Message: Fixed some named array with non-quoted indexes and code layout. Added use of new mx_request_vars class. Index: mx_language.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/templates/subSilver/mx_language.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mx_language.tpl 6 Mar 2005 01:10:16 -0000 1.4 --- mx_language.tpl 19 Apr 2005 17:14:19 -0000 1.5 *************** *** 1,33 **** <table width="{BLOCK_SIZE}" cellpadding="4" cellspacing="0" border="0" class="forumline"> ! <tr> <td class="row1" align="center" valign="middle" height="28"><span class="genmed"> <b>{L_SUBTITLE}</b> </span></td> ! </tr> ! <!-- BEGIN switch_is_admin --> ! <tr> <td class="row1" align="center" valign="middle" height="28"><span class="gensmall"> {switch_is_admin.L_CHANGE_NOW} </span></td> ! </tr> ! <tr> ! <td class="row1" align="center" valign="middle" height="28"> ! <span class="gensmall"> ! <form method="post" action="{ACTION_URL}"> ! {switch_is_admin.LANG_SELECT} <br /> ! <input type="submit" class="mainoption" name="change_default_lang" value="{L_CHANGE_NOW}" /> ! </form> ! </span></td> ! </tr> ! <!-- END switch_is_admin --> ! <!-- BEGIN switch_is_user --> ! <tr> <td class="row1" align="center" valign="middle" height="28"><span class="gensmall"> {switch_is_user.L_CHANGE_NOW} </span></td> ! </tr> ! <tr> ! <td class="row1" align="center" valign="middle" height="28"> ! <span class="gensmall"> ! <form method="post" action="{ACTION_URL}"> ! {switch_is_user.LANG_SELECT} <br /> ! <input type="submit" class="mainoption" name="change_user_lang" value="{L_CHANGE_NOW}" /> ! </form> ! </span></td> ! </tr> ! <!-- END switch_is_user --> ! </table> --- 1,31 ---- <table width="{BLOCK_SIZE}" cellpadding="4" cellspacing="0" border="0" class="forumline"> ! <tr> <td class="row1" align="center" valign="middle" height="28"><span class="genmed"> <b>{L_SUBTITLE}</b> </span></td> ! </tr> ! <!-- BEGIN switch_is_admin --> ! <tr> <td class="row1" align="center" valign="middle" height="28"><span class="gensmall"> {switch_is_admin.L_CHANGE_NOW} </span></td> ! </tr> ! <tr> ! <td class="row1" align="center" valign="middle" height="28"> ! <form method="post" action="{ACTION_URL}"> ! {switch_is_admin.LANG_SELECT} <br /> ! <input type="submit" class="mainoption" name="change_default_lang" value="{L_CHANGE_NOW}" /> ! </form> ! </td> ! </tr> ! <!-- END switch_is_admin --> ! <!-- BEGIN switch_is_user --> ! <tr> <td class="row1" align="center" valign="middle" height="28"><span class="gensmall"> {switch_is_user.L_CHANGE_NOW} </span></td> ! </tr> ! <tr> ! <td class="row1" align="center" valign="middle" height="28"> ! <form method="post" action="{ACTION_URL}"> ! {switch_is_user.LANG_SELECT} <br /> ! <input type="submit" class="mainoption" name="change_user_lang" value="{L_CHANGE_NOW}" /> ! </form> ! </td> ! </tr> ! <!-- END switch_is_user --> ! </table> Index: mx_includex.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/templates/subSilver/mx_includex.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_includex.tpl 6 Mar 2005 01:10:16 -0000 1.2 --- mx_includex.tpl 19 Apr 2005 17:14:19 -0000 1.3 *************** *** 2,41 **** <!-- BEGIN iframe_mode --> ! <tr> ! <td align="left"> ! <iframe width="100%" height="{iframe_mode.IFRAME_HEIGHT}" src="{iframe_mode.FILE_URL}" FRAMEBORDER=0> ! If you can see this, your browser doesn't understand IFRAME. However, we'll still <A HREF="{iframe_mode.FILE_URL}">link</A> you to the file. ! </iframe> ! </td> ! </tr> <!-- END iframe_mode --> <!-- BEGIN textfile_mode --> ! <tr> ! <td class="row1" align="left" >{textfile_mode.FILE_CONTENTS}</td> ! </tr> <!-- END textfile_mode --> <!-- BEGIN multimedia_mode --> ! <tr> ! <td class="row1_no_trans" align="left" > ! <div align="center"> ! <object width="320" height="315" ! classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> ! <param name="src" value="{multimedia_mode.MEDIA_URL}"> ! <embed src="/directory/sample.wmv" {multimedia_mode.WIDTH} {multimedia_mode.HEIGHT} ! pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" type="video/x-ms-asf-plugin"> ! </embed> ! </object> ! <!-- <embed type="application/x-mplayer2" src="{multimedia_mode.MEDIA_URL}" {multimedia_mode.HEIGHT} {multimedia_mode.WIDTH} border="0" autoplay="TRUE" controller="TRUE" pluginspage="http://www.microsoft.com/windows/windowsmedia/default.asp" ></embed> --> ! </div> ! </td> ! </tr> <!-- END multimedia_mode --> <!-- BEGIN pic_mode --> ! <tr> ! <td class="row1" align="left" >{FILE_CONTENTS}</td> ! </tr> <!-- END pic_mode --> --- 2,40 ---- <!-- BEGIN iframe_mode --> ! <tr> ! <td align="left"> ! <iframe width="100%" height="{iframe_mode.IFRAME_HEIGHT}" src="{iframe_mode.FILE_URL}" frameborder="0"> ! If you can see this, your browser doesn't understand IFRAME. However, we'll still <a href="{iframe_mode.FILE_URL}">link</a> you to the file. ! </iframe> ! </td> ! </tr> <!-- END iframe_mode --> <!-- BEGIN textfile_mode --> ! <tr> ! <td class="row1" align="left" >{textfile_mode.FILE_CONTENTS}</td> ! </tr> <!-- END textfile_mode --> <!-- BEGIN multimedia_mode --> ! <tr> ! <td class="row1_no_trans" align="left"> ! <div align="center"> ! <object width="320" height="315" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> ! <param name="src" value="{multimedia_mode.MEDIA_URL}"> ! <embed src="/directory/sample.wmv" {multimedia_mode.WIDTH} {multimedia_mode.HEIGHT} ! pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" type="video/x-ms-asf-plugin"> ! </embed> ! </object> ! <!-- <embed type="application/x-mplayer2" src="{multimedia_mode.MEDIA_URL}" {multimedia_mode.HEIGHT} {multimedia_mode.WIDTH} border="0" autoplay="TRUE" controller="TRUE" pluginspage="http://www.microsoft.com/windows/windowsmedia/default.asp" ></embed> --> ! </div> ! </td> ! </tr> <!-- END multimedia_mode --> <!-- BEGIN pic_mode --> ! <tr> ! <td class="row1" align="left" >{FILE_CONTENTS}</td> ! </tr> <!-- END pic_mode --> Index: mx_google.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/templates/subSilver/mx_google.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_google.tpl 6 Mar 2005 01:10:16 -0000 1.5 --- mx_google.tpl 19 Apr 2005 17:14:19 -0000 1.6 *************** *** 1,19 **** <table width="{BLOCK_SIZE}" cellpadding="4" cellspacing="0" border="0" class="forumline"> ! <tr> ! <td class="row1" align="center" valign="middle" height="28"> ! <!-- Champ de recherche Google --> ! <center> ! <FORM method=GET action="http://www.google.com/search"> ! ! <A HREF="http://www.google.com" target="_blank"> ! <IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0" ! ALT="Google" align="absmiddle"></A> ! <INPUT TYPE=text name=q size=25 maxlength=255 value=""> ! <INPUT TYPE=hidden name=hl value=en> ! <INPUT type=submit class="mainoption" name=btnG VALUE="{L_SEARCH}"> ! </FORM> ! </center> ! <!-- Google --> ! </td> ! </tr> ! </table> \ No newline at end of file --- 1,11 ---- <table width="{BLOCK_SIZE}" cellpadding="4" cellspacing="0" border="0" class="forumline"> ! <tr> ! <td class="row1" align="center" valign="middle" height="28"> ! <a href="http://www.google.com" target="_blank"><img src="http://www.google.com/logos/Logo_40wht.gif" border="0" alt="Google" title="Google" align="absmiddle" /></a> ! <form method="get" action="http://www.google.com/search"> ! <input class="post" type="text" name="q" size="25" maxlength="255" value="" /> ! <input type="submit" class="mainoption" name="btnG" value="{L_SEARCH}" /> ! </form> ! </td> ! </tr> ! </table> \ No newline at end of file |