| 1 | <?php |
|---|
| 2 | ############################################################################### |
|---|
| 3 | ## RSSFit - Extendable XML news feed generator ## |
|---|
| 4 | ## Copyright (c) 2004 NS Tai (aka tuff) ## |
|---|
| 5 | ## <http://www.brandycoke.com/> ## |
|---|
| 6 | ## Modified By 2005 CACHE RSSfitJ ## |
|---|
| 7 | ## <http://gyakubiki.kir.jp/> ## |
|---|
| 8 | ############################################################################### |
|---|
| 9 | ## XOOPS - PHP Content Management System ## |
|---|
| 10 | ## Copyright (c) 2000 XOOPS.org ## |
|---|
| 11 | ## <http://www.xoops.org/> ## |
|---|
| 12 | ############################################################################### |
|---|
| 13 | ## This program is free software; you can redistribute it and/or modify ## |
|---|
| 14 | ## it under the terms of the GNU General Public License as published by ## |
|---|
| 15 | ## the Free Software Foundation; either version 2 of the License, or ## |
|---|
| 16 | ## (at your option) any later version. ## |
|---|
| 17 | ## ## |
|---|
| 18 | ## You may not change or alter any portion of this comment or credits ## |
|---|
| 19 | ## of supporting developers from this source code or any supporting ## |
|---|
| 20 | ## source code which is considered copyrighted (c) material of the ## |
|---|
| 21 | ## original comment or credit authors. ## |
|---|
| 22 | ## ## |
|---|
| 23 | ## This program is distributed in the hope that it will be useful, ## |
|---|
| 24 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## |
|---|
| 25 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## |
|---|
| 26 | ## GNU General Public License for more details. ## |
|---|
| 27 | ## ## |
|---|
| 28 | ## You should have received a copy of the GNU General Public License ## |
|---|
| 29 | ## along with this program; if not, write to the Free Software ## |
|---|
| 30 | ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## |
|---|
| 31 | ############################################################################### |
|---|
| 32 | ## Author of this file: CACHE ## |
|---|
| 33 | ## URL: http://gyakubiki.kir.jp/ ## |
|---|
| 34 | ## Project: RSSFitJ ## |
|---|
| 35 | ############################################################################### |
|---|
| 36 | $modversion['name'] = _MI_RSSFITJ_NAME; |
|---|
| 37 | $modversion['version'] = '1.1'; |
|---|
| 38 | $modversion['description'] = _MI_RSSFITJ_DESC; |
|---|
| 39 | $modversion['author'] = "NS Tai (aka tuff),Modified By CACHE"; |
|---|
| 40 | $modversion['credits'] = "<a href='http://www.brandycoke.com/'>Brandycoke Productions</a><br /><a href='http://www.gyakubiki.kir.jp/'>CACHE</a>"; |
|---|
| 41 | $modversion['help'] = ""; |
|---|
| 42 | $modversion['license'] = "<a href='http://creativecommons.org/licenses/GPL/2.0/' target='_blank'>Human-Readable Commons Deed</a><br /><a href='http://www.gnu.org/copyleft/gpl.html' target='_blank'>Full Legal Code</a>"; |
|---|
| 43 | $modversion['official'] = 0; |
|---|
| 44 | $modversion['image'] = "images/rssfitJ.png"; |
|---|
| 45 | $modversion['dirname'] = "rssj"; |
|---|
| 46 | |
|---|
| 47 | // Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin) |
|---|
| 48 | // All tables should not have any prefix! |
|---|
| 49 | $modversion['sqlfile']['mysql'] = "sql/mysql.sql"; |
|---|
| 50 | //$modversion['sqlfile']['postgresql'] = "sql/pgsql.sql"; |
|---|
| 51 | |
|---|
| 52 | // Tables created by sql file (without prefix!) |
|---|
| 53 | $modversion['tables'][0] = "rssfitJ_plugins"; |
|---|
| 54 | $modversion['tables'][1] = "rssfitJ_misc"; |
|---|
| 55 | |
|---|
| 56 | // Admin things |
|---|
| 57 | $modversion['hasAdmin'] = 1; |
|---|
| 58 | $modversion['adminindex'] = "admin/index.php"; |
|---|
| 59 | $modversion['adminmenu'] = "admin/menu.php"; |
|---|
| 60 | |
|---|
| 61 | // Menu -- content in main menu block |
|---|
| 62 | $modversion['hasMain'] = 1; |
|---|
| 63 | |
|---|
| 64 | // Templates |
|---|
| 65 | $modversion['templates'][1]['file'] = 'rssfitJ_index.html'; |
|---|
| 66 | $modversion['templates'][1]['description'] = _MI_RSSFITJ_TMPL_INTRO; |
|---|
| 67 | $modversion['templates'][2]['file'] = 'rssfitJ_rss.html'; |
|---|
| 68 | $modversion['templates'][2]['description'] = _MI_RSSFITJ_TMPL_RSS; |
|---|
| 69 | |
|---|
| 70 | // Module Configs |
|---|
| 71 | // $xoopsModuleConfig['overall_entries'] |
|---|
| 72 | $modversion['config'][1]['name'] = 'overall_entries'; |
|---|
| 73 | $modversion['config'][1]['title'] = '_MI_RSSFITJ_OVERALL_ENTRIES'; |
|---|
| 74 | $modversion['config'][1]['description'] = '_MI_RSSFITJ_OVERALL_ENTRIES_DESC'; |
|---|
| 75 | $modversion['config'][1]['formtype'] = 'textbox'; |
|---|
| 76 | $modversion['config'][1]['valuetype'] = 'int'; |
|---|
| 77 | $modversion['config'][1]['default'] = 20; |
|---|
| 78 | |
|---|
| 79 | // $xoopsModuleConfig['plugin_entries'] |
|---|
| 80 | $modversion['config'][2]['name'] = 'plugin_entries'; |
|---|
| 81 | $modversion['config'][2]['title'] = '_MI_RSSFITJ_PLUGIN_ENTRIES'; |
|---|
| 82 | $modversion['config'][2]['description'] = '_MI_RSSFITJ_PLUGIN_ENTRIES_DESC'; |
|---|
| 83 | $modversion['config'][2]['formtype'] = 'textbox'; |
|---|
| 84 | $modversion['config'][2]['valuetype'] = 'int'; |
|---|
| 85 | $modversion['config'][2]['default'] = 5; |
|---|
| 86 | |
|---|
| 87 | // $xoopsModuleConfig['sort'] |
|---|
| 88 | $modversion['config'][3]['name'] = 'sort'; |
|---|
| 89 | $modversion['config'][3]['title'] = '_MI_RSSFITJ_ENTRIES_SORT'; |
|---|
| 90 | $modversion['config'][3]['description'] = '_MI_RSSFITJ_ENTRIES_SORT_DESC'; |
|---|
| 91 | $modversion['config'][3]['formtype'] = 'select'; |
|---|
| 92 | $modversion['config'][3]['valuetype'] = 'text'; |
|---|
| 93 | $modversion['config'][3]['default'] = 'd'; |
|---|
| 94 | $modversion['config'][3]['options'] = array(_MI_RSSFITJ_ENTRIES_SORT_DATE=>'d', _MI_RSSFITJ_ENTRIES_SORT_CAT=>'c'); |
|---|
| 95 | |
|---|
| 96 | // $xoopsModuleConfig['cache'] |
|---|
| 97 | $modversion['config'][4]['name'] = 'cache'; |
|---|
| 98 | $modversion['config'][4]['title'] = '_MI_RSSFITJ_CACHE'; |
|---|
| 99 | $modversion['config'][4]['description'] = '_MI_RSSFITJ_CACHE_DESC'; |
|---|
| 100 | $modversion['config'][4]['formtype'] = 'textbox'; |
|---|
| 101 | $modversion['config'][4]['valuetype'] = 'int'; |
|---|
| 102 | $modversion['config'][4]['default'] = 0; |
|---|
| 103 | |
|---|
| 104 | // $xoopsModuleConfig['max_char'] |
|---|
| 105 | $modversion['config'][5]['name'] = 'max_char'; |
|---|
| 106 | $modversion['config'][5]['title'] = '_MI_RSSFITJ_MAXCHAR'; |
|---|
| 107 | $modversion['config'][5]['description'] = '_MI_RSSFITJ_MAXCHAR_DESC'; |
|---|
| 108 | $modversion['config'][5]['formtype'] = 'textbox'; |
|---|
| 109 | $modversion['config'][5]['valuetype'] = 'int'; |
|---|
| 110 | $modversion['config'][5]['default'] = 255; |
|---|
| 111 | |
|---|
| 112 | // $xoopsModuleConfig['strip_html'] |
|---|
| 113 | $modversion['config'][6]['name'] = 'strip_html'; |
|---|
| 114 | $modversion['config'][6]['title'] = '_MI_RSSFITJ_STRIPHTML'; |
|---|
| 115 | $modversion['config'][6]['description'] = '_MI_RSSFITJ_STRIPHTML_DESC'; |
|---|
| 116 | $modversion['config'][6]['formtype'] = 'yesno'; |
|---|
| 117 | $modversion['config'][6]['valuetype'] = 'int'; |
|---|
| 118 | $modversion['config'][6]['default'] = 0; |
|---|
| 119 | |
|---|
| 120 | // $xoopsModuleConfig['utf8'] |
|---|
| 121 | $modversion['config'][7]['name'] = 'utf8'; |
|---|
| 122 | $modversion['config'][7]['title'] = '_MI_RSSFITJ_ENCODE_UTF8'; |
|---|
| 123 | $modversion['config'][7]['description'] = '_MI_RSSFITJ_ENCODE_UTF8_DESC'; |
|---|
| 124 | $modversion['config'][7]['formtype'] = 'yesno'; |
|---|
| 125 | $modversion['config'][7]['valuetype'] = 'int'; |
|---|
| 126 | $modversion['config'][7]['default'] = 0; |
|---|
| 127 | |
|---|
| 128 | ?> |
|---|