Yireo_SystemInfo - Version 1.0.9

Version Notes

No notes

Download this release

Release Info

Developer Yireo
Extension Yireo_SystemInfo
Version 1.0.9
Comparing to
See all releases


Code changes from version 1.0.8 to 1.0.9

app/code/community/Yireo/SystemInfo/Block/Events.php CHANGED
@@ -4,8 +4,8 @@
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
- * @copyright Copyright (c) 2013 Yireo (http://www.yireo.com/)
8
- * @license Open Source License
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Events extends Mage_Adminhtml_Block_Widget_Container
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
+ * @copyright Copyright (C) 2014 Yireo (http://www.yireo.com/)
8
+ * @license Open Source License (OSL v3)
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Events extends Mage_Adminhtml_Block_Widget_Container
app/code/community/Yireo/SystemInfo/Block/Menu.php CHANGED
@@ -4,8 +4,8 @@
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
- * @copyright Copyright (c) 2013 Yireo (http://www.yireo.com/)
8
- * @license Open Source License
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Menu extends Mage_Core_Block_Template
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
+ * @copyright Copyright (C) 2014 Yireo (http://www.yireo.com/)
8
+ * @license Open Source License (OSL v3)
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Menu extends Mage_Core_Block_Template
app/code/community/Yireo/SystemInfo/Block/Overrides.php CHANGED
@@ -4,8 +4,8 @@
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
- * @copyright Copyright (c) 2013 Yireo (http://www.yireo.com/)
8
- * @license Open Source License
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Overrides extends Mage_Adminhtml_Block_Widget_Container
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
+ * @copyright Copyright (C) 2014 Yireo (http://www.yireo.com/)
8
+ * @license Open Source License (OSL v3)
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Overrides extends Mage_Adminhtml_Block_Widget_Container
app/code/community/Yireo/SystemInfo/Block/Overview.php CHANGED
@@ -4,8 +4,8 @@
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
- * @copyright Copyright (c) 2013 Yireo (http://www.yireo.com/)
8
- * @license Open Source License
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Overview extends Mage_Adminhtml_Block_Widget_Container
@@ -46,4 +46,19 @@ class Yireo_SystemInfo_Block_Overview extends Mage_Adminhtml_Block_Widget_Contai
46
  return $this->__('Not available');
47
  }
48
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  }
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
+ * @copyright Copyright (C) 2014 Yireo (http://www.yireo.com/)
8
+ * @license Open Source License (OSL v3)
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Overview extends Mage_Adminhtml_Block_Widget_Container
46
  return $this->__('Not available');
47
  }
48
  }
49
+
50
+ public function getPhpVersion()
51
+ {
52
+ if(function_exists('phpversion')) {
53
+ return phpversion();
54
+ }
55
+ }
56
+
57
+ public function getWebserverVersion()
58
+ {
59
+ if(function_exists('apache_get_version')) {
60
+ return 'Apache '.apache_get_version();
61
+ }
62
+ return 'unknown';
63
+ }
64
  }
app/code/community/Yireo/SystemInfo/Block/Phpinfo.php CHANGED
@@ -4,8 +4,8 @@
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
- * @copyright Copyright (c) 2013 Yireo (http://www.yireo.com/)
8
- * @license Open Source License
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Phpinfo extends Mage_Adminhtml_Block_Widget_Container
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
+ * @copyright Copyright (C) 2014 Yireo (http://www.yireo.com/)
8
+ * @license Open Source License (OSL v3)
9
  */
10
 
11
  class Yireo_SystemInfo_Block_Phpinfo extends Mage_Adminhtml_Block_Widget_Container
app/code/community/Yireo/SystemInfo/Helper/Data.php CHANGED
@@ -4,8 +4,8 @@
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
- * @copyright Copyright (c) 2013 Yireo (http://www.yireo.com/)
8
- * @license Open Source License
9
  */
10
 
11
  /**
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
+ * @copyright Copyright (C) 2014 Yireo (http://www.yireo.com/)
8
+ * @license Open Source License (OSL v3)
9
  */
10
 
11
  /**
app/code/community/Yireo/SystemInfo/controllers/IndexController.php CHANGED
@@ -4,8 +4,8 @@
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
- * @copyright Copyright (c) 2013 Yireo (http://www.yireo.com/)
8
- * @license Open Source License
9
  */
10
 
11
  /**
4
  *
5
  * @package Yireo_SystemInfo
6
  * @author Yireo (http://www.yireo.com/)
7
+ * @copyright Copyright (C) 2014 Yireo (http://www.yireo.com/)
8
+ * @license Open Source License (OSL v3)
9
  */
10
 
11
  /**
app/code/community/Yireo/SystemInfo/etc/config.xml CHANGED
@@ -5,15 +5,15 @@
5
  *
6
  * @package Yireo_SystemInfo
7
  * @author Yireo (http://www.yireo.com/)
8
- * @copyright Copyright (c) 2013 Yireo (http://www.yireo.com/)
9
- * @license Open Software License
10
  */
11
  -->
12
  <config>
13
 
14
  <modules>
15
  <Yireo_SystemInfo>
16
- <version>1.0.8</version>
17
  </Yireo_SystemInfo>
18
  </modules>
19
 
@@ -76,6 +76,13 @@
76
  </systeminfo>
77
  </children>
78
  </config>
 
 
 
 
 
 
 
79
  </children>
80
  </system>
81
  </children>
5
  *
6
  * @package Yireo_SystemInfo
7
  * @author Yireo (http://www.yireo.com/)
8
+ * @copyright Copyright (C) 2014 Yireo (http://www.yireo.com/)
9
+ * @license Open Source License (OSL v3)
10
  */
11
  -->
12
  <config>
13
 
14
  <modules>
15
  <Yireo_SystemInfo>
16
+ <version>1.0.9</version>
17
  </Yireo_SystemInfo>
18
  </modules>
19
 
76
  </systeminfo>
77
  </children>
78
  </config>
79
+ <tools>
80
+ <children>
81
+ <systeminfo translate="title" module="systeminfo">
82
+ <title>SystemInfo</title>
83
+ </systeminfo>
84
+ </children>
85
+ </tools>
86
  </children>
87
  </system>
88
  </children>
app/design/adminhtml/default/default/template/systeminfo/overview.phtml CHANGED
@@ -35,12 +35,14 @@
35
  <tbody>
36
  <tr>
37
  <td width="300">PHP version</td>
38
- <td><?php echo phpversion(); ?></td>
39
  </tr>
 
40
  <tr>
41
- <td width="300">Apache version</td>
42
- <td><?php echo apache_get_version(); ?></td>
43
  </tr>
 
44
  <tr>
45
  <td width="300">PHP memory</td>
46
  <td><?php echo ini_get('memory_limit'); ?></td>
35
  <tbody>
36
  <tr>
37
  <td width="300">PHP version</td>
38
+ <td><?php echo $this->getPhpVersion(); ?></td>
39
  </tr>
40
+ <?php if(function_exists('apache_get_version')): ?>
41
  <tr>
42
+ <td width="300">Webserver version</td>
43
+ <td><?php echo $this->getWebserverVersion(); ?></td>
44
  </tr>
45
+ <?php endif; ?>
46
  <tr>
47
  <td width="300">PHP memory</td>
48
  <td><?php echo ini_get('memory_limit'); ?></td>
package.xml CHANGED
@@ -1,2 +1,2 @@
1
  <?xml version="1.0"?>
2
- <package><name>Yireo_SystemInfo</name><version>1.0.8</version><stability>stable</stability><license>Open Source License</license><channel>community</channel><extends></extends><summary>No summary</summary><description>No description</description><notes>No notes</notes><authors><author><name>Yireo</name><user>yireo</user><email>info@yireo.com</email></author></authors><date>2013-12-01</date><time>1:12:28</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Yireo_SystemInfo.xml" hash="f3670b3ca95179137d5e5e7ef3b12f3a"/></dir></dir><dir name="code"><dir name="community"><dir name="Yireo"><dir name="SystemInfo"><dir name="controllers"><file name="IndexController.php" hash="3b9814ccf499ac006abae1def4b989c4"/></dir><dir name="Block"><file name="Events.php" hash="2853528c3322e5438c6d0d129338b90c"/><file name="Menu.php" hash="be277b55bfeb6689d05d62e433a46619"/><file name="Overrides.php" hash="34f432207292da3576e4af9d3303e086"/><file name="Overview.php" hash="4190b0d6ac9bae0d39051c1384a4e2d4"/><file name="Phpinfo.php" hash="0727548bea1befee2bd3af094181775b"/></dir><dir name="etc"><file name="config.xml" hash="127b30451e6afcfe9a58758c460eb18d"/></dir><dir name="Helper"><file name="Data.php" hash="f23bb2bc536120787d3442fa97fef516"/></dir></dir></dir></dir></dir><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="systeminfo"><file name="events.phtml" hash="3435e2527b7eb2ead094a594413c495f"/><file name="menu.phtml" hash="5f4621b8e6d6b1f19c3d1f38c8b05381"/><file name="overrides.phtml" hash="ddb2a6267770d30569e8ed48493bd5ff"/><file name="overview.phtml" hash="96580328adde89eb74585b4c6cfb275f"/><file name="phpinfo.phtml" hash="d3191daad4ed019d12102d31a13fdc15"/></dir></dir></dir></dir></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>Yireo_SystemInfo</name><version>1.0.9</version><stability>stable</stability><license>Open Source License</license><channel>community</channel><extends></extends><summary>No summary</summary><description>No description</description><notes>No notes</notes><authors><author><name>Yireo</name><user>yireo</user><email>info@yireo.com</email></author></authors><date>2014-04-17</date><time>0:33:06</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Yireo_SystemInfo.xml" hash="f3670b3ca95179137d5e5e7ef3b12f3a"/></dir></dir><dir name="code"><dir name="community"><dir name="Yireo"><dir name="SystemInfo"><dir name="controllers"><file name="IndexController.php" hash="8bafcdbefd8c2da6ebe969fca2bff23a"/></dir><dir name="Block"><file name="Events.php" hash="52a42fa6e57c72346f82dcb258215401"/><file name="Menu.php" hash="d42b8e0a0986352d76d94b5662c0ec43"/><file name="Overrides.php" hash="eb4e14284cddc2f5a3f2c6308f8e47e1"/><file name="Overview.php" hash="1dd67b651228bf9ea10b453c524ab1fc"/><file name="Phpinfo.php" hash="1e1da2d727cd0cf0ce8b3f0cec8d0a30"/></dir><dir name="etc"><file name="config.xml" hash="c9f498e11500cf1c999e7b54a409625d"/></dir><dir name="Helper"><file name="Data.php" hash="67155b35d37340c2ee42172765d13cd7"/></dir></dir></dir></dir></dir><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="systeminfo"><file name="events.phtml" hash="3435e2527b7eb2ead094a594413c495f"/><file name="menu.phtml" hash="5f4621b8e6d6b1f19c3d1f38c8b05381"/><file name="overrides.phtml" hash="ddb2a6267770d30569e8ed48493bd5ff"/><file name="overview.phtml" hash="2f0d3999067ff7a4cbe48cc51e4e8855"/><file name="phpinfo.phtml" hash="d3191daad4ed019d12102d31a13fdc15"/></dir></dir></dir></dir></dir></dir></dir></target></contents></package>