From 76a58082252e71443f3983d5bfb8e123818adb3d Mon Sep 17 00:00:00 2001 From: vdigital Date: Sun, 4 Feb 2007 20:42:26 +0000 Subject: 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 --- about.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'about.php') 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(), -- cgit v1.2.3