| 1 |
<?php |
<?php |
| 2 |
// XooNIps bulletin item type module // |
// XooNIps bulletin item type module // |
| 3 |
// $Revision$ // |
// $Revision$ // |
| 4 |
// -------------------------------------------------------------------------- // |
// -------------------------------------------------------------------------- // |
| 5 |
// XooNIps Xoops modules for Neuroinformatics Platforms // |
// XooNIps Xoops modules for Neuroinformatics Platforms // |
| 6 |
// Copyright (C) 2005 RIKEN, Japan. All rights reserved. // |
// Copyright (C) 2005 RIKEN, Japan. All rights reserved. // |
| 21 |
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // |
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // |
| 22 |
// -------------------------------------------------------------------------- // |
// -------------------------------------------------------------------------- // |
| 23 |
|
|
| 24 |
$modversion['name'] = _MI_XNPBULLETIN_NAME; |
// 2.01 -> 3.10 Avoid keyword separation at the item registeration. |
| 25 |
$modversion['version'] = 1.10; |
// Modify export attachment specification (consistent with the XooNIps 3.1) |
| 26 |
|
// No change in the install_funcs.php Just appearances. Don't worry! |
| 27 |
|
// |
| 28 |
|
$modversion['name'] = _MI_XNPBULLETIN_NAME; |
| 29 |
|
$modversion['version'] = 3.11; |
| 30 |
$modversion['description'] = _MI_XNPBULLETIN_DESC; |
$modversion['description'] = _MI_XNPBULLETIN_DESC; |
| 31 |
$modversion['credits'] = |
$modversion['credits'] = "The XooNIps Library Module Project.<br/>" |
| 32 |
"RIKEN, Japan.<br/>" |
."<a target=\"blank\" href=\"http://sourceforge.jp/projects/xoonips-library/\">http://sourceforge.jp/projects/xoonips-library/</a>"; |
| 33 |
."<a target=\"blank\" href=\"http://www.riken.jp/\">http://www.riken.jp/</a>"; |
$modversion['author'] = "The XooNIps Library Module Project. <br/>" |
| 34 |
$modversion['author'] = |
."<a target=\"blank\" href=\"http://sourceforge.jp/projects/xoonips-library/\">http://sourceforge.jp/projects/xoonips-library/</a>"; |
| 35 |
"Neuroinformatics Laboratry, RIKEN BSI.<br/>" |
$modversion['help'] = "help.html"; |
| 36 |
."<a target=\"blank\" href=\"http://www.ni.brain.riken.jp/\">http://www.ni.brain.riken.jp/</a><br/><br/>" |
$modversion['license'] = "GPL see LICENSE"; |
| 37 |
."The XooNIps Project. <br/>" |
$modversion['official'] = 0; |
| 38 |
."<a target=\"blank\" href=\"http://sourceforge.jp/projects/xoonips/\">http://sourceforge.jp/projects/xoonips/</a>"; |
$modversion['image'] = "images/xnpbulletin_slogo.png"; |
| 39 |
$modversion['help'] = "help.html"; |
$modversion['dirname'] = "xnpbulletin"; |
|
$modversion['license'] = "GPL see LICENSE"; |
|
|
$modversion['official'] = 0; |
|
|
$modversion['image'] = "images/xnpbulletin_slogo.png"; |
|
|
$modversion['dirname'] = "xnpbulletin"; |
|
| 40 |
|
|
| 41 |
// Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin) |
// Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin) |
| 42 |
// All tables should not have any prefix! |
// All tables should not have any prefix! |
| 43 |
$modversion['sqlfile']['mysql'] = "sql/mysql.sql"; |
$modversion['sqlfile']['mysql'] = "sql/mysql.sql"; |
| 44 |
$modversion['tables'][0] = "xnpbulletin_item_detail"; |
$modversion['tables'][0] = "xnpbulletin_item_detail"; |
| 45 |
|
$modversion['tables'][1] = "xnpbulletin_item_detail_child_author"; |
| 46 |
|
$modversion['tables'][2] = "xnpbulletin_item_detail_child_keywords"; |
| 47 |
|
$modversion['tables'][3] = "xnpbulletin_item_detail_child_free_keywords"; |
| 48 |
|
$modversion['tables'][4] = "xnpbulletin_item_detail_child_sub_title"; |
| 49 |
|
|
| 50 |
// Admin things |
// Admin things |
| 51 |
$modversion['hasAdmin'] = 1; |
$modversion['hasAdmin'] = 1; |
| 52 |
$modversion['adminindex'] = "admin/index.php"; |
$modversion['adminindex'] = "admin/index.php"; |
| 53 |
$modversion['adminmenu'] = "admin/menu.php"; |
$modversion['adminmenu'] = "admin/menu.php"; |
| 54 |
|
|
| 55 |
// Menu |
// Menu |
| 56 |
$modversion['hasMain'] = 1; |
$modversion['hasMain'] = 0; |
| 57 |
|
|
| 58 |
// Templates |
// Templates |
| 59 |
$modversion['templates'][1]['file'] = 'xnpbulletin_main.html'; |
$modversion['templates'][1]['file'] = 'xnpbulletin_list_block.html'; |
| 60 |
$modversion['templates'][1]['description'] = 'bulletin test page'; |
$modversion['templates'][1]['description'] = 'list block'; |
| 61 |
$modversion['templates'][2]['file'] = 'xnpbulletin_list_block.html'; |
$modversion['templates'][2]['file'] = 'xnpbulletin_register_block.html'; |
| 62 |
$modversion['templates'][2]['description'] = 'list block'; |
$modversion['templates'][2]['description'] = 'register block'; |
| 63 |
$modversion['templates'][3]['file'] = 'xnpbulletin_register_block.html'; |
$modversion['templates'][3]['file'] = 'xnpbulletin_detail_block.html'; |
| 64 |
$modversion['templates'][3]['description'] = 'register block'; |
$modversion['templates'][3]['description'] = 'detail block'; |
| 65 |
$modversion['templates'][4]['file'] = 'xnpbulletin_detail_block.html'; |
$modversion['templates'][4]['file'] = 'xnpbulletin_confirm_block.html'; |
| 66 |
$modversion['templates'][4]['description'] = 'detail block'; |
$modversion['templates'][4]['description'] = 'confirm block'; |
| 67 |
$modversion['templates'][5]['file'] = 'xnpbulletin_confirm_block.html'; |
$modversion['templates'][5]['file'] = 'xnpbulletin_search_block.html'; |
| 68 |
$modversion['templates'][5]['description'] = 'confirm block'; |
$modversion['templates'][5]['description'] = 'search block'; |
|
$modversion['templates'][6]['file'] = 'xnpbulletin_search_block.html'; |
|
|
$modversion['templates'][6]['description'] = 'search block'; |
|
| 69 |
|
|
| 70 |
// config |
// config |
| 71 |
include_once( XOOPS_ROOT_PATH.'/modules/xoonips/condefs.php' ); |
include_once( XOOPS_ROOT_PATH.'/modules/xoonips/condefs.php' ); |