<?php
// $Id: xoops_version.php,v 1.11 2007/03/25 20:27:01 marcellobrandao Exp $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <http://www.xoops.org/> //
// ------------------------------------------------------------------------ //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
$modversion['name'] = _MI_PROVAS_NAME;
$modversion['version'] = 1;
$modversion['description'] = _MI_PROVAS_DESC;
$modversion['credits'] = "Equipe Simcity Brasil";
$modversion['author'] = "Marcello Brandão - suico";
$modversion['help'] = "/tutorial/index.html";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "images/slogo.png";
$modversion['dirname'] = "nivelamento";
$modversion['hasMain'] = 1;
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";
$modversion['config'][1]['name'] = 'qtdmenu';
$modversion['config'][1]['title'] = '_MI_PROVAS_CONFIG1_TITLE';
$modversion['config'][1]['description'] = '_MI_PROVAS_CONFIG1_DESC';
$modversion['config'][1]['formtype'] = 'select';
$modversion['config'][1]['valuetype'] = 'int';
$modversion['config'][1]['default'] = 5;
$modversion['config'][1]['options'] = array('5' => 5, '10' => 10, '15' => 15, '20' => 20, '25' => 25, '30' => 30);
$modversion['config'][2]['name'] = 'editorpadrao';
$modversion['config'][2]['title'] = '_MI_PROVAS_CONFIG2_TITLE';;
$modversion['config'][2]['description'] = '_MI_PROVAS_CONFIG2_DESC';
$modversion['config'][2]['formtype'] = 'select';
$modversion['config'][2]['valuetype'] = 'text';
$modversion['config'][2]['default'] = 'dhtmlext';
//$modversion['config'][2]['options'] = array('dhtmlext' => 'Extended DHTML Form', 'textarea' => 'Plain Text', 'FCKeditor' => 'FCKeditor', 'tinymce' => 'tinymce', 'koivi' => 'koivi', 'mastop_publish'=>'mastop_publish');
$modversion['config'][2]['options'] = array('Extended DHTML Form' => 'dhtmlext', 'Plain Text' => 'textarea', 'FCKeditor' => 'FCKeditor', 'tinymce' => 'tinymce', 'koivi' => 'koivi','mastop_publish'=>'mastop_publish');
$modversion['config'][3]['name'] = 'notadireta';
$modversion['config'][3]['title'] = '_MI_PROVAS_CONFIG3_TITLE';
$modversion['config'][3]['description'] = '_MI_PROVAS_CONFIG3_DESC';
$modversion['config'][3]['formtype'] = 'yesno';
$modversion['config'][4]['name'] = 'qtditens';
$modversion['config'][4]['title'] = '_MI_PROVAS_CONFIG4_TITLE';
$modversion['config'][4]['description'] = '_MI_PROVAS_CONFIG4_DESC';
$modversion['config'][4]['formtype'] = 'select';
$modversion['config'][4]['valuetype'] = 'int';
$modversion['config'][4]['default'] = 5;
$modversion['config'][4]['options'] = array('5' => 5, '10' => 10, '15' => 15, '20' => 20, '30' => 30, '50' => 50);
/*
$modversion['config'][5]['name'] = 'qtdindex';
$modversion['config'][5]['title'] = '_MI_PROVAS_CONFIG5_TITLE';
$modversion['config'][5]['description'] = '_MI_PROVAS_CONFIG5_DESC';
$modversion['config'][5]['formtype'] = 'select';
$modversion['config'][5]['valuetype'] = 'int';
$modversion['config'][5]['default'] = 5;
$modversion['config'][5]['options'] = array('5' => 5, '10' => 10, '15' => 15, '20' => 20, '30' => 30, '50' => 50);
*/
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
$modversion['tables'][0] = "nivelamento_perguntas";
$modversion['tables'][1] = "nivelamento_respostas";
$modversion['tables'][2] = "nivelamento_provas";
$modversion['tables'][3] = "nivelamento_resultados";
$modversion['tables'][4] = "nivelamento_documentos";
$modversion['templates'][1]['file'] = 'nivelamento_index.html';
$modversion['templates'][1]['description'] = _MI_PROVAS_TPL1_TITLE;
$modversion['templates'][2]['file'] = 'nivelamento_verprova.html';
$modversion['templates'][2]['description'] = _MI_PROVAS_TPL2_TITLE;
$modversion['templates'][3]['file'] = 'nivelamento_perguntas.html';
$modversion['templates'][3]['description'] = _MI_PROVAS_TPL3_TITLE;
$modversion['templates'][4]['file'] = 'nivelamento_fimprova.html';
$modversion['templates'][4]['description'] = _MI_PROVAS_TPL4_TITLE;
$modversion['hasNotification'] = 1;
$modversion['notification']['category'][1]['name'] = 'prova';
$modversion['notification']['category'][1]['title'] = _MI_PROVAS_PROVA_NOTIFY;
$modversion['notification']['category'][1]['description'] = _MI_PROVAS_PROVA_NOTIFYDSC;
$modversion['notification']['category'][1]['subscribe_from'] = 'fimprova.php';
$modversion['notification']['category'][1]['item_name'] = 'cod_resultado';
$modversion['notification']['category'][1]['allow_bookmark'] = 0;
$modversion['notification']['event'][1]['name'] = 'prova_corrigida';
$modversion['notification']['event'][1]['category'] = 'prova';
$modversion['notification']['event'][1]['title'] = _MI_PROVAS_PROVA_CORRIGIDA_NOTIFY;
$modversion['notification']['event'][1]['caption'] = _MI_PROVAS_PROVA_CORRIGIDA_NOTIFYCAP;
$modversion['notification']['event'][1]['description'] = _MI_PROVAS_PROVA_CORRIGIDA_NOTIFYDSC;
$modversion['notification']['event'][1]['mail_template'] = 'provas_corrigida_notify';
$modversion['notification']['event'][1]['mail_subject'] = _MI_PROVAS_PROVA_CORRIGIDA_ASSUNTOMAIL;
/*
$modversion['hasComments'] = 1;
$modversion['comments']['itemName'] = 'id';
$modversion['comments']['pageName'] = 'detalhe.php';
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.inc.php";
$modversion['search']['func'] = "tabela1_search";
$modversion['blocks'][12]['file'] = "meumodulo_blocks.php";
$modversion['blocks'][12]['name'] = _MI_MEUMODULO_BNAME1;
$modversion['blocks'][12]['description'] = "Mostra o conteúdo de duas variáveis";
$modversion['blocks'][12]['show_func'] = "b_meumodulo_bloco1_show";
$modversion['blocks'][12]['options'] = "texto1|texto2";
$modversion['blocks'][12]['edit_func'] = "b_meumodulo_bloco1_edit";
$modversion['blocks'][12]['template'] = 'meumodulo_block_bloco1.html';
*/
?>