Revision 806
Added by Matthias over 16 years ago
trunk/wb/framework/module.functions.php | ||
---|---|---|
101 | 101 |
$toggle_file = ($base_css_file == 'frontend.css') ? 'backend.css' : 'frontend.css'; |
102 | 102 |
if(mod_file_exists($mod_dir, $toggle_file)) { |
103 | 103 |
?> |
104 |
<form name="toggle_module_file" action="<?php echo WB_URL .'/modules/edit_module_files.php?page_id='.$page_id;?>" |
|
105 |
method="post" style="margin: 0; align:right;"> |
|
104 |
<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;"> |
|
106 | 105 |
<input type="hidden" name="page_id" value="<?php echo $page_id; ?>"> |
107 | 106 |
<input type="hidden" name="section_id" value="<?php echo $section_id; ?>"> |
108 | 107 |
<input type="hidden" name="mod_dir" value="<?php echo $mod_dir; ?>"> |
109 | 108 |
trunk/wb/modules/edit_module_files.php | ||
---|---|---|
155 | 155 |
<input type="hidden" name="edit_file" value="<?php echo $css_file; ?>" /> |
156 | 156 |
<input type="hidden" name="action" value="save"> |
157 | 157 |
|
158 |
<textarea id="area_codepress" name="css_data" <?php echo $CODEPRESS['CLASS'];?>cols="115" rows="25" wrap="VIRTUAL" |
|
159 |
style="margin:2px;"><?php echo $css_content; ?></textarea> |
|
158 |
<textarea id="area_codepress" name="css_data" <?php echo $CODEPRESS['CLASS'];?>cols="115" rows="25" wrap="VIRTUAL" style="margin:2px;"><?php echo $css_content; ?></textarea> |
|
160 | 159 |
|
161 | 160 |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> |
162 | 161 |
<tr> |
163 | 162 |
Also available in: Unified diff
Added keyword Id to new files