Quick_Action_Attribute_Values_or_Labels - Version 1.5

Version Notes

This extension will allow you to add/delete/search attribute labels

Download this release

Release Info

Developer Magento Core Team
Extension Quick_Action_Attribute_Values_or_Labels
Version 1.5
Comparing to
See all releases


Code changes from version 1.4 to 1.5

app/design/adminhtml/default/default/template/cueattributevalue/cueattributevaluedelete.phtml CHANGED
@@ -126,7 +126,7 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
126
  </tr>
127
  <tr>
128
  <td class="label"><?=$this->__('Search Label')?> <span class="required">*</span></td>
129
- <td class="input-ele"><input class="required-entry" value="<?php echo @$searchlabel?>" name="search_attribute" id="search_attribute" /></td>
130
  </tr>
131
  </table>
132
  </form>
@@ -152,7 +152,7 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
152
  <table cellspacing="0" border="0" class="form-list">
153
  <?php
154
  $write = Mage::getSingleton('core/resource')->getConnection('core_write');
155
- $datavalues = Mage::getModel('eav/entity_attribute_option')->getCollection()->join('attribute_option_value','(attribute_option_value.option_id = main_table.option_id) and main_table.attribute_id='.$attribute_id.' and attribute_option_value.store_id='.$store_id.' and value like "'.$searchlabel.'%"');
156
  $rowcount=count($datavalues);
157
  if($rowcount>0)
158
  {?>
126
  </tr>
127
  <tr>
128
  <td class="label"><?=$this->__('Search Label')?> <span class="required">*</span></td>
129
+ <td class="input-ele"><input class="required-entry" value="<?php echo htmlentities($searchlabel)?>" name="search_attribute" id="search_attribute" /></td>
130
  </tr>
131
  </table>
132
  </form>
152
  <table cellspacing="0" border="0" class="form-list">
153
  <?php
154
  $write = Mage::getSingleton('core/resource')->getConnection('core_write');
155
+ $datavalues = Mage::getModel('eav/entity_attribute_option')->getCollection()->join('attribute_option_value','(attribute_option_value.option_id = main_table.option_id) and main_table.attribute_id='.$attribute_id.' and attribute_option_value.store_id='.$store_id.' and value like "'.addslashes($searchlabel).'%"');
156
  $rowcount=count($datavalues);
157
  if($rowcount>0)
158
  {?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Quick_Action_Attribute_Values_or_Labels</name>
4
- <version>1.4</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
@@ -11,8 +11,8 @@
11
  <notes>This extension will allow you to add/delete/search attribute labels</notes>
12
  <authors><author><name>ekta puri</name><user>auto-converted</user><email>ekta.puri@cueblocks.com</email></author></authors>
13
  <date>2011-01-27</date>
14
- <time>03:52:54</time>
15
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cueattributevalue.xml" hash="ebd121a86dd52d488a451cff03f84f49"/></dir><dir name="template"><dir name="cueattributevalue"><file name="cueattributevalueadd.phtml" hash="9ae67746c070fa1ead699e5ea35c58dc"/><file name="cueattributevaluedelete.phtml" hash="b49fc52a60a83d771dcef80b343d8df8"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="CueBlocks"><dir name="Cueattributevalue"><dir name="Block"><dir name="Adminhtml"><dir name="Cueattributevalue"><dir name="Edit"><file name="Tabs.php" hash="b89d1728f3278570482018e38d61ea6d"/></dir><file name="Edit.php" hash="f2359d3c38452d13ffba9e8a7edf6f37"/></dir><dir name="Cueattributevaluedelete"><dir name="Edit"><file name="Tabs.php" hash="37b4a58b4695856082601d6f1ff3a5dc"/></dir><file name="Edit.php" hash="f9f8d25b2a9afacbce9055606e632655"/></dir><file name="Cueattributevalue.php" hash="d1ca33e7e6982c5db7ace22f710f5891"/><file name="Cueattributevaluedelete.php" hash="61968ece63443aacf0650732c3f9ff60"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CueattributevalueController.php" hash="0157c3970d8fcc18e46bab8d0cbf26fd"/><file name="CueattributevaluedeleteController.php" hash="9b5c76f95c62be5ba14298ef5f2eaa02"/></dir></dir><dir name="etc"><file name="config.xml" hash="a7e02d83d6c268135f57f053dfcf9c3c"/></dir><dir name="Helper"><file name="Data.php" hash="6a7bde10d6391609249973c57b714190"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CueBlocks_Cueattributevalue.xml" hash="cb17491c5aa5bbfc667d2e7f51e4dccc"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Quick_Action_Attribute_Values_or_Labels</name>
4
+ <version>1.5</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
11
  <notes>This extension will allow you to add/delete/search attribute labels</notes>
12
  <authors><author><name>ekta puri</name><user>auto-converted</user><email>ekta.puri@cueblocks.com</email></author></authors>
13
  <date>2011-01-27</date>
14
+ <time>05:21:16</time>
15
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cueattributevalue.xml" hash="ebd121a86dd52d488a451cff03f84f49"/></dir><dir name="template"><dir name="cueattributevalue"><file name="cueattributevalueadd.phtml" hash="9ae67746c070fa1ead699e5ea35c58dc"/><file name="cueattributevaluedelete.phtml" hash="c111c4f13d8430248b7fcda9c7a96233"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="CueBlocks"><dir name="Cueattributevalue"><dir name="Block"><dir name="Adminhtml"><dir name="Cueattributevalue"><dir name="Edit"><file name="Tabs.php" hash="b89d1728f3278570482018e38d61ea6d"/></dir><file name="Edit.php" hash="f2359d3c38452d13ffba9e8a7edf6f37"/></dir><dir name="Cueattributevaluedelete"><dir name="Edit"><file name="Tabs.php" hash="37b4a58b4695856082601d6f1ff3a5dc"/></dir><file name="Edit.php" hash="f9f8d25b2a9afacbce9055606e632655"/></dir><file name="Cueattributevalue.php" hash="d1ca33e7e6982c5db7ace22f710f5891"/><file name="Cueattributevaluedelete.php" hash="61968ece63443aacf0650732c3f9ff60"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CueattributevalueController.php" hash="0157c3970d8fcc18e46bab8d0cbf26fd"/><file name="CueattributevaluedeleteController.php" hash="9b5c76f95c62be5ba14298ef5f2eaa02"/></dir></dir><dir name="etc"><file name="config.xml" hash="a7e02d83d6c268135f57f053dfcf9c3c"/></dir><dir name="Helper"><file name="Data.php" hash="6a7bde10d6391609249973c57b714190"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CueBlocks_Cueattributevalue.xml" hash="cb17491c5aa5bbfc667d2e7f51e4dccc"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>