Add edit previous button

This commit is contained in:
Jamie Cameron 2013-04-23 23:06:25 -07:00
parent 270041b342
commit 68305048c0
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,9 @@ close(COMMANDS);
if (@commands) {
print &ui_table_row($text{'index_old'},
&ui_select("old", undef, [ &unique(@commands) ])." ".
&ui_button($text{'index_edit'}, "clear", undef,
"onClick='form.cmd.value = form.old.value'").
" ".
&ui_button($text{'index_clear'}, "clear", undef,
"onClick='window.location = \"run.cgi?clear=1\"'"));
}

View File

@ -8,6 +8,7 @@ index_this=this server
index_all=<All hosts>
index_group=Members of $1
index_clear=Clear History
index_edit=Edit Previous
run_title=Run Command
run_err=Failed to run command