PageRenderTime 43ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/modules/system/xoops_version.php

https://gitlab.com/BaseX/BaseX
PHP | 169 lines | 117 code | 17 blank | 35 comment | 1 complexity | 24623257fdb79d20aad5dcedfcea5d5f MD5 | raw file
  1. <?php
  2. // $Id: xoops_version.php 694 2006-09-04 11:33:22Z skalpa $
  3. // ------------------------------------------------------------------------ //
  4. // XOOPS - PHP Content Management System //
  5. // Copyright (c) 2000 XOOPS.org //
  6. // <http://www.xoops.org/> //
  7. // ------------------------------------------------------------------------ //
  8. // This program is free software; you can redistribute it and/or modify //
  9. // it under the terms of the GNU General Public License as published by //
  10. // the Free Software Foundation; either version 2 of the License, or //
  11. // (at your option) any later version. //
  12. // //
  13. // You may not change or alter any portion of this comment or credits //
  14. // of supporting developers from this source code or any supporting //
  15. // source code which is considered copyrighted (c) material of the //
  16. // original comment or credit authors. //
  17. // //
  18. // This program is distributed in the hope that it will be useful, //
  19. // but WITHOUT ANY WARRANTY; without even the implied warranty of //
  20. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
  21. // GNU General Public License for more details. //
  22. // //
  23. // You should have received a copy of the GNU General Public License //
  24. // along with this program; if not, write to the Free Software //
  25. // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
  26. // ------------------------------------------------------------------------ //
  27. // Author: Kazumi Ono (AKA onokazu) //
  28. // URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
  29. // Project: The XOOPS Project //
  30. // ------------------------------------------------------------------------- //
  31. $modversion['name'] = _MI_SYSTEM_NAME;
  32. $modversion['version'] = 1.02;
  33. $modversion['description'] = _MI_SYSTEM_DESC;
  34. $modversion['author'] = "";
  35. $modversion['credits'] = "The XOOPS Project";
  36. $modversion['help'] = "system.html";
  37. $modversion['license'] = "GPL see LICENSE";
  38. $modversion['official'] = 1;
  39. $modversion['image'] = "images/system_slogo.png";
  40. $modversion['dirname'] = "system";
  41. // Admin things
  42. $modversion['hasAdmin'] = 1;
  43. $modversion['adminindex'] = "admin.php";
  44. $modversion['adminmenu'] = "menu.php";
  45. $modversion['onUpdate'] = "include/update.php";
  46. // Templates
  47. $modversion['templates'][1]['file'] = 'system_imagemanager.html';
  48. $modversion['templates'][1]['description'] = '';
  49. $modversion['templates'][2]['file'] = 'system_imagemanager2.html';
  50. $modversion['templates'][2]['description'] = '';
  51. $modversion['templates'][3]['file'] = 'system_userinfo.html';
  52. $modversion['templates'][3]['description'] = '';
  53. $modversion['templates'][4]['file'] = 'system_userform.html';
  54. $modversion['templates'][4]['description'] = '';
  55. $modversion['templates'][5]['file'] = 'system_rss.html';
  56. $modversion['templates'][5]['description'] = '';
  57. $modversion['templates'][6]['file'] = 'system_redirect.html';
  58. $modversion['templates'][6]['description'] = '';
  59. $modversion['templates'][7]['file'] = 'system_comment.html';
  60. $modversion['templates'][7]['description'] = '';
  61. $modversion['templates'][8]['file'] = 'system_comments_flat.html';
  62. $modversion['templates'][8]['description'] = '';
  63. $modversion['templates'][9]['file'] = 'system_comments_thread.html';
  64. $modversion['templates'][9]['description'] = '';
  65. $modversion['templates'][10]['file'] = 'system_comments_nest.html';
  66. $modversion['templates'][10]['description'] = '';
  67. $modversion['templates'][11]['file'] = 'system_siteclosed.html';
  68. $modversion['templates'][11]['description'] = '';
  69. $modversion['templates'][12]['file'] = 'system_dummy.html';
  70. $modversion['templates'][12]['description'] = 'Dummy template file for holding non-template contents. This should not be edited.';
  71. $modversion['templates'][13]['file'] = 'system_notification_list.html';
  72. $modversion['templates'][13]['description'] = '';
  73. $modversion['templates'][14]['file'] = 'system_notification_select.html';
  74. $modversion['templates'][14]['description'] = '';
  75. $modversion['templates'][15]['file'] = 'system_block_dummy.html';
  76. $modversion['templates'][15]['description'] = 'Dummy template for custom blocks or blocks without templates';
  77. // Blocks
  78. $modversion['blocks'][1]['file'] = "system_blocks.php";
  79. $modversion['blocks'][1]['name'] = _MI_SYSTEM_BNAME2;
  80. $modversion['blocks'][1]['description'] = "Shows user block";
  81. $modversion['blocks'][1]['show_func'] = "b_system_user_show";
  82. $modversion['blocks'][1]['template'] = 'system_block_user.html';
  83. $modversion['blocks'][2]['file'] = "system_blocks.php";
  84. $modversion['blocks'][2]['name'] = _MI_SYSTEM_BNAME3;
  85. $modversion['blocks'][2]['description'] = "Shows login form";
  86. $modversion['blocks'][2]['show_func'] = "b_system_login_show";
  87. $modversion['blocks'][2]['template'] = 'system_block_login.html';
  88. $modversion['blocks'][3]['file'] = "system_blocks.php";
  89. $modversion['blocks'][3]['name'] = _MI_SYSTEM_BNAME4;
  90. $modversion['blocks'][3]['description'] = "Shows search form block";
  91. $modversion['blocks'][3]['show_func'] = "b_system_search_show";
  92. $modversion['blocks'][3]['template'] = 'system_block_search.html';
  93. $modversion['blocks'][4]['file'] = "system_blocks.php";
  94. $modversion['blocks'][4]['name'] = _MI_SYSTEM_BNAME5;
  95. $modversion['blocks'][4]['description'] = "Shows contents waiting for approval";
  96. $modversion['blocks'][4]['show_func'] = "b_system_waiting_show";
  97. $modversion['blocks'][4]['template'] = 'system_block_waiting.html';
  98. $modversion['blocks'][5]['file'] = "system_blocks.php";
  99. $modversion['blocks'][5]['name'] = _MI_SYSTEM_BNAME6;
  100. $modversion['blocks'][5]['description'] = "Shows the main navigation menu of the site";
  101. $modversion['blocks'][5]['show_func'] = "b_system_main_show";
  102. $modversion['blocks'][5]['template'] = 'system_block_mainmenu.html';
  103. $modversion['blocks'][6]['file'] = "system_blocks.php";
  104. $modversion['blocks'][6]['name'] = _MI_SYSTEM_BNAME7;
  105. $modversion['blocks'][6]['description'] = "Shows basic info about the site and a link to Recommend Us pop up window";
  106. $modversion['blocks'][6]['show_func'] = "b_system_info_show";
  107. $modversion['blocks'][6]['edit_func'] = "b_system_info_edit";
  108. $modversion['blocks'][6]['options'] = "320|190|s_poweredby.gif|1";
  109. $modversion['blocks'][6]['template'] = 'system_block_siteinfo.html';
  110. $modversion['blocks'][7]['file'] = "system_blocks.php";
  111. $modversion['blocks'][7]['name'] = _MI_SYSTEM_BNAME8;
  112. $modversion['blocks'][7]['description'] = "Displays users/guests currently online";
  113. $modversion['blocks'][7]['show_func'] = "b_system_online_show";
  114. $modversion['blocks'][7]['template'] = 'system_block_online.html';
  115. $modversion['blocks'][8]['file'] = "system_blocks.php";
  116. $modversion['blocks'][8]['name'] = _MI_SYSTEM_BNAME9;
  117. $modversion['blocks'][8]['description'] = "Top posters";
  118. $modversion['blocks'][8]['show_func'] = "b_system_topposters_show";
  119. $modversion['blocks'][8]['options'] = "10|1";
  120. $modversion['blocks'][8]['edit_func'] = "b_system_topposters_edit";
  121. $modversion['blocks'][8]['template'] = 'system_block_topusers.html';
  122. $modversion['blocks'][9]['file'] = "system_blocks.php";
  123. $modversion['blocks'][9]['name'] = _MI_SYSTEM_BNAME10;
  124. $modversion['blocks'][9]['description'] = "Shows most recent users";
  125. $modversion['blocks'][9]['show_func'] = "b_system_newmembers_show";
  126. $modversion['blocks'][9]['options'] = "10|1";
  127. $modversion['blocks'][9]['edit_func'] = "b_system_newmembers_edit";
  128. $modversion['blocks'][9]['template'] = 'system_block_newusers.html';
  129. $modversion['blocks'][10]['file'] = "system_blocks.php";
  130. $modversion['blocks'][10]['name'] = _MI_SYSTEM_BNAME11;
  131. $modversion['blocks'][10]['description'] = "Shows most recent comments";
  132. $modversion['blocks'][10]['show_func'] = "b_system_comments_show";
  133. $modversion['blocks'][10]['options'] = "10";
  134. $modversion['blocks'][10]['edit_func'] = "b_system_comments_edit";
  135. $modversion['blocks'][10]['template'] = 'system_block_comments.html';
  136. // RMV-NOTIFY:
  137. // Adding a block...
  138. $modversion['blocks'][11]['file'] = "system_blocks.php";
  139. $modversion['blocks'][11]['name'] = _MI_SYSTEM_BNAME12;
  140. $modversion['blocks'][11]['description'] = "Shows notification options";
  141. $modversion['blocks'][11]['show_func'] = "b_system_notification_show";
  142. $modversion['blocks'][11]['template'] = 'system_block_notification.html';
  143. $modversion['blocks'][12]['file'] = "system_blocks.php";
  144. $modversion['blocks'][12]['name'] = _MI_SYSTEM_BNAME13;
  145. $modversion['blocks'][12]['description'] = "Shows theme selection box";
  146. $modversion['blocks'][12]['show_func'] = "b_system_themes_show";
  147. $modversion['blocks'][12]['options'] = "0|80";
  148. $modversion['blocks'][12]['edit_func'] = "b_system_themes_edit";
  149. $modversion['blocks'][12]['template'] = 'system_block_themes.html';
  150. // Menu
  151. $modversion['hasMain'] = 0;
  152. ?>