projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f4fba6
)
Make non-editable action nicer
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 13 Sep 2010 23:57:35 +0000
(16:57 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 13 Sep 2010 23:57:35 +0000
(16:57 -0700)
init/edit_action.cgi
patch
|
blob
|
history
diff --git
a/init/edit_action.cgi
b/init/edit_action.cgi
index
0b8d769
..
a5bdef2
100755
(executable)
--- a/
init/edit_action.cgi
+++ b/
init/edit_action.cgi
@@
-63,7
+63,6
@@
else {
&ui_textbox("name", $ac, 30));
}
-$fs = "<font size=-1>"; $fe = "</font>";
if ($ty == 2) {
# Display fields for a template for a new action
print &ui_table_row($text{'edit_desc'},
@@
-86,7
+85,8
@@
if ($ty == 2) {
elsif ($access{'bootup'} == 2) {
# Just show current script
print &ui_table_row($text{'edit_script'},
- "$fs<pre>".&html_escape($data)."</pre>$fe");
+ &ui_textarea("data", $data, 15, 80, undef, undef,
+ "readonly=true"));
}
else {
# Allow direct editing of the script