Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips-library/xnpbulletin/xoops_version.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.10 - (show annotations) (download) (as text)
Wed Aug 16 04:58:18 2006 UTC (17 years, 7 months ago) by makotonton
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +11 -13 lines
File MIME type: application/x-httpd-php
correct to remove xnp*_main.html

1 <?php
2 // XooNIps bulletin item type module //
3 // $Revision: 1.9 $ //
4 // -------------------------------------------------------------------------- //
5 // XooNIps Xoops modules for Neuroinformatics Platforms //
6 // Copyright (C) 2005 RIKEN, Japan. All rights reserved. //
7 // http://sourceforge.jp/projects/xoonips/ //
8 // -------------------------------------------------------------------------- //
9 // This program is free software; you can redistribute it and/or //
10 // modify it under the terms of the GNU General Public License //
11 // as published by the Free Software Foundation; either version 2 //
12 // of the License, or (at your option) any later version. //
13 // //
14 // This program is distributed in the hope that it will be useful, //
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
17 // GNU General Public License for more details. //
18 // //
19 // You should have received a copy of the GNU General Public License //
20 // along with this program; if not, write to the Free Software //
21 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //
22 // -------------------------------------------------------------------------- //
23
24 // 2.01 -> 3.10 Avoid keyword separation at the item registeration.
25 // Modify export attachment specification (consistent with the XooNIps 3.1)
26 // No change in the install_funcs.php Just appearances. Don't worry!
27 //
28 $modversion['name'] = _MI_XNPBULLETIN_NAME;
29 $modversion['version'] = 3.11;
30 $modversion['description'] = _MI_XNPBULLETIN_DESC;
31 $modversion['credits'] = "The XooNIps Library Module Project.<br/>"
32 ."<a target=\"blank\" href=\"http://sourceforge.jp/projects/xoonips-library/\">http://sourceforge.jp/projects/xoonips-library/</a>";
33 $modversion['author'] = "The XooNIps Library Module Project. <br/>"
34 ."<a target=\"blank\" href=\"http://sourceforge.jp/projects/xoonips-library/\">http://sourceforge.jp/projects/xoonips-library/</a>";
35 $modversion['help'] = "help.html";
36 $modversion['license'] = "GPL see LICENSE";
37 $modversion['official'] = 0;
38 $modversion['image'] = "images/xnpbulletin_slogo.png";
39 $modversion['dirname'] = "xnpbulletin";
40
41 // Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
42 // All tables should not have any prefix!
43 $modversion['sqlfile']['mysql'] = "sql/mysql.sql";
44 $modversion['tables'][0] = "xnpbulletin_item_detail";
45 $modversion['tables'][1] = "xnpbulletin_item_detail_child_author";
46 $modversion['tables'][2] = "xnpbulletin_item_detail_child_keywords";
47 $modversion['tables'][3] = "xnpbulletin_item_detail_child_free_keywords";
48 $modversion['tables'][4] = "xnpbulletin_item_detail_child_sub_title";
49
50 // Admin things
51 $modversion['hasAdmin'] = 1;
52 $modversion['adminindex'] = "admin/index.php";
53 $modversion['adminmenu'] = "admin/menu.php";
54
55 // Menu
56 $modversion['hasMain'] = 0;
57
58 // Templates
59 $modversion['templates'][1]['file'] = 'xnpbulletin_list_block.html';
60 $modversion['templates'][1]['description'] = 'list block';
61 $modversion['templates'][2]['file'] = 'xnpbulletin_register_block.html';
62 $modversion['templates'][2]['description'] = 'register block';
63 $modversion['templates'][3]['file'] = 'xnpbulletin_detail_block.html';
64 $modversion['templates'][3]['description'] = 'detail block';
65 $modversion['templates'][4]['file'] = 'xnpbulletin_confirm_block.html';
66 $modversion['templates'][4]['description'] = 'confirm block';
67 $modversion['templates'][5]['file'] = 'xnpbulletin_search_block.html';
68 $modversion['templates'][5]['description'] = 'search block';
69
70 // config
71 include_once( XOOPS_ROOT_PATH.'/modules/xoonips/condefs.php' );
72
73 $modversion['config'][1]['name'] = 'abstract_access_rights';
74 $modversion['config'][1]['title'] = '_MI_XNPBULLETIN_CFG_SHOW_ABST';
75 $modversion['config'][1]['description'] = '_MI_XNPBULLETIN_CFG_SHOW_ABST_DESC';
76 $modversion['config'][1]['formtype'] = 'select';
77 $modversion['config'][1]['valuetype'] = 'string';
78 $modversion['config'][1]['default'] = OL_PRIVATE;
79 $modversion['config'][1]['options'] = array('Public' => OL_PUBLIC, 'Group' => OL_GROUP_ONLY, 'Private' => OL_PRIVATE );
80
81 $modversion['config'][2]['name'] = 'pdf_access_rights';
82 $modversion['config'][2]['title'] = '_MI_XNPBULLETIN_CFG_SHOW_PDF';
83 $modversion['config'][2]['description'] = '_MI_XNPBULLETIN_CFG_SHOW_PDF_DESC';
84 $modversion['config'][2]['formtype'] = 'select';
85 $modversion['config'][2]['valuetype'] = 'string';
86 $modversion['config'][2]['default'] = OL_PRIVATE;
87 $modversion['config'][2]['options'] = array('Public' => OL_PUBLIC, 'Group' => OL_GROUP_ONLY, 'Private' => OL_PRIVATE );
88
89 // Blocks
90
91 //Install script
92 $modversion['onInstall'] = 'install_funcs.php';
93 $modversion['onUninstall'] = 'install_funcs.php';
94 $modversion['onUpdate'] = 'install_funcs.php';
95 ?>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26