Develop and Download Open Source Software

Browse CVS Repository

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

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


Revision 1.1.1.1 - (show annotations) (download) (as text) (vendor branch)
Tue Jul 4 10:04:25 2006 UTC (17 years, 9 months ago) by ken_ko
Branch: MAIN, keio
CVS Tags: v1, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: application/x-httpd-php
貴重書アイテムタイプ:xnprarebookの初期登録です。

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

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