Logo Search packages:      
Sourcecode: dcl version File versions  Download package

xoops_version.php

<?php
// $Id: xoops_version.php,v 1.1.2.2 2004/01/01 18:20:00 mdean 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 //
// ------------------------------------------------------------------------- //
// Author: Raul Recio (AKA UNFOR)                                            //
// Project: The XOOPS Project                                                //
// ------------------------------------------------------------------------- //

$modversion['name']           = 'Double Choco Latte';
$modversion['version']        = '0.941';
$modversion['author']         = 'Michael L. Dean';
$modversion['description']    = 'Double Choco Latte';
$modversion['credits']        = "Michael L. Dean";
$modversion['license']        = "GPL see LICENSE";
$modversion['help']           = "";
$modversion['official']       = 0;
$modversion['image']          = "img/xoops_dcl.png";
$modversion['dirname']        = "dcl";

// All tables should not have any prefix!
#$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
// Tables created by sql file (without prefix!)
#$modversion['tables'][0]     = "partners";

// Admin things
$modversion['hasAdmin']       = 0;

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

// Templates
$modversion['templates'][1]['file'] = 'xoops_dcl.html';
$modversion['templates'][1]['description'] = 'Double Choco Latte Output';

$modversion['sub'][1]['name'] = '&raquo; Work Orders';
$modversion['sub'][1]['url'] = "main.php?menuAction=htmlWorkorders.show";
$modversion['sub'][2]['name'] = '&raquo; Tickets';
$modversion['sub'][2]['url'] = "main.php?menuAction=htmlTickets.show";
$modversion['sub'][3]['name'] = '&raquo; Projects';
$modversion['sub'][3]['url'] = "main.php?menuAction=htmlProjects.show";
$modversion['sub'][4]['name'] = '&raquo; Admin';
$modversion['sub'][4]['url'] = "main.php?menuAction=htmlViews.PrintAll";
$modversion['sub'][5]['name'] = '&raquo; Help';
$modversion['sub'][5]['url'] = "main.php?menuAction=boFaq.ShowAll";

// Config Settings (only for modules that need config settings generated automatically)

// name of config option for accessing its specified value. i.e. $xoopsModuleConfig['storyhome']
$modversion['config'][1]['name']    = 'cookietime';

// title of this config option displayed in config settings form
$modversion['config'][1]['title']   = '_MI_RECLICK';
$modversion['config'][1]['description']   = '';

// form element type used in config form for this option. can be one of either textbox, textarea, select, select_multi, yesno, group, group_multi
$modversion['config'][1]['formtype']      = 'select';

// value type of this config option. can be one of either int, text, float, array, or other
// form type of 'group_multi', 'select_multi' must always be 'array'
// form type of 'yesno', 'group' must be always be 'int'
$modversion['config'][1]['valuetype']     = 'int';

// the default value for this option
// ignore it if no default
// 'yesno' formtype must be either 0(no) or 1(yes)
$modversion['config'][1]['default'] = 86400;
$modversion['config'][1]['options'] = array('_MI_HOUR' => '3600','_MI_3HOURS' => '10800','_MI_5HOURS' =>  '18000','_MI_10HOURS'  =>  '36000','_MI_DAY' => '86400');

$modversion['config'][2]['name']    = 'modlimit';
$modversion['config'][2]['title']   = '_MI_MLIMIT';
$modversion['config'][2]['description']   = '_MI_MLIMITDSC';
$modversion['config'][2]['formtype']      = 'textbox';
$modversion['config'][2]['valuetype']     = 'int';
$modversion['config'][2]['default'] = 5;

$modversion['config'][3]['name']    = 'modshow';
$modversion['config'][3]['title']   = '_MI_MSHOW';
$modversion['config'][3]['description']   = '_MI_MSHOWDSC';
$modversion['config'][3]['formtype']      = 'select';
$modversion['config'][3]['valuetype']     = 'int';
$modversion['config'][3]['default'] = 1;
$modversion['config'][3]['options'] = array('_MI_IMAGES' => 1, '_MI_TEXT' => 2, '_MI_BOTH' => 3);

$modversion['config'][4]['name']    = 'modorder';
$modversion['config'][4]['title']   = '_MI_MORDER';
$modversion['config'][4]['description']   = '_MI_MORDERDSC';
$modversion['config'][4]['formtype']      = 'select';
$modversion['config'][4]['valuetype']     = 'text';
$modversion['config'][4]['default'] = 'hits';
$modversion['config'][4]['options'] = array('_MI_ID' => 'id', '_MI_HITS' => 'hits', '_MI_TITLE' => 'title', '_MI_WEIGHT' => 'weight');

$modversion['config'][5]['name']    = 'modorderd';
$modversion['config'][5]['title']   = '_MI_MORDER';
$modversion['config'][5]['description']   = '_MI_MORDERDSC';
$modversion['config'][5]['formtype']      = 'select';
$modversion['config'][5]['valuetype']     = 'text';
$modversion['config'][5]['default'] = 'DESC';
$modversion['config'][5]['options'] = array('_ASCENDING' => 'ASC', '_DESCENDING' => 'DESC');
?>

Generated by  Doxygen 1.6.0   Back to index