[ PHPXref.com ] [ Generated: Sun Jul 20 17:10:18 2008 ] [ DCL 0.9.4.4 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> xoops_version.php (source)

   1  <?php
   2  // $Id: xoops_version.php,v 1.1.2.2 2004/01/01 18:20:00 mdean Exp $
   3  //  ------------------------------------------------------------------------ //
   4  //                XOOPS - PHP Content Management System                      //
   5  //                    Copyright (c) 2000 XOOPS.org                           //
   6  //                       <http://www.xoops.org/>                             //
   7  //  ------------------------------------------------------------------------ //
   8  //  This program is free software; you can redistribute it and/or modify     //
   9  //  it under the terms of the GNU General Public License as published by     //
  10  //  the Free Software Foundation; either version 2 of the License, or        //
  11  //  (at your option) any later version.                                      //
  12  //                                                                           //
  13  //  You may not change or alter any portion of this comment or credits       //
  14  //  of supporting developers from this source code or any supporting         //
  15  //  source code which is considered copyrighted (c) material of the          //
  16  //  original comment or credit authors.                                      //
  17  //                                                                           //
  18  //  This program is distributed in the hope that it will be useful,          //
  19  //  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
  20  //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
  21  //  GNU General Public License for more details.                             //
  22  //                                                                           //
  23  //  You should have received a copy of the GNU General Public License        //
  24  //  along with this program; if not, write to the Free Software              //
  25  //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
  26  // ------------------------------------------------------------------------- //
  27  // Author: Raul Recio (AKA UNFOR)                                            //
  28  // Project: The XOOPS Project                                                //
  29  // ------------------------------------------------------------------------- //
  30  
  31  $modversion['name']        = 'Double Choco Latte';
  32  $modversion['version']        = '0.941';
  33  $modversion['author']         = 'Michael L. Dean';
  34  $modversion['description']    = 'Double Choco Latte';
  35  $modversion['credits']        = "Michael L. Dean";
  36  $modversion['license']        = "GPL see LICENSE";
  37  $modversion['help']        = "";
  38  $modversion['official']        = 0;
  39  $modversion['image']        = "img/xoops_dcl.png";
  40  $modversion['dirname']        = "dcl";
  41  
  42  // All tables should not have any prefix!
  43  #$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
  44  // Tables created by sql file (without prefix!)
  45  #$modversion['tables'][0]    = "partners";
  46  
  47  // Admin things
  48  $modversion['hasAdmin']        = 0;
  49  
  50  // Menu
  51  $modversion['hasMain']        = 1;
  52  
  53  // Templates
  54  $modversion['templates'][1]['file']    = 'xoops_dcl.html';
  55  $modversion['templates'][1]['description'] = 'Double Choco Latte Output';
  56  
  57  $modversion['sub'][1]['name'] = '&raquo; Work Orders';
  58  $modversion['sub'][1]['url'] = "main.php?menuAction=htmlWorkorders.show";
  59  $modversion['sub'][2]['name'] = '&raquo; Tickets';
  60  $modversion['sub'][2]['url'] = "main.php?menuAction=htmlTickets.show";
  61  $modversion['sub'][3]['name'] = '&raquo; Projects';
  62  $modversion['sub'][3]['url'] = "main.php?menuAction=htmlProjects.show";
  63  $modversion['sub'][4]['name'] = '&raquo; Admin';
  64  $modversion['sub'][4]['url'] = "main.php?menuAction=htmlViews.PrintAll";
  65  $modversion['sub'][5]['name'] = '&raquo; Help';
  66  $modversion['sub'][5]['url'] = "main.php?menuAction=boFaq.ShowAll";
  67  
  68  // Config Settings (only for modules that need config settings generated automatically)
  69  
  70  // name of config option for accessing its specified value. i.e. $xoopsModuleConfig['storyhome']
  71  $modversion['config'][1]['name']    = 'cookietime';
  72  
  73  // title of this config option displayed in config settings form
  74  $modversion['config'][1]['title']    = '_MI_RECLICK';
  75  $modversion['config'][1]['description']    = '';
  76  
  77  // form element type used in config form for this option. can be one of either textbox, textarea, select, select_multi, yesno, group, group_multi
  78  $modversion['config'][1]['formtype']    = 'select';
  79  
  80  // value type of this config option. can be one of either int, text, float, array, or other
  81  // form type of 'group_multi', 'select_multi' must always be 'array'
  82  // form type of 'yesno', 'group' must be always be 'int'
  83  $modversion['config'][1]['valuetype']    = 'int';
  84  
  85  // the default value for this option
  86  // ignore it if no default
  87  // 'yesno' formtype must be either 0(no) or 1(yes)
  88  $modversion['config'][1]['default']    = 86400;
  89  $modversion['config'][1]['options']    = array('_MI_HOUR' => '3600','_MI_3HOURS' => '10800','_MI_5HOURS' =>  '18000','_MI_10HOURS'  =>  '36000','_MI_DAY' => '86400');
  90  
  91  $modversion['config'][2]['name']    = 'modlimit';
  92  $modversion['config'][2]['title']    = '_MI_MLIMIT';
  93  $modversion['config'][2]['description']    = '_MI_MLIMITDSC';
  94  $modversion['config'][2]['formtype']    = 'textbox';
  95  $modversion['config'][2]['valuetype']    = 'int';
  96  $modversion['config'][2]['default']    = 5;
  97  
  98  $modversion['config'][3]['name']    = 'modshow';
  99  $modversion['config'][3]['title']    = '_MI_MSHOW';
 100  $modversion['config'][3]['description']    = '_MI_MSHOWDSC';
 101  $modversion['config'][3]['formtype']    = 'select';
 102  $modversion['config'][3]['valuetype']    = 'int';
 103  $modversion['config'][3]['default']    = 1;
 104  $modversion['config'][3]['options']    = array('_MI_IMAGES' => 1, '_MI_TEXT' => 2, '_MI_BOTH' => 3);
 105  
 106  $modversion['config'][4]['name']    = 'modorder';
 107  $modversion['config'][4]['title']    = '_MI_MORDER';
 108  $modversion['config'][4]['description']    = '_MI_MORDERDSC';
 109  $modversion['config'][4]['formtype']    = 'select';
 110  $modversion['config'][4]['valuetype']    = 'text';
 111  $modversion['config'][4]['default']    = 'hits';
 112  $modversion['config'][4]['options']    = array('_MI_ID' => 'id', '_MI_HITS' => 'hits', '_MI_TITLE' => 'title', '_MI_WEIGHT' => 'weight');
 113  
 114  $modversion['config'][5]['name']    = 'modorderd';
 115  $modversion['config'][5]['title']    = '_MI_MORDER';
 116  $modversion['config'][5]['description']    = '_MI_MORDERDSC';
 117  $modversion['config'][5]['formtype']    = 'select';
 118  $modversion['config'][5]['valuetype']    = 'text';
 119  $modversion['config'][5]['default']    = 'DESC';
 120  $modversion['config'][5]['options']    = array('_ASCENDING' => 'ASC', '_DESCENDING' => 'DESC');
 121  ?>


[ Powered by PHPXref - Served by Debian GNU/Linux ]