Changeset 2223 for trunk/about.php


Ignore:
Timestamp:
Feb 28, 2008, 3:41:48 AM (12 years ago)
Author:
rvelices
Message:
  • migrate many templates to smarty
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/about.php

    r2126 r2223  
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
     5// | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    77// | file          : $Id$
     
    6262if ( isset($lang['Theme: '.$user['theme']]) )
    6363{
    64   $template->assign_block_vars(
    65   'theme',
    66   array(
    67     'ABOUT' => l10n('Theme: '.$user['theme']),
    68     )
    69   );
     64  $template->assign(
     65    'THEME_ABOUT',l10n('Theme: '.$user['theme'])
     66    );
    7067}
    71 $template->assign_vars(
    72   array(
    73     'U_HOME' => make_index_url(),
    74     )
    75   );
    7668
    77 $template->assign_var('ABOUT_MESSAGE', load_language('about.html','','',true) );
     69$template->assign('ABOUT_MESSAGE', load_language('about.html','','',true) );
    7870
    79 $template->parse('about');
     71$template->pparse('about');
    8072include(PHPWG_ROOT_PATH.'include/page_tail.php');
    8173?>
Note: See TracChangeset for help on using the changeset viewer.