'recent_comments_block.php' , 'name' => constant('_MI_XPRESS_BLOCK_COMMENTS') , 'description' => '' , 'show_func' => "b_". $mydirname . "_comments_show" , 'edit_func' => "b_". $mydirname . "_comments_edit" , 'template' => '' , 'options' => $mydirname. '|10|30|0|' , 'can_clone' => true , 'func_num' => 1, ); $modversion['blocks'][2] = array( 'file' => 'recent_posts_content_block.php' , 'name' => constant('_MI_XPRESS_BLOCK_CONTENT') , 'description' => '' , 'show_func' => "b_". $mydirname . "_content_show" , 'edit_func' => "b_". $mydirname . "_content_edit" , 'template' => '' , 'options' => $mydirname. '|10|0|100||0' , 'can_clone' => true , 'func_num' => 2, ); // Notification $modversion['hasNotification'] = 1; $modversion['notification'] = array( 'lookup_file' => 'include/notification.inc.php' , 'lookup_func' => "xpress_notify" , 'category' => array( array( 'name' => 'global' , 'title' => constant('_MI_XPRESS_NOTCAT_GLOBAL') , 'description' => constant('_MI_XPRESS_NOTCAT_GLOBALDSC') , 'subscribe_from' => 'index.php' , ) , array( 'name' => 'category' , 'title' => constant('_MI_XPRESS_NOTCAT_CAT') , 'description' => constant('_MI_XPRESS_NOTCAT_CATDSC') , 'subscribe_from' => 'index.php' , 'item_name' => 'cat' , 'allow_bookmark' => 1 , ) , array( 'name' => 'author' , 'title' => constant('_MI_XPRESS_NOTCAT_AUTHOR') , 'description' => constant('_MI_XPRESS_NOTCAT_AUTHORDSC') , 'subscribe_from' => 'index.php' , 'item_name' => 'author' , 'allow_bookmark' => 1 , ) , array( 'name' => 'post' , 'title' => constant('_MI_XPRESS_NOTCAT_POST') , 'description' => constant('_MI_XPRESS_NOTCAT_POSTDSC') , 'subscribe_from' => 'index.php' , 'item_name' => 'p' , 'allow_bookmark' => 1 , ) , ) , 'event' => array( array( 'name' => 'waiting' , 'category' => 'global' , 'title' => constant('_MI_XPRESS_NOTIFY_GLOBAL_WAITING') , 'caption' => constant('_MI_XPRESS_NOTIFY_GLOBAL_WAITINGCAP') , 'description' => constant('_MI_XPRESS_NOTIFY_GLOBAL_WAITINGCAP') , 'mail_template' => 'global_waiting' , 'mail_subject' => constant('_MI_XPRESS_NOTIFY_GLOBAL_WAITINGSBJ') , 'admin_only' => 1 , ) , array( 'name' => 'newpost' , 'category' => 'global' , 'title' => constant('_MI_XPRESS_NOTIFY_GLOBAL_NEWPOST') , 'caption' => constant('_MI_XPRESS_NOTIFY_GLOBAL_NEWPOSTCAP') , 'description' => constant('_MI_XPRESS_NOTIFY_GLOBAL_NEWPOSTCAP') , 'mail_template' => 'global_newpost' , 'mail_subject' => constant('_MI_XPRESS_NOTIFY_GLOBAL_NEWPOSTSBJ') , ) , array( 'name' => 'comment' , 'category' => 'global' , 'title' => constant('_MI_XPRESS_NOTIFY_GLOBAL_NEWCOMMENT') , 'caption' => constant('_MI_XPRESS_NOTIFY_GLOBAL_NEWCOMMENTCAP') , 'description' => constant('_MI_XPRESS_NOTIFY_GLOBAL_NEWCOMMENTCAP') , 'mail_template' => 'global_newcomment' , 'mail_subject' => constant('_MI_XPRESS_NOTIFY_GLOBAL_NEWCOMMENTSBJ') , ) , array( 'name' => 'newpost' , 'category' => 'category' , 'title' => constant('_MI_XPRESS_NOTIFY_CAT_NEWPOST') , 'caption' => constant('_MI_XPRESS_NOTIFY_CAT_NEWPOSTCAP') , 'description' => constant('_MI_XPRESS_NOTIFY_CAT_NEWPOSTCAP') , 'mail_template' => 'category_newpost' , 'mail_subject' => constant('_MI_XPRESS_NOTIFY_CAT_NEWPOSTSBJ') , ) , array( 'name' => 'comment' , 'category' => 'category' , 'title' => constant('_MI_XPRESS_NOTIFY_CAT_NEWCOMMENT') , 'caption' => constant('_MI_XPRESS_NOTIFY_CAT_NEWCOMMENTCAP') , 'description' => constant('_MI_XPRESS_NOTIFY_CAT_NEWCOMMENTCAP') , 'mail_template' => 'category_newcomment' , 'mail_subject' => constant('_MI_XPRESS_NOTIFY_CAT_NEWCOMMENTSBJ') , ) , array( 'name' => 'newpost' , 'category' => 'author' , 'title' => constant('_MI_XPRESS_NOTIFY_AUT_NEWPOST') , 'caption' => constant('_MI_XPRESS_NOTIFY_AUT_NEWPOSTCAP') , 'description' => constant('_MI_XPRESS_NOTIFY_AUT_NEWPOSTCAP') , 'mail_template' => 'author_newpost' , 'mail_subject' => constant('_MI_XPRESS_NOTIFY_AUT_NEWPOSTSBJ') , ) , array( 'name' => 'comment' , 'category' => 'author' , 'title' => constant('_MI_XPRESS_NOTIFY_AUT_NEWCOMMENT') , 'caption' => constant('_MI_XPRESS_NOTIFY_AUT_NEWCOMMENTCAP') , 'description' => constant('_MI_XPRESS_NOTIFY_AUT_NEWCOMMENTCAP') , 'mail_template' => 'author_newcomment' , 'mail_subject' => constant('_MI_XPRESS_NOTIFY_AUT_NEWCOMMENTSBJ') , ) , array( 'name' => 'comment' , 'category' => 'post' , 'title' => constant('_MI_XPRESS_NOTIFY_POST_NEWCOMMENT') , 'caption' => constant('_MI_XPRESS_NOTIFY_POST_NEWCOMMENTCAP') , 'description' => constant('_MI_XPRESS_NOTIFY_POST_NEWCOMMENTCAP') , 'mail_template' => 'post_newcomment' , 'mail_subject' => constant('_MI_XPRESS_NOTIFY_POST_NEWCOMMENTSBJ') , ) , ) , ) ; ?>