diff options
author | Piwigo-TranslationTeam <translate-github@piwigo.org> | 2012-08-05 16:31:02 +0000 |
---|---|---|
committer | Piwigo-TranslationTeam <translate-github@piwigo.org> | 2012-08-05 16:31:02 +0000 |
commit | 12758e0b8f6c46014042a315a5d1e1ef9069bdd0 (patch) | |
tree | cb3d6a455fffc03d0298b310da25c62098f9f6e2 /language | |
parent | 115cdd70705c475cb241e412428152adba251544 (diff) |
[trunk_help] Update zh_CN, thanks to : jimhu
git-svn-id: http://piwigo.org/svn/trunk@17409 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'language')
-rwxr-xr-x | language/zh_CN/help/extend_for_templates.html | 51 | ||||
-rwxr-xr-x | language/zh_CN/help/history.html | 22 |
2 files changed, 73 insertions, 0 deletions
diff --git a/language/zh_CN/help/extend_for_templates.html b/language/zh_CN/help/extend_for_templates.html new file mode 100755 index 000000000..a14b491b3 --- /dev/null +++ b/language/zh_CN/help/extend_for_templates.html @@ -0,0 +1,51 @@ +<h2>模板扩展配置</h2> + +<h3>关于</h3> +<p>Your Piwigo gallery can be customised by replacing existing template files with customised versions. For example, the default header template (header.tpl) can be replaced by a customised header template (my-header.tpl). After submitting the changes to the database the gallery will display the customised header instead of the original header.<br> +Template extensions are a powerful way to create customised themes for both new and advanced users. Used together with the LocalFiles Editor you can create your own child themes.</p> + +<h3>原始模板</h3> +<p>A theme contains a number of template files that make up the gallery pages. These are the original templates.</p> + +<h3>Optional URL Keyword</h3> +<p>These are words found in the gallery URL after the module name. They can also be active permalinks (See the permalink documentation for more information). <a href="#warnings">WARNING:</a> if the same original template and same keyword is used on more than one customised template only the last one is active.</p> + +<h3>Bound Theme</h3> +<p>The bound theme is the theme from which the template files are being replaced.</p> + +<h3>Where are the original templates?</h3> +<p>Original templates are the template files shipped with each theme. These are saved in <em>/themes/default/template</em> (or <em>themes/<theme name>/template</em>). These template files should not be edited in place as changes will be lost with theme upgrades.<br> +Supported original templates include:</p> +<ul> + <li><span class="filename">index.tpl</span></li> + <li><span class="filename">mainpage_categories.tpl</span> and/or <span class="filename">thumbnails.tpl</span></li> + <li><span class="filename">menubar.tpl</span></li> + <li><span class="filename">header.tpl</span> and/or <span class="filename">footer.tpl</span></li> + <li><span class="filename">picture_content.tpl</span> and/or <span class="filename">picture.tpl</span></li> + <!-- <li><span class="filename">slideshow.tpl</span></li> --> + <li><span class="filename">profile.tpl</span> and/or <span class="filename">profile_content.tpl</span></li> + <li><span class="filename">tags.tpl</span></li> + <li><span class="filename">upload.tpl</span></li> + <li><span class="filename">about.tpl</span></li> + <li><span class="filename">popuphelp.tpl</span></li> + <li><span class="filename">search.tpl</span> and/or <span class="filename">search_rules.tpl</span></li> + <li><span class="filename">nbm.tpl</span> and/or <span class="filename">notification.tpl</span></li> + <li><span class="filename">identification.tpl</span> and/or <span class="filename">register.tpl</span></li> + <li><span class="filename">redirect.tpl</span></li> +</ul> +<h3>Saving customised templates</h3> +<p>Customised templates should be saved in the template-extension folder or subfolders. For example, <em>/template-extension/my-default/header.tpl</em> (or <em>/template-extension/<my-theme-name>/header.tpl</em>) Template files can have any name with a .tpl extension. The template files in subfolders appear in the Template configuration screen as available custom templates.</p> +<h3>Activating customised templates</h3> +<p>Select the original template to replace. Optionally choose a URL keyword to ensure that the customised template is only shown on pages with that keyword. Select a bound theme and the changes will be effective on that theme. Submit the changes to the database.</p> +<h3>Deactivating customised templates</h3> +<p>Unselect the original template and submit the changes to the database.<br> +Delete the customised template files from the template-extension folder.</p> + +<a name="warnings"></a> +<h3>Warnings</h3> +<ul> + <li><strong>The original template</strong> must be the original template otherwise you may have unpredictable results.</li> + <li>If the same original template and same URL keyword is used on more than one customised template only the last one is active.</li> + <li>Distributed sample template files are for test purposes only. Do not edit them. Create your own ones or copy existing theme template files into <em>/template-extension/<my-theme>/</em></li> + <li>When the customised template is deleted the original template file is immediately reactivated.</li> +</ul>
\ No newline at end of file diff --git a/language/zh_CN/help/history.html b/language/zh_CN/help/history.html new file mode 100755 index 000000000..d1a711473 --- /dev/null +++ b/language/zh_CN/help/history.html @@ -0,0 +1,22 @@ +<h2>历史</h2> + +<p在这个页面中,您可以查看相册的访问历史记录,这与您在如下页面中的配置有关:管理 » 定制 » 选项 » 历史</p> + +<h3>统计</h3> +<ul> + <p>如果您选择记录 (<span class="pwgScreen">index.php</span> 和 <span class="pwgScreen">picture.php</span>) 的访问量,您可以在这个标签页查看数据。</p> + <li><strong>全局统计</strong>: 每年的访问量。 </li> + <li><strong>按年统计</strong>: 选中年份中每个月的访问量。</li> + <li><strong>按月统计、</strong>:选中月份中每天的访问量。</li> + <li><strong>按日统计</strong>: 选中日期每小时的访问量。</li> +</ul> + +<h3>搜索</h3> +<ul> + <p>如果您选择记录 (<span class="pwgScreen">index.php</span> 和 <span class="pwgScreen">picture.php</span>) 的访问量,您可以通过不同的筛选方式查看统计细节。</p> + <li><strong>按日期筛选:</strong>选择搜索开始的和结束的时间范围。、</li> + <li><strong>按元素类型筛选:</strong> 选择需要统计的元素类型。</li> + <li><strong>按用户筛选:</strong>选择需要统计的用户。</li> + <li><strong>按图像定义筛选:</strong> 选择需要统计的图像定义。</li> + <li><strong>按文件名筛选:</strong> 选择需要统计的文件名。</li> +</ul>
\ No newline at end of file |