aboutsummaryrefslogtreecommitdiffstats
path: root/admin/admin.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-01-29 22:31:43 +0000
committergweltas <gweltas@piwigo.org>2004-01-29 22:31:43 +0000
commit9e4078def401cd4b6fb93e8691e899ef6a2023e6 (patch)
tree26b6112fee645bb5468fe5e4c5958572cb052a2d /admin/admin.php
parentee8227a3cebad5440ba023fd235f87644cb2f2d3 (diff)
CSS Admin creation
git-svn-id: http://piwigo.org/svn/branches/release-1_3@329 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/admin.php')
-rw-r--r--admin/admin.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/admin.php b/admin/admin.php
index fbdb590ae..71875348b 100644
--- a/admin/admin.php
+++ b/admin/admin.php
@@ -25,7 +25,9 @@ $handle = $vtp->Open( '../template/'.$user['template'].'/admin/admin.vtp' );
// language
$tpl = array( 'menu_title','title_default','charset','install_warning' );
templatize_array( $tpl, 'lang', $handle );
-$vtp->setGlobalVar( $handle, 'user_template', $user['template'] );
+$vtp->setGlobalVar( $handle, 'user_template',$user['template']);
+$vtp->setGlobalVar( $handle, 'style', '../template/'.$user['template'].'/'.$user['template'].'-admin.css');
+
//-------------------------------------------------- install.php still exists ?
if ( is_file( './install.php' ) )
{