<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
 [submodule &quot;phparmory&quot;]
-	path = phparmory
-	url = git://github.com/marenkay/phparmory.git
+  path = phparmory
+  url = git://github.com/marenkay/phparmory.git
+ </diff>
      <filename>.gitmodules</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-Subproject commit 92eeecfbd5eab2c051b8d07dab97d3e010cf7190
+Subproject commit 3ba881f730240524c6f8d20f4876300e88dcc4a6</diff>
      <filename>phparmory</filename>
    </modified>
    <modified>
      <diff>@@ -7,7 +7,7 @@ Version: 1.0
 Author: Daniel S. Reichenbach
 Author URI: http://www.marenkay.com/
 */
-/*  Copyright 2008  Daniel S. Reichenbach  (email : shiendra@marenkay.com)
+/*  Copyright 2008  Daniel S. Reichenbach  (email : daniel.s.reichenbach@mac.com)
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@ load_plugin_textdomain('wow_armory_plugin',PLUGINDIR . '/' . dirname(plugin_base
 /**
  * Require the phpArmory class to retrieve the XML from the Armory
  */
-require_once(dirname(__FILE__) . '/phparmory/phpArmory.class.php');
+require_once(dirname(__FILE__) . '/phparmory/phpArmory.class.php4');
 
 
 if (!class_exists(&quot;WordPressArmoryCache&quot;)) {
@@ -336,7 +336,7 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
          * Add the scripts and styles used for WoW Armory to the WordPress
          * header.
          *
-         * @author Daniel S. Reichenbach &lt;shiendra@marenkay.com&gt;
+         * @author Daniel S. Reichenbach &lt;daniel.s.reichenbach@mac.com&gt;
          */
         function addHeaderCode() {
 
@@ -352,7 +352,7 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
          *
          * Returns an array of admin options.
          *
-         * @author Daniel S. Reichenbach &lt;shiendra@marenkay.com&gt;
+         * @author Daniel S. Reichenbach &lt;daniel.s.reichenbach@mac.com&gt;
          */
         function getAdminOptions() {
             $wowarmoryAdminOptions = array(
@@ -377,7 +377,7 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
          *
          * Plugin initialization.
          *
-         * @author Daniel S. Reichenbach &lt;shiendra@marenkay.com&gt;
+         * @author Daniel S. Reichenbach &lt;daniel.s.reichenbach@mac.com&gt;
          */
         function init() {
             $this-&gt;getAdminOptions();
@@ -388,7 +388,7 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
          *
          * Prints out the admin page
          *
-         * @author Daniel S. Reichenbach &lt;shiendra@marenkay.com&gt;
+         * @author Daniel S. Reichenbach &lt;daniel.s.reichenbach@mac.com&gt;
          */
         function printAdminPage() {
             $wowarmoryOptions = $this-&gt;getAdminOptions();
@@ -471,7 +471,7 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
          * doParse().
          *
          * @param string    $content    WordPress page/post conent
-         * @author Daniel S. Reichenbach &lt;shiendra@marenkay.com&gt;
+         * @author Daniel S. Reichenbach &lt;daniel.s.reichenbach@mac.com&gt;
          */
         function modifyContent($content = '') {
         
@@ -487,7 +487,7 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
          * doParse().
          *
          * @param string    $content    WordPress page/post content
-         * @author Daniel S. Reichenbach &lt;shiendra@marenkay.com&gt;
+         * @author Daniel S. Reichenbach &lt;daniel.s.reichenbach@mac.com&gt;
          */
         function modifyComment($content = '') {
         
@@ -502,7 +502,7 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
          * links pointing to the armory.
          *
          * @param string    $content    WordPress page/post content
-         * @author Daniel S. Reichenbach &lt;shiendra@marenkay.com&gt;
+         * @author Daniel S. Reichenbach &lt;daniel.s.reichenbach@mac.com&gt;
          */
         function doParse($content = '') {
         
@@ -526,9 +526,9 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
             // parse the content variable for all [item]...[/item] occurrences
             while (preg_match('#\[(item)(=[0-5])?\](.+?)\[/item\]#s', $content, $match)) {
 
-                $itemName = $match[3];
-                $iconSize = $match[2];
-                $itemType = $match[1];
+                $itemName = $match[3];
+                $iconSize = $match[2];
+                $itemType = $match[1];
 
                 $itemName = html_entity_decode($itemName, ENT_QUOTES);
 
@@ -537,14 +537,14 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
                 if ($item) { // armory supplied a valid item xml object
                     $itemQuality = $item['itemtooltips']['itemtooltip']['overallqualityid'];
                     
-                    $itemHtml = '&lt;a style=&quot;font-weight: bold; color: '.$itemRarity[$itemQuality].';&quot; href=&quot;'.$wowarmoryOptions['wowarmory_url'].'item-info.xml?i='.$item['itemtooltips']['itemtooltip']['id'].'&quot;&gt;';
+                    $itemHtml = '&lt;a style=&quot;font-weight: bold; color: '.$itemRarity[$itemQuality].';&quot; href=&quot;'.$armoryFetch-&gt;armory.'item-info.xml?i='.$item['itemtooltips']['itemtooltip']['id'].'&quot;&gt;';
                     $itemHtml = $itemHtml . '&lt;span onmouseover=&quot;return overlib(\'&lt;table cellpadding=\\\'0\\\' border=\\\'0\\\' class=\\\'tooltip_new\\\'&gt;&lt;tr&gt;&lt;td&gt;&lt;center&gt;&lt;img src=\\\''.get_bloginfo('wpurl').'/'.PLUGINDIR.'/'.dirname(plugin_basename (__FILE__)).'/images/ajax-loader.gif\\\' border=\\\'0\\\' align=\\\'Loading...\\\' /&gt;&lt;br /&gt;Searching...please wait.&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\',VAUTO,HAUTO,FULLHTML);&quot; onmouseout=&quot;return nd();&quot;&gt;';
                     $itemHtml = $itemHtml . $item['itemtooltips']['itemtooltip']['name'];
                     $itemHtml = $itemHtml . '&lt;/span&gt;';
                     $itemHtml = $itemHtml . '&lt;/a&gt;';
 
                 } else { // armory did not supply a valid xml object
-                    $itemHtml = '&lt;a style=&quot;font-weight: bold; color: '.$itemRarity[0].';&quot; href=&quot;'.$wowarmoryOptions['wowarmory_url'].'search.xml?searchQuery='.$itemName.'&amp;searchType=items&quot;&gt;';
+                    $itemHtml = '&lt;a style=&quot;font-weight: bold; color: '.$itemRarity[0].';&quot; href=&quot;'.$armoryFetch-&gt;armory.'search.xml?searchQuery='.$itemName.'&amp;searchType=items&quot;&gt;';
                     $itemHtml = $itemHtml . '&lt;span onmouseover=&quot;return overlib(\'&lt;table cellpadding=\\\'0\\\' border=\\\'0\\\' class=\\\'tooltip_new\\\'&gt;&lt;tr&gt;&lt;td&gt;&lt;center&gt;&lt;img src=\\\''.get_bloginfo('wpurl').'/'.PLUGINDIR.'/'.dirname(plugin_basename (__FILE__)).'/images/ajax-loader.gif\\\' border=\\\'0\\\' align=\\\'Loading...\\\' /&gt;&lt;br /&gt;Item not found. Click to search the armory.&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\',VAUTO,HAUTO,FULLHTML);&quot; onmouseout=&quot;return nd();&quot;&gt;';
                     $itemHtml = $itemHtml . $itemName;
                     $itemHtml = $itemHtml . '&lt;/span&gt;';
@@ -567,7 +567,7 @@ if (!class_exists(&quot;WoWArmoryPlugin&quot;)) {
          *
          * @param       array           $item       WordPress page/post conent
          * @return      string          $itemHtml   Generated HTML tooltip
-         * @author Daniel S. Reichenbach &lt;shiendra@marenkay.com&gt;
+         * @author Daniel S. Reichenbach &lt;daniel.s.reichenbach@mac.com&gt;
          */
         function itemTooltip($item = array()) {
         </diff>
      <filename>wow-armory.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>331b271e094d755ccb2c46f27025060f846f257e</id>
    </parent>
  </parents>
  <author>
    <name>Daniel S. Reichenbach</name>
    <email>shiendra@marenkay.com</email>
  </author>
  <url>http://github.com/marenkay/wow-armory/commit/7dd48fa6c97589ab27e32e76917617fe334002a0</url>
  <id>7dd48fa6c97589ab27e32e76917617fe334002a0</id>
  <committed-date>2008-10-09T13:45:35-07:00</committed-date>
  <authored-date>2008-10-09T13:45:35-07:00</authored-date>
  <message>Updated to latest phpArmory dev branch.</message>
  <tree>acf3a3f98235f2c9ea3fc3fd62d7d3bf114767d8</tree>
  <committer>
    <name>Daniel S. Reichenbach</name>
    <email>shiendra@marenkay.com</email>
  </committer>
</commit>
