remove tabs
authorDuck (Jakob Munih) <duck@obala.net>
Wed, 25 Feb 2009 11:18:14 +0000 (12:18 +0100)
committerDuck (Jakob Munih) <duck@obala.net>
Wed, 25 Feb 2009 11:18:14 +0000 (12:18 +0100)
folks/templates/edit/footer.php [new file with mode: 0644]
folks/templates/edit/header.php [new file with mode: 0644]

diff --git a/folks/templates/edit/footer.php b/folks/templates/edit/footer.php
new file mode 100644 (file)
index 0000000..449d4a9
--- /dev/null
@@ -0,0 +1,3 @@
+<td>
+</tr>
+</table>
\ No newline at end of file
diff --git a/folks/templates/edit/header.php b/folks/templates/edit/header.php
new file mode 100644 (file)
index 0000000..5600d16
--- /dev/null
@@ -0,0 +1,51 @@
+<h1 class="header"><?php echo _("Friends") ?></h1>
+<table style="width: 100%">
+<tr valign="top">
+<td style="width: 120px">
+
+<table class="striped"  style="width: 100%">
+<?php
+
+// Users online
+$online = $folks_driver->getOnlineUsers();
+if ($online instanceof PEAR_Error) {
+    return $online;
+}
+
+// Get groups
+$groups = $friends->getGroups();
+if ($groups instanceof PEAR_Error) {
+    $notification->push($groups);
+    $groups = array();
+}
+
+echo '<tr><td><a href="' . Horde::applicationUrl('edit/friends/add.php') . '">' . _("Add") . '</a>';
+echo '<tr><td><a href="' . Horde::applicationUrl('edit/friends/invite.php') . '">' . _("Invite") . '</a>';
+echo '<tr><td><a href="' . Horde::applicationUrl('edit/friends/index.php') . '">' . _("All") . '</a>';
+
+foreach ($groups as $group_id => $group_name) {
+    echo '<tr><td><a href="' . Util::addParameter(Horde::applicationUrl('edit/friends/friends.php'), $group_id) . '">' . $group_name . '</a>';
+}
+
+echo '<tr><td><a href="' . Horde::applicationUrl('edit/friends/know.php') . '">' . _("Might know") . '</a>';
+echo '<tr><td><a href="' . Horde::applicationUrl('edit/friends/for.php') . '">' . _("Wainting for") . '</a>';
+echo '<tr><td><a href="' . Horde::applicationUrl('edit/friends/from.php') . '">' . _("Wainting from") . '</a>';
+echo '<tr><td><a href="' . Horde::applicationUrl('edit/friends/of.php') . '">' . _("I am friend of") . '</a>';
+echo '<tr><td><a href="' . Horde::applicationUrl('edit/friends/blacklist.php') . '">' . _("Blacklist") . '</a>';
+
+?>
+</table>
+
+<br />
+<br />
+
+<h1 class="header"><?php echo Horde::img('feed.png', '', '', $registry->getImageDir('horde')) . ' ' . _("Feeds") ?></h1>
+<table class="striped">
+<tr><td><a href="<?php echo Folks::getUrlFor('feed', 'online') ?>"><?php echo _("Online users") ?></a></td></tr>
+<tr><td><a href="<?php echo Folks::getUrlFor('feed', 'friends') ?>"><?php echo _("Online friends") ?></a></td></tr>
+<tr><td><a href="<?php echo Folks::getUrlFor('feed', 'activity') ?>"><?php echo _("Friends activity") ?></a></td></tr>
+<tr><td><a href="<?php echo Folks::getUrlFor('feed', 'know') ?>"><?php echo _("People you might know") ?></a></td></tr>
+</table>
+
+</td>
+<td>
\ No newline at end of file