aboutsummaryrefslogtreecommitdiffstats
path: root/about.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2007-02-04 20:42:26 +0000
committervdigital <vdigital@piwigo.org>2007-02-04 20:42:26 +0000
commit76a58082252e71443f3983d5bfb8e123818adb3d (patch)
tree71b4a02303f50f95dc848d926cbc5cf878593404 /about.php
parentce3bcbc353ba8b1d221898a4ae076c067dddd772 (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--about.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/about.php b/about.php
index 56f0a36d1..c25bd5712 100644
--- a/about.php
+++ b/about.php
@@ -48,7 +48,15 @@ $template->set_filenames(
'about_content' => get_language_filepath('about.html')
)
);
-
+if ( isset( $themeconf['About']) and $themeconf['About']!=='' )
+{
+ $template->assign_block_vars(
+ 'theme',
+ array(
+ 'ABOUT' => l10n($themeconf['About']),
+ )
+ );
+}
$template->assign_vars(
array(
'U_HOME' => make_index_url(),