<?php
$lang['addtemplate']='新增模板';
$lang['areyousure']='你確定要刪除嗎？';
$lang['cachable']='可緩存';
$lang['dbtemplates']='資料庫模板';
$lang['default']='預設';
$lang['delete']='刪除';
$lang['deletetemplate']='刪除模板';
$lang['description']='管理選單模板，以任何想像方式顯示功能表選單。';
$lang['edit']='編緝';
$lang['edittemplate']='編緝模板';
$lang['error_templatename']='你不能指定一個以.tpl為副檔名的模板名稱。';
$lang['filename']='檔名';
$lang['filetemplates']='檔案模板';
$lang['help']='	<h3>這是什麼呢？</h3>
	<p>Menu Manager is a module for abstracting menus into a system that\'s easily usable and customizable.  It abstracts the display portion of menus into smarty templates that can be easily modified to suit the user\'s needs. That is, the menu manager itself is just an engine that feeds the template. By customizing templates, or make your own ones, you can create virtually any menu you can think of.</p>
	<h3>How do I use it?</h3>
	<p>Just insert the tag into your template/page like: <code>{menu}</code>.  The parameters that it can accept are listed below.</p>
	<h3>Why do I care about templates?</h3>
	<p>Menu Manager uses templates for display logic.  It comes with three default templates called cssmenu.tpl, minimal_menu.tpl and simple_navigation.tpl. They all basically create a simple unordered list of pages, using different classes and ID\'s for styling with CSS.</p>
	<p>Note that you style the look of the menus with CSS. Stylesheets are not included with Menu Manager, but must be attached to the page template separately. For the cssmenu.tpl template to work in IE you must also insert a link to the JavaScript in the head section of the page template, which is necessary for the hover effect to work in IE.</p>
	<p>If you would like to make a specialized version of a template, you can easily import into the database and then edit it directly inside the CMSMS admin.  To do this:
		<ol>
			<li>Click on the Menu Manager admin.</li>
			<li>Click on the Import Template to Database button next to for example simple_navigation.tpl.</li>
			<li>Give the template copy a name.  We\'ll call it "Test Template".</li>
			<li>You should now see the "Test Template" in your list of Database Templates.</li>
		</ol>
	</p>
	<p>Now you can easily modify the template to your needs for this site.  Put in classes, id\'s and other tags so that the formatting is exactly what you want.  Now, you can insert it into your site with {menu template=\'Test Template\'}. Note that the .tpl extension must be included if a file template is used.</p>
	<p>The parameters for the $node object used in the template are as follows:
		<ul>
			<li>$node->id -- Content ID</li>
			<li>$node->url -- URL of the Content</li>
			<li>$node->accesskey -- Access Key, if defined</li>
			<li>$node->tabindex -- Tab Index, if defined</li>
			<li>$node->titleattribute -- Description or Title Attribute (title), if defined</li>
			<li>$node->hierarchy -- Hierarchy position, (e.g. 1.3.3)</li>
			<li>$node->depth -- Depth (level) of this node in the current menu</li>
			<li>$node->prevdepth -- Depth (level) of the node that was right before this one</li>
			<li>$node->haschildren -- Returns true if this node has child nodes to be displayed</li>
			<li>$node->children_exist -- Returns true if this node has child nodes available in the database that can be displayed in the menu</li>
			<li>$node->menutext -- Menu Text</li>
			<li>$node->raw_menutext -- Menu Text without having html entities converted</li>
			<li>$node->alias -- Page alias</li>
			<li>$node->extra1 -- This field contains the value of the extra1 page property, unless the loadprops-parameter is set to NOT load the properties.</li>
			<li>$node->extra2 -- This field contains the value of the extra2 page property, unless the loadprops-parameter is set to NOT load the properties.</li>
			<li>$node->extra3 -- This field contains the value of the extra3 page property, unless the loadprops-parameter is set to NOT load the properties.</li>
			<li>$node->image -- This field contains the value of the image page property (if non empty), unless the loadprops-parameter is set to NOT load the properties.</li>
			<li>$node->thumbnail -- This field contains the value of the thumbnail page property (if non empty), unless the loadprops-parameter is set to NOT load the properties.</li>
			<li>$node->target -- This field contains Target for the link (if non empty), unless the loadprops-parameter is set to NOT load the properties.</li>
			<li>$node->created -- Item creation date</li>
			<li>$node->modified -- Item modified date</li>
			<li>$node->index -- Count of this node in the whole menu</li>
			<li>$node->parent -- True if this node is a parent of the currently selected page</li>
			<li>$node->current -- True if this node is the currently selected page</li>
                        <li>$node->first -- exists, and set to 1 if is the first item in a level.</li>
                        <li>$node->last -- exists, and set to 1 if is the last item in a level.</li>
		</ul>
	</p>
        <h3>Caching</h3>
        <p>This module has the capability to cache its output into static files to reduce memory requirements and sql queries, and to improve frontend performance.  This provides all the advantages of static menus without the inconvenience involved when creating or editing pages.</p>
        <p>Each menu template can be marked as "Cachable". When a cachable menu template is used on a content page that is cachable, any cached menu output that is available for thsi page will be used.  The nocache parameter on the menu tag can be used to completely disable caching.</p>
        <p>All cached menu files are erased when a content item is added, edited, or deleted... and also when a menu template is added/edited or deleted.</p>
        <h3>Alternate Tags:</h3>
        <p>The <strong>{cms_breadcrumbs}</strong> tag (short for {menu action=\'breadcrumbs\'}) can be used to create a breadcrumb trail to the currently displayed page.</p>';
$lang['help_action']='指定模板的行為。此參數有兩種可能：
<ul>
  <li>預設<em>(default)</em> - 用於建立一個導航功能選單。</li>
  <li>麵包屑（導航）- 用於建立一個麵包屑（導航），當前顯示的頁面。<strong>注意: {cms_breadcrumbs}</strong>是調用這個動作的捷徑。</li>
</ul>';
$lang['help_root']='只適用於麵包（導航）動作，允許指定的啟動級別是不是預設頁。';
$lang['help_template']='The template to use for displaying the menu.  Templates will come from the database templates unless the template name ends with .tpl, in which case it will come from a file in the MenuManager templates directory (defaults to simple_navigation.tpl)';
$lang['import']='匯入';
$lang['importtemplate']='匯入模板至資料庫';
$lang['menumanager']='功能選單管理';
$lang['newtemplate']='新模板名稱';
$lang['nocontent']='沒給內容';
$lang['notemplatefiles']='沒有檔案模板在 %s';
$lang['notemplatename']='沒給模板的名稱。';
$lang['readonly']='唯讀';
$lang['set_as_default']='設定為預設功能選單模板';
$lang['set_cachable']='設定這個模板為可緩存';
$lang['templatecontent']='模板內容';
$lang['templatenameexists']='這個名字的模板已經存在';
$lang['templates']='模板';
$lang['this_is_default']='預設功能選單模板';
$lang['usage']='用法';
$lang['youarehere']='您在這裡';
?>
