From df29ffbde72e88635f454d5d6d84c5a7209460f3 Mon Sep 17 00:00:00 2001 From: vdigital Date: Mon, 14 Jul 2008 21:42:40 +0000 Subject: Feature template-extension based on 2006 chrisaga's idea. chrisaga wrote: "If you want to make some template customization without building a brand new template, you should use ..." git-svn-id: http://piwigo.org/svn/trunk@2434 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../distributed/samples/my-picture.tpl | 35 +++++++++++++++++++++ .../distributed/samples/my-thumbnails.tpl | 36 ++++++++++++++++++++++ .../distributed/samples/my-thumbnails2.tpl | 36 ++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 template-extension/distributed/samples/my-picture.tpl create mode 100644 template-extension/distributed/samples/my-thumbnails.tpl create mode 100644 template-extension/distributed/samples/my-thumbnails2.tpl (limited to 'template-extension') diff --git a/template-extension/distributed/samples/my-picture.tpl b/template-extension/distributed/samples/my-picture.tpl new file mode 100644 index 000000000..4e81ff696 --- /dev/null +++ b/template-extension/distributed/samples/my-picture.tpl @@ -0,0 +1,35 @@ +{* $Id$ *} + +
+
+ {'home'|@translate} + {$LEVEL_SEPARATOR}{$SECTION_TITLE} + {$LEVEL_SEPARATOR}{$current.TITLE} +
+
+ +{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} +
+
+ {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} +
+ {include file=$FILE_PICTURE_NAV_BUTTONS} +
+ +
+{$ELEMENT_CONTENT} + +
+ +{if isset($previous) } + +{/if} +{if isset($next) } + +{/if} + +{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if} diff --git a/template-extension/distributed/samples/my-thumbnails.tpl b/template-extension/distributed/samples/my-thumbnails.tpl new file mode 100644 index 000000000..df39ab019 --- /dev/null +++ b/template-extension/distributed/samples/my-thumbnails.tpl @@ -0,0 +1,36 @@ +{* $Id$ *} + +{if !empty($thumbnails)} + +{/if} \ No newline at end of file diff --git a/template-extension/distributed/samples/my-thumbnails2.tpl b/template-extension/distributed/samples/my-thumbnails2.tpl new file mode 100644 index 000000000..0f17542d1 --- /dev/null +++ b/template-extension/distributed/samples/my-thumbnails2.tpl @@ -0,0 +1,36 @@ +{* $Id$ *} + +{if !empty($thumbnails)} + +{/if} \ No newline at end of file -- cgit v1.2.3