summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbit_setup_inc.php5
-rw-r--r--templates/menu_feed.tpl2
2 files changed, 1 insertions, 6 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php
index 6e35f8b..babda6a 100755
--- a/bit_setup_inc.php
+++ b/bit_setup_inc.php
@@ -10,7 +10,6 @@ $gBitSystem->registerPackage( $registerHash );
if( $gBitSystem->isPackageActive( 'feed' ) ) {
-
if( $gBitUser->hasPermission( 'p_feed_view' )) {
$menuHash = array(
'package_name' => FEED_PKG_NAME,
@@ -19,10 +18,6 @@ if( $gBitSystem->isPackageActive( 'feed' ) ) {
);
$gBitSystem->registerAppMenu( $menuHash );
}
- $menuHash = array(
- 'package_name' => FEED_PKG_NAME,
- );
- $gBitSystem->registerAppMenu( $menuHash );
}
?>
diff --git a/templates/menu_feed.tpl b/templates/menu_feed.tpl
index a83c7eb..0e782f7 100644
--- a/templates/menu_feed.tpl
+++ b/templates/menu_feed.tpl
@@ -1,7 +1,7 @@
{strip}
<ul>
{if $gBitUser->hasPermission( 'p_feed_master' )}
- <li><a class="item" href="{$smarty.const.FEED_PKG_URL}index.php">{biticon ipath="pixelmixerbasic" iname="bubble_16" iexplain="`$smarty.const.FEED_PKG_NAME` Activity" ilocation=menu}</a></li>
+ <li><a class="item" href="{$smarty.const.FEED_PKG_URL}index.php">{biticon ipackage="feed" ipath="pixelmixerbasic" iname="bubble_16" iexplain="`$smarty.const.FEED_PKG_NAME` Activity" ilocation=menu}{tr}Recent Activity{/tr}</a></li>
{/if}
</ul>
{/strip}