Version Notes
This module displays Magento-related System Information
Download this release
Release Info
Developer | Magento Core Team |
Extension | Yireo_SystemInfo |
Version | 1.0.7 |
Comparing to | |
See all releases |
Version 1.0.7
- app/code/community/Yireo/SystemInfo/Block/Menu.php +58 -0
- app/code/community/Yireo/SystemInfo/Block/Overview.php +50 -0
- app/code/community/Yireo/SystemInfo/Block/Phpinfo.php +49 -0
- app/code/community/Yireo/SystemInfo/Helper/Data.php +16 -0
- app/code/community/Yireo/SystemInfo/controllers/IndexController.php +53 -0
- app/code/community/Yireo/SystemInfo/etc/config.xml +99 -0
- app/design/adminhtml/default/default/template/systeminfo/menu.phtml +21 -0
- app/design/adminhtml/default/default/template/systeminfo/overview.phtml +69 -0
- app/design/adminhtml/default/default/template/systeminfo/phpinfo.phtml +50 -0
- app/etc/modules/Yireo_SystemInfo.xml +19 -0
- package.xml +18 -0
app/code/community/Yireo/SystemInfo/Block/Menu.php
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* SystemInfo extension for Magento
|
4 |
+
*
|
5 |
+
* @category design_default
|
6 |
+
* @package Yireo_SystemInfo
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
9 |
+
* @license SystemInfo EULA (www.yireo.com)
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Yireo_SystemInfo_Block_Menu extends Mage_Core_Block_Template
|
13 |
+
{
|
14 |
+
/*
|
15 |
+
* Constructor method
|
16 |
+
*/
|
17 |
+
public function _construct()
|
18 |
+
{
|
19 |
+
parent::_construct();
|
20 |
+
$this->setTemplate('systeminfo/menu.phtml');
|
21 |
+
}
|
22 |
+
|
23 |
+
/*
|
24 |
+
* Helper method to get a list of the menu-items
|
25 |
+
*/
|
26 |
+
public function getMenuItems()
|
27 |
+
{
|
28 |
+
// Build the list of menu-items
|
29 |
+
$items = array(
|
30 |
+
array(
|
31 |
+
'action' => 'index',
|
32 |
+
'title' => 'Overview',
|
33 |
+
),
|
34 |
+
array(
|
35 |
+
'action' => 'phpinfo',
|
36 |
+
'title' => 'PHP Info',
|
37 |
+
),
|
38 |
+
);
|
39 |
+
|
40 |
+
$url = Mage::getModel('adminhtml/url');
|
41 |
+
$current_action = $this->getRequest()->getActionName();
|
42 |
+
|
43 |
+
foreach($items as $index => $item) {
|
44 |
+
|
45 |
+
if($item['action'] == $current_action) {
|
46 |
+
$item['class'] = 'active';
|
47 |
+
} else {
|
48 |
+
$item['class'] = 'inactive';
|
49 |
+
}
|
50 |
+
|
51 |
+
$item['url'] = $url->getUrl('systeminfo/index/'.$item['action']);
|
52 |
+
|
53 |
+
$items[$index] = $item;
|
54 |
+
}
|
55 |
+
|
56 |
+
return $items;
|
57 |
+
}
|
58 |
+
}
|
app/code/community/Yireo/SystemInfo/Block/Overview.php
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* SystemInfo extension for Magento
|
4 |
+
*
|
5 |
+
* @category design_default
|
6 |
+
* @package Yireo_SystemInfo
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
9 |
+
* @license SystemInfo EULA (www.yireo.com)
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Yireo_SystemInfo_Block_Overview extends Mage_Adminhtml_Block_Widget_Container
|
13 |
+
{
|
14 |
+
/*
|
15 |
+
* Constructor method
|
16 |
+
*/
|
17 |
+
public function _construct()
|
18 |
+
{
|
19 |
+
$this->setTemplate('systeminfo/overview.phtml');
|
20 |
+
parent::_construct();
|
21 |
+
}
|
22 |
+
|
23 |
+
/*
|
24 |
+
* Helper to return the header of this page
|
25 |
+
*/
|
26 |
+
public function getHeader($title = null)
|
27 |
+
{
|
28 |
+
return 'System Information - '.$this->__($title);
|
29 |
+
}
|
30 |
+
|
31 |
+
/*
|
32 |
+
* Helper to return the menu
|
33 |
+
*/
|
34 |
+
public function getMenu()
|
35 |
+
{
|
36 |
+
return $this->getLayout()->createBlock('systeminfo/menu')->toHtml();
|
37 |
+
}
|
38 |
+
|
39 |
+
/*
|
40 |
+
*
|
41 |
+
*/
|
42 |
+
public function getModuleResult($module)
|
43 |
+
{
|
44 |
+
if(extension_loaded($module)) {
|
45 |
+
return $this->__('Loaded');
|
46 |
+
} else {
|
47 |
+
return $this->__('Not available');
|
48 |
+
}
|
49 |
+
}
|
50 |
+
}
|
app/code/community/Yireo/SystemInfo/Block/Phpinfo.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* SystemInfo extension for Magento
|
4 |
+
*
|
5 |
+
* @category design_default
|
6 |
+
* @package Yireo_SystemInfo
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
9 |
+
* @license SystemInfo EULA (www.yireo.com)
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Yireo_SystemInfo_Block_Phpinfo extends Mage_Adminhtml_Block_Widget_Container
|
13 |
+
{
|
14 |
+
/*
|
15 |
+
* Constructor method
|
16 |
+
*/
|
17 |
+
public function _construct()
|
18 |
+
{
|
19 |
+
$this->setTemplate('systeminfo/phpinfo.phtml');
|
20 |
+
parent::_construct();
|
21 |
+
}
|
22 |
+
|
23 |
+
/*
|
24 |
+
* Helper to return the header of this page
|
25 |
+
*/
|
26 |
+
public function getHeader($title = null)
|
27 |
+
{
|
28 |
+
return 'System Information - '.$this->__($title);
|
29 |
+
}
|
30 |
+
|
31 |
+
/*
|
32 |
+
* Helper to return the menu
|
33 |
+
*/
|
34 |
+
public function getMenu()
|
35 |
+
{
|
36 |
+
return $this->getLayout()->createBlock('systeminfo/menu')->toHtml();
|
37 |
+
}
|
38 |
+
|
39 |
+
public function getPhpInformation()
|
40 |
+
{
|
41 |
+
ob_start();
|
42 |
+
phpinfo();
|
43 |
+
$content = ob_get_contents();
|
44 |
+
ob_end_clean();
|
45 |
+
|
46 |
+
preg_match('%<body>.*</body>%s', $content, $match);
|
47 |
+
return $match[0];
|
48 |
+
}
|
49 |
+
}
|
app/code/community/Yireo/SystemInfo/Helper/Data.php
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Yireo SystemInfo for Magento
|
4 |
+
*
|
5 |
+
* @package Yire_SystemInfo
|
6 |
+
* @author Yireo (http://www.yireo.com/)
|
7 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
8 |
+
* @license Open Software License
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* SystemInfo helper
|
13 |
+
*/
|
14 |
+
class Yireo_SystemInfo_Helper_Data extends Mage_Core_Helper_Abstract
|
15 |
+
{
|
16 |
+
}
|
app/code/community/Yireo/SystemInfo/controllers/IndexController.php
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* SystemInfo extension for Magento
|
4 |
+
*
|
5 |
+
* @category design_default
|
6 |
+
* @package Yireo_SystemInfo
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
9 |
+
* @license Yireo Software EULA (www.yireo.com)
|
10 |
+
*/
|
11 |
+
|
12 |
+
/**
|
13 |
+
* SystemInfo admin controller
|
14 |
+
*
|
15 |
+
* @category SystemInfo
|
16 |
+
* @package Yireo_SystemInfo
|
17 |
+
*/
|
18 |
+
class Yireo_SystemInfo_IndexController extends Mage_Adminhtml_Controller_Action
|
19 |
+
{
|
20 |
+
/**
|
21 |
+
* Common method
|
22 |
+
*/
|
23 |
+
protected function _initAction()
|
24 |
+
{
|
25 |
+
$this->loadLayout()
|
26 |
+
->_setActiveMenu('system/tools/systeminfo')
|
27 |
+
->_addBreadcrumb(Mage::helper('adminhtml')->__('System'), Mage::helper('adminhtml')->__('System'))
|
28 |
+
->_addBreadcrumb(Mage::helper('adminhtml')->__('Tools'), Mage::helper('adminhtml')->__('Tools'))
|
29 |
+
->_addBreadcrumb(Mage::helper('adminhtml')->__('System Information'), Mage::helper('adminhtml')->__('System Information'))
|
30 |
+
;
|
31 |
+
return $this;
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Overview page
|
36 |
+
*/
|
37 |
+
public function indexAction()
|
38 |
+
{
|
39 |
+
$this->_initAction()
|
40 |
+
->_addContent($this->getLayout()->createBlock('systeminfo/overview'))
|
41 |
+
->renderLayout();
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* PHP Info page
|
46 |
+
*/
|
47 |
+
public function phpinfoAction()
|
48 |
+
{
|
49 |
+
$this->_initAction()
|
50 |
+
->_addContent($this->getLayout()->createBlock('systeminfo/phpinfo'))
|
51 |
+
->renderLayout();
|
52 |
+
}
|
53 |
+
}
|
app/code/community/Yireo/SystemInfo/etc/config.xml
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Yireo SystemInfo for Magento
|
5 |
+
*
|
6 |
+
* @package Yire_SystemInfo
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
9 |
+
* @license Open Software License
|
10 |
+
*/
|
11 |
+
-->
|
12 |
+
<config>
|
13 |
+
|
14 |
+
<modules>
|
15 |
+
<Yireo_SystemInfo>
|
16 |
+
<version>1.0.7</version>
|
17 |
+
</Yireo_SystemInfo>
|
18 |
+
</modules>
|
19 |
+
|
20 |
+
<global>
|
21 |
+
|
22 |
+
<blocks>
|
23 |
+
<systeminfo>
|
24 |
+
<class>Yireo_SystemInfo_Block</class>
|
25 |
+
</systeminfo>
|
26 |
+
</blocks>
|
27 |
+
|
28 |
+
<helpers>
|
29 |
+
<systeminfo>
|
30 |
+
<class>Yireo_SystemInfo_Helper</class>
|
31 |
+
</systeminfo>
|
32 |
+
</helpers>
|
33 |
+
|
34 |
+
<models>
|
35 |
+
<systeminfo>
|
36 |
+
<class>Yireo_SystemInfo_Model</class>
|
37 |
+
</systeminfo>
|
38 |
+
</models>
|
39 |
+
|
40 |
+
</global>
|
41 |
+
|
42 |
+
<adminhtml>
|
43 |
+
<menu>
|
44 |
+
<system>
|
45 |
+
<children>
|
46 |
+
<tools>
|
47 |
+
<children>
|
48 |
+
<systeminfo translate="title" module="systeminfo">
|
49 |
+
<title>System Information</title>
|
50 |
+
<action>systeminfo/index/index</action>
|
51 |
+
</systeminfo>
|
52 |
+
</children>
|
53 |
+
</tools>
|
54 |
+
</children>
|
55 |
+
</system>
|
56 |
+
</menu>
|
57 |
+
<translate>
|
58 |
+
<modules>
|
59 |
+
<Yireo_SystemInfo>
|
60 |
+
<files>
|
61 |
+
<default>Yireo_SystemInfo.csv</default>
|
62 |
+
</files>
|
63 |
+
</Yireo_SystemInfo>
|
64 |
+
</modules>
|
65 |
+
</translate>
|
66 |
+
<acl>
|
67 |
+
<resources>
|
68 |
+
<admin>
|
69 |
+
<children>
|
70 |
+
<system>
|
71 |
+
<children>
|
72 |
+
<config>
|
73 |
+
<children>
|
74 |
+
<systeminfo translate="title" module="systeminfo">
|
75 |
+
<title>SystemInfo Section</title>
|
76 |
+
</systeminfo>
|
77 |
+
</children>
|
78 |
+
</config>
|
79 |
+
</children>
|
80 |
+
</system>
|
81 |
+
</children>
|
82 |
+
</admin>
|
83 |
+
</resources>
|
84 |
+
</acl>
|
85 |
+
</adminhtml>
|
86 |
+
|
87 |
+
<admin>
|
88 |
+
<routers>
|
89 |
+
<systeminfo>
|
90 |
+
<use>admin</use>
|
91 |
+
<args>
|
92 |
+
<module>Yireo_SystemInfo</module>
|
93 |
+
<frontName>systeminfo</frontName>
|
94 |
+
</args>
|
95 |
+
</systeminfo>
|
96 |
+
</routers>
|
97 |
+
</admin>
|
98 |
+
|
99 |
+
</config>
|
app/design/adminhtml/default/default/template/systeminfo/menu.phtml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* SystemInfo extension for Magento
|
4 |
+
*
|
5 |
+
* @category design_default
|
6 |
+
* @package Yireo_SystemInfo
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
9 |
+
* @license SystemInfo EULA (www.yireo.com)
|
10 |
+
*/
|
11 |
+
?>
|
12 |
+
<ul id="system_config_tabs" class="tabs config-tabs">
|
13 |
+
<li>
|
14 |
+
<dl>
|
15 |
+
<dt class="label">Menu</dt>
|
16 |
+
<?php foreach($this->getMenuItems() as $item) { ?>
|
17 |
+
<dd><a href="<?php echo $item['url']; ?>" class="<?php echo $item['class']; ?>"><span><?php echo $item['title']; ?></span></a></dd>
|
18 |
+
<?php } ?>
|
19 |
+
</dl>
|
20 |
+
</li>
|
21 |
+
</ul>
|
app/design/adminhtml/default/default/template/systeminfo/overview.phtml
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* SystemInfo extension for Magento
|
4 |
+
*
|
5 |
+
* @category design_default
|
6 |
+
* @package Yireo_SystemInfo
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
9 |
+
* @license SystemInfo EULA (www.yireo.com)
|
10 |
+
*/
|
11 |
+
?>
|
12 |
+
|
13 |
+
<div class="columns ">
|
14 |
+
|
15 |
+
<div class="side-col" id="page:left">
|
16 |
+
<?php echo $this->getMenu(); ?>
|
17 |
+
</div>
|
18 |
+
|
19 |
+
<div class="main-col" id="content">
|
20 |
+
<div class="main-col-inner">
|
21 |
+
|
22 |
+
<div class="content-header">
|
23 |
+
<table cellspacing="0">
|
24 |
+
<tr>
|
25 |
+
<td><h3 class="icon-head head-tag"><?php echo $this->getHeader('Overview'); ?></h3></td>
|
26 |
+
</tr>
|
27 |
+
</table>
|
28 |
+
</div>
|
29 |
+
|
30 |
+
<div class="entry-edit">
|
31 |
+
<div class="entry-edit-head">
|
32 |
+
<h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Overview'); ?></h4>
|
33 |
+
</div>
|
34 |
+
<div class="fieldset ">
|
35 |
+
<table cellspacing="5" class="form-list">
|
36 |
+
<tbody>
|
37 |
+
<tr>
|
38 |
+
<td width="300">PHP version</td>
|
39 |
+
<td><?php echo phpversion(); ?></td>
|
40 |
+
</tr>
|
41 |
+
<tr>
|
42 |
+
<td width="300">Apache version</td>
|
43 |
+
<td><?php echo apache_get_version(); ?></td>
|
44 |
+
</tr>
|
45 |
+
<tr>
|
46 |
+
<td width="300">PHP memory</td>
|
47 |
+
<td><?php echo ini_get('memory_limit'); ?></td>
|
48 |
+
</tr>
|
49 |
+
<tr>
|
50 |
+
<td width="300">hash module</td>
|
51 |
+
<td><?php echo $this->getModuleResult('hash'); ?></td>
|
52 |
+
</tr>
|
53 |
+
<tr>
|
54 |
+
<td width="300">APC module</td>
|
55 |
+
<td><?php echo $this->getModuleResult('apc'); ?></td>
|
56 |
+
</tr>
|
57 |
+
<tr>
|
58 |
+
<td width="300">DOM module</td>
|
59 |
+
<td><?php echo $this->getModuleResult('dom'); ?></td>
|
60 |
+
</tr>
|
61 |
+
<tr>
|
62 |
+
<td width="300">SOAP module</td>
|
63 |
+
<td><?php echo $this->getModuleResult('soap'); ?></td>
|
64 |
+
</tr>
|
65 |
+
</tbody>
|
66 |
+
</table>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
|
app/design/adminhtml/default/default/template/systeminfo/phpinfo.phtml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* SystemInfo extension for Magento
|
4 |
+
*
|
5 |
+
* @category design_default
|
6 |
+
* @package Yireo_SystemInfo
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
9 |
+
* @license SystemInfo EULA (www.yireo.com)
|
10 |
+
*/
|
11 |
+
?>
|
12 |
+
|
13 |
+
<style>
|
14 |
+
div.fieldset table {
|
15 |
+
background-color: white;
|
16 |
+
border: 1px solid #808080;
|
17 |
+
padding: 10px;
|
18 |
+
width: 100%;
|
19 |
+
}
|
20 |
+
td.e {
|
21 |
+
width: 220px;
|
22 |
+
}
|
23 |
+
</style>
|
24 |
+
|
25 |
+
<div class="columns ">
|
26 |
+
|
27 |
+
<div class="side-col" id="page:left">
|
28 |
+
<?php echo $this->getMenu(); ?>
|
29 |
+
</div>
|
30 |
+
|
31 |
+
<div class="main-col" id="content">
|
32 |
+
<div class="main-col-inner">
|
33 |
+
|
34 |
+
<div class="content-header">
|
35 |
+
<table cellspacing="0">
|
36 |
+
<tr>
|
37 |
+
<td><h3 class="icon-head head-tag"><?php echo $this->getHeader('PHP Information'); ?></h3></td>
|
38 |
+
</tr>
|
39 |
+
</table>
|
40 |
+
</div>
|
41 |
+
|
42 |
+
<div class="entry-edit">
|
43 |
+
<div class="entry-edit-head">
|
44 |
+
<h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('PHP Information'); ?></h4>
|
45 |
+
</div>
|
46 |
+
<div class="fieldset">
|
47 |
+
<?php echo $this->getPhpInformation(); ?>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
|
app/etc/modules/Yireo_SystemInfo.xml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Yireo SystemInfo-module for Magento
|
5 |
+
*
|
6 |
+
* @package Yireo_SystemInfo
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2009 Yireo (http://www.yireo.com/)
|
9 |
+
* @license Open Software License
|
10 |
+
*/
|
11 |
+
-->
|
12 |
+
<config>
|
13 |
+
<modules>
|
14 |
+
<Yireo_SystemInfo>
|
15 |
+
<active>true</active>
|
16 |
+
<codePool>community</codePool>
|
17 |
+
</Yireo_SystemInfo>
|
18 |
+
</modules>
|
19 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Yireo_SystemInfo</name>
|
4 |
+
<version>1.0.7</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://www.opensource.org/licenses/osl-3.0.php/">Open Software License</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>This module displays Magento-related System Information</summary>
|
10 |
+
<description>This module displays Magento-related System Information</description>
|
11 |
+
<notes>This module displays Magento-related System Information</notes>
|
12 |
+
<authors><author><name>Yireo</name><user>auto-converted</user><email>info@jira.nl</email></author></authors>
|
13 |
+
<date>2010-02-10</date>
|
14 |
+
<time>10:38:57</time>
|
15 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="systeminfo"><file name="menu.phtml" hash="135bffae0277a084c259a7f4668e4fd1"/><file name="overview.phtml" hash="dfc0163dc1facec810cc8d4aaabbaca2"/><file name="phpinfo.phtml" hash="f0ea07f9a4c812266ca380acfa26777b"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Yireo"><dir name="SystemInfo"><dir name="controllers"><file name="IndexController.php" hash="b12d9bf59d4a22b5ef8f8556bce11a71"/></dir><dir name="Block"><file name="Menu.php" hash="09e9e7062fe60338ddd35fe15ebdb241"/><file name="Overview.php" hash="c3818f0cd36e373a847cf6275a48d193"/><file name="Phpinfo.php" hash="734cfec644472feae437b94a232e6588"/></dir><dir name="etc"><file name="config.xml" hash="9f45e265abb074692977757327fecda7"/></dir><dir name="Helper"><file name="Data.php" hash="f93409130daf2f8230919af9fb54fd5c"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Yireo_SystemInfo.xml" hash="278d1a6922708a098215a34733cb8bc6"/></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies/>
|
18 |
+
</package>
|