From: <pk...@us...> - 2009-04-05 18:53:44
|
Revision: 17787 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=17787&view=rev Author: pkdille Date: 2009-04-05 18:53:42 +0000 (Sun, 05 Apr 2009) Log Message: ----------- [MOD] Admin system: some html code cleanup Modified Paths: -------------- branches/3.0/templates/tiki-admin_system.tpl Modified: branches/3.0/templates/tiki-admin_system.tpl =================================================================== --- branches/3.0/templates/tiki-admin_system.tpl 2009-04-05 18:26:48 UTC (rev 17786) +++ branches/3.0/templates/tiki-admin_system.tpl 2009-04-05 18:53:42 UTC (rev 17787) @@ -5,34 +5,35 @@ {remarksbox type="tip" title="{tr}Tip{/tr}"}{tr}If your Tiki is acting weird, first thing to try is to clear your cache below. Also very important is to clear your cache after an upgrade (by FTP/SSH when needed).{/tr}{/remarksbox} <h2>{tr}Exterminator of cached content{/tr}</h2> +{cycle values="even,odd" print=false} <table class="normal"> <tr> <th>{tr}Directory to exterminate{/tr}</th> <th>{tr}Files{/tr}/{tr}Size{/tr}</th> <th>{tr}Action{/tr}</th> </tr> - <tr class="form"> - <td class="even" colspan="2"><b>{tr}Clear all Tiki cache{/tr}</b></td> - <td class="even"><a href="tiki-admin_system.php?do=all" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> + <tr class="{cycle advance=false}"> + <td colspan="2"><b>{tr}Clear all Tiki cache{/tr}</b></td> + <td><a href="tiki-admin_system.php?do=all" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> </tr> - <tr class="form"> - <td class="odd"><b>./templates_c/</b></td> - <td class="odd">({$templates_c.cant} {tr}Files{/tr} / {$templates_c.total|kbsize|default:'0 Kb'})</td> - <td class="odd"><a href="tiki-admin_system.php?do=templates_c" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> + <tr class="{cycle advance=false}"> + <td><b>./templates_c/</b></td> + <td>({$templates_c.cant} {tr}Files{/tr} / {$templates_c.total|kbsize|default:'0 Kb'})</td> + <td><a href="tiki-admin_system.php?do=templates_c" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> </tr> - <tr class="form"> - <td class="even"><b>./modules/cache/</b></td> - <td class="even">({$modules.cant} {tr}Files{/tr} / {$modules.total|kbsize|default:'0 Kb'})</td> - <td class="even"><a href="tiki-admin_system.php?do=modules_cache" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> + <tr class="{cycle advance=false}"> + <td><b>./modules/cache/</b></td> + <td>({$modules.cant} {tr}Files{/tr} / {$modules.total|kbsize|default:'0 Kb'})</td> + <td><a href="tiki-admin_system.php?do=modules_cache" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> </tr> - <tr class="form"> - <td class="odd"><b>./temp/cache/</b></td> - <td class="odd">({$tempcache.cant} {tr}Files{/tr} / {$tempcache.total|kbsize|default:'0 Kb'})</td> - <td class="odd"><a href="tiki-admin_system.php?do=temp_cache" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> + <tr class="{cycle advance=false}"> + <td><b>./temp/cache/</b></td> + <td>({$tempcache.cant} {tr}Files{/tr} / {$tempcache.total|kbsize|default:'0 Kb'})</td> + <td><a href="tiki-admin_system.php?do=temp_cache" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> </tr> - <tr class="form"> - <td class="even" colspan="2"><b>{tr}All user prefs sessions{/tr}</b></td> - <td class="even"><a href="tiki-admin_system.php?do=prefs" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> + <tr class="{cycle}"> + <td colspan="2"><b>{tr}All user prefs sessions{/tr}</b></td> + <td><a href="tiki-admin_system.php?do=prefs" class="link" title="{tr}Empty{/tr}">{icon _id=img/icons/del.gif alt="{tr}Empty{/tr}"}</a></td> </tr> </table> <br /> @@ -69,8 +70,8 @@ {foreach key=key item=item from=$templates} <tr class="form"> <td class="{cycle advance=false}"><b>{$key}</b></td> - <td class="{cycle}">({$item.cant} {tr}Files{/tr} / {$item.total|kbsize|default:'0 Kb'})</td> - <td class="{cycle advance=false}"><a href="tiki-admin_system.php?compiletemplates={$key}" class="link">{tr}Compile{/tr}</a></td> + <td class="{cycle advance=false}">({$item.cant} {tr}Files{/tr} / {$item.total|kbsize|default:'0 Kb'})</td> + <td class="{cycle}"><a href="tiki-admin_system.php?compiletemplates={$key}" class="link">{tr}Compile{/tr}</a></td> </tr> {/foreach} </tbody> @@ -80,21 +81,21 @@ {if $tiki_p_admin eq 'y'} {remarksbox type="warning" title="{tr}Advanced feature{/tr}"} - {tr}Fix UTF-8 Errors in Tables{/tr} <a href="javascript:toggle('fixutf8')">: {tr}Show{/tr}/{tr}Hide{/tr}</a> + {tr}Fix UTF-8 Errors in Tables{/tr} <a href="javascript:flip('fixutf8')">: {tr}Show{/tr}/{tr}Hide{/tr}</a> <div id="fixutf8" {if $advanced_features ne 'y'}style="display:none;"{else}style="display:block;"{/if}> <h2>{tr}Fix UTF-8 Errors in Tables{/tr}</h2> <table class="normal"> <tr> - <td class="form" colspan="4">{tr}Warning: Make a backup of your Database before using this function!{/tr}</td> + <td>{tr}Warning: Make a backup of your Database before using this function!{/tr}</td> </tr> <tr> - <td class="form" colspan="4">{tr}Warning: If you try to convert large tables, raise the maximum execution time in your php.ini!{/tr}</td> + <td colspan="4">{tr}Warning: If you try to convert large tables, raise the maximum execution time in your php.ini!{/tr}</td> </tr> <tr> - <td class="form" colspan="4">{tr}This function converts ISO-8859-1 encoded strings in your tables to UTF-8{/tr}</td> + <td colspan="4">{tr}This function converts ISO-8859-1 encoded strings in your tables to UTF-8{/tr}</td> </tr> - <tr> - <td class="form" colspan="4">{tr}This may be necessary if you created content with tiki < 1.8.4 and Default Charset settings in apache set to ISO-8859-1{/tr}</td> + <tr> + <td colspan="4">{tr}This may be necessary if you created content with tiki < 1.8.4 and Default Charset settings in apache set to ISO-8859-1{/tr}</td> </tr> <tr> <td colspan="4"> </td> @@ -124,13 +125,13 @@ </tr> {cycle values="even,odd" print=false} {foreach key=key item=item from=$tabfields} - <tr> - <td class="{cycle advance=false}">{$item.table}</td> - <td class="{cycle advance=false}">{$item.field}</td> - <td class="{cycle advance=false}"> + <tr class="{cycle}"> + <td>{$item.table}</td> + <td>{$item.field}</td> + <td> <a href="tiki-admin_system.php?utf8it={$item.table}&utf8if={$item.field}" class="link">{tr}Investigate{/tr}</a> </td> - <td class="{cycle}"> + <td> <a href="tiki-admin_system.php?utf8ft={$item.table}&utf8ff={$item.field}" class="link">{tr}Fix it{/tr}</a> </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |