| 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_POLLS_NAME; |
|---|
| 29 | $modversion['version'] = 1.00; |
|---|
| 30 | $modversion['description'] = _MI_POLLS_DESC; |
|---|
| 31 | $modversion['author'] = "Kazumi Ono<br />( http://www.myweb.ne.jp/ )"; |
|---|
| 32 | $modversion['credits'] = "The XOOPS Project"; |
|---|
| 33 | $modversion['help'] = "xoopspoll.html"; |
|---|
| 34 | $modversion['license'] = "GPL see LICENSE"; |
|---|
| 35 | $modversion['official'] = 1; |
|---|
| 36 | $modversion['image'] = "images/xoopspoll_slogo.png"; |
|---|
| 37 | $modversion['dirname'] = "xoopspoll"; |
|---|
| 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] = "xoopspoll_option"; |
|---|
| 46 | $modversion['tables'][1] = "xoopspoll_desc"; |
|---|
| 47 | $modversion['tables'][2] = "xoopspoll_log"; |
|---|
| 48 | |
|---|
| 49 | // Admin things |
|---|
| 50 | $modversion['hasAdmin'] = 1; |
|---|
| 51 | $modversion['adminindex'] = "admin/index.php"; |
|---|
| 52 | $modversion['adminmenu'] = "admin/menu.php"; |
|---|
| 53 | |
|---|
| 54 | $modversion['templates'][1]['file'] = 'xoopspoll_index.html'; |
|---|
| 55 | $modversion['templates'][1]['description'] = ''; |
|---|
| 56 | $modversion['templates'][2]['file'] = 'xoopspoll_view.html'; |
|---|
| 57 | $modversion['templates'][2]['description'] = ''; |
|---|
| 58 | $modversion['templates'][3]['file'] = 'xoopspoll_results.html'; |
|---|
| 59 | $modversion['templates'][3]['description'] = ''; |
|---|
| 60 | $modversion['templates'][3]['file'] = 'xoopspoll_regist.html'; |
|---|
| 61 | $modversion['templates'][3]['description'] = ''; |
|---|
| 62 | |
|---|
| 63 | //Blocks |
|---|
| 64 | $modversion['blocks'][1]['file'] = "xoopspoll.php"; |
|---|
| 65 | $modversion['blocks'][1]['name'] = _MI_POLLS_BNAME1; |
|---|
| 66 | $modversion['blocks'][1]['description'] = "Shows unlimited number of polls/surveys"; |
|---|
| 67 | $modversion['blocks'][1]['show_func'] = "b_xoopspoll_show"; |
|---|
| 68 | $modversion['blocks'][1]['template'] = 'xoopspoll_block_poll.html'; |
|---|
| 69 | |
|---|
| 70 | // Menu |
|---|
| 71 | $modversion['hasMain'] = 1; |
|---|
| 72 | |
|---|
| 73 | // Comments |
|---|
| 74 | $modversion['hasComments'] = 1; |
|---|
| 75 | $modversion['comments']['pageName'] = 'pollresults.php'; |
|---|
| 76 | $modversion['comments']['itemName'] = 'poll_id'; |
|---|
| 77 | ?> |
|---|