Index: trunk/xoops_version.php
===================================================================
--- trunk/xoops_version.php	(revision 54)
+++ trunk/xoops_version.php	(revision 61)
@@ -75,7 +75,7 @@
 $modversion['search']['func'] = $mydirname.'_global_search' ;
 //Admin things
-$modversion['hasAdmin'] = 0;
-//$modversion['adminindex'] = "admin/index.php";
-//$modversion['adminmenu'] = "admin/menu.php";
+$modversion['hasAdmin'] = 1;
+$modversion['adminindex'] = "admin/index.php";
+$modversion['adminmenu'] = "admin/menu.php";
 
 $modversion['hasMain'] = 1;
@@ -88,5 +88,5 @@
 
 // Use smarty
-//$modversion["use_smarty"] = 1;
+$modversion["use_smarty"] = 1;
 
 /**
@@ -96,5 +96,5 @@
 $modversion['templates'] = array() ;
 
-$modversion['hasconfig'] = 0;
+$modversion['hasconfig'] = 1;
 
 //BLOCKS
@@ -121,3 +121,122 @@
 	'func_num'		=> 2,
 );
+
+// Notification
+$modversion['hasNotification'] = 1;
+$modversion['notification'] = array(
+	'lookup_file' => 'include/notification.inc.php' ,
+	'lookup_func' => "{$mydirname}_notify_info" ,
+	'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') ,
+		) ,
+	) ,
+) ;
+
+
 ?>
