aboutsummaryrefslogtreecommitdiffstats
path: root/admin/admin.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-07-21 20:51:47 +0000
committerz0rglub <z0rglub@piwigo.org>2003-07-21 20:51:47 +0000
commitb125c3b0863d61de32bb02a5beaa26fe0ab0d54a (patch)
tree8f00a6367ab46af4bc392b8ad9db5d78608fbff6 /admin/admin.php
parente9b4e0e0de65caebd47b5e6df6d252f9d1b85932 (diff)
['template'] as user_template for displaying pictures in the template
git-svn-id: http://piwigo.org/svn/trunk@29 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/admin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/admin.php b/admin/admin.php
index 388ce9eb0..37365fd51 100644
--- a/admin/admin.php
+++ b/admin/admin.php
@@ -23,6 +23,7 @@ $handle = $vtp->Open( '../template/'.$user['template'].'/admin/admin.vtp' );
// language
$tpl = array( 'menu_title', 'title_default', 'charset' );
templatize_array( $tpl, 'lang', $handle );
+$vtp->setGlobalVar( $handle, 'user_template', $user['template'] );
//--------------------------------------- validating page and creation of title
$page_valide = false;
$title = '';