1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
/**
* @package blogs
*/
global $gBitSystem, $smarty, $bit_p_blog_admin;
$gBitSystem->registerPackage( 'blogs', dirname( __FILE__).'/' );
if( $gBitSystem->isPackageActive( 'blogs' ) ) {
$gBitSystem->registerAppMenu( 'blogs', 'Blogs', BLOGS_PKG_URL.'index.php', 'bitpackage:blogs/menu_blogs.tpl', 'blogs');
$gBitSystem->registerNotifyEvent( array( "blog_post" => tra("An entry is posted to a blog") ) );
$smarty->assign('home_blog', 0);
$smarty->assign('blog_spellcheck', 'n');
$smarty->assign('blog_list_order', 'created_desc');
$smarty->assign('blog_list_title', 'y');
$smarty->assign('blog_list_description', 'y');
$smarty->assign('blog_list_created', 'y');
$smarty->assign('blog_list_lastmodif', 'y');
$smarty->assign('blog_list_user', 'y');
$smarty->assign('blog_list_posts', 'y');
$smarty->assign('blog_list_visits', 'y');
$smarty->assign('blog_list_activity', 'y');
$smarty->assign('blog_list_user', 'text');
}
?>
|