Revision fae0b511
Added by Scott Ullrich almost 17 years ago
- Remove debugging code
- Hide syntax highlighting option for now
usr/local/www/edit.php | ||
---|---|---|
113 | 113 |
else if(file.indexOf(".css") > 0) lang = "css"; |
114 | 114 |
|
115 | 115 |
if($("highlight").checked && lang != "none") { |
116 |
alert("highlight"); |
|
117 | 116 |
$("fileContent").className = lang + ":showcolumns"; |
118 | 117 |
dp.SyntaxHighlighter.HighlightAll("fileContent", true, false); |
119 | 118 |
} |
... | ... | |
166 | 165 |
<input type="button" class="formbtn" id="fbOpen" value="<?=gettext('Browse');?>" /> |
167 | 166 |
<input type="button" class="formbtn" onclick="saveFile();" value="<?=gettext('Save');?>" /> |
168 | 167 |
<br /> |
169 |
<input type="checkbox" id="highlight" /><?=gettext("Enable syntax highlighting");?> |
|
168 |
<?php |
|
169 |
/* |
|
170 |
<input type="checkbox" id="highlight" /><?=gettext("Enable syntax highlighting"); |
|
171 |
*/ |
|
172 |
?> |
|
170 | 173 |
</td> |
171 | 174 |
</tr> |
172 | 175 |
</table> |
Also available in: Unified diff