label editor: rework help link
This commit is contained in:
parent
747885fc7b
commit
6a5efb075c
3 changed files with 10 additions and 12 deletions
|
@ -228,12 +228,6 @@
|
|||
|
||||
print "<textarea onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
|
||||
rows=\"4\" name=\"sql_exp\" class=\"iedit\"></textarea>";
|
||||
|
||||
print "</td></tr>";
|
||||
print "<tr><td>";
|
||||
print "<a class='small' href=\"javascript:displayHelpInfobox(1)\">
|
||||
".__('Click here for help')."</a>";
|
||||
|
||||
print "</td></tr></table>";
|
||||
|
||||
print "</form>";
|
||||
|
@ -242,6 +236,10 @@
|
|||
|
||||
print "<div align='right'>";
|
||||
|
||||
print "<input type=\"submit\"
|
||||
class=\"button\" onclick=\"return displayHelpInfobox(1)\"
|
||||
value=\"".__('Help')."\"> ";
|
||||
|
||||
print "<input type=\"submit\" onclick=\"labelTest()\" value=\"".__('Test')."\">
|
||||
";
|
||||
|
||||
|
|
|
@ -48,12 +48,6 @@
|
|||
|
||||
print "<textarea onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
|
||||
rows=\"4\" name=\"sql_exp\" class=\"iedit\">$sql_exp</textarea>";
|
||||
|
||||
print "</td></tr>";
|
||||
print "<tr><td>";
|
||||
print "<a class='small' href=\"javascript:displayHelpInfobox(1)\">
|
||||
".__('Click here for help')."</a>";
|
||||
|
||||
print "</td></tr></table>";
|
||||
|
||||
print "</form>";
|
||||
|
@ -62,6 +56,10 @@
|
|||
|
||||
print "<div align='right'>";
|
||||
|
||||
print "<input type=\"submit\"
|
||||
class=\"button\" onclick=\"return displayHelpInfobox(1)\"
|
||||
value=\"".__('Help')."\"> ";
|
||||
|
||||
$is_disabled = (strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') !== FALSE) ? "disabled" : "";
|
||||
|
||||
print "<input $is_disabled type=\"submit\" onclick=\"return labelTest()\" value=\"Test\">
|
||||
|
|
2
prefs.js
2
prefs.js
|
@ -864,6 +864,8 @@ function displayHelpInfobox(topic_id) {
|
|||
|
||||
var w = window.open(url, "ttrss_help",
|
||||
"status=0,toolbar=0,location=0,width=450,height=500,scrollbars=1,menubar=0");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function labelEditCancel() {
|
||||
|
|
Loading…
Reference in a new issue