mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-11-29 10:01:21 +01:00
label editor: rework help link
This commit is contained in:
parent
747885fc7b
commit
6a5efb075c
@ -228,12 +228,6 @@
|
|||||||
|
|
||||||
print "<textarea onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
|
print "<textarea onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
|
||||||
rows=\"4\" name=\"sql_exp\" class=\"iedit\"></textarea>";
|
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 "</td></tr></table>";
|
||||||
|
|
||||||
print "</form>";
|
print "</form>";
|
||||||
@ -242,6 +236,10 @@
|
|||||||
|
|
||||||
print "<div align='right'>";
|
print "<div align='right'>";
|
||||||
|
|
||||||
|
print "<input type=\"submit\"
|
||||||
|
class=\"button\" onclick=\"return displayHelpInfobox(1)\"
|
||||||
|
value=\"".__('Help')."\"> ";
|
||||||
|
|
||||||
print "<input type=\"submit\" onclick=\"labelTest()\" value=\"".__('Test')."\">
|
print "<input type=\"submit\" onclick=\"labelTest()\" value=\"".__('Test')."\">
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|||||||
@ -48,12 +48,6 @@
|
|||||||
|
|
||||||
print "<textarea onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
|
print "<textarea onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
|
||||||
rows=\"4\" name=\"sql_exp\" class=\"iedit\">$sql_exp</textarea>";
|
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 "</td></tr></table>";
|
||||||
|
|
||||||
print "</form>";
|
print "</form>";
|
||||||
@ -62,6 +56,10 @@
|
|||||||
|
|
||||||
print "<div align='right'>";
|
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" : "";
|
$is_disabled = (strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') !== FALSE) ? "disabled" : "";
|
||||||
|
|
||||||
print "<input $is_disabled type=\"submit\" onclick=\"return labelTest()\" value=\"Test\">
|
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",
|
var w = window.open(url, "ttrss_help",
|
||||||
"status=0,toolbar=0,location=0,width=450,height=500,scrollbars=1,menubar=0");
|
"status=0,toolbar=0,location=0,width=450,height=500,scrollbars=1,menubar=0");
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function labelEditCancel() {
|
function labelEditCancel() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user