]> git.wh0rd.org - tt-rss.git/commitdiff
move HOOK_TOOLBAR_BUTTON elements inside actionChooser
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 2 Apr 2013 04:45:50 +0000 (08:45 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 2 Apr 2013 04:45:51 +0000 (08:45 +0400)
index.php

index ac2762f7f33393961ccdb6f400942040e30c84bf..3b905d1b1ecb1e8d4bcba480229ea7cd149a83d9 100644 (file)
--- a/index.php
+++ b/index.php
 
                </form>
 
-               <?php
-                       global $pluginhost;
-                       foreach ($pluginhost->get_hooks($pluginhost::HOOK_TOOLBAR_BUTTON) as $p) {
-                                echo $p->hook_toolbar_button();
-                       }
-               ?>
-
                <div class="actionChooser">
 
+                       <?php
+                               global $pluginhost;
+                               foreach ($pluginhost->get_hooks($pluginhost::HOOK_TOOLBAR_BUTTON) as $p) {
+                                        echo $p->hook_toolbar_button();
+                               }
+                       ?>
+
                        <button id="net-alert" dojoType="dijit.form.Button" style="display : none" disabled="true"
                                title="<?php echo __("Communication problem with server.") ?>">
                        <img