From: <ma...@us...> - 2008-10-08 14:07:13
|
Revision: 15042 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=15042&view=rev Author: matwho Date: 2008-10-08 14:06:59 +0000 (Wed, 08 Oct 2008) Log Message: ----------- [MOD][FIX] Made it more obvious that a content template is not assigned to any sections. Fixed table heading. Modified Paths: -------------- trunk/templates/tiki-admin_content_templates.tpl Modified: trunk/templates/tiki-admin_content_templates.tpl =================================================================== --- trunk/templates/tiki-admin_content_templates.tpl 2008-10-08 13:34:07 UTC (rev 15041) +++ trunk/templates/tiki-admin_content_templates.tpl 2008-10-08 14:06:59 UTC (rev 15042) @@ -102,7 +102,7 @@ <table class="normal"> <tr> <th><a href="tiki-admin_content_templates.php?offset={$offset}&sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}Name{/tr}</a></th> -<th><a href="tiki-admin_content_templates.php?offset={$offset}&sort_mode={if $sort_mode eq 'created_desc'}created_asc{else}created_desc{/if}">{tr}Last Modif{/tr}</a></th> +<th><a href="tiki-admin_content_templates.php?offset={$offset}&sort_mode={if $sort_mode eq 'created_desc'}created_asc{else}created_desc{/if}">{tr}Last Modified{/tr}</a></th> <th>{tr}Sections{/tr}</th> <th>{tr}Action{/tr}</th> </tr> @@ -112,9 +112,10 @@ <td class="{cycle advance=false}">{$channels[user].name}</td> <td class="{cycle advance=false}">{$channels[user].created|tiki_short_datetime}</td> <td class="{cycle advance=false}"> +{if count($channels[user].sections) == 0}{tr}Visible in no sections{/tr}{/if} {section name=ix loop=$channels[user].sections} -({$channels[user].sections[ix]} <a title="{tr}Delete{/tr}" class="link" href="tiki-admin_content_templates.php?removesection={$channels[user].sections[ix]}&rtemplateId={$channels[user].templateId}" ->{icon _id='cross' alt='{tr}Delete{/tr}'}</a>) +{$channels[user].sections[ix]} <a title="{tr}Delete{/tr}" class="link" href="tiki-admin_content_templates.php?removesection={$channels[user].sections[ix]}&rtemplateId={$channels[user].templateId}" +{icon _id='cross' alt='{tr}Delete{/tr}'}</a> {/section} </td> <td class="{cycle advance=true}"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |