mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:25:55 +00:00
updates for flat theme (mostly disable old dijit overrides)
This commit is contained in:
@@ -747,7 +747,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
<input type=\"hidden\" name=\"method\" value=\"uploadicon\">
|
||||
<button class=\"\" dojoType=\"dijit.form.Button\" onclick=\"return CommonDialogs.uploadFeedIcon();\"
|
||||
type=\"submit\">".__('Replace')."</button>
|
||||
<button class=\"btn-danger\" dojoType=\"dijit.form.Button\" onclick=\"return CommonDialogs.removeFeedIcon($feed_id);\"
|
||||
<button class=\"alt-danger\" dojoType=\"dijit.form.Button\" onclick=\"return CommonDialogs.removeFeedIcon($feed_id);\"
|
||||
type=\"submit\">".__('Remove')."</button>
|
||||
</form>";
|
||||
|
||||
@@ -765,7 +765,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
|
||||
print "<div class='dlgButtons'>
|
||||
<div style=\"float : left\">
|
||||
<button class=\"btn-danger\" dojoType=\"dijit.form.Button\" onclick='return CommonDialogs.unsubscribeFeed($feed_id, \"$title\")'>".
|
||||
<button class=\"alt-danger\" dojoType=\"dijit.form.Button\" onclick='return CommonDialogs.unsubscribeFeed($feed_id, \"$title\")'>".
|
||||
__('Unsubscribe')."</button>";
|
||||
|
||||
print "</div>";
|
||||
@@ -1335,7 +1335,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return App.displayDlg('".__("Show as feed")."','generatedFeed', '$rss_url')\">".
|
||||
__('Display URL')."</button> ";
|
||||
|
||||
print "<button class=\"btn-danger\" dojoType=\"dijit.form.Button\" onclick=\"return Helpers.clearFeedAccessKeys()\">".
|
||||
print "<button class=\"alt-danger\" dojoType=\"dijit.form.Button\" onclick=\"return Helpers.clearFeedAccessKeys()\">".
|
||||
__('Clear all generated URLs')."</button> ";
|
||||
|
||||
print "</p>";
|
||||
@@ -1463,7 +1463,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
|
||||
print "<div class='dlgButtons'>";
|
||||
print "<div style='float : left'>";
|
||||
print "<button class=\"btn-danger\" dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('inactiveFeedsDlg').removeSelected()\">"
|
||||
print "<button class=\"alt-danger\" dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('inactiveFeedsDlg').removeSelected()\">"
|
||||
.__('Unsubscribe from selected feeds')."</button> ";
|
||||
print "</div>";
|
||||
|
||||
@@ -1527,7 +1527,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
|
||||
print "<div class='dlgButtons'>";
|
||||
print "<div style='float : left'>";
|
||||
print "<button class=\"btn-danger\" dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('errorFeedsDlg').removeSelected()\">"
|
||||
print "<button class=\"alt-danger\" dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('errorFeedsDlg').removeSelected()\">"
|
||||
.__('Unsubscribe from selected feeds')."</button> ";
|
||||
print "</div>";
|
||||
|
||||
|
||||
@@ -514,14 +514,14 @@ class Pref_Filters extends Handler_Protected {
|
||||
print "<div class=\"dlgButtons\">";
|
||||
|
||||
print "<div style=\"float : left\">";
|
||||
print "<button dojoType=\"dijit.form.Button\" class=\"btn-danger\" onclick=\"return dijit.byId('filterEditDlg').removeFilter()\">".
|
||||
print "<button dojoType=\"dijit.form.Button\" class=\"alt-danger\" onclick=\"return dijit.byId('filterEditDlg').removeFilter()\">".
|
||||
__('Remove')."</button>";
|
||||
print "</div>";
|
||||
|
||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return dijit.byId('filterEditDlg').test()\">".
|
||||
__('Test')."</button> ";
|
||||
|
||||
print "<button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"btn-primary\" onclick=\"return dijit.byId('filterEditDlg').execute()\">".
|
||||
print "<button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"alt-primary\" onclick=\"return dijit.byId('filterEditDlg').execute()\">".
|
||||
__('Save')."</button> ";
|
||||
|
||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return dijit.byId('filterEditDlg').hide()\">".
|
||||
@@ -1015,7 +1015,7 @@ class Pref_Filters extends Handler_Protected {
|
||||
</div>";
|
||||
|
||||
|
||||
print "<button dojoType=\"dijit.form.Button\" class=\"btn-primary \" type=\"submit\" onclick=\"return dijit.byId('filterNewRuleDlg').execute()\">".
|
||||
print "<button dojoType=\"dijit.form.Button\" class=\"alt-primary \" type=\"submit\" onclick=\"return dijit.byId('filterNewRuleDlg').execute()\">".
|
||||
($rule ? __("Save rule") : __('Add rule'))."</button> ";
|
||||
|
||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return dijit.byId('filterNewRuleDlg').hide()\">".
|
||||
@@ -1108,7 +1108,7 @@ class Pref_Filters extends Handler_Protected {
|
||||
|
||||
print "<div class=\"dlgButtons\">";
|
||||
|
||||
print "<button dojoType=\"dijit.form.Button\" class=\"btn-primary\" type=\"submit\" onclick=\"return dijit.byId('filterNewActionDlg').execute()\">".
|
||||
print "<button dojoType=\"dijit.form.Button\" class=\"alt-primary\" type=\"submit\" onclick=\"return dijit.byId('filterNewActionDlg').execute()\">".
|
||||
($action ? __("Save action") : __('Add action'))."</button> ";
|
||||
|
||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return dijit.byId('filterNewActionDlg').hide()\">".
|
||||
|
||||
@@ -78,7 +78,7 @@ class Pref_Labels extends Handler_Protected {
|
||||
# print "</form>";
|
||||
|
||||
print "<div class=\"dlgButtons\">";
|
||||
print "<button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"btn-primary\" onclick=\"dijit.byId('labelEditDlg').execute()\">".
|
||||
print "<button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"alt-primary\" onclick=\"dijit.byId('labelEditDlg').execute()\">".
|
||||
__('Save')."</button>";
|
||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('labelEditDlg').hide()\">".
|
||||
__('Cancel')."</button>";
|
||||
|
||||
@@ -227,7 +227,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
print_hidden("op", "pref-prefs");
|
||||
print_hidden("method", "changeemail");
|
||||
|
||||
print "<p><button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"btn-primary\">".
|
||||
print "<p><button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"alt-primary\">".
|
||||
__("Save data")."</button>";
|
||||
|
||||
print "</form>";
|
||||
@@ -298,7 +298,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
print_hidden("op", "pref-prefs");
|
||||
print_hidden("method", "changepassword");
|
||||
|
||||
print "<p><button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"btn-primary\">".
|
||||
print "<p><button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"alt-primary\">".
|
||||
__("Change password")."</button>";
|
||||
|
||||
print "</form>";
|
||||
@@ -403,7 +403,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
print "</td></tr>";
|
||||
print "</table>";
|
||||
|
||||
print "<p><button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"btn-primary\">".
|
||||
print "<p><button dojoType=\"dijit.form.Button\" type=\"submit\" class=\"alt-primary\">".
|
||||
__("Enable OTP")."</button>";
|
||||
|
||||
print "</form>";
|
||||
@@ -653,7 +653,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
print_hidden("op", "pref-prefs");
|
||||
print_hidden("method", "saveconfig");
|
||||
|
||||
print "<div dojoType=\"dijit.form.ComboButton\" type=\"submit\" class=\"btn-primary\">
|
||||
print "<div dojoType=\"dijit.form.ComboButton\" type=\"submit\" class=\"alt-primary\">
|
||||
<span>".__('Save configuration')."</span>
|
||||
<div dojoType=\"dijit.DropDownMenu\">
|
||||
<div dojoType=\"dijit.MenuItem\"
|
||||
@@ -665,7 +665,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return Helpers.editProfiles()\">".
|
||||
__('Manage profiles')."</button> ";
|
||||
|
||||
print "<button dojoType=\"dijit.form.Button\" class=\"btn-danger\" onclick=\"return Helpers.confirmReset()\">".
|
||||
print "<button dojoType=\"dijit.form.Button\" class=\"alt-danger\" onclick=\"return Helpers.confirmReset()\">".
|
||||
__('Reset to defaults')."</button>";
|
||||
|
||||
print " ";
|
||||
@@ -1096,7 +1096,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
|
||||
print "<div class='dlgButtons'>
|
||||
<div style='float : left'>
|
||||
<button class=\"btn-danger\" dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('profileEditDlg').removeSelected()\">".
|
||||
<button class=\"alt-danger\" dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('profileEditDlg').removeSelected()\">".
|
||||
__('Remove selected profiles')."</button>
|
||||
<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('profileEditDlg').activateProfile()\">".
|
||||
__('Activate profile')."</button>
|
||||
|
||||
@@ -40,7 +40,7 @@ class Pref_System extends Handler_Protected {
|
||||
onclick=\"Helpers.updateEventLog()\">".__('Refresh')."</button> ";
|
||||
|
||||
print " <button dojoType=\"dijit.form.Button\"
|
||||
class=\"btn-danger\" onclick=\"Helpers.clearEventLog()\">".__('Clear')."</button> ";
|
||||
class=\"alt-danger\" onclick=\"Helpers.clearEventLog()\">".__('Clear')."</button> ";
|
||||
|
||||
print "<p><table width=\"100%\" cellspacing=\"10\" class=\"prefErrorLog\">";
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ class Pref_Users extends Handler_Protected {
|
||||
print '</div>';
|
||||
|
||||
print "<div class=\"dlgButtons\">
|
||||
<button dojoType=\"dijit.form.Button\" class=\"btn-primary\" type=\"submit\" onclick=\"dijit.byId('userEditDlg').execute()\">".
|
||||
<button dojoType=\"dijit.form.Button\" class=\"alt-primary\" type=\"submit\" onclick=\"dijit.byId('userEditDlg').execute()\">".
|
||||
__('Save')."</button>
|
||||
<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('userEditDlg').hide()\">".
|
||||
__('Cancel')."</button></div>";
|
||||
|
||||
Reference in New Issue
Block a user