Changeset 29 for trunk/admin/update.php
- Timestamp:
- Jul 21, 2003, 10:51:47 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/update.php
r26 r29 20 20 function insert_local_category( $cat_id ) 21 21 { 22 global $conf, $page ;22 global $conf, $page, $user; 23 23 24 24 $site_id = 1; … … 32 32 $cat_directory.= '/'.$result['local_dir']; 33 33 // 1. display the category name to update 34 $output = '<img src="./images/puce.gif" alt=">" />'; 34 $src = '../template/'.$user['template'].'/admin/images/puce.gif'; 35 $output = '<img src="'.$src.'" alt=">" />'; 35 36 $output.= '<span style="font-weight:bold;">'.$result['name'][0].'</span>'; 36 37 $output.= ' [ '.$result['last_dir'].' ]'; … … 371 372 function insert_remote_category( $xml_dir, $site_id, $id_uppercat, $level ) 372 373 { 373 global $conf ;374 global $conf,$user; 374 375 375 376 $output = ''; … … 383 384 $categories[$i] = $name; 384 385 385 $output.= '<img src="./images/puce.gif">'; 386 $src = '../template/'.$user['template'].'/admin/images/puce.gif'; 387 $output.= '<img src="'.$src.'" alt=">" />'; 386 388 $output.= '<span style="font-weight:bold;">'.$name.'</span>'; 387 389 $output.= '<div class="retrait">'; … … 553 555 'remote_site', 'update_part_research' ); 554 556 templatize_array( $tpl, 'lang', $sub ); 557 $vtp->setGlobalVar( $sub, 'user_template', $user['template'] ); 555 558 //-------------------------------------------- introduction : choices of update 556 559 // Display choice if "update" var is not specified
Note: See TracChangeset
for help on using the changeset viewer.