<?php
// $Id: xoops_version.php,v 1.5 2005/10/22 08:23:32 ohwada Exp $

// 2005-10-01 K.OHWADA
// add sqlfile tables

// 2005-06-20 K.OHWADA
// add template whatsnew_pda.html
// use version.php

// 2005-06-06 K.OHWADA
// add block b_whatsnew_show_2
// add template whatsnew_rdf.html

//=========================================================
// What's New Module
// 2004/08/20 K.OHWADA
//=========================================================

include_once XOOPS_ROOT_PATH."/modules/whatsnew/include/whatsnew_version.php";

$modversion['name']    = _MI_WHATSNEW_NAME;
$modversion['version'] = _WHATSNEW_VERSION;
$modversion['description'] = _MI_WHATSNEW_DESC;
$modversion['credits']  = "";
$modversion['author']   = "K.OHWADA";
$modversion['help']     = "";
$modversion['license']  = "GPL see LICENSE";
$modversion['official'] = 1;
$modversion['image']    = "images/whatsnew_slogo.png";
$modversion['dirname']  = "whatsnew";

// All tables should not have any prefix!
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";

// -- Tables created by sql file (without prefix!) ---
$modversion['tables'][0] = "whatsnew_module";
$modversion['tables'][1] = "whatsnew_config";

//Admin things
$modversion['hasAdmin']   = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu']  = "admin/menu.php";

// Menu
$modversion['hasMain'] = 1;

// Blocks 
$modversion['blocks'][1]['file'] = "block.new.php";
$modversion['blocks'][1]['name'] = _MI_WHATSNEW_BNAME1;
$modversion['blocks'][1]['description'] = "Shows recently articles";
$modversion['blocks'][1]['show_func'] = "b_whatsnew_show_date";
$modversion['blocks'][1]['edit_func'] = "";
$modversion['blocks'][1]['options']   = "";
$modversion['blocks'][1]['template']  = 'whatsnew_block_date.html';

// sort by date, group by module
$modversion['blocks'][2]['file'] = "block.new.php";
$modversion['blocks'][2]['name'] = _MI_WHATSNEW_BNAME2;
$modversion['blocks'][2]['description'] = "Shows recently articles";
$modversion['blocks'][2]['show_func'] = "b_whatsnew_show_mod";
$modversion['blocks'][2]['edit_func'] = "";
$modversion['blocks'][2]['options']   = "";
$modversion['blocks'][2]['template']  = 'whatsnew_block_mod.html';

// BopComments like
$modversion['blocks'][3]['file'] = "block.new.php";
$modversion['blocks'][3]['name'] = _MI_WHATSNEW_BNAME_BOP;
$modversion['blocks'][3]['description'] = "Shows recently articles";
$modversion['blocks'][3]['show_func'] = "b_whatsnew_show_date";
$modversion['blocks'][3]['edit_func'] = "";
$modversion['blocks'][3]['options']   = "";
$modversion['blocks'][3]['template']  = 'whatsnew_block_bop.html';

// Templates
$modversion['templates'][1]['file'] = 'whatsnew_index.html';
$modversion['templates'][1]['description'] = '';
$modversion['templates'][2]['file'] = 'whatsnew_rss.html';
$modversion['templates'][2]['description'] = '';
$modversion['templates'][3]['file'] = 'whatsnew_atom.html';
$modversion['templates'][3]['description'] = '';
$modversion['templates'][4]['file'] = 'whatsnew_rss_view.html';
$modversion['templates'][4]['description'] = '';
$modversion['templates'][5]['file'] = 'whatsnew_atom_view.html';
$modversion['templates'][5]['description'] = '';
$modversion['templates'][6]['file'] = 'whatsnew_rdf.html';
$modversion['templates'][6]['description'] = '';
$modversion['templates'][7]['file'] = 'whatsnew_pda.html';
$modversion['templates'][7]['description'] = '';
$modversion['templates'][8]['file'] = 'whatsnew_bop.html';
$modversion['templates'][8]['description'] = '';
$modversion['templates'][9]['file'] = 'whatsnew_icon.html';
$modversion['templates'][9]['description'] = '';

?>