[Webbinder-commits] root/templates tiki-browse_categories.tpl, 1.4, 1.5
Brought to you by:
jasondiceman,
sylvieg
|
From: Jason D. <jas...@us...> - 2006-07-18 01:17:19
|
Update of /cvsroot/webbinder/root/templates In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3788/templates Modified Files: tiki-browse_categories.tpl Log Message: removed category search and add tree Index: tiki-browse_categories.tpl =================================================================== RCS file: /cvsroot/webbinder/root/templates/tiki-browse_categories.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** tiki-browse_categories.tpl 14 Jun 2006 21:08:19 -0000 1.4 --- tiki-browse_categories.tpl 18 Jul 2006 01:17:15 -0000 1.5 *************** *** 1,78 **** {* $Header$ *} ! <table width="99%" border="0" cellpadding="6" cellspacing="0"> ! <tr> ! <td><h1>{tr}Categories{/tr}</h1> ! <!-- {* hide browse in features list ! {tr}Browse in{/tr}:<br /> ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&parentId={$parentId}&sort_mode={$sort_mode}">{tr}All{/tr}</a> ! {if $feature_wiki eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=wiki+page&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'wiki page'}<span class="highlight">{/if}{tr}Wiki pages{/tr}{if $type eq 'wiki page'}</span>{/if}</a> ! {/if} ! {if $feature_galleries eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=image+gallery&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'image gallery'}<span class="highlight">{/if}{tr}Image galleries{/tr}{if $type eq 'image gallery'}</span>{/if}</a> ! {/if} ! {if $feature_galleries eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=image&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'image'}<span class="highlight">{/if}{tr}Images{/tr}{if $type eq image}</span>{/if}</a> ! {/if} ! {if $feature_file_galleries eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=file+gallery&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'file gallery'}<span class="highlight">{/if}{tr}File galleries{/tr}{if $type eq 'file gallery'}</span>{/if}</a> ! {/if} ! {if $feature_blogs eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=blog&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'blog'}<span class="highlight">{/if}{tr}Blogs{/tr}{if $type eq 'blog'}</span>{/if}</a> ! {/if} ! {if $feature_trackers eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=tracker&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'tracker'}<span class="highlight">{/if}{tr}Trackers{/tr}{if $type eq 'tracker'}</span>{/if}</a> ! {/if}<a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=trackerItem&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'trackerItem'}<span class="highlight">{/if}{tr}Trackers Items{/tr}{if $type eq 'trackerItem'}</span>{/if}</a> ! {if $feature_quizzes eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=quiz&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'quiz'}<span class="highlight">{/if}{tr}Quizzes{/tr}{if $type eq 'quiz'}</span>{/if}</a> ! {/if} ! {if $feature_polls eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=poll&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'poll'}<span class="highlight">{/if}{tr}Polls{/tr}{if $type eq 'poll'}</span>{/if}</a> ! {/if} ! {if $feature_surveys eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=survey&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'survey'}<span class="highlight">{/if}{tr}Surveys{/tr}{if $type eq 'survey'}</span>{/if}</a> ! {/if} ! {if $feature_directory eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=directory&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'directory'}<span class="highlight">{/if}{tr}Directory{/tr}{if $type eq 'directory'}</span>{/if}</a> ! {/if} ! {if $feature_faqs eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=faq&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'faq'}<span class="highlight">{/if}{tr}FAQs{/tr}{if $type eq 'faq'}</span>{/if}</a> ! {/if} ! {if $feature_sheet eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=sheet&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'sheet'}<span class="highlight">{/if}{tr}Sheets{/tr}{if $type eq 'sheet'}</span>{/if}</a> ! {/if} ! {if $feature_articles eq 'y'} ! <a class="linkbut" href="tiki-browse_categories.php?find={$find|escape}&deep={$deep}&type=article&parentId={$parentId}&sort_mode={$sort_mode}">{if $type eq 'article'}<span class="highlight">{/if}{tr}Articles{/tr}{if $type eq 'article'}</span>{/if}</a> ! {/if} ! hide browse in features list END *} --></td> ! <td align="right" > ! ! <!-- search form --> ! <form method="post" action="tiki-browse_categories.php"> ! <input type="submit" value="{tr}Search{/tr}" name="search" /> ! <input type="checkbox" name="deep" checked="checked" class="hidden"/> ! <input type="text" name="find" value="{$find|escape}" size="30" /><br> ! {if !$p_info.name}{tr}in all categories{/tr}{else}{tr}in category{/tr}: <i>{$p_info.name}</i>{/if} ! <input type="hidden" name="parentId" value="{$parentId|escape}" /> ! <input type="hidden" name="type" value="{$type|escape}" /> ! <input type="hidden" name="sort_mode" value="{$sort_mode|escape}" /> ! </form> ! <!-- search form END --> ! ! </td> ! </tr> ! </table> ! ! <!-- hide deep switch ! {if $deep eq 'on'} ! <a class="link" href="tiki-browse_categories.php?find={$find|escape}&type={$type|escape}&parentId={$parentId}&sort_mode={$sort_mode}">{tr}Hide subcategories objects{/tr}</a> ! {else} ! <a class="link" href="tiki-browse_categories.php?find={$find|escape}&type={$type|escape}&deep=on&parentId={$parentId}&sort_mode={$sort_mode}">{tr}Show subcategories objects{/tr}</a> ! {/if} ! hide deep switch END --> ! ! ! <!-- Selected category --> --- 1,6 ---- {* $Header$ *} ! <h1>{tr}Categories{/tr}</h1> ! <!-- Selected category --> *************** *** 81,85 **** Top {else} ! {$p_info.name} {if $tiki_p_admin_categories eq 'y'} <a class="linkbut" href="tiki-admin_categories.php?parentId={$parentId}" title="{tr}admin the category system{/tr}"><img src="img/icons/edit.gif" alt="{tr}edit{/tr}" border="0" height="16" width="20"></a> --- 9,13 ---- Top {else} ! {tr}{$p_info.name}{/tr} {if $tiki_p_admin_categories eq 'y'} <a class="linkbut" href="tiki-admin_categories.php?parentId={$parentId}" title="{tr}admin the category system{/tr}"><img src="img/icons/edit.gif" alt="{tr}edit{/tr}" border="0" height="16" width="20"></a> *************** *** 93,97 **** - <div class="category_path"> {if $path} --- 21,24 ---- *************** *** 99,103 **** {section name=x loop=$path} > ! <a class="categpath" href="tiki-browse_categories.php?parentId={$path[x].categId}&deep={$deep}&type={$type|escape}">{$path[x].name}</a> {/section} {elseif $paths} --- 26,30 ---- {section name=x loop=$path} > ! <a class="categpath" href="tiki-browse_categories.php?parentId={$path[x].categId}&deep={$deep}&type={$type|escape}">{tr}{$path[x].name}{/tr}</a> {/section} {elseif $paths} *************** *** 105,109 **** {section name=y loop=$paths[x]} :: ! <a class="categpath" href="tiki-browse_categories.php?parentId={$paths[x][y].categId}&deep={$deep}&type={$type|escape}">{$paths[x][y].name}</a> {/section} <br /> --- 32,36 ---- {section name=y loop=$paths[x]} :: ! <a class="categpath" href="tiki-browse_categories.php?parentId={$paths[x][y].categId}&deep={$deep}&type={$type|escape}">{tr}{$paths[x][y].name}{/tr}</a> {/section} <br /> *************** *** 111,121 **** {/if} </div> ! {* hide .. ! {if $parentId ne '0'} ! <div class="treenode"> ! <a class="catname" href="tiki-browse_categories.php?parentId={$father}&deep={$deep}&type={$type}" title="{tr}Upper level{/tr}">..</a> ! </div> {/if} ! hide .. END *} <noscript> --- 38,50 ---- {/if} </div> ! ! <!-- show tree when at TOP --> ! {if $parentId eq '0'} ! <div class="tree"> ! {$tree} ! </div> {/if} ! <!-- show tree when at TOP END --> ! <noscript> *************** *** 129,133 **** {* hide 3 of items ! {$cantobjects} {tr}items categorized{/tr} <strong>"{if !$p_info.name}Top{else}{$p_info.name}{/if}"</strong> -- hide end *} {if $cantobjects > 0} --- 58,62 ---- {* hide 3 of items ! {$cantobjects} {tr}items categorized{/tr} <strong>"{if !$p_info.name}Top{else}{tr}{$p_info.name}{/tr}{/if}"</strong> -- hide end *} {if $cantobjects > 0} *************** *** 139,143 **** hide type END --> ! <li><strong><a href="{$objects[ix].href}" class="catname">{$objects[ix].name}</a></strong> <small>{$objects[ix].description}</small></li> {/section} --- 68,72 ---- hide type END --> ! <li><strong><a href="{$objects[ix].href}" class="catname">{tr}{$objects[ix].name}{/tr}</a></strong> <small>{$objects[ix].description}</small></li> {/section} |