PageRenderTime 36ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/administrator/components/com_k2/views/info/tmpl/default.php

https://gitlab.com/Mansikka/effigy-pro
PHP | 318 lines | 303 code | 7 blank | 8 comment | 29 complexity | b4e2823ccbdd0aada6d325878db09899 MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: default.php 1859 2013-02-06 19:13:48Z joomlaworks $
  4. * @package K2
  5. * @author JoomlaWorks http://www.joomlaworks.net
  6. * @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
  7. * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
  8. */
  9. // no direct access
  10. defined('_JEXEC') or die;
  11. ?>
  12. <form action="index.php" method="post" name="adminForm">
  13. <table cellpadding="0" cellspacing="0" border="0" style="width:100%" id="k2InfoPage" class="table">
  14. <tr>
  15. <td>
  16. <fieldset class="adminform">
  17. <legend><?php echo JText::_('K2_ABOUT'); ?></legend>
  18. <div class="k2TextBox"><?php echo JText::_('K2_ABOUT_TEXT'); ?></div>
  19. </fieldset>
  20. <fieldset class="adminform">
  21. <legend><?php echo JText::_('K2_CREDITS'); ?></legend>
  22. <table class="adminlist table table-striped">
  23. <thead>
  24. <tr>
  25. <th><?php echo JText::_('K2_PROVIDER'); ?></th>
  26. <th><?php echo JText::_('K2_VERSION'); ?></th>
  27. <th><?php echo JText::_('K2_TYPE'); ?></th>
  28. <th><?php echo JText::_('K2_LICENSE'); ?></th>
  29. </tr>
  30. </thead>
  31. <tfoot>
  32. <tr>
  33. <th colspan="4">&nbsp;</th>
  34. </tr>
  35. </tfoot>
  36. <tbody>
  37. <tr>
  38. <td><a target="_blank" href="http://nuovext.pwsp.net/">NuoveXT</a></td>
  39. <td>2.2</td>
  40. <td><?php echo JText::_('K2_ICONS'); ?></td>
  41. <td><?php echo JText::_('K2_GNUGPL'); ?></td>
  42. </tr>
  43. <tr>
  44. <td><a target="_blank" href="http://p.yusukekamiyamane.com/">Fugue Icons<br />(by Yusuke Kamiyamane)</a></td>
  45. <td>3.5.3</td>
  46. <td><?php echo JText::_('K2_ICONS'); ?></td>
  47. <td><?php echo JText::_('K2_CREATIVE_COMMONS_ATTRIBUTION_30_LICENSE'); ?></td>
  48. </tr>
  49. <tr>
  50. <td><a target="_blank" href="http://www.iconarchive.com/artist/tpdkdesign.net.html">"Choose Your Sport" Icon Pack<br />(by TpdkDesign.net)</a></td>
  51. <td><?php echo JText::_('K2_NA'); ?></td>
  52. <td><?php echo JText::_('K2_ICONS'); ?></td>
  53. <td><?php echo JText::_('K2_INFO_FREE_LICENSE'); ?></td>
  54. </tr>
  55. <tr>
  56. <td><a target="_blank" href="http://pear.php.net/package/Services_JSON/">Services_JSON</a></td>
  57. <td>1.0.1</td>
  58. <td><?php echo JText::_('K2_PHP_CLASS'); ?></td>
  59. <td><?php echo JText::_('K2_BSD'); ?></td>
  60. </tr>
  61. <tr>
  62. <td><a target="_blank" href="http://www.verot.net/php_class_upload.htm">class.upload.php</a></td>
  63. <td>0.32</td>
  64. <td><?php echo JText::_('K2_PHP_CLASS'); ?></td>
  65. <td><?php echo JText::_('K2_GNUGPL'); ?></td>
  66. </tr>
  67. <tr>
  68. <td><a target="_blank" href="http://jquery.com">jQuery</a></td>
  69. <td>1.5.x - 1.9.x</td>
  70. <td><?php echo JText::_('K2_JS_LIB'); ?></td>
  71. <td><?php echo JText::_('K2_MIT'); ?></td>
  72. </tr>
  73. <tr>
  74. <td><a target="_blank" href="http://jqueryui.com/">jQuery UI</a></td>
  75. <td>1.8.24</td>
  76. <td><?php echo JText::_('K2_JS_LIB'); ?></td>
  77. <td><?php echo JText::_('K2_MIT'); ?></td>
  78. </tr>
  79. <tr>
  80. <td><a target="_blank" href="http://elfinder.org/">elFinder</a></td>
  81. <td>2.0 (rc1)</td>
  82. <td><?php echo JText::_('K2_INFO_FILE_MANAGER'); ?></td>
  83. <td><?php echo JText::_('K2_BSD'); ?></td>
  84. </tr>
  85. </tbody>
  86. </table>
  87. </fieldset>
  88. </td>
  89. <td>
  90. <fieldset class="adminform">
  91. <legend><?php echo JText::_('K2_SYSTEM_INFORMATION'); ?></legend>
  92. <table class="adminlist table table-striped">
  93. <thead>
  94. <tr>
  95. <th><?php echo JText::_('K2_CHECK'); ?></th>
  96. <th><?php echo JText::_('K2_RESULT'); ?></th>
  97. </tr>
  98. </thead>
  99. <tfoot>
  100. <tr>
  101. <th colspan="2">&nbsp;</th>
  102. </tr>
  103. </tfoot>
  104. <tbody>
  105. <tr>
  106. <td><strong><?php echo JText::_('K2_WEB_SERVER'); ?></strong></td>
  107. <td><?php echo $this->server; ?></td>
  108. </tr>
  109. <tr>
  110. <td><strong><?php echo JText::_('K2_PHP_VERSION'); ?></strong></td>
  111. <td><?php echo $this->php_version; ?></td>
  112. </tr>
  113. <tr>
  114. <td><strong><?php echo JText::_('K2_MYSQL_VERSION'); ?></strong></td>
  115. <td><?php echo $this->db_version; ?></td>
  116. </tr>
  117. <tr>
  118. <td><strong><?php echo JText::_('K2_GD_IMAGE_LIBRARY'); ?></strong></td>
  119. <td><?php if ($this->gd_check) {$gdinfo=gd_info(); echo $gdinfo["GD Version"];} else echo JText::_('K2_DISABLED'); ?></td>
  120. </tr>
  121. <tr>
  122. <td><strong><?php echo JText::_('K2_MULTIBYTE_STRING_SUPPORT'); ?></strong></td>
  123. <td><?php if ($this->mb_check) echo JText::_('K2_ENABLED'); else echo JText::_('K2_DISABLED'); ?></td>
  124. </tr>
  125. <tr>
  126. <td><strong><?php echo JText::_('K2_UPLOAD_LIMIT'); ?></strong></td>
  127. <td><?php echo ini_get('upload_max_filesize'); ?></td>
  128. </tr>
  129. <tr>
  130. <td><strong><?php echo JText::_('K2_MEMORY_LIMIT'); ?></strong></td>
  131. <td><?php echo ini_get('memory_limit'); ?></td>
  132. </tr>
  133. <tr>
  134. <td><strong><?php echo JText::_('K2_OPEN_REMOTE_FILES_ALLOW_URL_FOPEN'); ?></strong></td>
  135. <td><?php echo (ini_get('allow_url_fopen'))? JText::_('K2_YES'):JText::_('K2_NO'); ?></td>
  136. </tr>
  137. </tbody>
  138. </table>
  139. </fieldset>
  140. <fieldset class="adminform">
  141. <legend><?php echo JText::_('K2_DIRECTORY_PERMISSIONS'); ?></legend>
  142. <table class="adminlist table table-striped">
  143. <thead>
  144. <tr>
  145. <th><?php echo JText::_('K2_CHECK'); ?></th>
  146. <th><?php echo JText::_('K2_RESULT'); ?></th>
  147. </tr>
  148. </thead>
  149. <tfoot>
  150. <tr>
  151. <th colspan="2">&nbsp;</th>
  152. </tr>
  153. </tfoot>
  154. <tbody>
  155. <tr>
  156. <td><strong>media/k2</strong></td>
  157. <td><?php if ($this->media_folder_check) echo JText::_('K2_WRITABLE'); else echo JText::_('K2_NOT_WRITABLE'); ?></td>
  158. </tr>
  159. <tr>
  160. <td><strong>media/k2/attachments</strong></td>
  161. <td><?php if ($this->attachments_folder_check) echo JText::_('K2_WRITABLE'); else echo JText::_('K2_NOT_WRITABLE'); ?></td>
  162. </tr>
  163. <tr>
  164. <td><strong>media/k2/categories</strong></td>
  165. <td><?php if ($this->categories_folder_check) echo JText::_('K2_WRITABLE'); else echo JText::_('K2_NOT_WRITABLE'); ?></td>
  166. </tr>
  167. <tr>
  168. <td><strong>media/k2/galleries</strong></td>
  169. <td><?php if ($this->galleries_folder_check) echo JText::_('K2_WRITABLE'); else echo JText::_('K2_NOT_WRITABLE'); ?></td>
  170. </tr>
  171. <tr>
  172. <td><strong>media/k2/items</strong></td>
  173. <td><?php if ($this->items_folder_check) echo JText::_('K2_WRITABLE'); else echo JText::_('K2_NOT_WRITABLE'); ?></td>
  174. </tr>
  175. <tr>
  176. <td><strong>media/k2/users</strong></td>
  177. <td><?php if ($this->users_folder_check) echo JText::_('K2_WRITABLE'); else echo JText::_('K2_NOT_WRITABLE'); ?></td>
  178. </tr>
  179. <tr>
  180. <td><strong>media/k2/videos</strong></td>
  181. <td><?php if ($this->videos_folder_check) echo JText::_('K2_WRITABLE'); else echo JText::_('K2_NOT_WRITABLE'); ?></td>
  182. </tr>
  183. <tr>
  184. <td><strong>cache</strong></td>
  185. <td><?php if ($this->cache_folder_check) echo JText::_('K2_WRITABLE'); else echo JText::_('K2_NOT_WRITABLE'); ?></td>
  186. </tr>
  187. </tbody>
  188. </table>
  189. </fieldset>
  190. <fieldset class="adminform">
  191. <legend><?php echo JText::_('K2_MODULES'); ?></legend>
  192. <table class="adminlist table table-striped">
  193. <thead>
  194. <tr>
  195. <th><?php echo JText::_('K2_CHECK'); ?></th>
  196. <th><?php echo JText::_('K2_RESULT'); ?></th>
  197. </tr>
  198. </thead>
  199. <tfoot>
  200. <tr>
  201. <th colspan="2">&nbsp;</th>
  202. </tr>
  203. </tfoot>
  204. <tbody>
  205. <tr>
  206. <td><strong>mod_k2_comments</strong></td>
  207. <td><?php echo (is_null(JModuleHelper::getModule('mod_k2_comments')))?JText::_('K2_NOT_INSTALLED'):JText::_('K2_INSTALLED'); ?></td>
  208. </tr>
  209. <tr>
  210. <td><strong>mod_k2_content</strong></td>
  211. <td><?php echo (is_null(JModuleHelper::getModule('mod_k2_content')))?JText::_('K2_NOT_INSTALLED'):JText::_('K2_INSTALLED'); ?></td>
  212. </tr>
  213. <tr>
  214. <td><strong>mod_k2_tools</strong></td>
  215. <td><?php echo (is_null(JModuleHelper::getModule('mod_k2_tools')))?JText::_('K2_NOT_INSTALLED'):JText::_('K2_INSTALLED'); ?></td>
  216. </tr>
  217. <tr>
  218. <td><strong>mod_k2_user</strong></td>
  219. <td><?php echo (is_null(JModuleHelper::getModule('mod_k2_user')))?JText::_('K2_NOT_INSTALLED'):JText::_('K2_INSTALLED'); ?></td>
  220. </tr>
  221. <tr>
  222. <td><strong>mod_k2_users</strong></td>
  223. <td><?php echo (is_null(JModuleHelper::getModule('mod_k2_users')))?JText::_('K2_NOT_INSTALLED'):JText::_('K2_INSTALLED'); ?></td>
  224. </tr>
  225. <tr>
  226. <td><strong>mod_k2_quickicons</strong> (administrator)</td>
  227. <td><?php echo (is_null(JModuleHelper::getModule('mod_k2_quickicons')))?JText::_('K2_NOT_INSTALLED'):JText::_('K2_INSTALLED'); ?></td>
  228. </tr>
  229. <tr>
  230. <td><strong>mod_k2_stats</strong> (administrator)</td>
  231. <td><?php echo (is_null(JModuleHelper::getModule('mod_k2_stats')))?JText::_('K2_NOT_INSTALLED'):JText::_('K2_INSTALLED'); ?></td>
  232. </tr>
  233. </tbody>
  234. </table>
  235. </fieldset>
  236. <fieldset class="adminform">
  237. <legend><?php echo JText::_('K2_PLUGINS'); ?></legend>
  238. <table class="adminlist table table-striped">
  239. <thead>
  240. <tr>
  241. <th><?php echo JText::_('K2_CHECK'); ?></th>
  242. <th><?php echo JText::_('K2_RESULT'); ?></th>
  243. </tr>
  244. </thead>
  245. <tfoot>
  246. <tr>
  247. <th colspan="2">&nbsp;</th>
  248. </tr>
  249. </tfoot>
  250. <tbody>
  251. <?php if(version_compare(JVERSION,'2.5.0','ge')): ?>
  252. <tr>
  253. <td><strong>Finder - K2</strong></td>
  254. <td><?php echo (JFile::exists(JPATH_PLUGINS.DS.'finder'.DS.'k2.php') || JFile::exists(JPATH_PLUGINS.DS.'finder'.DS.'k2'.DS.'k2.php'))?JText::_('K2_INSTALLED'):JText::_('K2_NOT_INSTALLED'); ?> - <?php echo (JPluginHelper::isEnabled('finder', 'k2'))?JText::_('K2_ENABLED'):JText::_('K2_DISABLED'); ?></td>
  255. </tr>
  256. <?php endif; ?>
  257. <tr>
  258. <td><strong>Search - K2</strong></td>
  259. <td><?php echo (JFile::exists(JPATH_PLUGINS.DS.'search'.DS.'k2.php') || JFile::exists(JPATH_PLUGINS.DS.'search'.DS.'k2'.DS.'k2.php'))?JText::_('K2_INSTALLED'):JText::_('K2_NOT_INSTALLED'); ?> - <?php echo (JPluginHelper::isEnabled('search', 'k2'))?JText::_('K2_ENABLED'):JText::_('K2_DISABLED'); ?></td>
  260. </tr>
  261. <tr>
  262. <td><strong>System - K2</strong></td>
  263. <td><?php echo (JFile::exists(JPATH_PLUGINS.DS.'system'.DS.'k2.php') || JFile::exists(JPATH_PLUGINS.DS.'system'.DS.'k2'.DS.'k2.php'))?JText::_('K2_INSTALLED'):JText::_('K2_NOT_INSTALLED'); ?> - <?php echo (JPluginHelper::isEnabled('system', 'k2'))?JText::_('K2_ENABLED'):JText::_('K2_DISABLED'); ?></td>
  264. </tr>
  265. <tr>
  266. <td><strong>User - K2</strong></td>
  267. <td><?php echo (JFile::exists(JPATH_PLUGINS.DS.'user'.DS.'k2.php') || JFile::exists(JPATH_PLUGINS.DS.'user'.DS.'k2'.DS.'k2.php'))?JText::_('K2_INSTALLED'):JText::_('K2_NOT_INSTALLED'); ?> - <?php echo (JPluginHelper::isEnabled('user', 'k2'))?JText::_('K2_ENABLED'):JText::_('K2_DISABLED'); ?></td>
  268. </tr>
  269. </tbody>
  270. </table>
  271. </fieldset>
  272. <fieldset class="adminform">
  273. <legend><?php echo JText::_('K2_THIRDPARTY_PLUGIN_INFORMATION'); ?></legend>
  274. <table class="adminlist table table-striped">
  275. <thead>
  276. <tr>
  277. <th><?php echo JText::_('K2_CHECK'); ?></th>
  278. <th><?php echo JText::_('K2_RESULT'); ?></th>
  279. </tr>
  280. </thead>
  281. <tfoot>
  282. <tr>
  283. <th colspan="2">&nbsp;</th>
  284. </tr>
  285. </tfoot>
  286. <tbody>
  287. <tr>
  288. <td><strong><?php echo JText::_('K2_ALLVIDEOS_PLUGIN'); ?></strong></td>
  289. <td><?php
  290. if (JFile::exists(JPATH_PLUGINS.DS.'content'.DS.'jw_allvideos.php') || JFile::exists(JPATH_PLUGINS.DS.'content'.DS.'jw_allvideos'.DS.'jw_allvideos.php'))
  291. echo JText::_('K2_INSTALLED');
  292. else
  293. echo JText::_('K2_NOT_INSTALLED');
  294. ?></td>
  295. </tr>
  296. <tr>
  297. <td><strong><?php echo JText::_('K2_SIMPLE_IMAGE_GALLERY_PRO_PLUGIN'); ?></strong></td>
  298. <td><?php
  299. if (JFile::exists(JPATH_PLUGINS.DS.'content'.DS.'jw_sigpro.php') || JFile::exists(JPATH_PLUGINS.DS.'content'.DS.'jw_sigpro'.DS.'jw_sigpro.php'))
  300. echo JText::_('K2_INSTALLED');
  301. else
  302. echo JText::_('K2_NOT_INSTALLED');
  303. ?></td>
  304. </tr>
  305. </tbody>
  306. </table>
  307. </fieldset>
  308. </td>
  309. </tr>
  310. </table>
  311. </form>