Ignore:
Timestamp:
02/28/08 03:41:48 (12 years ago)
Author:
rvelices
Message:
  • migrate many templates to smarty
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_move.php

    r1961 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$ 
     
    6565// |                       template initialization                         | 
    6666// +-----------------------------------------------------------------------+ 
     67$template->set_filename('cat_move', 'admin/cat_move.tpl'); 
    6768 
    68 $template->set_filenames( 
    69   array( 
    70     'cat_move' => 'admin/cat_move.tpl' 
    71     ) 
    72   ); 
    73  
    74 $template->assign_vars( 
     69$template->assign( 
    7570  array( 
    7671    'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=cat_move', 
     
    8883  WHERE dir IS NULL 
    8984;'; 
    90  
    9185display_select_cat_wrapper( 
    9286  $query, 
    9387  array(), 
    94   'category_option_selection' 
    95   ); 
    96  
    97 $blockname = 'category_option_parent'; 
    98  
    99 $template->assign_block_vars( 
    100   $blockname, 
    101   array( 
    102     'VALUE'=> 0, 
    103     'OPTION' => '------------' 
    104     ) 
     88  'category_to_move_options' 
    10589  ); 
    10690 
     
    11397  $query, 
    11498  array(), 
    115   $blockname 
     99  'category_parent_options' 
    116100  ); 
    117101 
Note: See TracChangeset for help on using the changeset viewer.