mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
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:
@@ -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(),
|
||||
|
||||
@@ -11,5 +11,9 @@
|
||||
</div>
|
||||
|
||||
{ABOUT_MESSAGE}
|
||||
|
||||
<!-- BEGIN theme -->
|
||||
<ul>
|
||||
<li>{theme.ABOUT}</li>
|
||||
</ul>
|
||||
<!-- END theme -->
|
||||
</div>
|
||||
|
||||
@@ -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 */
|
||||
);
|
||||
?>
|
||||
|
||||
@@ -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 */
|
||||
);
|
||||
?>
|
||||
|
||||
@@ -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 */
|
||||
);
|
||||
?>
|
||||
|
||||
@@ -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 */
|
||||
);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user