From 12758e0b8f6c46014042a315a5d1e1ef9069bdd0 Mon Sep 17 00:00:00 2001 From: Piwigo-TranslationTeam Date: Sun, 5 Aug 2012 16:31:02 +0000 Subject: [trunk_help] Update zh_CN, thanks to : jimhu git-svn-id: http://piwigo.org/svn/trunk@17409 68402e56-0260-453c-a942-63ccdbb3a9ee --- language/zh_CN/help/extend_for_templates.html | 51 +++++++++++++++++++++++++++ language/zh_CN/help/history.html | 22 ++++++++++++ 2 files changed, 73 insertions(+) create mode 100755 language/zh_CN/help/extend_for_templates.html create mode 100755 language/zh_CN/help/history.html (limited to 'language/zh_CN/help') 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 @@ +

模板扩展配置

+ +

关于

+

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.
+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.

+ +

原始模板

+

A theme contains a number of template files that make up the gallery pages. These are the original templates.

+ +

Optional URL Keyword

+

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). WARNING: if the same original template and same keyword is used on more than one customised template only the last one is active.

+ +

Bound Theme

+

The bound theme is the theme from which the template files are being replaced.

+ +

Where are the original templates?

+

Original templates are the template files shipped with each theme. These are saved in /themes/default/template (or themes//template). These template files should not be edited in place as changes will be lost with theme upgrades.
+Supported original templates include:

+ +

Saving customised templates

+

Customised templates should be saved in the template-extension folder or subfolders. For example, /template-extension/my-default/header.tpl (or /template-extension//header.tpl) 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.

+

Activating customised templates

+

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.

+

Deactivating customised templates

+

Unselect the original template and submit the changes to the database.
+Delete the customised template files from the template-extension folder.

+ + +

Warnings

+ \ 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 @@ +

历史

+ + + +

统计

+ + +

搜索

+ \ No newline at end of file -- cgit v1.2.3