Develop and Download Open Source Software

Browse CVS Repository

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

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


Revision 1.1 - (show annotations) (download) (as text)
Mon Nov 6 01:29:26 2006 UTC (17 years, 5 months ago) by yamaji
Branch point for: MAIN
File MIME type: application/x-httpd-php
Initial revision

1 <?php
2 // $Revision: 1.6 $ //
3 // ------------------------------------------------------------------------ //
4 // //
5 // OAI-PMH based Institutional Repository Introduction Module //
6 // Copyright (C) 2005 Kazutsuna YAMAJI. All rights reserved. //
7 // //
8 // ------------------------------------------------------------------------ //
9 // This program is free software; you can redistribute it and/or modify //
10 // it under the terms of the GNU General Public License as published by //
11 // the Free Software Foundation; either version 2 of the License, or //
12 // (at your option) any later version. //
13 // //
14 // You may not change or alter any portion of this comment or credits //
15 // of supporting developers from this source code or any supporting //
16 // source code which is considered copyrighted (c) material of the //
17 // original comment or credit authors. //
18 // //
19 // This program is distributed in the hope that it will be useful, //
20 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
22 // GNU General Public License for more details. //
23 // //
24 // You should have received a copy of the GNU General Public License //
25 // along with this program; if not, write to the Free Software //
26 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
27 // ------------------------------------------------------------------------ //
28
29 $modversion['name'] = _MI_IRVIEW_NAME;
30 $modversion['version'] = 1.05;
31 $modversion['description'] = _MI_IRVIEW_DESC;
32 $modversion['credits'] = "Kazutsuna YAMAJI";
33 $modversion['author'] = "Kazutsuna YAMAJI";
34 $modversion['help'] = "irview.html";
35 $modversion['license'] = "GPL see LICENSE";
36 $modversion['official'] = 0;
37 $modversion['image'] = "images/irview_slogo.png";
38 $modversion['dirname'] = "IRview";
39
40 // Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
41 // All tables should not have any prefix!
42 $modversion['sqlfile']['mysql'] = "sql/mysql.sql";
43 //$modversion['sqlfile']['postgresql'] = "sql/pgsql.sql";
44
45 // Tables created by sql file (without prefix!)
46 $modversion['tables'][1] = "irview_resumption_token";
47 $modversion['tables'][2] = "irview_repositories";
48 $modversion['tables'][3] = "irview_metadata";
49
50 // Admin things
51 $modversion['hasAdmin'] = 1;
52 $modversion['adminindex'] = "admin/index.php";
53 $modversion['adminmenu'] = "admin/menu.php";
54
55 // Main contents
56 $modversion['hasMain'] = 1;
57
58 // Templates
59 $modversion['templates'][1]['file'] = 'irview_index.html';
60 $modversion['templates'][1]['description'] = '';
61 $modversion['templates'][2]['file'] = 'irview_metadata_search.html';
62 $modversion['templates'][2]['description'] = 'IR view metadata search page';
63
64 // Blocks
65 $modversion['blocks'][1]['file'] = "irview_block.php";
66 $modversion['blocks'][1]['name'] = _MI_IRVIEW_BLOCK;
67 $modversion['blocks'][1]['description'] = "IRVIEW BLOCK";
68 $modversion['blocks'][1]['show_func'] = "b_irview_block";
69 $modversion['blocks'][1]['template'] = "irview_block.html";
70
71 // Config
72 $modversion['config'][1]['name'] = 'jpgraph_location';
73 $modversion['config'][1]['title'] = '_MI_IRVIEW_CONFIG_JPGRAPH';
74 $modversion['config'][1]['description'] = '_MI_IRVIEW_CONFIG_JPGRAPH_DESC';
75 $modversion['config'][1]['formtype'] = 'textbox';
76 $modversion['config'][1]['valuetype'] = 'text';
77 $modversion['config'][2]['name'] = 'tmpfile_location';
78 $modversion['config'][2]['title'] = '_MI_IRVIEW_CONFIG_TMPFILE';
79 $modversion['config'][2]['description'] = '_MI_IRVIEW_CONFIG_TMPFILE_DESC';
80 $modversion['config'][2]['formtype'] = 'textbox';
81 $modversion['config'][2]['valuetype'] = 'text';
82 $modversion['config'][2]['default'] = '/tmp/';
83
84
85 //Install script
86 $modversion['onInstall'] = 'install_funcs.php';
87 $modversion['onUninstall'] = 'install_funcs.php';
88 $modversion['onUpdate'] = 'install_funcs.php';
89 ?>

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