aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--about.php10
-rw-r--r--template/yoga/about.tpl6
-rw-r--r--template/yoga/theme/clear/themeconf.inc.php4
-rw-r--r--template/yoga/theme/dark/themeconf.inc.php4
-rw-r--r--template/yoga/theme/p0w0/themeconf.inc.php4
-rw-r--r--template/yoga/theme/wipi/themeconf.inc.php4
6 files changed, 26 insertions, 6 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(),
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 */
);
?>