Develop and Download Open Source Software

Browse CVS Repository

Annotation of /xoonips-library/xnpphoto/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 Jul 5 08:06:49 2006 UTC (17 years, 9 months ago) by ken_ko
Branch point for: MAIN, keio
File MIME type: application/x-httpd-php
Initial revision

1 ken_ko 1.1 <?php
2     // XooNIps photo item type module //
3     // $Revision: $ //
4     // -------------------------------------------------------------------------- //
5     // XNPPHOTO is a XooNIps item type module.
6     //
7     // It's being developed for Library mainly. //
8     // Copyright (C) 2006 RIKEN,Japan & KEIO University. All rights reserved. //
9     // http://sourceforge.jp/projects/xoonips-library/ //
10     // -------------------------------------------------------------------------- //
11     // This program is free software; you can redistribute it and/or //
12     // modify it under the terms of the GNU General Public License //
13     // as published by the Free Software Foundation; either version 2 //
14     // of the License, or (at your option) any later version. //
15     // //
16     // This program is distributed in the hope that it will be useful, //
17     // but WITHOUT ANY WARRANTY; without even the implied warranty of //
18     // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
19     // GNU General Public License for more details. //
20     // //
21     // You should have received a copy of the GNU General Public License //
22     // along with this program; if not, write to the Free Software //
23     // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //
24     // -------------------------------------------------------------------------- //
25    
26     // 2.01 -> 3.10 Avoid keyword separation at the item registeration.
27     // Modify export attachment specification (consistent with the XooNIps 3.1)
28     // No change in the install_funcs.php Just appearances. Don't worry!
29     //
30     $modversion['name'] = _MI_XNPPHOTO_NAME;
31     $modversion['version'] = 3.10;
32     $modversion['description'] = _MI_XNPPHOTO_DESC;
33     $modversion['credits'] = "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['author'] = "The XooNIps Library Module Project. <br/>"
36     ."<a target=\"blank\" href=\"http://sourceforge.jp/projects/xoonips-library/\">http://sourceforge.jp/projects/xoonips-library/</a>";
37     $modversion['help'] = "help.html";
38     $modversion['license'] = "GPL see LICENSE";
39     $modversion['official'] = 0;
40     $modversion['image'] = "images/xnpphoto_slogo.png";
41     $modversion['dirname'] = "xnpphoto";
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] = "xnpphoto_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'] = 'xnpphoto_main.html';
58     $modversion['templates'][1]['description'] = 'photo test page';
59     $modversion['templates'][2]['file'] = 'xnpphoto_list_block.html';
60     $modversion['templates'][2]['description'] = 'list block';
61     $modversion['templates'][3]['file'] = 'xnpphoto_register_block.html';
62     $modversion['templates'][3]['description'] = 'register block';
63     $modversion['templates'][4]['file'] = 'xnpphoto_detail_block.html';
64     $modversion['templates'][4]['description'] = 'detail block';
65     $modversion['templates'][5]['file'] = 'xnpphoto_confirm_block.html';
66     $modversion['templates'][5]['description'] = 'confirm block';
67     $modversion['templates'][6]['file'] = 'xnpphoto_search_block.html';
68     $modversion['templates'][6]['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_XNPPHOTO_CFG_SHOW_ABST';
75     $modversion['config'][1]['description'] = '_MI_XNPPHOTO_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_XNPPHOTO_CFG_SHOW_PDF';
83     $modversion['config'][2]['description'] = '_MI_XNPPHOTO_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