<?php
// $Id: xoops_version.php,v 1.1 2008/03/09 02:26:11 minahito Exp $

$modversion['name'] = _MI_PM_NAME;
$modversion['version'] = 1.03;
$modversion['description'] = _MI_PM_NAME_DESC;
$modversion['author'] = "";
$modversion['credits'] = "XOOPS Cube Project";
$modversion['help'] = "help.html";
$modversion['license'] = "GPL see LICENSE";
$modversion['image'] = "images/pm.png";
$modversion['dirname'] = "pm";

$modversion['cube_style'] = true;

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

// Templates
$modversion['templates'][1]['file'] = 'viewpmsg.html';
$modversion['templates'][1]['description'] = '顯示私人傳訊列表';
$modversion['templates'][2]['file'] = 'readpmsg.html';
$modversion['templates'][2]['description'] = '讀取私人傳訊的頁面';
$modversion['templates'][3]['file'] = 'pmlite.html';
$modversion['templates'][3]['description'] = '使用 pmlite.php時的頁面';
$modversion['templates'][4]['file'] = 'pm_pmlite_success.html';
$modversion['templates'][4]['description'] = '私人傳訊傳送完成的頁面';
$modversion['templates'][5]['file'] = 'pm_delete_one.html';
$modversion['templates'][5]['description'] = '刪除私人傳訊的再確認畫面的';

//Preference
$modversion['config'][] = array (
		"name" => "send_type",
		"title" => "_MI_PM_CONF_SEND_TYPE",
		"description" => "_MI_PM_CONF_SEND_TYPE_DESC",
		"formtype" => "select",
		"options" => array(_MI_PM_CONF_SEND_TYPE_COMBO=>0, _MI_PM_CONF_SEND_TYPE_TEXT=>1),
		"valuetype" => "int",
		"default" => 0
	);

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

?>
