Develop and Download Open Source Software

Browse CVS Repository

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

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


Revision 1.9 - (show annotations) (download) (as text)
Thu Mar 27 04:45:56 2008 UTC (16 years ago) by ken_ko
Branch: MAIN
Changes since 1.8: +3 -2 lines
File MIME type: application/x-httpd-php
:Support "short_open_tag=off" setting in php.ini
:Default value of series title search is revised

1 <?php
2 // XooNIps article item type module
3 // $Revision: 1.8 $
4 // --------------------------------------------------------------------------
5 // XooNIps Library Module Xoops modules for XooNIps Platforms
6 // Copyright (C) 2006 Keio University and RIKEN, Japan. All rights reserved.
7 // http://sourceforge.jp/projects/xoonips-library/
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 // XooNIps Library Article item type module
25
26 if ( ! defined( 'XOOPS_ROOT_PATH' ) ) exit();
27
28 // 1.0 -> 1.2 support XooNIps v3.24
29 // 1.2 -> 1.3 support XooNIps v3.3x
30 // 1.3 -> 1.31 support XooNIps v3.31 and bug fix
31 // 1.3 -> 1.32 bug fix
32
33 $modversion['name'] = _MI_XNPARTICLE_NAME;
34 $modversion['version'] = 1.32;
35 $modversion['description'] = _MI_XNPARTICLE_DESC;
36 $modversion['credits'] = "Keio University(http://www.lib.keio.ac.jp/) and RIKEN, Japan(http://www.riken.jp/)";
37 $modversion['author'] = "The XooNIps Library Module Project(http://sourceforge.jp/projects/xoonips-library/) ";
38 $modversion['license'] = "GPL see LICENSE";
39 $modversion['official'] = 0;
40 $modversion['image'] = "images/xnparticle_slogo.png";
41 $modversion['dirname'] = "xnparticle";
42
43 // Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
44 // All tables should not have any prefix!
45 $modversion['sqlfile']['mysql'] = "sql/mysql.sql";
46 $modversion['tables'][0] = "xnparticle_item_detail";
47
48 // Admin things
49 $modversion['hasAdmin'] = 1;
50 $modversion['adminindex'] = "admin/index.php";
51 $modversion['adminmenu'] = "admin/menu.php";
52
53 // Menu
54 $modversion['hasMain'] = 0;
55
56 // Templates
57 $modversion['templates'][1]['file'] = 'xnparticle_list_block.html';
58 $modversion['templates'][1]['description'] = 'list block';
59 $modversion['templates'][2]['file'] = 'xnparticle_register_block.html';
60 $modversion['templates'][2]['description'] = 'register block';
61 $modversion['templates'][3]['file'] = 'xnparticle_detail_block.html';
62 $modversion['templates'][3]['description'] = 'detail block';
63 $modversion['templates'][4]['file'] = 'xnparticle_confirm_block.html';
64 $modversion['templates'][4]['description'] = 'confirm block';
65 $modversion['templates'][5]['file'] = 'xnparticle_search_block.html';
66 $modversion['templates'][5]['description'] = 'search block';
67
68 // config
69 include_once( XOOPS_ROOT_PATH.'/modules/xoonips/condefs.php' );
70
71 $modversion['config'][1]['name'] = 'abstract_access_rights';
72 $modversion['config'][1]['title'] = '_MI_XNPARTICLE_CFG_SHOW_ABST';
73 $modversion['config'][1]['description'] = '_MI_XNPARTICLE_CFG_SHOW_ABST_DESC';
74 $modversion['config'][1]['formtype'] = 'select';
75 $modversion['config'][1]['valuetype'] = 'string';
76 $modversion['config'][1]['default'] = OL_PRIVATE;
77 $modversion['config'][1]['options'] = array('Public' => OL_PUBLIC, 'Group' => OL_GROUP_ONLY, 'Private' => OL_PRIVATE );
78
79 $modversion['config'][2]['name'] = 'pdf_access_rights';
80 $modversion['config'][2]['title'] = '_MI_XNPARTICLE_CFG_SHOW_PDF';
81 $modversion['config'][2]['description'] = '_MI_XNPARTICLE_CFG_SHOW_PDF_DESC';
82 $modversion['config'][2]['formtype'] = 'select';
83 $modversion['config'][2]['valuetype'] = 'string';
84 $modversion['config'][2]['default'] = OL_PRIVATE;
85 $modversion['config'][2]['options'] = array('Public' => OL_PUBLIC, 'Group' => OL_GROUP_ONLY, 'Private' => OL_PRIVATE );
86
87 // Blocks
88
89 //Install script
90 $modversion['onInstall'] = 'include/oninstall.inc.php';
91 $modversion['onUpdate'] = 'include/onupdate.inc.php';
92 $modversion['onUninstall'] = 'include/onuninstall.inc.php';
93 ?>
94

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