Rename to match UI
authorBen Klang <ben@alkaloid.net>
Sun, 20 Dec 2009 22:09:59 +0000 (22:09 +0000)
committerBen Klang <ben@alkaloid.net>
Sun, 20 Dec 2009 22:09:59 +0000 (22:09 +0000)
git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@494 06cd67b6-e706-0410-b29e-9de616bca6e9

templates/extensions/list.inc [new file with mode: 0644]
templates/usermgr/list.inc [deleted file]

diff --git a/templates/extensions/list.inc b/templates/extensions/list.inc
new file mode 100644 (file)
index 0000000..dc0d89d
--- /dev/null
@@ -0,0 +1,43 @@
+<div class="header">
+    Context: <?php echo $context; ?>
+</div>
+
+<div id="userList" class="userList">
+    <table width="100%" cellspacing="0">
+        <tr>
+            <td class="uheader">Extension</td>
+            <td class="uheader">Name</td>
+            <td class="uheader">E-Mail Address</td>
+        </tr>
+        <?php
+            $line = 0;
+            foreach ($users as $extension => $user) {
+                $rowcolor = $line % 2;
+                $line++;
+                $url = Horde::applicationUrl("index.php");
+                $url = Horde_Util::addParameter($url,
+                    array(
+                        'context' => $context,
+                        'extension' => $extension,
+                        'section' => $section,
+                    )
+                );
+                $editurl = Horde_Util::addParameter($url, "action=edit");
+                $deleteurl = Horde_Util::addParameter($url, "action=delete");
+        ?>
+        <tr class="item<?php echo $rowcolor; ?>">
+            <td style="width: 20%">
+                <?php echo Horde::link($editurl); echo $extension; ?></a>
+            </td>
+            <td style="width: 35%;">
+                <?php echo Horde::link($editurl); echo $user['name']; ?></a>
+            </td>
+            <td style="width: 45%">
+                <?php echo $user['email']; ?>
+            </td>
+        </tr>
+        <?php
+            }
+        ?>
+    </table>
+</div>
diff --git a/templates/usermgr/list.inc b/templates/usermgr/list.inc
deleted file mode 100644 (file)
index dc0d89d..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<div class="header">
-    Context: <?php echo $context; ?>
-</div>
-
-<div id="userList" class="userList">
-    <table width="100%" cellspacing="0">
-        <tr>
-            <td class="uheader">Extension</td>
-            <td class="uheader">Name</td>
-            <td class="uheader">E-Mail Address</td>
-        </tr>
-        <?php
-            $line = 0;
-            foreach ($users as $extension => $user) {
-                $rowcolor = $line % 2;
-                $line++;
-                $url = Horde::applicationUrl("index.php");
-                $url = Horde_Util::addParameter($url,
-                    array(
-                        'context' => $context,
-                        'extension' => $extension,
-                        'section' => $section,
-                    )
-                );
-                $editurl = Horde_Util::addParameter($url, "action=edit");
-                $deleteurl = Horde_Util::addParameter($url, "action=delete");
-        ?>
-        <tr class="item<?php echo $rowcolor; ?>">
-            <td style="width: 20%">
-                <?php echo Horde::link($editurl); echo $extension; ?></a>
-            </td>
-            <td style="width: 35%;">
-                <?php echo Horde::link($editurl); echo $user['name']; ?></a>
-            </td>
-            <td style="width: 45%">
-                <?php echo $user['email']; ?>
-            </td>
-        </tr>
-        <?php
-            }
-        ?>
-    </table>
-</div>