Ignore:
Timestamp:
07/01/11 12:16:30 (9 years ago)
Author:
plg
Message:

feature 2372 added: shortcut to edit CSS file from the themes page. If plugin
LocalFiles Editor is active, a link "CSS" is displayed under each active theme
and goes directly to the CSS edition page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/LocalFilesEditor/include/css.inc.php

    r11362 r11586  
    1010{ 
    1111  $edited_file = $_POST['edited_file']; 
     12} 
     13elseif (isset($_GET['theme']) and in_array($_GET['theme'], array_keys(get_pwg_themes()))) 
     14{ 
     15  $edited_file = PHPWG_ROOT_PATH.PWG_LOCAL_DIR . 'css/'.$_GET['theme'].'-rules.css'; 
    1216} 
    1317else 
Note: See TracChangeset for help on using the changeset viewer.