Dotclear

Changeset 1306


Ignore:
Timestamp:
07/08/09 12:08:32 (14 years ago)
Author:
peck
Message:

Correction du ticket#145

Location:
plugins/webOptimizer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/webOptimizer/class.dc.weboptimizer.php

    r1305 r1306  
    383383     public static function fileTab($core, $dir, $type, $title, $estimate) 
    384384     { 
     385          global $p_url; 
    385386          echo "<div class=\"multi-part\" id=\"$type\" title=\"$title\">\n"; 
    386           echo "<form action=\"$p_url\" method=\"post\">\n"; 
     387          echo "<form action=\"$p_url&tab=$type\" method=\"post\">\n"; 
    387388          echo "<fieldset>"; 
    388389          echo "<legend>".__('Files')."</legend>\n"; 
  • plugins/webOptimizer/index.php

    r895 r1306  
    1717$default_tab = 'index'; 
    1818 
     19if (!empty($_GET['tab'])) { 
     20     switch($_GET['tab']) { 
     21          case "css":  
     22          case "js": 
     23          case "po": 
     24               $default_tab = $_GET['tab']; 
     25     } 
     26} 
    1927if (!empty($_POST['optimize'])) { 
    2028     $type = $_POST['type']; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map