{* $Id: tiki-admin.tpl 14922 2008-09-30 18:42:18Z luciash $ *}
{popup_init src="lib/overlib.js"}
<div id="pageheader">
{* bother to display this only when breadcrumbs are on *}
{if $prefs.feature_breadcrumbs eq 'y'}
    {breadcrumbs type="trail" loc="page" crumbs=$crumbs}
    {breadcrumbs type="pagetitle" loc="page" crumbs=$crumbs}
{/if}
{**
 * Page Title as h1 goes here
 *}
    <h1 class="center pagetitle">{breadcrumbs type="pagetitle" loc="page" crumbs=$crumbs}</h1>
{* description is built always *}
{breadcrumbs type="desc" loc="page" crumbs=$trail}

</div>
{* The rest determines which page to include using "page" GET parameter. Default : list-sections
Add a value in first check when you create a new admin page. *}
{if in_array($adminpage, array("features", "general", "login", "wiki", "gal", "fgal", "cms", "polls", "search", "blogs", "forums", "faqs", "trackers", "webmail", "rss", "directory", "userfiles", "maps", "metatags", "wikiatt","score", "community", "messages", "calendar","intertiki","freetags","gmap", "i18n","wysiwyg","copyright","category", "module", "look", "textarea", "multimedia", "ads", "profiles"))}
  {assign var="include" value=$smarty.get.page}
{else}
  {assign var="include" value="list-sections"}
{/if}
{if $include != "list-sections"}
  <div class="simplebox adminanchors" >{include file="tiki-admin-include-anchors.tpl"}</div>
{/if}

{if $feature_version_checks eq 'y' and $prefs.tiki_needs_upgrade eq 'y'}
<div class="simplebox highlight">{tr}A new version of Tikiwiki, <b>{$tiki_release}</b>, is available. You are currently running <b>{$tiki_version}</b>. Please visit <a href="http://tikiwiki.org/Download">http://tikiwiki.org/Download</a>.{/tr}</div>
{/if}

{if $tikifeedback}
<br /><div class="simplebox highlight">{section name=n loop=$tikifeedback}
{if strstr($tikifeedback[n].mes, 'disabled')}{icon _id=delete alt="{tr}disabled{/tr}" style="vertical-align:middle"}{else}{icon _id=accept alt="{tr}enabled{/tr}" style="vertical-align:middle"}{/if}
 {$tikifeedback[n].mes}<br />{/section}</div><br />
{/if}
{include file="tiki-admin-include-$include.tpl"}

<a name="morelinks"></a>
<br style="clear:both" />
<span class="button2"><a href="#morelinks" class="linkbut">{tr}More Links{/tr}</a></span><br />

<div class="cbox" id="morelinks" style="display:block;">
<div class="cbox-title">{tr}Crosslinks to other features and settings{/tr}</div>
<div class="cbox-data">
{tr}Other sections{/tr}:<br />
{if $prefs.feature_sheet eq 'y'} <a href="tiki-sheets.php">{tr}Spreadsheet{/tr}</a> {/if}
{if $prefs.feature_newsletters eq 'y'} <a href="tiki-admin_newsletters.php">{tr}Newsletters{/tr}</a> {/if}
{if $prefs.feature_surveys eq 'y'} <a href="tiki-admin_surveys.php">{tr}Surveys{/tr}</a> {/if}
{if $prefs.feature_quizzes eq 'y'} <a href="tiki-edit_quiz.php">{tr}Quizzes{/tr}</a> {/if}
{if $prefs.feature_integrator eq 'y'} <a href="tiki-admin_integrator.php">{tr}Integrator{/tr}</a> {/if}
{if $prefs.feature_html_pages eq 'y'} <a href="tiki-admin_html_pages.php">{tr}HTML pages{/tr}</a> {/if}
{if $prefs.feature_shoutbox eq 'y'} <a href="tiki-shoutbox.php">{tr}Shoutbox{/tr}</a> <a 
href="tiki-admin_shoutbox_words.php">{tr}Shoutbox Words{/tr}</a> {/if}
{if $prefs.feature_live_support eq 'y'} <a href="tiki-live_support_admin.php">{tr}Live support{/tr}</a> {/if}
{if $prefs.feature_charts eq 'y'} <a href="tiki-admin_charts.php">{tr}Charts{/tr}</a> {/if}
{if $feature_eph eq 'y'} <a href="tiki-eph_admin.php">{tr}Ephemerides{/tr}</a> {/if}
{if $prefs.feature_workflow eq 'y'} <a href="tiki-g-admin_processes.php">{tr}Workflow{/tr}</a> {/if}
{* TODO: to be fixed {if $prefs.feature_debug_console eq 'y'} <a href="javascript:toggle("debugconsole")">{tr}(debug){/tr}</a> 
{/if} *}
{if $prefs.feature_games eq 'y'} <a href="tiki-list_games.php">{tr}Games{/tr}</a> {/if}
{if $prefs.feature_contact eq 'y'} <a href="tiki-contact.php">{tr}Contact us{/tr}</a> {/if}
<hr />

{tr}Administration features{/tr}:<br />
<a href="tiki-adminusers.php">{tr}Users{/tr}</a> 
<a href="tiki-admingroups.php">{tr}Groups{/tr}</a> 
<a href="tiki-admin_security.php">{tr}Security{/tr}</a> 
<a href="tiki-admin_system.php">{tr}System{/tr}</a> 
<a href="tiki-syslog.php">{tr}SysLogs{/tr}</a> 
<a href="tiki-phpinfo.php">{tr}phpinfo{/tr}</a> 
<a href="tiki-mods.php">{tr}Mods{/tr}</a>
{if $prefs.feature_banning eq 'y'}<a href="tiki-admin_banning.php">{tr}Banning{/tr}</a> {/if}
{if $prefs.lang_use_db eq 'y'}<a href="tiki-edit_languages.php">{tr}Edit languages{/tr}</a> {/if}
<hr />

{tr}Transversal features{/tr} ({tr}which apply to more than one section{/tr}):<br />
<a href="tiki-admin_notifications.php">{tr}Mail notifications{/tr}</a> 
<hr />

{tr}Navigation features{/tr}:<br />
<a href="tiki-admin_menus.php">{tr}Menus{/tr}</a> 
<a href="tiki-admin_modules.php">{tr}Modules{/tr}</a>
{if $prefs.feature_categories eq 'y'} <a href="tiki-admin_categories.php">{tr}Categories{/tr}</a> {/if}
{if $prefs.feature_featuredLinks eq 'y'}<a href="tiki-admin_links.php">{tr}Links{/tr}</a>{/if}
<hr />

{tr}Look &amp; feel{/tr} ({tr}themes{/tr}):<br />
{if $prefs.feature_theme_control eq 'y'} <a href="tiki-theme_control.php">{tr}Theme control{/tr}</a> {/if}
{if $prefs.feature_edit_templates eq 'y'} <a href="tiki-edit_templates.php">{tr}Edit templates{/tr}</a> {/if}
{if $prefs.feature_editcss eq 'y'} <a href="tiki-edit_css.php">{tr}Edit CSS{/tr}</a> {/if}
{if $prefs.feature_mobile eq 'y'} <a href="tiki-mobile.php">{tr}Mobile{/tr}</a> {/if}
<hr />

{tr}Text area features{/tr} ({tr}features you can use in all text areas, like wiki pages, blogs, articles, forums, etc{/tr}):<br />
<a href="tiki-admin_cookies.php">{tr}Cookies{/tr}</a> 
{if $prefs.feature_hotwords eq 'y'} <a href="tiki-admin_hotwords.php">{tr}Hotwords{/tr}</a> {/if}
<a href="tiki-list_cache.php">{tr}Cache{/tr}</a> 
<a href="tiki-admin_quicktags.php">{tr}QuickTags{/tr}</a> 
<a href="tiki-admin_content_templates.php">{tr}Content templates{/tr}</a> 
<a href="tiki-admin_dsn.php">{tr}DSN{/tr}</a> 
{if $prefs.feature_drawings eq 'y'}<a href="tiki-admin_drawings.php">{tr}Drawings{/tr}</a> {/if}
{if $prefs.feature_dynamic_content eq 'y'}<a href="tiki-list_contents.php">{tr}Dynamic content{/tr}</a> {/if}
<a href="tiki-admin_external_wikis.php">{tr}External wikis{/tr}</a> 
{if $prefs.feature_mailin eq 'y'}<a href="tiki-admin_mailin.php">{tr}Mail-in{/tr}</a> {/if}
<hr />

{tr}Stats &amp; banners{/tr}:<br />
{if $prefs.feature_stats eq 'y'} <a href="tiki-stats.php">{tr}Stats{/tr}</a> {/if}
{if $prefs.feature_referer_stats eq 'y'} <a href="tiki-referer_stats.php">{tr}Referer stats{/tr}</a> {/if}
{if $prefs.feature_search eq 'y' and $prefs.feature_search_stats eq 'y'} <a href="tiki-search_stats.php">{tr}Search stats{/tr}</a>  {/if}
{if $prefs.feature_banners eq 'y'} <a href="tiki-list_banners.php">{tr}Banners{/tr}</a> {/if}
</div>
</div>
