['template'] as user_template for displaying pictures in the template

git-svn-id: http://piwigo.org/svn/trunk@29 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub 2003-07-21 20:51:47 +00:00
commit b125c3b086
10 changed files with 16 additions and 4 deletions

View file

@ -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 = '';