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.1 - (hide annotations) (download) (as text)
Wed Oct 25 05:47:10 2006 UTC (17 years, 5 months ago) by ken_ko
Branch: MAIN
Branch point for: current
File MIME type: application/x-httpd-php
Initial revision

1 ken_ko 1.1 <?php
2     // XooNIps article item type module
3     // $Revision: 1.00 $
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     $modversion['name'] = _MI_XNPARTICLE_NAME;
25     $modversion['version'] = 1.00;
26     $modversion['description'] = _MI_XNPARTICLE_DESC;
27     $modversion['credits'] = "Keio University and RIKEN, Japan.<br/>"
28     ."<a target=\"blank\" href=\"http://www.lib.keio.ac.jp/\">http://www.lib.keio.ac.jp/</a><br/>"
29     ."<a target=\"blank\" href=\"http://www.riken.jp/\">http://www.riken.jp/</a>";
30     $modversion['author'] =
31     "Keio University Medeia Center, RIKEN BSI.<br/>"
32     ."<a target=\"blank\" href=\"http://www.lib.keio.ac.jp/\">http://www.lib.keio.ac.jp/</a><br/>"
33     ."Neuroinformatics Laboratry, RIKEN BSI.<br/>"
34     ."<a target=\"blank\" href=\"http://www.ni.brain.riken.jp/\">http://www.ni.brain.riken.jp/</a><br/><br/>"
35     ."The XooNIps Library Module Project. <br/>"
36     ."<a target=\"blank\" href=\"http://sourceforge.jp/projects/xoonips-library/\">http://sourceforge.jp/projects/xoonips-library/</a><br/>"
37     ."The XooNIps Project. <br/>"
38     ."<a target=\"blank\" href=\"http://sourceforge.jp/projects/xoonips/\">http://sourceforge.jp/projects/xoonips/</a>";
39     $modversion['help'] = "help.html";
40     $modversion['license'] = "GPL see LICENSE";
41     $modversion['official'] = 0;
42     $modversion['image'] = "images/xnparticle_slogo.png";
43     $modversion['dirname'] = "xnparticle";
44    
45     // Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
46     // All tables should not have any prefix!
47     $modversion['sqlfile']['mysql'] = "sql/mysql.sql";
48     $modversion['tables'][0] = "xnparticle_item_detail";
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'] = 1;
57    
58     // Templates
59     $modversion['templates'][1]['file'] = 'xnparticle_main.html';
60     $modversion['templates'][1]['description'] = 'article test page';
61     $modversion['templates'][2]['file'] = 'xnparticle_list_block.html';
62     $modversion['templates'][2]['description'] = 'list block';
63     $modversion['templates'][3]['file'] = 'xnparticle_register_block.html';
64     $modversion['templates'][3]['description'] = 'register block';
65     $modversion['templates'][4]['file'] = 'xnparticle_detail_block.html';
66     $modversion['templates'][4]['description'] = 'detail block';
67     $modversion['templates'][5]['file'] = 'xnparticle_confirm_block.html';
68     $modversion['templates'][5]['description'] = 'confirm block';
69     $modversion['templates'][6]['file'] = 'xnparticle_search_block.html';
70     $modversion['templates'][6]['description'] = 'search block';
71    
72     // config
73     include_once( XOOPS_ROOT_PATH.'/modules/xoonips/condefs.php' );
74    
75     $modversion['config'][1]['name'] = 'abstract_access_rights';
76     $modversion['config'][1]['title'] = '_MI_XNPARTICLE_CFG_SHOW_ABST';
77     $modversion['config'][1]['description'] = '_MI_XNPARTICLE_CFG_SHOW_ABST_DESC';
78     $modversion['config'][1]['formtype'] = 'select';
79     $modversion['config'][1]['valuetype'] = 'string';
80     $modversion['config'][1]['default'] = OL_PRIVATE;
81     $modversion['config'][1]['options'] = array('Public' => OL_PUBLIC, 'Group' => OL_GROUP_ONLY, 'Private' => OL_PRIVATE );
82    
83     $modversion['config'][2]['name'] = 'pdf_access_rights';
84     $modversion['config'][2]['title'] = '_MI_XNPARTICLE_CFG_SHOW_PDF';
85     $modversion['config'][2]['description'] = '_MI_XNPARTICLE_CFG_SHOW_PDF_DESC';
86     $modversion['config'][2]['formtype'] = 'select';
87     $modversion['config'][2]['valuetype'] = 'string';
88     $modversion['config'][2]['default'] = OL_PRIVATE;
89     $modversion['config'][2]['options'] = array('Public' => OL_PUBLIC, 'Group' => OL_GROUP_ONLY, 'Private' => OL_PRIVATE );
90    
91     // Blocks
92    
93     //Install script
94     $modversion['onInstall'] = 'install_funcs.php';
95     $modversion['onUninstall'] = 'install_funcs.php';
96     $modversion['onUpdate'] = 'install_funcs.php';
97     ?>

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