Webgriffe_TphPro - Version 1.1.4

Version Notes

The module is also available on github https://github.com/aleron75/Webgriffe_TphPro

Download this release

Release Info

Developer Alessandro Ronchi
Extension Webgriffe_TphPro
Version 1.1.4
Comparing to
See all releases


Code changes from version 1.1.3 to 1.1.4

app/code/community/Webgriffe/TphPro/Model/Observer.php CHANGED
@@ -72,7 +72,9 @@ class Webgriffe_TphPro_Model_Observer {
72
 
73
  if (Mage::app()->getStore()->isAdmin()) {
74
  $userType = 'Admin';
75
- $userName = Mage::getSingleton('admin/session')->getUser()->getUsername();
 
 
76
  } else {
77
  $email = Mage::getSingleton('customer/session')->getCustomer()->getEmail();
78
  if (!empty($email)) {
72
 
73
  if (Mage::app()->getStore()->isAdmin()) {
74
  $userType = 'Admin';
75
+ if ($user = Mage::getSingleton('admin/session')->getUser()) {
76
+ $userName = $user->getUsername();
77
+ }
78
  } else {
79
  $email = Mage::getSingleton('customer/session')->getCustomer()->getEmail();
80
  if (!empty($email)) {
app/code/community/Webgriffe/TphPro/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Webgriffe_TphPro>
5
- <version>1.1.3</version>
6
  </Webgriffe_TphPro>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Webgriffe_TphPro>
5
+ <version>1.1.4</version>
6
  </Webgriffe_TphPro>
7
  </modules>
8
  <global>
package.xml CHANGED
@@ -1,24 +1,2 @@
1
  <?xml version="1.0"?>
2
- <package>
3
- <name>Webgriffe_TphPro</name>
4
- <version>1.1.3</version>
5
- <stability>stable</stability>
6
- <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
- <channel>community</channel>
8
- <extends/>
9
- <summary>n enhanced Template Path Hints extension for Magento that inserts references to used Magento Blocks inside HTML code, avoiding the usage of the more invasive built in Template Path Hints.</summary>
10
- <description>This extension allows you to print some useful information about Frontend Blocks in the HTML of your page.&#xD;
11
- &#xD;
12
- You can choose whether to print them as HTML Elements or Comments.&#xD;
13
- &#xD;
14
- Furthermore you can choose to log both Frontend and Backend HTTP Request's parameters.&#xD;
15
- &#xD;
16
- Once installed, you can configure this extension in the System &amp;gt; Configuration &amp;gt; WEBGRIFFE EXTENSIONS &amp;gt; Template Path Hints Pro section.</description>
17
- <notes>the module is also available on github https://github.com/aleron75/Webgriffe_TphPro</notes>
18
- <authors><author><name>Webgriffe</name><user>webgriffe</user><email>mail@webgriffe.com</email></author></authors>
19
- <date>2014-03-18</date>
20
- <time>10:36:35</time>
21
- <contents><target name="magecommunity"><dir name="Webgriffe"><dir name="TphPro"><dir name="Block"><file name="Handles.php" hash="e77836aa6893c6cb95dcb53c9bb4dba0"/></dir><dir name="Helper"><file name="Data.php" hash="b634adb7d79c0dc47ddf75e637af7fd3"/></dir><dir name="Model"><file name="Observer.php" hash="2f7a3fa8e269240fa5c5487618ded499"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Display.php" hash="179e61c670aadbb52ed2b97df2f99a7d"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="5aa3ba63ebe7f4a2ec3020e1b4b1e083"/><file name="system.xml" hash="62b26796fa60185cbc48aea18bb0e4aa"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Webgriffe_TphPro.xml" hash="306228869af43163d9e123810cbea36b"/></dir></target></contents>
22
- <compatible/>
23
- <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
24
- </package>
1
  <?xml version="1.0"?>
2
+ <package><name>Webgriffe_TphPro</name><version>1.1.4</version><stability>stable</stability><license>OSL</license><channel>community</channel><extends></extends><summary>An enhanced Template Path Hints extension for Magento that inserts references to used Magento Blocks inside HTML code, avoiding the usage of the more invasive built in Template Path Hints.</summary><description>This extension allows you to print some useful information about Frontend Blocks in the HTML of your page.&lt;br/&gt;You can choose whether to print them as HTML Elements or Comments.&lt;br/&gt;Furthermore you can choose to log both Frontend and Backend HTTP Request&amp;apos;s parameters.&lt;br/&gt;Once installed, you can configure this extension in the System &amp;amp;amp;gt; Configuration &amp;amp;amp;gt; WEBGRIFFE EXTENSIONS &amp;amp;amp;gt; Template Path Hints Pro section.</description><notes>The module is also available on github https://github.com/aleron75/Webgriffe_TphPro</notes><authors><author><name>Alessandro Ronchi</name><user>webgriffe</user><email>mail@webgriffe.com</email></author></authors><date>2014-03-21</date><time>2:28:56</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><file name="package.xml" hash="c90461c487d6aab3e9d5e787c9a6b83f"/><dir name="app"><dir name="code"><dir name="community"><dir name="Webgriffe"><dir name="TphPro"><dir name="Model"><file name="Observer.php" hash="58a005e6ed426a90ec9f2dd7e1609cdc"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Display.php" hash="179e61c670aadbb52ed2b97df2f99a7d"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="b634adb7d79c0dc47ddf75e637af7fd3"/></dir><dir name="etc"><file name="config.xml" hash="c3f02efab1c20c15c5e852208d2d9a65"/><file name="system.xml" hash="62b26796fa60185cbc48aea18bb0e4aa"/></dir><dir name="Block"><file name="Handles.php" hash="e77836aa6893c6cb95dcb53c9bb4dba0"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Webgriffe_TphPro.xml" hash="306228869af43163d9e123810cbea36b"/></dir></dir></dir></target></contents></package>