diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 17:08:00 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 17:08:00 +0000 |
commit | 307205ceb5d79882b49282bc5af285c301722751 (patch) | |
tree | 927dd37ce7451ffb3cddb6534cf5d9c9cfc70102 | |
parent | 5c1bbb54810d9438716167d6ee12037c292b0cd2 (diff) | |
download | pkgsubmit-307205ceb5d79882b49282bc5af285c301722751.tar pkgsubmit-307205ceb5d79882b49282bc5af285c301722751.tar.gz pkgsubmit-307205ceb5d79882b49282bc5af285c301722751.tar.bz2 pkgsubmit-307205ceb5d79882b49282bc5af285c301722751.tar.xz pkgsubmit-307205ceb5d79882b49282bc5af285c301722751.zip |
conf.php: add $theme_name variable
-rw-r--r-- | conf.php | 3 | ||||
-rw-r--r-- | index.php | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -41,3 +41,6 @@ $g_root_url = 'http://pkgsubmit.mageia.org/'; /** URL to view a package svn revision. %d is replaced by the revision */ $package_commit_url = 'http://svnweb.mageia.org/packages?view=revision&revision=%d'; + +/** name of the theme */ +$theme_name = 'mageia'; @@ -68,7 +68,7 @@ publish_stats_headers( (isset($_GET['last']) && $total > 0) ? reset($pkgs) : null ); -require __DIR__ . '/themes/mageia/page_header.php'; +require __DIR__ . "/themes/$theme_name/page_header.php"; if (!isset($_GET['package'])) { $bannerfile = dirname(__FILE__) . '/banner.html'; @@ -256,5 +256,5 @@ else <script src="js/jquery.js"></script> <script src="js/pkgsubmit.js"></script> <?php -require __DIR__ . '/themes/mageia/page_footer.php'; +require __DIR__ . "/themes/$theme_name/page_footer.php"; ?> |