Changeset 8634


Ignore:
Timestamp:
01/12/11 21:41:00 (8 years ago)
Author:
rvelices
Message:
  • picture uses the same variables as the index page to compute thumbnails url
  • combined files are deleted only from maintenance functions and not also from plugin activation/deactivation
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/maintenance.php

    r8404 r8634  
    113113  { 
    114114    $template->delete_compiled_templates(); 
     115    FileCombiner::clear_combined_files(); 
    115116    break; 
    116117  } 
  • trunk/include/template.class.php

    r8506 r8634  
    187187      $this->smarty->compile_id = $save_compile_id; 
    188188      file_put_contents($this->smarty->compile_dir.'/index.htm', 'Not allowed!'); 
    189       FileCombiner::clear_combined_files(); 
    190189  } 
    191190 
  • trunk/picture.php

    r8126 r8634  
    216216  array( 
    217217    'start' => 
    218       floor($page['current_rank'] / $user['nb_image_page']) 
    219       * $user['nb_image_page'] 
     218      floor($page['current_rank'] / $page['nb_image_page']) 
     219      * $page['nb_image_page'] 
    220220    ), 
    221221  array( 
Note: See TracChangeset for help on using the changeset viewer.