Renaming userlist.inc to list.inc
authorBen Klang <ben@alkaloid.net>
Sun, 16 Jul 2006 02:18:55 +0000 (02:18 +0000)
committerBen Klang <ben@alkaloid.net>
Sun, 16 Jul 2006 02:18:55 +0000 (02:18 +0000)
git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@371 06cd67b6-e706-0410-b29e-9de616bca6e9

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

diff --git a/templates/usermgr/list.inc b/templates/usermgr/list.inc
new file mode 100644 (file)
index 0000000..4bd6dfe
--- /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 = Util::addParameter($url,
+                    array(
+                        'context' => $context,
+                        'extension' => $extension,
+                        'section' => $section,
+                    )
+                );
+                $editurl = Util::addParameter($url, "action=edit");
+                $deleteurl = 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/userlist.inc b/templates/usermgr/userlist.inc
deleted file mode 100644 (file)
index 4bd6dfe..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 = Util::addParameter($url,
-                    array(
-                        'context' => $context,
-                        'extension' => $extension,
-                        'section' => $section,
-                    )
-                );
-                $editurl = Util::addParameter($url, "action=edit");
-                $deleteurl = 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>