Add button to add new extension
authorBen Klang <ben@alkaloid.net>
Thu, 31 Dec 2009 21:52:28 +0000 (16:52 -0500)
committerBen Klang <ben@alkaloid.net>
Thu, 31 Dec 2009 21:57:44 +0000 (16:57 -0500)
shout/templates/extensions/list.inc

index 4b00d15..3ee1764 100644 (file)
@@ -1,8 +1,18 @@
 <div class="header">
+    <ul id="controls">
+        <?php
+        $addurl = Horde::applicationUrl('extensions.php');
+        $addurl = Horde_Util::addParameter($addurl, 'action', 'add');
+        ?>
+        <li><a href="<?php echo $addurl; ?>">
+            <?php echo Horde::img('add-extension.png'); ?>&nbsp;New Extension
+            </a>
+        </li>
+    </ul>
     Context: <?php echo $context; ?>
 </div>
 
-<div id="userList" class="userList">
+<div id="extensionList">
     <table width="100%" cellspacing="0">
         <tr>
             <td class="uheader">Extension</td>