Develop and Download Open Source Software

Browse CVS Repository

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

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


Revision 1.15 - (hide annotations) (download) (as text)
Tue Jun 10 05:25:44 2014 UTC (9 years, 10 months ago) by ken_ko
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +10 -7 lines
File MIME type: application/x-httpd-php
*** empty log message ***

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

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