summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php23
1 files changed, 13 insertions, 10 deletions
diff --git a/prefs.php b/prefs.php
index ccab0ed36..3a5e792e4 100644
--- a/prefs.php
+++ b/prefs.php
@@ -39,10 +39,10 @@
<?php if ($_SESSION["uid"]) {
$theme = get_pref("USER_CSS_THEME", false, false);
- if ($theme && theme_valid("$theme")) {
- echo stylesheet_tag(get_theme_path($theme));
+ if ($theme && theme_exists("$theme")) {
+ echo stylesheet_tag(get_theme_path($theme), 'theme_css');
} else {
- echo stylesheet_tag("css/default.css");
+ echo stylesheet_tag("css/default.css", 'theme_css');
}
}
?>
@@ -107,7 +107,7 @@
<div id="overlay">
<div id="overlay_inner">
- <div class="insensitive"><?php echo __("Loading, please wait...") ?></div>
+ <?php echo __("Loading, please wait...") ?>
<div dojoType="dijit.ProgressBar" places="0" style="width : 300px" id="loading_bar"
progress="0" maximum="100">
</div>
@@ -124,23 +124,26 @@
<div dojoType="dijit.layout.TabContainer" region="center" id="pref-tabs">
<div id="genConfigTab" dojoType="dijit.layout.ContentPane"
href="backend.php?op=pref-prefs"
- title="<?php echo __('Preferences') ?>"></div>
+ title="<i class='material-icons'>settings</i> <?php echo __('Preferences') ?>"></div>
<div id="feedConfigTab" dojoType="dijit.layout.ContentPane"
href="backend.php?op=pref-feeds"
- title="<?php echo __('Feeds') ?>"></div>
+ title="<i class='material-icons'>rss_feed</i> <?php echo __('Feeds') ?>"></div>
<div id="filterConfigTab" dojoType="dijit.layout.ContentPane"
+ style="padding : 0px"
href="backend.php?op=pref-filters"
- title="<?php echo __('Filters') ?>"></div>
+ title="<i class='material-icons'>filter_list1</i> <?php echo __('Filters') ?>"></div>
<div id="labelConfigTab" dojoType="dijit.layout.ContentPane"
+ style="padding : 0px"
href="backend.php?op=pref-labels"
- title="<?php echo __('Labels') ?>"></div>
+ title="<i class='material-icons'>label_outline1</i> <?php echo __('Labels') ?>"></div>
<?php if ($_SESSION["access_level"] >= 10) { ?>
<div id="userConfigTab" dojoType="dijit.layout.ContentPane"
+ style="padding : 0px"
href="backend.php?op=pref-users"
- title="<?php echo __('Users') ?>"></div>
+ title="<i class='material-icons'>person</i> <?php echo __('Users') ?>"></div>
<div id="systemConfigTab" dojoType="dijit.layout.ContentPane"
href="backend.php?op=pref-system"
- title="<?php echo __('System') ?>"></div>
+ title="<i class='material-icons'>info_outline</i> <?php echo __('System') ?>"></div>
<?php } ?>
<?php
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TABS,