Changeset 130
- Timestamp:
- Sep 17, 2003, 10:40:15 PM (21 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r108 r130 69 69 { 70 70 $site = 'delete_site_'.$row['id']; 71 if ( $_POST[$site] == 1 ) delete_site( $row['id'] ); 71 if ( $_POST[$site] == 1 ) 72 { 73 delete_site( $row['id'] ); 74 // if any picture of this site were linked to another categories, we 75 // have to update the informations of those categories. To make it 76 // simple, we just update all the categories 77 update_category( 'all' ); 78 } 72 79 } 73 80 // thumbnail prefix must not contain accentuated characters -
trunk/admin/update.php
r126 r130 45 45 { 46 46 $output.= insert_local_image( $cat_directory, $cat_id ); 47 update_category( $cat_id );48 47 } 49 48 } … … 404 403 } 405 404 $output.= insert_remote_image( $list_dirs[$i], $category_id ); 406 update_category( $category_id );407 405 $output.= insert_remote_category( $list_dirs[$i], $site_id, 408 406 $category_id, $level+1 ); … … 599 597 $vtp->closeSession( $sub, 'remote_update' ); 600 598 } 599 //---------------------------------------- update informations about categories 600 update_category( 'all' ); 601 601 //----------------------------------------------------------- sending html code 602 602 $vtp->Parse( $handle , 'sub', $sub );
Note: See TracChangeset
for help on using the changeset viewer.