robots_txt - Version 1.8.0

Version Notes

Support for multiple websites

Download this release

Release Info

Developer CueBlocks
Extension robots_txt
Version 1.8.0
Comparing to
See all releases


Code changes from version 1.7.2 to 1.8.0

app/code/community/CueBlocks/Robots/Block/Adminhtml/Robots.php CHANGED
@@ -16,4 +16,5 @@ class CueBlocks_Robots_Block_Adminhtml_Robots extends Mage_Adminhtml_Block_Widge
16
  $this->_addButtonLabel = Mage::helper('robots')->__('Add Robots Options');
17
  parent::__construct();
18
  }
 
19
  }
16
  $this->_addButtonLabel = Mage::helper('robots')->__('Add Robots Options');
17
  parent::__construct();
18
  }
19
+
20
  }
app/code/community/CueBlocks/Robots/Block/Adminhtml/Robots/Edit.php CHANGED
@@ -8,9 +8,86 @@
8
  */
9
  class CueBlocks_Robots_Block_Adminhtml_Robots_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
10
  {
 
 
 
11
  public function __construct()
12
  {
13
  $this->setTemplate('robots/robotsadd.phtml');
14
  }
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
8
  */
9
  class CueBlocks_Robots_Block_Adminhtml_Robots_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
10
  {
11
+ protected $_storeIds;
12
+ protected $_storeVarName = 'store';
13
+
14
  public function __construct()
15
  {
16
  $this->setTemplate('robots/robotsadd.phtml');
17
  }
18
 
19
+ public function getWebsites()
20
+ {
21
+ $websites = Mage::app()->getWebsites();
22
+ if ($websiteIds = $this->getWebsiteIds()) {
23
+ foreach ($websites as $websiteId => $website) {
24
+ if (!in_array($websiteId, $websiteIds)) {
25
+ unset($websites[$websiteId]);
26
+ }
27
+ }
28
+ }
29
+ return $websites;
30
+ }
31
+
32
+ public function getStoreGroups($website)
33
+ {
34
+ if (!$website instanceof Mage_Core_Model_Website) {
35
+ $website = Mage::app()->getWebsite($website);
36
+ }
37
+ return $website->getGroups();
38
+ }
39
+
40
+ public function getStores($group)
41
+ {
42
+ if (!$group instanceof Mage_Core_Model_Store_Group) {
43
+ $group = Mage::app()->getGroup($group);
44
+ }
45
+ $stores = $group->getStores();
46
+ if ($storeIds = $this->getStoreIds()) {
47
+ foreach ($stores as $storeId => $store) {
48
+ if (!in_array($storeId, $storeIds)) {
49
+ unset($stores[$storeId]);
50
+ }
51
+ }
52
+ }
53
+ return $stores;
54
+ }
55
+
56
+ public function getSwitchUrl()
57
+ {
58
+ if ($url = $this->getData('switch_url')) {
59
+ return $url;
60
+ }
61
+ return $this->getUrl('*/*/*', array('_current' => true, $this->_storeVarName => null));
62
+ }
63
+
64
+ public function setStoreVarName($varName)
65
+ {
66
+ $this->_storeVarName = $varName;
67
+ return $this;
68
+ }
69
+
70
+ public function getStoreId()
71
+ {
72
+ return $this->getRequest()->getParam($this->_storeVarName);
73
+ }
74
+
75
+ public function setStoreIds($storeIds)
76
+ {
77
+ $this->_storeIds = $storeIds;
78
+ return $this;
79
+ }
80
+
81
+ public function getStoreIds()
82
+ {
83
+ return $this->_storeIds;
84
+ }
85
+
86
+ public function isSingleStoreMode()
87
+ {
88
+ if (!Mage::app()->isSingleStoreMode()) {
89
+ return false;
90
+ }
91
+ return true;
92
+ }
93
  }
app/code/community/CueBlocks/Robots/controllers/Adminhtml/RobotsController.php CHANGED
@@ -24,7 +24,7 @@ class CueBlocks_Robots_Adminhtml_RobotsController extends Mage_Adminhtml_Control
24
  if ($cueattributevalueId == 0)
25
  {
26
  $this->loadLayout();
27
- $this->_setActiveMenu('robots/items');
28
  $this->_addBreadcrumb(Mage::helper('adminhtml')->__('Item Manager'), Mage::helper('adminhtml')->__('Item Manager'));
29
  $this->_addBreadcrumb(Mage::helper('adminhtml')->__('Item News'), Mage::helper('adminhtml')->__('Item News'));
30
  $this->getLayout()->getBlock('head')->setCanLoadExtJs(true);
@@ -44,51 +44,70 @@ class CueBlocks_Robots_Adminhtml_RobotsController extends Mage_Adminhtml_Control
44
  }
45
  public function saveAction()
46
  {
47
-
48
- $path = BP . DS;
49
- $filepath= $path.'/robots.txt';
50
- //chmod($filepath, 0666);
51
- //echo substr(sprintf('%o', fileperms($filepath)), -4);
 
 
 
 
 
 
 
52
  $folderwrite=is_writable($path);
53
  $write=is_writable($filepath);
54
-
55
  if (file_exists($filepath)):
56
  if($folderwrite):
57
  if($write):
58
  $content=$this->getRequest()->getParam('content');
59
- $filename='robots.txt';
60
- $create = fopen($filename, "w");
61
- file_put_contents($filename, $content);
62
  $close = fclose($create); //closes our file
63
  Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('robots')->__('File saved successfully'));
64
- $this->_redirect('*/*/');
 
 
 
 
65
  else:
66
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('robots')->__('File needs writable permissions'));
67
- $this->_redirect('*/*/');
 
 
 
 
68
  endif;
69
  else:
70
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('robots')->__('Folder needs writable permissions to create robots.txt'));
71
- $this->_redirect('*/*/');
 
 
 
 
72
  endif;
73
  else:
74
  if($folderwrite):
75
-
76
  $content=$this->getRequest()->getParam('content');
77
- $filename='robots.txt';
78
- $create = fopen($filename, "w");
79
- file_put_contents($filename, $content);
80
  $close = fclose($create); //closes our file
81
  Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('robots')->__('File saved successfully'));
82
- $this->_redirect('*/*/');
 
 
 
 
83
 
84
  else:
85
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('robots')->__('Folder needs writable permissions to create robots.txt'));
86
- $this->_redirect('*/*/');
 
 
 
 
87
  endif;
88
  endif;
89
-
90
-
91
-
92
-
93
  }
94
  }
24
  if ($cueattributevalueId == 0)
25
  {
26
  $this->loadLayout();
27
+ $this->_setActiveMenu('cueblocks/robots');
28
  $this->_addBreadcrumb(Mage::helper('adminhtml')->__('Item Manager'), Mage::helper('adminhtml')->__('Item Manager'));
29
  $this->_addBreadcrumb(Mage::helper('adminhtml')->__('Item News'), Mage::helper('adminhtml')->__('Item News'));
30
  $this->getLayout()->getBlock('head')->setCanLoadExtJs(true);
44
  }
45
  public function saveAction()
46
  {
47
+ $store_id = $this->getRequest()->getParam('store');
48
+ $store_path = '';
49
+ if($store_id) {
50
+ $store_path = Mage::getStoreConfig('robotstxt/general/path_map', $store_id);
51
+ }
52
+ $io = new Varien_Io_File();
53
+ if($store_path) {
54
+ $path = $io->getCleanPath(Mage::getBaseDir() . DS . $store_path . DS);
55
+ } else {
56
+ $path = $io->getCleanPath(Mage::getBaseDir() . DS);
57
+ }
58
+ $filepath= $path.'robots.txt';
59
  $folderwrite=is_writable($path);
60
  $write=is_writable($filepath);
 
61
  if (file_exists($filepath)):
62
  if($folderwrite):
63
  if($write):
64
  $content=$this->getRequest()->getParam('content');
65
+ $create = fopen($filepath, "w");
66
+ file_put_contents($filepath, $content);
 
67
  $close = fclose($create); //closes our file
68
  Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('robots')->__('File saved successfully'));
69
+ if($store_id) {
70
+ $this->_redirect('*/*/', array('store' => $store_id));
71
+ } else {
72
+ $this->_redirect('*/*/');
73
+ }
74
  else:
75
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('robots')->__('File needs writable permissions'));
76
+ if($store_id) {
77
+ $this->_redirect('*/*/', array('store' => $store_id));
78
+ } else {
79
+ $this->_redirect('*/*/');
80
+ }
81
  endif;
82
  else:
83
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('robots')->__('Folder needs writable permissions to create robots.txt'));
84
+ if($store_id) {
85
+ $this->_redirect('*/*/', array('store' => $store_id));
86
+ } else {
87
+ $this->_redirect('*/*/');
88
+ }
89
  endif;
90
  else:
91
  if($folderwrite):
 
92
  $content=$this->getRequest()->getParam('content');
93
+ $create = fopen($filepath, "w");
94
+ file_put_contents($filepath, $content);
 
95
  $close = fclose($create); //closes our file
96
  Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('robots')->__('File saved successfully'));
97
+ if($store_id) {
98
+ $this->_redirect('*/*/', array('store' => $store_id));
99
+ } else {
100
+ $this->_redirect('*/*/');
101
+ }
102
 
103
  else:
104
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('robots')->__('Folder needs writable permissions to create robots.txt'));
105
+ if($store_id) {
106
+ $this->_redirect('*/*/', array('store' => $store_id));
107
+ } else {
108
+ $this->_redirect('*/*/');
109
+ }
110
  endif;
111
  endif;
 
 
 
 
112
  }
113
  }
app/code/community/CueBlocks/Robots/etc/adminhtml.xml CHANGED
@@ -32,7 +32,7 @@
32
  <children>
33
  <cueblocks>
34
  <title>CueBlocks Extension</title>
35
- <children>
36
  <robots>
37
  <title>Robots Txt</title>
38
  <children>
@@ -43,6 +43,17 @@
43
  </robots>
44
  </children>
45
  </cueblocks>
 
 
 
 
 
 
 
 
 
 
 
46
  </children>
47
  </admin>
48
  </resources>
@@ -54,4 +65,4 @@
54
  </robots>
55
  </updates>
56
  </layout>
57
- </adminhtml>
32
  <children>
33
  <cueblocks>
34
  <title>CueBlocks Extension</title>
35
+ <children>
36
  <robots>
37
  <title>Robots Txt</title>
38
  <children>
43
  </robots>
44
  </children>
45
  </cueblocks>
46
+ <system>
47
+ <children>
48
+ <config>
49
+ <children>
50
+ <robotstxt translate="title" module="robots">
51
+ <title>Robots.txt</title>
52
+ </robotstxt>
53
+ </children>
54
+ </config>
55
+ </children>
56
+ </system>
57
  </children>
58
  </admin>
59
  </resources>
65
  </robots>
66
  </updates>
67
  </layout>
68
+ </adminhtml>
app/code/community/CueBlocks/Robots/etc/config.xml CHANGED
@@ -11,30 +11,10 @@
11
  <config>
12
  <modules>
13
  <CueBlocks_Robots>
14
- <version>1.6.0</version>
15
  </CueBlocks_Robots>
16
  </modules>
17
  <global>
18
- <resources>
19
- <robots_setup>
20
- <setup>
21
- <module>CueBlocks_Robots</module>
22
- </setup>
23
- <connection>
24
- <use>core_setup</use>
25
- </connection>
26
- </robots_setup>
27
- <robots_write>
28
- <connection>
29
- <use>core_write</use>
30
- </connection>
31
- </robots_write>
32
- <robots_read>
33
- <connection>
34
- <use>core_read</use>
35
- </connection>
36
- </robots_read>
37
- </resources>
38
  <blocks>
39
  <robots>
40
  <class>CueBlocks_Robots_Block</class>
@@ -57,4 +37,11 @@
57
  </robots>
58
  </routers>
59
  </admin>
 
 
 
 
 
 
 
60
  </config>
11
  <config>
12
  <modules>
13
  <CueBlocks_Robots>
14
+ <version>1.8.0</version>
15
  </CueBlocks_Robots>
16
  </modules>
17
  <global>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  <blocks>
19
  <robots>
20
  <class>CueBlocks_Robots_Block</class>
37
  </robots>
38
  </routers>
39
  </admin>
40
+ <default>
41
+ <robotstxt>
42
+ <general>
43
+ <path_map>/</path_map>
44
+ </general>
45
+ </robotstxt>
46
+ </default>
47
  </config>
app/code/community/CueBlocks/Robots/etc/system.xml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ * @package CueBlocks_SitemapEnhancedPlus
4
+ * @company CueBlocks
5
+ * @author Francesco Magazzu' <francesco.magazzu at cueblocks.com>
6
+ -->
7
+ <config>
8
+ <tabs>
9
+ <cueBlocks translate="label">
10
+ <label>CueBlocks</label>
11
+ <sort_order>100</sort_order>
12
+ </cueBlocks>
13
+ </tabs>
14
+ <sections>
15
+ <robotstxt translate="label" module="robots">
16
+ <label>Robots.txt</label>
17
+ <tab>cueBlocks</tab>
18
+ <frontend_type>text</frontend_type>
19
+ <sort_order>80</sort_order>
20
+ <show_in_default>0</show_in_default>
21
+ <show_in_website>1</show_in_website>
22
+ <show_in_store>1</show_in_store>
23
+ <groups>
24
+ <general translate="label">
25
+ <label>General</label>
26
+ <frontend_type>text</frontend_type>
27
+ <sort_order>10</sort_order>
28
+ <show_in_default>0</show_in_default>
29
+ <show_in_website>1</show_in_website>
30
+ <show_in_store>1</show_in_store>
31
+ <fields>
32
+ <path_map translate="label">
33
+ <label>PathMap</label>
34
+ <frontend_type>text</frontend_type>
35
+ <comment>Default value: empty. 'Relative Path' for the sub-root: use this setting only for Multi-Domain site that uses a different Root for every Domain/Store.</comment>
36
+ <tooltip>In case of multi-domain Magento setup, give the location where extension has to create the robots file. Populate with the relative path between your main Magento Root and the sub-root folder ( ex. '../SubRoot/', './SubRoot/' ).</tooltip>
37
+ <sort_order>10</sort_order>
38
+ <show_in_default>0</show_in_default>
39
+ <show_in_website>1</show_in_website>
40
+ <show_in_store>1</show_in_store>
41
+ </path_map>
42
+ </fields>
43
+ </general>
44
+ </groups>
45
+ </robotstxt>
46
+ </sections>
47
+ </config>
app/design/adminhtml/default/default/layout/robots.xml CHANGED
@@ -8,10 +8,10 @@
8
  *
9
  */
10
  -->
11
- <layout version="0.1.0">
12
- <robots_adminhtml_robots_index>
13
- <reference name="content">
14
- <block type="robots/adminhtml_robots" name="robots" />
15
- </reference>
16
- </robots_adminhtml_robots_index>
17
- </layout>
8
  *
9
  */
10
  -->
11
+ <layout version="0.1.0">
12
+ <robots_adminhtml_robots_index>
13
+ <reference name="content">
14
+ <block type="robots/adminhtml_robots" name="robots" />
15
+ </reference>
16
+ </robots_adminhtml_robots_index>
17
+ </layout>
app/design/adminhtml/default/default/template/robots/robotsadd.phtml CHANGED
@@ -6,17 +6,29 @@
6
  * Developed By :- CueBlocks.com
7
  *
8
  */
9
- $path = BP . DS;
10
- $filepath= $path.'/robots.txt';
11
- $filename='robots.txt';
 
 
 
 
 
 
 
 
 
 
 
12
  if (file_exists($filepath))
13
  {
14
- $fh =fopen($filename, "r");
15
- $theData=file_get_contents($filename);
16
  fclose($fh);
17
  }
18
- else
19
  $theData='';
 
20
  ?>
21
  <div class="content-header">
22
  <table cellspacing="0" class="grid-header">
@@ -28,13 +40,43 @@ else
28
  </tr>
29
  </table>
30
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  <div class="entry-edit">
32
  <div class="entry-edit-head">
33
  <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Save Content')?></h4>
34
  </div>
35
  <fieldset id="my-fieldset">
36
  <?php /***Add Form Starts***/ ?>
37
- <form id="edit_form" name="edit_form" method="post" action="<?php echo $this->getUrl('*/*/save')?>">
38
  <input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
39
  <table cellspacing="0" class="form-list">
40
  <tr>
@@ -51,3 +93,14 @@ else
51
  <script type="text/javascript">
52
  var editForm = new varienForm('edit_form');
53
  </script>
 
 
 
 
 
 
 
 
 
 
 
6
  * Developed By :- CueBlocks.com
7
  *
8
  */
9
+ $store_id = $this->getRequest()->getParam('store');
10
+ $store_path = '';
11
+ $post_url = $this->getUrl('*/*/save');
12
+ if($store_id) {
13
+ $store_path = Mage::getStoreConfig('robotstxt/general/path_map', $store_id);
14
+ $post_url = $this->getUrl('*/*/save', array('store' => $store_id));
15
+ }
16
+ $io = new Varien_Io_File();
17
+ if($store_path) {
18
+ $path = $io->getCleanPath(Mage::getBaseDir() . DS . $store_path . DS);
19
+ } else {
20
+ $path = $io->getCleanPath(Mage::getBaseDir() . DS);
21
+ }
22
+ $filepath= $path.'robots.txt';
23
  if (file_exists($filepath))
24
  {
25
+ $fh =fopen($filepath, "r");
26
+ $theData=file_get_contents($filepath);
27
  fclose($fh);
28
  }
29
+ else {
30
  $theData='';
31
+ }
32
  ?>
33
  <div class="content-header">
34
  <table cellspacing="0" class="grid-header">
40
  </tr>
41
  </table>
42
  </div>
43
+ <?php if (!$this->isSingleStoreMode() && $websites = $this->getWebsites()): ?>
44
+ <p class="switcher">
45
+ <label for="store_switcher"><?php echo $this->__('Choose Store View:') ?></label>
46
+ <select name="store_switcher" id="store_switcher" onchange="return switchStore(this);">
47
+ <?php foreach ($websites as $website): ?>
48
+ <?php $showWebsite = false; ?>
49
+ <?php foreach ($website->getGroups() as $group): ?>
50
+ <?php $showGroup = false; ?>
51
+ <?php foreach ($this->getStores($group) as $store): ?>
52
+ <?php if ($showWebsite == false): ?>
53
+ <?php $showWebsite = true; ?>
54
+ <optgroup label="<?php echo $this->escapeHtml($website->getName()) ?>"></optgroup>
55
+ <?php endif; ?>
56
+ <?php if ($showGroup == false): ?>
57
+ <?php $showGroup = true; ?>
58
+ <optgroup label="&nbsp;&nbsp;&nbsp;<?php echo $this->escapeHtml($group->getName()) ?>">
59
+ <?php endif; ?>
60
+ <option value="<?php echo $this->escapeHtml($store->getId()) ?>"<?php if($this->getStoreId() == $store->getId()): ?> selected="selected"<?php endif; ?>>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->escapeHtml($store->getName()) ?></option>
61
+ <?php endforeach; ?>
62
+ <?php if ($showGroup): ?>
63
+ </optgroup>
64
+ <?php endif; ?>
65
+ <?php endforeach; ?>
66
+ <?php endforeach; ?>
67
+ </select>
68
+ <a class="link-store-scope" title="<?php echo $this->__('What is this?'); ?>" onclick="this.target='_blank'" href="<?php echo Mage::helper('core/hint')->getHintByCode('store_switcher'); ?>">
69
+ <?php echo $this->__('What is this?'); ?>
70
+ </a>
71
+ </p>
72
+ <?php endif; ?>
73
  <div class="entry-edit">
74
  <div class="entry-edit-head">
75
  <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Save Content')?></h4>
76
  </div>
77
  <fieldset id="my-fieldset">
78
  <?php /***Add Form Starts***/ ?>
79
+ <form id="edit_form" name="edit_form" method="post" action="<?php echo $post_url ?>">
80
  <input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
81
  <table cellspacing="0" class="form-list">
82
  <tr>
93
  <script type="text/javascript">
94
  var editForm = new varienForm('edit_form');
95
  </script>
96
+ <?php if (!$this->isSingleStoreMode() && $websites = $this->getWebsites()): ?>
97
+ <script type="text/javascript">
98
+ function switchStore(obj) {
99
+ var storeParam = obj.value ? 'store/' + obj.value + '/' : '';
100
+ if (obj.switchParams) {
101
+ storeParam += obj.switchParams;
102
+ }
103
+ setLocation('<?php echo $this->getSwitchUrl() ?>' + storeParam);
104
+ }
105
+ </script>
106
+ <?php endif; ?>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>robots_txt</name>
4
- <version>1.7.2</version>
5
  <stability>stable</stability>
6
- <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Makes it easy to edit Robots.txt - you can access Robots.txt file directly from Magento Admin interface</summary>
10
  <description>Makes it easy to edit Robots.txt - you can access Robots.txt file directly from Magento Admin interface</description>
11
- <notes>Makes it easy to edit Robots.txt - you can access Robots.txt file directly from Magento Admin interface</notes>
12
- <authors><author><name>CueBlocks.com</name><user>CueBlocks</user><email>pancham@cueblocks.com</email></author></authors>
13
- <date>2012-11-07</date>
14
- <time>12:23:13</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="CueBlocks_Robots.xml" hash="70e95a838a261031bcb97326117ca1fe"/></dir></target><target name="magecommunity"><dir name="CueBlocks"><dir name="Robots"><dir name="Block"><dir name="Adminhtml"><dir name="Robots"><dir name="Edit"><file name="Tabs.php" hash="ecc231e63a0f854d8baa6b5bdc4d3b05"/></dir><file name="Edit.php" hash="00a3081303cd7de46112b5a7ec2738e4"/></dir><file name="Robots.php" hash="cddb7ca64431cd0d0ba03d0298816974"/></dir></dir><dir name="Helper"><file name="Data.php" hash="bf21a8f4891b2ca8ac5c4fad3899f3ef"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="RobotsController.php" hash="131658f5654f2a24d4038f908487ed6f"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="a05ae708a5341b0162868de5909ae9ec"/><file name="config.xml" hash="7bd70d2073244224683bbb9024a12359"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="robots.xml" hash="2f81bd14161e4637a6af1251b4e405bb"/></dir><dir name="template"><dir name="robots"><file name="robotsadd.phtml" hash="a8cc076c0bb2727feef3d610f8be4f73"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.0.2</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>robots_txt</name>
4
+ <version>1.8.0</version>
5
  <stability>stable</stability>
6
+ <license uri="http://store.cueblocks.com/LICENSE_STORE.txt">EULA</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Makes it easy to edit Robots.txt - you can access Robots.txt file directly from Magento Admin interface</summary>
10
  <description>Makes it easy to edit Robots.txt - you can access Robots.txt file directly from Magento Admin interface</description>
11
+ <notes>Support for multiple websites </notes>
12
+ <authors><author><name>CueBlocks</name><user>Suneet</user><email>suneet@cueblocks.com</email></author></authors>
13
+ <date>2015-08-06</date>
14
+ <time>06:14:12</time>
15
+ <contents><target name="magecommunity"><dir name="CueBlocks"><dir name="Robots"><dir name="Block"><dir name="Adminhtml"><dir name="Robots"><dir name="Edit"><file name="Tabs.php" hash="ecc231e63a0f854d8baa6b5bdc4d3b05"/></dir><file name="Edit.php" hash="f3f5604f14631a60f4e5782c9fcdd380"/></dir><file name="Robots.php" hash="fb221b06bd34817f7a23ecdc162f8840"/></dir></dir><dir name="Helper"><file name="Data.php" hash="bf21a8f4891b2ca8ac5c4fad3899f3ef"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="RobotsController.php" hash="01821e477e2d275e641014a1f85c604d"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="7a53c1967d25e010193f991599245c48"/><file name="config.xml" hash="dc766a844b0e3c3ef14a4ae8fbb687dc"/><file name="system.xml" hash="7d86eedaf2297bb0fce35e730a84f213"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="robots.xml" hash="88fb1eb75ce44d1ed175d820cadc0f86"/></dir><dir name="template"><dir name="robots"><file name="robotsadd.phtml" hash="ce61f6fe5e1c3ee836c6206d8263f6d8"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CueBlocks_Robots.xml" hash="70e95a838a261031bcb97326117ca1fe"/></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>4.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>