diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-07-21 20:51:47 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-07-21 20:51:47 +0000 |
commit | b125c3b0863d61de32bb02a5beaa26fe0ab0d54a (patch) | |
tree | 8f00a6367ab46af4bc392b8ad9db5d78608fbff6 /admin/admin.php | |
parent | e9b4e0e0de65caebd47b5e6df6d252f9d1b85932 (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.php | 1 |
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 = ''; |