replace some inputs with proper buttons

This commit is contained in:
Andrew Dolgov 2010-11-11 23:33:52 +03:00
parent 799e1b390e
commit a918f5f9ca
2 changed files with 10 additions and 15 deletions

View File

@ -176,9 +176,8 @@
print "<button onclick=\"return opmlRegenKey()\">". print "<button onclick=\"return opmlRegenKey()\">".
__('Generate new URL')."</button> "; __('Generate new URL')."</button> ";
print "<input class=\"button\" print "<button onclick=\"return closeInfoBox()\">".
type=\"submit\" onclick=\"return closeInfoBox()\" __('Close this window')."</button>";
value=\"".__('Close this window')."\">";
print "</div></div>"; print "</div></div>";
@ -225,9 +224,8 @@
print "<div align='center'>"; print "<div align='center'>";
print "<input class=\"button\" print "<button onclick=\"return closeInfoBox()\"".
type=\"submit\" onclick=\"return closeInfoBox()\" __('Close this window')."</button>";
value=\"".__('Close this window')."\">";
print "</div></div>"; print "</div></div>";
@ -481,9 +479,8 @@
name=\"reg_exp\" size=\"30\" value=\"$reg_exp\">"; name=\"reg_exp\" size=\"30\" value=\"$reg_exp\">";
print "<span id=\"filter_dlg_date_chk_box\" style=\"display : none\">"; print "<span id=\"filter_dlg_date_chk_box\" style=\"display : none\">";
print "&nbsp;<input class=\"button\" print "&nbsp;<button onclick=\"return filterDlgCheckDate()\">".
type=\"submit\" onclick=\"return filterDlgCheckDate()\" __('Check it')."</button>";
value=\"".__('Check it')."\">";
print "</span>"; print "</span>";
print "<br/> " . __("on field") . " "; print "<br/> " . __("on field") . " ";
@ -784,9 +781,8 @@
print "<button onclick=\"return genUrlChangeKey('$feed_id', '$is_cat')\">". print "<button onclick=\"return genUrlChangeKey('$feed_id', '$is_cat')\">".
__('Generate new URL')."</button> "; __('Generate new URL')."</button> ";
print "<input class=\"button\" print "<button onclick=\"return closeInfoBox()\">".
type=\"submit\" onclick=\"return closeInfoBox()\" __('Close this window')."</button>";
value=\"".__('Close this window')."\">";
print "</div></div>"; print "</div></div>";

View File

@ -63,9 +63,8 @@
name=\"reg_exp\" size=\"30\" value=\"$reg_exp\">"; name=\"reg_exp\" size=\"30\" value=\"$reg_exp\">";
print "<span id=\"filter_dlg_date_chk_box\" $date_ops_invisible>"; print "<span id=\"filter_dlg_date_chk_box\" $date_ops_invisible>";
print "&nbsp;<input class=\"button\" print "&nbsp;<button onclick=\"return filterDlgCheckDate()\">".
type=\"submit\" onclick=\"return filterDlgCheckDate()\" __('Check it')."</button>";
value=\"".__('Check it')."\">";
print "</span>"; print "</span>";
print "<br/> " . __("on field") . " "; print "<br/> " . __("on field") . " ";