PageRenderTime 20ms CodeModel.GetById 7ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

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