PageRenderTime 55ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 1ms

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

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