summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-02 10:33:58 +0300
committerAndrew Dolgov <[email protected]>2018-12-02 10:33:58 +0300
commit874560db547f718b82d77657dc019d840c30e0ed (patch)
tree6ca8764aa601c94303a402d370297c5a25b4897e /classes/pref
parent2f85b50e3607b2b159989c493ac8f8c46a389559 (diff)
remove obsolete row selection functions
move getUrlParam() to Utils
Diffstat (limited to 'classes/pref')
-rwxr-xr-xclasses/pref/feeds.php4
-rwxr-xr-xclasses/pref/filters.php4
-rw-r--r--classes/pref/prefs.php6
-rw-r--r--classes/pref/users.php2
4 files changed, 8 insertions, 8 deletions
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php
index f47d24501..efc76701e 100755
--- a/classes/pref/feeds.php
+++ b/classes/pref/feeds.php
@@ -1435,7 +1435,7 @@ class Pref_Feeds extends Handler_Protected {
# id needed for selectTableRows()
print "<td width='5%' align='center'><input
- onclick='toggleSelectRow2(this);' dojoType=\"dijit.form.CheckBox\"
+ onclick='Tables.onRowChecked(this);' dojoType=\"dijit.form.CheckBox\"
type=\"checkbox\" id=\"FUPDC-$feed_id\"></td>";
print "<td>";
@@ -1500,7 +1500,7 @@ class Pref_Feeds extends Handler_Protected {
# id needed for selectTableRows()
print "<td width='5%' align='center'><input
- onclick='toggleSelectRow2(this);' dojoType=\"dijit.form.CheckBox\"
+ onclick='Tables.onRowChecked(this);' dojoType=\"dijit.form.CheckBox\"
type=\"checkbox\" id=\"FERDC-$feed_id\"></td>";
print "<td>";
diff --git a/classes/pref/filters.php b/classes/pref/filters.php
index e48615395..f9b4bfb2a 100755
--- a/classes/pref/filters.php
+++ b/classes/pref/filters.php
@@ -429,7 +429,7 @@ class Pref_Filters extends Handler_Protected {
$data = htmlspecialchars(json_encode($line));
- print "<li><input dojoType='dijit.form.CheckBox' type='checkbox' onclick='ListUtils.onChecked(this)'>".
+ print "<li><input dojoType='dijit.form.CheckBox' type='checkbox' onclick='Lists.onRowChecked(this)'>".
"<span onclick=\"dijit.byId('filterEditDlg').editRule(this)\">".$this->getRuleName($line)."</span>".
"<input type='hidden' name='rule[]' value=\"$data\"/></li>";
}
@@ -473,7 +473,7 @@ class Pref_Filters extends Handler_Protected {
$data = htmlspecialchars(json_encode($line));
- print "<li><input dojoType='dijit.form.CheckBox' type='checkbox' onclick='ListUtils.onChecked(this)'>".
+ print "<li><input dojoType='dijit.form.CheckBox' type='checkbox' onclick='Lists.onRowChecked(this)'>".
"<span onclick=\"dijit.byId('filterEditDlg').editAction(this)\">".$this->getActionName($line)."</span>".
"<input type='hidden' name='action[]' value=\"$data\"/></li>";
}
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index 82456f342..017f2e06c 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -799,7 +799,7 @@ class Pref_Prefs extends Handler_Protected {
$plugin_icon = $checked ? "plugin.png" : "plugin_disabled.png";
- print "<td align='center'><input id='FPCHK-$name' name='plugins[]' value='$name' onclick='toggleSelectRow2(this);'
+ print "<td align='center'><input id='FPCHK-$name' name='plugins[]' value='$name' onclick='Tables.onRowChecked(this);'
dojoType=\"dijit.form.CheckBox\" $checked $disabled
type=\"checkbox\"></td>";
@@ -1023,7 +1023,7 @@ class Pref_Prefs extends Handler_Protected {
print "<td width='5%' align='center'><input
id='FCATC-0'
- onclick='toggleSelectRow2(this);'
+ onclick='Tables.onRowChecked(this);'
dojoType=\"dijit.form.CheckBox\"
type=\"checkbox\"></td>";
@@ -1050,7 +1050,7 @@ class Pref_Prefs extends Handler_Protected {
$edit_title = htmlspecialchars($line["title"]);
print "<td width='5%' align='center'><input
- onclick='toggleSelectRow2(this);'
+ onclick='Tables.onRowChecked(this);'
id='FCATC-$profile_id'
dojoType=\"dijit.form.CheckBox\"
type=\"checkbox\"></td>";
diff --git a/classes/pref/users.php b/classes/pref/users.php
index 1e6eae227..eda3e1a0e 100644
--- a/classes/pref/users.php
+++ b/classes/pref/users.php
@@ -419,7 +419,7 @@ class Pref_Users extends Handler_Protected {
$line["created"] = make_local_datetime($line["created"], false);
$line["last_login"] = make_local_datetime($line["last_login"], false);
- print "<td align='center'><input onclick='toggleSelectRow2(this);'
+ print "<td align='center'><input onclick='Tables.onRowChecked(this);'
dojoType=\"dijit.form.CheckBox\" type=\"checkbox\"
id=\"UMCHK-$uid\"></td>";