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
This commit is contained in:
vdigital
2007-02-04 20:42:26 +00:00
parent ce3bcbc353
commit 76a5808225
6 changed files with 26 additions and 6 deletions
+9 -1
View File
@@ -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(),
+5 -1
View File
@@ -11,5 +11,9 @@
</div>
{ABOUT_MESSAGE}
<!-- BEGIN theme -->
<ul>
<li>{theme.ABOUT}</li>
</ul>
<!-- END theme -->
</div>
+3 -1
View File
@@ -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 */
);
?>
+3 -1
View File
@@ -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 */
);
?>
+3 -1
View File
@@ -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 */
);
?>
+3 -1
View File
@@ -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 */
);
?>