Revision 1069
Added by Matthias over 15 years ago
module.functions.php | ||
---|---|---|
80 | 80 |
?> |
81 | 81 |
<form name="edit_module_file" action="<?php echo WB_URL .'/modules/edit_module_files.php?page_id='.$page_id;?>" |
82 | 82 |
method="post" style="margin: 0; align:right;"> |
83 |
<input type="hidden" name="page_id" value="<?php echo $page_id; ?>"> |
|
84 |
<input type="hidden" name="section_id" value="<?php echo $section_id; ?>"> |
|
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';?>"> |
|
87 |
<input type="hidden" name="action" value="edit"> |
|
88 |
<input type="submit" value="<?php echo $edit_css_caption;?>" class="mod_<?php echo $mod_dir;?>_edit_css"> |
|
83 |
<input type="hidden" name="page_id" value="<?php echo $page_id; ?>" />
|
|
84 |
<input type="hidden" name="section_id" value="<?php echo $section_id; ?>" />
|
|
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';?>" />
|
|
87 |
<input type="hidden" name="action" value="edit" />
|
|
88 |
<input type="submit" value="<?php echo $edit_css_caption;?>" class="mod_<?php echo $mod_dir;?>_edit_css" />
|
|
89 | 89 |
</form> |
90 | 90 |
<?php |
91 | 91 |
} |
... | ... | |
110 | 110 |
if(mod_file_exists($mod_dir, $toggle_file)) { |
111 | 111 |
?> |
112 | 112 |
<form name="toggle_module_file" action="<?php echo WB_URL .'/modules/edit_module_files.php?page_id='.$page_id;?>" method="post" style="margin: 0; align:right;"> |
113 |
<input type="hidden" name="page_id" value="<?php echo $page_id; ?>"> |
|
114 |
<input type="hidden" name="section_id" value="<?php echo $section_id; ?>"> |
|
115 |
<input type="hidden" name="mod_dir" value="<?php echo $mod_dir; ?>"> |
|
116 |
<input type="hidden" name="edit_file" value="<?php echo $toggle_file; ?>"> |
|
117 |
<input type="hidden" name="action" value="edit"> |
|
118 |
<input type="submit" value="<?php echo ucwords($toggle_file);?>" class="mod_<?php echo $mod_dir;?>_edit_css"> |
|
113 |
<input type="hidden" name="page_id" value="<?php echo $page_id; ?>" />
|
|
114 |
<input type="hidden" name="section_id" value="<?php echo $section_id; ?>" />
|
|
115 |
<input type="hidden" name="mod_dir" value="<?php echo $mod_dir; ?>" />
|
|
116 |
<input type="hidden" name="edit_file" value="<?php echo $toggle_file; ?>" />
|
|
117 |
<input type="hidden" name="action" value="edit" />
|
|
118 |
<input type="submit" value="<?php echo ucwords($toggle_file);?>" class="mod_<?php echo $mod_dir;?>_edit_css" />
|
|
119 | 119 |
</form> |
120 | 120 |
<?php |
121 | 121 |
} |
Also available in: Unified diff
Fixed some validiation bugs in core and different modules (Thanks to luisehahne)