projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Converts Banana to the new forlife/hruid scheme.
[platal.git]
/
include
/
banana
/
hooks.inc.php
diff --git
a/include/banana/hooks.inc.php
b/include/banana/hooks.inc.php
index
f0a2362
..
e475b27
100644
(file)
--- a/
include/banana/hooks.inc.php
+++ b/
include/banana/hooks.inc.php
@@
-76,7
+76,7
@@
function hook_platalRSS($group)
} else {
$group = '';
}
} else {
$group = '';
}
- return '/rss/' . $group . S::v('
forlife
') . '/' . S::v('core_rss_hash') . '/rss.xml';
+ return '/rss/' . $group . S::v('
hruid
') . '/' . S::v('core_rss_hash') . '/rss.xml';
}
function hook_platalMessageLink($params)
}
function hook_platalMessageLink($params)
@@
-323,7
+323,7
@@
class BananaHandler
function run_banana(&$page, $class, array $args)
{
function run_banana(&$page, $class, array $args)
{
- $banana = new $class(S::
v('forlife'
), $args);
+ $banana = new $class(S::
user(
), $args);
$page->assign('banana', $banana->run());
$page->addCssInline($banana->css());
$page->addCssLink('banana.css');
$page->assign('banana', $banana->run());
$page->addCssInline($banana->css());
$page->addCssLink('banana.css');