]> git.wh0rd.org - tt-rss.git/blobdiff - index.php
dbupdater: use PDO
[tt-rss.git] / index.php
index 6b27d90425e72fb9c4c9ebd1f0dc950140d5a812..87a50e45dee6e740bcb9298e067d37d35ff09e1e 100644 (file)
--- a/index.php
+++ b/index.php
@@ -55,6 +55,7 @@
 <html>
 <head>
        <title>Tiny Tiny RSS</title>
+    <meta name="viewport" content="initial-scale=1,width=device-width" />
 
        <script type="text/javascript">
                var __ttrss_version = "<?php echo VERSION ?>"
@@ -68,7 +69,7 @@
                if ($theme && theme_valid("$theme")) {
                        echo stylesheet_tag(get_theme_path($theme));
                } else {
-                       echo stylesheet_tag("themes/default.css");
+                       echo stylesheet_tag("themes/default.php");
                }
        }
        ?>
@@ -91,6 +92,7 @@
        <script>
                dojoConfig = {
                        async: true,
+                       cacheBust: new Date(),
                        packages: [
                                { name: "fox", location: "../../js" },
                        ]
 <div id="toolbar" dojoType="dijit.layout.ContentPane" region="top">
        <div id="main-toolbar" dojoType="dijit.Toolbar">
 
+               <?php
+               foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_MAIN_TOOLBAR_BUTTON) as $p) {
+                       echo $p->hook_main_toolbar_button();
+               }
+               ?>
+
                <form id="headlines-toolbar" action="" onsubmit='return false'>
 
                </form>
 
                <form id="main_toolbar_form" action="" onsubmit='return false'>
 
-               <button dojoType="dijit.form.Button" id="collapse_feeds_btn"
-                       onclick="collapse_feedlist()"
-                       title="<?php echo __('Collapse feedlist') ?>" style="display : none">
-                       &lt;&lt;</button>
-
                <select name="view_mode" title="<?php echo __('Show articles') ?>"
                        onchange="viewModeChanged()"
                        dojoType="dijit.form.Select">
 
                        <button id="net-alert" dojoType="dijit.form.Button" style="display : none" disabled="true"
                                title="<?php echo __("Communication problem with server.") ?>">
-                       <img
-                               src="images/error.png" />
+                               <img src="images/error.png" />
                        </button>
 
                        <div dojoType="dijit.form.DropDownButton">
 
                <div id="floatingTitle" style="visibility : hidden"></div>
 
-               <div id="headlines-frame" dojoType="dijit.layout.ContentPane"
+               <div id="headlines-frame" dojoType="dijit.layout.ContentPane" tabindex="0"
                                onscroll="headlines_scroll_handler(this)" region="center">
                        <div id="headlinesInnerContainer">
                                <div class="whiteBox"><?php echo __('Loading, please wait...') ?></div>