Revision 1428
Added by Luisehahne about 14 years ago
module.functions.php | ||
---|---|---|
62 | 62 |
if (!function_exists('edit_module_css')) { |
63 | 63 |
function edit_module_css($mod_dir) { |
64 | 64 |
global $page_id, $section_id; |
65 |
|
|
65 |
|
|
66 | 66 |
// check if the required edit_module_css.php file exists |
67 | 67 |
if(!file_exists(WB_PATH .'/modules/edit_module_files.php')) return; |
68 | 68 |
|
... | ... | |
83 | 83 |
<input type="hidden" name="page_id" value="<?php echo $page_id; ?>" /> |
84 | 84 |
<input type="hidden" name="section_id" value="<?php echo $section_id; ?>" /> |
85 | 85 |
<input type="hidden" name="mod_dir" value="<?php echo $mod_dir; ?>" /> |
86 |
<input type="hidden" name="edit_file" value="<?php echo ($frontend_css) ?'frontend.css' : 'backend.css';?>" /> |
|
86 |
<input type="hidden" name="edit_file" value="<?php echo ($frontend_css) ? 'frontend.css' : 'backend.css';?>" />
|
|
87 | 87 |
<input type="hidden" name="action" value="edit" /> |
88 | 88 |
<input type="submit" value="<?php echo $edit_css_caption;?>" class="mod_<?php echo $mod_dir;?>_edit_css" /> |
89 | 89 |
</form> |
Also available in: Unified diff
update Argostheme to version 1.5 (Tks to Argos)
validation fixes
call edit_full_area on the fly