| 1 | <?php |
|---|
| 2 | // $Id: xoops_version.php,v 1.2 2005/03/18 12:52:49 onokazu 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 | |
|---|
| 28 | $modversion['name'] = _MI_XOOPSFAQ_NAME; |
|---|
| 29 | $modversion['version'] = 1.10; |
|---|
| 30 | $modversion['description'] = _MI_XOOPSFAQ_DESC; |
|---|
| 31 | $modversion['credits'] = "The XOOPS Project"; |
|---|
| 32 | $modversion['author'] = "Kazumi Ono http://www.myweb.ne.jp/"; |
|---|
| 33 | $modversion['help'] = "xoopsfaq.html"; |
|---|
| 34 | $modversion['license'] = "GPL see LICENSE"; |
|---|
| 35 | $modversion['official'] = 1; |
|---|
| 36 | $modversion['image'] = "images/slogo.png"; |
|---|
| 37 | $modversion['dirname'] = "xoopsfaq"; |
|---|
| 38 | |
|---|
| 39 | // Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin) |
|---|
| 40 | // All tables should not have any prefix! |
|---|
| 41 | $modversion['sqlfile']['mysql'] = "sql/mysql.sql"; |
|---|
| 42 | //$modversion['sqlfile']['postgresql'] = "sql/pgsql.sql"; |
|---|
| 43 | |
|---|
| 44 | // Tables created by sql file (without prefix!) |
|---|
| 45 | $modversion['tables'][0] = "xoopsfaq_contents"; |
|---|
| 46 | $modversion['tables'][1] = "xoopsfaq_categories"; |
|---|
| 47 | |
|---|
| 48 | // Admin things |
|---|
| 49 | $modversion['hasAdmin'] = 1; |
|---|
| 50 | $modversion['adminindex'] = "admin/index.php"; |
|---|
| 51 | $modversion['adminmenu'] = "admin/menu.php"; |
|---|
| 52 | |
|---|
| 53 | // Main contents |
|---|
| 54 | $modversion['hasMain'] = 1; |
|---|
| 55 | |
|---|
| 56 | // Search |
|---|
| 57 | $modversion['hasSearch'] = 1; |
|---|
| 58 | $modversion['search']['file'] = "include/search.inc.php"; |
|---|
| 59 | $modversion['search']['func'] = "xoopsfaq_search"; |
|---|
| 60 | |
|---|
| 61 | // Templates |
|---|
| 62 | $modversion['templates'][1]['file'] = 'xoopsfaq_index.html'; |
|---|
| 63 | $modversion['templates'][1]['description'] = ''; |
|---|
| 64 | $modversion['templates'][2]['file'] = 'xoopsfaq_category.html'; |
|---|
| 65 | $modversion['templates'][2]['description'] = ''; |
|---|
| 66 | |
|---|
| 67 | // Comments |
|---|
| 68 | $modversion['hasComments'] = 1; |
|---|
| 69 | $modversion['comments']['pageName'] = 'index.php'; |
|---|
| 70 | $modversion['comments']['itemName'] = 'cat_id'; |
|---|
| 71 | ?> |
|---|