forked from friendica/friendica-addons
Uh, and add the app link instead of just registering it.
This commit is contained in:
parent
25ec225c44
commit
d4172d9492
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
* Name: Forum Directory
|
* Name: Forum Directory
|
||||||
* Description: Add a directory of forums hosted on your server, with verbose descriptions.
|
* Description: Add a directory of forums hosted on your server, with verbose descriptions.
|
||||||
* Version: 1.0
|
* Version: 1.0
|
||||||
* Author: Thomas Willingham <https://kakste.com/profile/beardyunixer>
|
* Author: Thomas Willingham
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function forumdirectory_install() {
|
function forumdirectory_install() {
|
||||||
|
@ -18,6 +18,10 @@ function forumdirectory_module() {
|
||||||
return;
|
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) {
|
function forumdirectory_init(&$a) {
|
||||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.$a->get_baseurl().'/addon/forumdirectory/forumdirectory.css" media="all" />';
|
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.$a->get_baseurl().'/addon/forumdirectory/forumdirectory.css" media="all" />';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue