| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @version $Id: sysinfo_directory.php 11613 2009-02-07 13:41:23Z kdevine $ 4 */ 5 // No direct access 6 defined('_JEXEC') or die('Restricted access'); 7 8 jimport('joomla.filesystem.folder'); 9 $cparams = JComponentHelper::getParams ('com_media'); 10 $config =& JFactory::getConfig(); 11 ?> 12 <fieldset class="adminform"> 13 <legend><?php echo JText::_( 'Directory Permissions' ); ?></legend> 14 <table class="adminlist"> 15 <thead> 16 <tr> 17 <th width="650"> 18 <?php echo JText::_( 'Directory' ); ?> 19 </th> 20 <th> 21 <?php echo JText::_( 'Status' ); ?> 22 </th> 23 </tr> 24 </thead> 25 <tfoot> 26 <tr> 27 <td colspan="2"> 28 29 </td> 30 </tr> 31 </tfoot> 32 <tbody> 33 <?php 34 writableCell( 'administrator/backups' ); 35 writableCell( 'administrator/components' ); 36 writableCell( 'administrator/language' ); 37 38 // List all admin languages 39 $admin_langs = JFolder::folders(JPATH_ADMINISTRATOR.DS.'language'); 40 foreach ($admin_langs as $alang) 41 { 42 writableCell( 'administrator/language/'.$alang ); 43 } 44 45 writableCell( 'administrator/modules' ); 46 writableCell( 'administrator/templates' ); 47 writableCell( 'components' ); 48 writableCell( 'images' ); 49 writableCell( 'images/banners' ); 50 writableCell( $cparams->get('image_path')); 51 writableCell( 'language' ); 52 53 // List all site languages 54 $site_langs = JFolder::folders(JPATH_SITE.DS.'language'); 55 foreach ($site_langs as $slang) 56 { 57 writableCell( 'language/'.$slang ); 58 } 59 60 writableCell( 'media' ); 61 writableCell( 'modules' ); 62 writableCell( 'plugins' ); 63 writableCell( 'plugins/content' ); 64 writableCell( 'plugins/editors' ); 65 writableCell( 'plugins/editors-xtd' ); 66 writableCell( 'plugins/search' ); 67 writableCell( 'plugins/system' ); 68 writableCell( 'plugins/user' ); 69 writableCell( 'plugins/xmlrpc' ); 70 writableCell( 'templates' ); 71 writableCell( JPATH_SITE.DS.'cache', 0, '<strong>'. JText::_( 'Cache Directory' ) .'</strong> ' ); 72 writableCell( JPATH_ADMINISTRATOR.DS.'cache', 0, '<strong>'. JText::_( 'Cache Directory' ) .'</strong> ' ); 73 writableCell( $config->getValue('config.log_path', JPATH_ROOT.DS.'log'),0, '<strong>'. JText::_( 'Log Directory' ) . 74 ' ($log_path)</strong> '); 75 writableCell( $config->getValue('config.tmp_path', JPATH_ROOT.DS.'tmp'),0, '<strong>'. JText::_( 'Temp Directory' ) . 76 ' ($tmp_path)</strong> '); 77 ?> 78 </tbody> 79 </table> 80 </fieldset>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |