]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-feeds: keep toolbar on top
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 10 Nov 2011 12:39:26 +0000 (16:39 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 10 Nov 2011 12:39:26 +0000 (16:39 +0400)
modules/pref-feeds.php

index 42f9d665d223e6d2486569cb4ab1ef917cb50255..8bc7c19fd52e5d6fbd1a59562164c6aaf6e86dad 100644 (file)
                print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">";
                print "<div id=\"pref-feeds-feeds\" dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Feeds')."\">";
 
+               /* print "<div dojoType=\"dijit.layout.BorderContainer\">";
+               print "<
+                       print "</div>"; */
+
                $result = db_query($link, "SELECT COUNT(id) AS num_errors
                        FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]);
 
                        $feed_search = $_SESSION["prefs_feed_search"];
                }
 
-               print "<div dojoType=\"dijit.Toolbar\">";
+               print '<div dojoType="dijit.layout.BorderContainer" gutters="false">';
+
+               print "<div region='top' dojoType=\"dijit.Toolbar\">"; #toolbar
 
                print "<div style='float : right; padding-right : 4px;'>
                        <input dojoType=\"dijit.form.TextBox\" id=\"feed_search\" size=\"20\" type=\"search\"
 
                print "</div>"; # toolbar
 
+               //print '</div>';
+               print '<div dojoType="dijit.layout.ContentPane" region="center">';
+
                print "<div id=\"feedlistLoading\">
                <img src='images/indicator_tiny.gif'>".
                 __("Loading, please wait...")."</div>";
                        ".__('<b>Hint:</b> you can drag feeds and categories around.')."
                        </div>";
 
+               print "TEST";
+
+               print '</div>';
+               print '</div>';
+
                print "</div>"; # feeds pane
 
                print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('OPML')."\">";