]> git.mxchange.org Git - friendica-addons.git/commitdiff
Uh, and add the app link instead of just registering it.
authorThomas Willingham <founder@kakste.com>
Sun, 4 Nov 2012 22:18:24 +0000 (22:18 +0000)
committerThomas Willingham <founder@kakste.com>
Sun, 4 Nov 2012 22:18:24 +0000 (22:18 +0000)
forumdirectory/forumdirectory.php

index bbf2bd8e4aaf96f0e88f97191068f764b4a38ba1..02981813c2c81bad2321321dc2ede2fc04343726 100644 (file)
@@ -3,7 +3,7 @@
 * Name: Forum Directory
 * Description: Add a directory of forums hosted on your server, with verbose descriptions.
 * Version: 1.0
-* Author: Thomas Willingham <https://kakste.com/profile/beardyunixer>
+* Author: Thomas Willingham
 */
 
 function forumdirectory_install() {
@@ -18,6 +18,10 @@ function forumdirectory_module() {
 return;
 }
 
+function forumdirectory_app_menu($a,&$b) {
+$b['app_menu'][] = '<div class="app-title"><a href="forumdirectory">' . t('Forum Directory') . '</a></div>';
+}
+
 function forumdirectory_init(&$a) {
        $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.$a->get_baseurl().'/addon/forumdirectory/forumdirectory.css" media="all" />';