diff options
author | vdigital <vdigital@piwigo.org> | 2007-02-04 20:42:26 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2007-02-04 20:42:26 +0000 |
commit | 76a58082252e71443f3983d5bfb8e123818adb3d (patch) | |
tree | 71b4a02303f50f95dc848d926cbc5cf878593404 /template/yoga | |
parent | ce3bcbc353ba8b1d221898a4ae076c067dddd772 (diff) |
Evolution request 0000497: Insert information about theme on about.php
To mention Creative Commons pictures, Free for private use, ...
Totally optional.
Just precise what you want in About field (see any template/yoga/theme/.../themeconf.inc.php
git-svn-id: http://piwigo.org/svn/trunk@1779 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/about.tpl | 6 | ||||
-rw-r--r-- | template/yoga/theme/clear/themeconf.inc.php | 4 | ||||
-rw-r--r-- | template/yoga/theme/dark/themeconf.inc.php | 4 | ||||
-rw-r--r-- | template/yoga/theme/p0w0/themeconf.inc.php | 4 | ||||
-rw-r--r-- | template/yoga/theme/wipi/themeconf.inc.php | 4 |
5 files changed, 17 insertions, 5 deletions
diff --git a/template/yoga/about.tpl b/template/yoga/about.tpl index 6efa0e9ee..77af4ada5 100644 --- a/template/yoga/about.tpl +++ b/template/yoga/about.tpl @@ -11,5 +11,9 @@ </div> {ABOUT_MESSAGE} - + <!-- BEGIN theme --> + <ul> + <li>{theme.ABOUT}</li> + </ul> + <!-- END theme --> </div> diff --git a/template/yoga/theme/clear/themeconf.inc.php b/template/yoga/theme/clear/themeconf.inc.php index 0184d9b27..02831007d 100644 --- a/template/yoga/theme/clear/themeconf.inc.php +++ b/template/yoga/theme/clear/themeconf.inc.php @@ -1,4 +1,5 @@ <?php +global $themeconf; /* Share $themeconf if About is used */ $themeconf = array( 'template' => 'yoga', 'theme' => 'clear', @@ -6,6 +7,7 @@ $themeconf = array( 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '<!-- no theme specific head content -->' + 'local_head' => '<!-- no theme specific head content -->', + 'About' => '', /* About text to display on About screen */ ); ?> diff --git a/template/yoga/theme/dark/themeconf.inc.php b/template/yoga/theme/dark/themeconf.inc.php index 7d6d00da5..324997c69 100644 --- a/template/yoga/theme/dark/themeconf.inc.php +++ b/template/yoga/theme/dark/themeconf.inc.php @@ -1,4 +1,5 @@ <?php +global $themeconf; /* Share $themeconf if About is used */ $themeconf = array( 'template' => 'yoga', 'theme' => 'dark', @@ -6,6 +7,7 @@ $themeconf = array( 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '<!-- no theme specific head content -->' + 'local_head' => '<!-- no theme specific head content -->', + 'About' => '', /* About text to display on About screen */ ); ?> diff --git a/template/yoga/theme/p0w0/themeconf.inc.php b/template/yoga/theme/p0w0/themeconf.inc.php index f29bab129..b1e1a421e 100644 --- a/template/yoga/theme/p0w0/themeconf.inc.php +++ b/template/yoga/theme/p0w0/themeconf.inc.php @@ -1,4 +1,5 @@ <?php +global $themeconf; /* Share $themeconf if About is used */ $themeconf = array( 'template' => 'yoga', 'theme' => 'p0w0', @@ -6,6 +7,7 @@ $themeconf = array( 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '<!-- no theme specific head content -->' + 'local_head' => '<!-- no theme specific head content -->', + 'About' => '', /* About text to display on About screen */ ); ?> diff --git a/template/yoga/theme/wipi/themeconf.inc.php b/template/yoga/theme/wipi/themeconf.inc.php index 60ead4fef..853f01c8b 100644 --- a/template/yoga/theme/wipi/themeconf.inc.php +++ b/template/yoga/theme/wipi/themeconf.inc.php @@ -1,4 +1,5 @@ <?php
+global $themeconf; /* Share $themeconf if About is used */
$themeconf = array(
'template' => 'yoga',
'theme' => 'wipi',
@@ -6,6 +7,7 @@ $themeconf = array( 'icon_dir' => 'template/yoga/icon',
'admin_icon_dir' => 'template/yoga/icon/admin',
'mime_icon_dir' => 'template/yoga/icon/mimetypes/',
- 'local_head' => '<!-- no theme specific head content -->'
+ 'local_head' => '<!-- no theme specific head content -->',
+ 'About' => '', /* About text to display on About screen */
);
?>
|