0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
templates
/
[
Home
]
File: tiki-browse_categories.tpl
{* $Id: tiki-browse_categories.tpl 55844 2015-07-09 20:34:02Z gezzzan $ *} {title}{if $parentId ne 0}{tr}Category{/tr}: {$p_info.name}{else}{tr}Categories{/tr}{/if}{/title} {if $parentId and $p_info.description} <div class="description help-block">{$p_info.description|escape|nl2br}</div> {/if} <div class="form-group categbar"> {button href="tiki-edit_categories.php" _text="{tr}Organize Objects{/tr}" _icon_name="structure" _title="{tr}Organize Objects{/tr}"} {if $tiki_p_admin_categories eq 'y'} {button href="tiki-admin_categories.php?parentId=$parentId" _icon_name="settings" _text="{tr}Admin Categories{/tr}" _title="{tr}Admin the Category System{/tr}"} {/if} </div> <div class="t_navbar margin-bottom-md"> {tr}Browse in:{/tr} <div class="btn-group"> <a class="btn btn-default" {if $type eq ''} id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep}&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}">{tr}All{/tr}</a> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> {tr}or in{/tr} <span class="caret"></span> <span class="sr-only">Toggle Dropdown</span> </button> <ul class="dropdown-menu" role="menu"> {if $prefs.feature_wiki eq 'y'} <li> <a {if $type eq 'wiki page'} id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=wiki+page&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Wiki pages{/tr} </a> </li> {/if} {if $prefs.feature_galleries eq 'y'} <li> <a {if $type eq 'image gallery'} id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=image+gallery&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Image galleries{/tr} </a> </li> <li> <a {if $type eq 'image'} id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=image&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Images{/tr} </a> </li> {/if} {if $prefs.feature_file_galleries eq 'y'} <li> <a {if $type eq 'file gallery'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=file+gallery&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}File Galleries{/tr} </a> </li> <li> <a {if $type eq 'file'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=file&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Files{/tr} </a> </li> {/if} {if $prefs.feature_blogs eq 'y'} <li> <a {if $type eq 'blog'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=blog&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Blogs{/tr} </a> </li> {/if} {if $prefs.feature_trackers eq 'y'} <li> <a {if $type eq 'tracker'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=tracker&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Trackers{/tr} </a> </li> <li> <a {if $type eq 'trackeritem'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=trackeritem&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Trackers Items{/tr} </a> </li> {/if} {if $prefs.feature_quizzes eq 'y'} <li> <a {if $type eq 'quiz'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=quiz&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Quizzes{/tr} </a> </li> {/if} {if $prefs.feature_polls eq 'y'} <li> <a {if $type eq 'poll'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=poll&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Polls{/tr} </a> </li> {/if} {if $prefs.feature_surveys eq 'y'} <li> <a {if $type eq 'survey'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=survey&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Surveys{/tr} </a> </li> {/if} {if $prefs.feature_directory eq 'y'} <li> <a {if $type eq 'directory'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=directory&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Directory{/tr} </a> </li> {/if} {if $prefs.feature_faqs eq 'y'} <li> <a {if $type eq 'faq'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=faq&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}FAQs{/tr} </a> </li> {/if} {if $prefs.feature_sheet eq 'y'} <li> <a {if $type eq 'sheet'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=sheet&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Sheets{/tr} </a> </li> {/if} {if $prefs.feature_articles eq 'y'} <li> <a {if $type eq 'article'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=article&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Articles{/tr} </a> </li> {/if} {if $prefs.feature_forums eq 'y'} <li> <a {if $type eq 'forum'}id="highlight"{/if} href="tiki-browse_categories.php?find={$find|escape:"url"}&deep={$deep|escape:"url"}&type=forum&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Forums{/tr} </a> </li> {/if} </ul> </div> </div> <form method="post" action="tiki-browse_categories.php" class="form-inline" role="form"> <div class="form-group"> <label class="control-label sr-only" for="find">{tr}Find{/tr}</label> <div class="input-group"> <span class="input-group-addon"> {icon name="search"} {if $parentId ne 0}{$p_info.name|escape} {/if} </span> <input class="form-control input-sm" type="text" name="find" id="find" value="{$find|escape}"> <div class="input-group-btn"> <input type="submit" class="btn btn-default btn-sm" value="{tr}Find{/tr}" name="search"> </div> </div> <span class="help-block">{help url="#" desc="{tr}Find in:{/tr} <ul><li>{tr}Name{/tr}</li><li>{tr}Description{/tr}</li></ul>"}</span> </div> <div class="form-group"> <div class="checkbox"> <label><input type="checkbox" name="deep" {if $deep eq 'on'}checked="checked"{/if}>{tr} in the current category and its subcategories{/tr}</label> </div> </div> <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> {if $deep eq 'on'} <a class="link" href="tiki-browse_categories.php?find={$find|escape:"url"}&type={$type|escape:"url"}&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}"> {tr}Hide subcategories objects{/tr} </a> {else} <a class="link" href="tiki-browse_categories.php?find={$find|escape:"url"}&type={$type|escape:"url"}&deep=on&parentId={$parentId|escape:"url"}&sort_mode={$sort_mode|escape:"url"}">{tr}Show subcategories objects{/tr}</a> {/if} <br><br> {if isset($p_info)} <div class="breadcrumb treetitle">{tr}Current category:{/tr} <a href="tiki-browse_categories.php?parentId=0&deep={$deep|escape:"url"}&type={$type|escape:"url"}" class="categpath">{tr}Top{/tr}</a> {foreach $p_info.tepath as $id=>$name} {$prefs.site_crumb_seper} <a class="categpath" href="tiki-browse_categories.php?parentId={$id}&deep={$deep|escape:"url"}&type={$type|escape:"url"}">{$name|escape}</a> {/foreach} {$eyes_curr} </div> {if $parentId ne '0'} <div> <a class="catname tips" href="tiki-browse_categories.php?parentId={$father|escape:"url"}&deep={$deep|escape:"url"}&type={$type|escape:"url"}" title=":{tr}Up one level{/tr}"> .. </a> </div> {/if} {/if} <div class="cattree">{$tree}</div> <div class="catobj"> {if $cant_pages > 0} <div class="table-responsive"> <table class="table normal"> <tr> <th> {tr}Name{/tr} </th> <th> {tr}Type{/tr} </th> {if $deep eq 'on'} <th> {tr}Category{/tr} </th> {/if} </tr> {section name=ix loop=$objects} <tr> <td class="text"> <a class="catname" href="{if empty($objects[ix].sefurl)}{$objects[ix].href}{else}{$objects[ix].sefurl}{/if}"> {$objects[ix].name|escape|default:' '} </a> {if $objects[ix].type ne 'blog post'}<div class="subcomment">{$objects[ix].description|escape|nl2br}</div>{/if} </td> <td class="text"> {tr}{$objects[ix].type|replace:"wiki page":"wiki"|replace:"trackeritem":"tracker item"}{/tr} </td> {if $deep eq 'on'} <td class="text"> {$objects[ix].categName|tr_if|escape} </td> {/if} </tr> {sectionelse} {if $deep eq 'on'} {norecords _colspan=3} {else} {norecords _colspan=2} {/if} {/section} </table> </div> {/if} </div> {pagination_links cant=$cant_pages step=$maxRecords offset=$offset}{/pagination_links}