Chargeback - Version 1.1.0

Version Notes

Connect Magento to Chargeback app.

Download this release

Release Info

Developer Scott Stone
Extension Chargeback
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.0 to 1.1.0

Files changed (179) hide show
  1. app/code/community/Chargeback/Auth/Block/Completed.php +1 -1
  2. app/code/community/Chargeback/Auth/Helper/Data.php +76 -55
  3. app/code/community/Chargeback/Auth/etc/config.xml +2 -2
  4. app/design/adminhtml/default/default/etc/theme.xml +0 -30
  5. app/design/adminhtml/default/default/layout/admin.xml +0 -96
  6. app/design/adminhtml/default/default/layout/adminnotification.xml +0 -38
  7. app/design/adminhtml/default/default/layout/api2.xml +0 -147
  8. app/design/adminhtml/default/default/layout/authorizenet.xml +0 -35
  9. app/design/adminhtml/default/default/layout/bundle.xml +0 -118
  10. app/design/adminhtml/default/default/layout/captcha.xml +0 -48
  11. app/design/adminhtml/default/default/layout/catalog.xml +0 -332
  12. app/design/adminhtml/default/default/layout/centinel.xml +0 -70
  13. app/design/adminhtml/default/default/layout/chargeback/auth.xml +1 -1
  14. app/design/adminhtml/default/default/layout/chargeback/htmlBlock.phtml +0 -17
  15. app/design/adminhtml/default/default/layout/cms.xml +0 -97
  16. app/design/adminhtml/default/default/layout/compiler.xml +0 -35
  17. app/design/adminhtml/default/default/layout/connect.xml +0 -73
  18. app/design/adminhtml/default/default/layout/currencysymbol.xml +0 -34
  19. app/design/adminhtml/default/default/layout/customer.xml +0 -126
  20. app/design/adminhtml/default/default/layout/dataflow.xml +0 -59
  21. app/design/adminhtml/default/default/layout/default/htmlBlock.phtml +0 -17
  22. app/design/adminhtml/default/default/layout/downloadable.xml +0 -97
  23. app/design/adminhtml/default/default/layout/giftmessage.xml +0 -82
  24. app/design/adminhtml/default/default/layout/htmlBlock.phtml +0 -17
  25. app/design/adminhtml/default/default/layout/importexport.xml +0 -59
  26. app/design/adminhtml/default/default/layout/index.xml +0 -51
  27. app/design/adminhtml/default/default/layout/main.xml +0 -293
  28. app/design/adminhtml/default/default/layout/moneybookers.xml +0 -28
  29. app/design/adminhtml/default/default/layout/newsletter.xml +0 -67
  30. app/design/adminhtml/default/default/layout/oauth.xml +0 -194
  31. app/design/adminhtml/default/default/layout/pagecache.xml +0 -35
  32. app/design/adminhtml/default/default/layout/promo.xml +0 -101
  33. app/design/adminhtml/default/default/layout/report.xml +0 -55
  34. app/design/adminhtml/default/default/layout/rss.xml +0 -45
  35. app/design/adminhtml/default/default/layout/sales.xml +0 -1080
  36. app/design/adminhtml/default/default/layout/search.xml +0 -35
  37. app/design/adminhtml/default/default/layout/tag.xml +0 -88
  38. app/design/adminhtml/default/default/layout/tax.xml +0 -34
  39. app/design/adminhtml/default/default/layout/widget.xml +0 -69
  40. app/design/adminhtml/default/default/layout/xmlconnect.xml +0 -282
  41. app/design/adminhtml/default/default/locale/en_US/translate.csv +0 -201
  42. app/design/adminhtml/default/default/template/access_denied.phtml +0 -40
  43. app/design/adminhtml/default/default/template/api/role_users_grid_js.phtml +0 -105
  44. app/design/adminhtml/default/default/template/api/roleinfo.phtml +0 -47
  45. app/design/adminhtml/default/default/template/api/roles.phtml +0 -37
  46. app/design/adminhtml/default/default/template/api/rolesedit.phtml +0 -143
  47. app/design/adminhtml/default/default/template/api/rolesusers.phtml +0 -28
  48. app/design/adminhtml/default/default/template/api/user_roles_grid_js.phtml +0 -85
  49. app/design/adminhtml/default/default/template/api/userinfo.phtml +0 -52
  50. app/design/adminhtml/default/default/template/api/usernroles.phtml +0 -31
  51. app/design/adminhtml/default/default/template/api/userroles.phtml +0 -45
  52. app/design/adminhtml/default/default/template/api/users.phtml +0 -40
  53. app/design/adminhtml/default/default/template/api2/attribute/buttons.phtml +0 -53
  54. app/design/adminhtml/default/default/template/api2/attribute/resource.phtml +0 -158
  55. app/design/adminhtml/default/default/template/api2/permissions/user/edit/tab/roles/js.phtml +0 -59
  56. app/design/adminhtml/default/default/template/api2/role/buttons.phtml +0 -52
  57. app/design/adminhtml/default/default/template/api2/role/users_grid_js.phtml +0 -122
  58. app/design/adminhtml/default/default/template/authorizenet/directpost/iframe.phtml +0 -56
  59. app/design/adminhtml/default/default/template/authorizenet/directpost/info.phtml +0 -157
  60. app/design/adminhtml/default/default/template/backup/dialogs.phtml +0 -190
  61. app/design/adminhtml/default/default/template/backup/left.phtml +0 -27
  62. app/design/adminhtml/default/default/template/backup/list.phtml +0 -40
  63. app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/bundle.phtml +0 -95
  64. app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/checkbox.phtml +0 -52
  65. app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/multi.phtml +0 -49
  66. app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/radio.phtml +0 -65
  67. app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/select.phtml +0 -55
  68. app/design/adminhtml/default/default/template/bundle/product/edit/bundle.phtml +0 -85
  69. app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option.phtml +0 -235
  70. app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option/search.phtml +0 -35
  71. app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option/selection.phtml +0 -352
  72. app/design/adminhtml/default/default/template/bundle/sales/creditmemo/create/items/renderer.phtml +0 -411
  73. app/design/adminhtml/default/default/template/bundle/sales/creditmemo/view/items/renderer.phtml +0 -341
  74. app/design/adminhtml/default/default/template/bundle/sales/invoice/create/items/renderer.phtml +0 -398
  75. app/design/adminhtml/default/default/template/bundle/sales/invoice/view/items/renderer.phtml +0 -340
  76. app/design/adminhtml/default/default/template/bundle/sales/order/view/items/renderer.phtml +0 -415
  77. app/design/adminhtml/default/default/template/bundle/sales/shipment/create/items/renderer.phtml +0 -118
  78. app/design/adminhtml/default/default/template/bundle/sales/shipment/view/items/renderer.phtml +0 -115
  79. app/design/adminhtml/default/default/template/captcha/zend.phtml +0 -56
  80. app/design/adminhtml/default/default/template/catalog/category/checkboxes/tree.phtml +0 -199
  81. app/design/adminhtml/default/default/template/catalog/category/edit.phtml +0 -198
  82. app/design/adminhtml/default/default/template/catalog/category/edit/form.phtml +0 -258
  83. app/design/adminhtml/default/default/template/catalog/category/tree.phtml +0 -480
  84. app/design/adminhtml/default/default/template/catalog/category/widget/tree.phtml +0 -202
  85. app/design/adminhtml/default/default/template/catalog/form/renderer/fieldset/element.phtml +0 -60
  86. app/design/adminhtml/default/default/template/catalog/product.phtml +0 -47
  87. app/design/adminhtml/default/default/template/catalog/product/attribute/js.phtml +0 -338
  88. app/design/adminhtml/default/default/template/catalog/product/attribute/new/created.phtml +0 -54
  89. app/design/adminhtml/default/default/template/catalog/product/attribute/options.phtml +0 -224
  90. app/design/adminhtml/default/default/template/catalog/product/attribute/set/main.phtml +0 -461
  91. app/design/adminhtml/default/default/template/catalog/product/attribute/set/main/tree/attribute.phtml +0 -26
  92. app/design/adminhtml/default/default/template/catalog/product/attribute/set/main/tree/group.phtml +0 -27
  93. app/design/adminhtml/default/default/template/catalog/product/attribute/set/toolbar/add.phtml +0 -41
  94. app/design/adminhtml/default/default/template/catalog/product/attribute/set/toolbar/main.phtml +0 -36
  95. app/design/adminhtml/default/default/template/catalog/product/composite/configure.phtml +0 -54
  96. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/configurable.phtml +0 -60
  97. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/grouped.phtml +0 -95
  98. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options.phtml +0 -45
  99. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/js.phtml +0 -106
  100. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/date.phtml +0 -94
  101. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/default.phtml +0 -31
  102. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/file.phtml +0 -103
  103. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/select.phtml +0 -39
  104. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/text.phtml +0 -42
  105. app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/qty.phtml +0 -36
  106. app/design/adminhtml/default/default/template/catalog/product/created.phtml +0 -59
  107. app/design/adminhtml/default/default/template/catalog/product/edit.phtml +0 -133
  108. app/design/adminhtml/default/default/template/catalog/product/edit/action/attribute.phtml +0 -61
  109. app/design/adminhtml/default/default/template/catalog/product/edit/action/inventory.phtml +0 -181
  110. app/design/adminhtml/default/default/template/catalog/product/edit/action/websites.phtml +0 -120
  111. app/design/adminhtml/default/default/template/catalog/product/edit/categories.phtml +0 -148
  112. app/design/adminhtml/default/default/template/catalog/product/edit/options.phtml +0 -57
  113. app/design/adminhtml/default/default/template/catalog/product/edit/options/option.phtml +0 -351
  114. app/design/adminhtml/default/default/template/catalog/product/edit/options/type/date.phtml +0 -53
  115. app/design/adminhtml/default/default/template/catalog/product/edit/options/type/file.phtml +0 -61
  116. app/design/adminhtml/default/default/template/catalog/product/edit/options/type/select.phtml +0 -173
  117. app/design/adminhtml/default/default/template/catalog/product/edit/options/type/text.phtml +0 -55
  118. app/design/adminhtml/default/default/template/catalog/product/edit/price/group.phtml +0 -170
  119. app/design/adminhtml/default/default/template/catalog/product/edit/price/tier.phtml +0 -171
  120. app/design/adminhtml/default/default/template/catalog/product/edit/serializer.phtml +0 -33
  121. app/design/adminhtml/default/default/template/catalog/product/edit/super/config.phtml +0 -153
  122. app/design/adminhtml/default/default/template/catalog/product/edit/websites.phtml +0 -100
  123. app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml +0 -126
  124. app/design/adminhtml/default/default/template/catalog/product/js.phtml +0 -94
  125. app/design/adminhtml/default/default/template/catalog/product/price.phtml +0 -383
  126. app/design/adminhtml/default/default/template/catalog/product/tab/alert.phtml +0 -37
  127. app/design/adminhtml/default/default/template/catalog/product/tab/inventory.phtml +0 -263
  128. app/design/adminhtml/default/default/template/catalog/product/widget/chooser/container.phtml +0 -37
  129. app/design/adminhtml/default/default/template/catalog/wysiwyg/js.phtml +0 -119
  130. app/design/adminhtml/default/default/template/centinel/authentication/complete.phtml +0 -38
  131. app/design/adminhtml/default/default/template/centinel/authentication/start.phtml +0 -38
  132. app/design/adminhtml/default/default/template/centinel/validation/form.phtml +0 -37
  133. app/design/adminhtml/default/default/template/{htmlBlock.phtml → chargeback/connect.phtml} +10 -1
  134. app/design/adminhtml/default/default/template/cms/browser/content.phtml +0 -49
  135. app/design/adminhtml/default/default/template/cms/browser/content/files.phtml +0 -54
  136. app/design/adminhtml/default/default/template/cms/browser/content/newfolder.phtml +0 -33
  137. app/design/adminhtml/default/default/template/cms/browser/content/uploader.phtml +0 -31
  138. app/design/adminhtml/default/default/template/cms/browser/js.phtml +0 -39
  139. app/design/adminhtml/default/default/template/cms/browser/tree.phtml +0 -82
  140. app/design/adminhtml/default/default/template/cms/page/edit/form/renderer/content.phtml +0 -32
  141. app/design/adminhtml/default/default/template/coming.phtml +0 -30
  142. app/design/adminhtml/default/default/template/compiler/process.phtml +0 -94
  143. app/design/adminhtml/default/default/template/connect/extension/custom/authors.phtml +0 -91
  144. app/design/adminhtml/default/default/template/connect/extension/custom/contents.phtml +0 -91
  145. app/design/adminhtml/default/default/template/connect/extension/custom/depends.phtml +0 -137
  146. app/design/adminhtml/default/default/template/connect/extension/custom/load.phtml +0 -35
  147. app/design/adminhtml/default/default/template/connect/extension/custom/package.phtml +0 -91
  148. app/design/adminhtml/default/default/template/connect/extension/custom/release.phtml +0 -29
  149. app/design/adminhtml/default/default/template/currencysymbol/grid.phtml +0 -100
  150. app/design/adminhtml/default/default/template/customer/edit/js.phtml +0 -33
  151. app/design/adminhtml/default/default/template/customer/edit/tab/account/form/renderer/group.phtml +0 -52
  152. app/design/adminhtml/default/default/template/customer/edit/tab/view/grid/item.phtml +0 -46
  153. app/design/adminhtml/default/default/template/customer/online.phtml +0 -34
  154. app/design/adminhtml/default/default/template/customer/sales/order/create/address/form/renderer/vat.phtml +0 -52
  155. app/design/adminhtml/default/default/template/customer/system/config/validatevat.phtml +0 -65
  156. app/design/adminhtml/default/default/template/customer/tab/addresses.phtml +0 -640
  157. app/design/adminhtml/default/default/template/customer/tab/cart.phtml +0 -96
  158. app/design/adminhtml/default/default/template/customer/tab/newsletter.phtml +0 -30
  159. app/design/adminhtml/default/default/template/customer/tab/view.phtml +0 -82
  160. app/design/adminhtml/default/default/template/customer/tab/view/sales.phtml +0 -85
  161. app/design/adminhtml/default/default/template/customer/tab/wishlist.phtml +0 -79
  162. app/design/adminhtml/default/default/template/dashboard/graph.phtml +0 -65
  163. app/design/adminhtml/default/default/template/dashboard/graph/disabled.phtml +0 -31
  164. app/design/adminhtml/default/default/template/dashboard/grid.phtml +0 -86
  165. app/design/adminhtml/default/default/template/dashboard/index.phtml +0 -133
  166. app/design/adminhtml/default/default/template/dashboard/salebar.phtml +0 -36
  167. app/design/adminhtml/default/default/template/dashboard/searches.phtml +0 -35
  168. app/design/adminhtml/default/default/template/dashboard/store/switcher.phtml +0 -77
  169. app/design/adminhtml/default/default/template/dashboard/totalbar.phtml +0 -42
  170. app/design/adminhtml/default/default/template/directory/js/optional_zip_countries.phtml +0 -66
  171. app/design/adminhtml/default/default/template/downloadable/product/composite/fieldset/downloadable.phtml +0 -91
  172. app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable.phtml +0 -302
  173. app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/links.phtml +0 -390
  174. app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/samples.phtml +0 -219
  175. app/design/adminhtml/default/default/template/downloadable/sales/items/column/downloadable/creditmemo/name.phtml +0 -62
  176. app/design/adminhtml/default/default/template/downloadable/sales/items/column/downloadable/invoice/name.phtml +0 -62
  177. app/design/adminhtml/default/default/template/downloadable/sales/items/column/downloadable/name.phtml +0 -62
  178. app/design/adminhtml/default/default/template/downloadable/sales/order/creditmemo/create/items/renderer/downloadable.phtml +0 -246
  179. app/design/adminhtml/default/default/template/downloadable/sales/order/creditmemo/view/items/renderer/downloadable.phtml +0 -221
app/code/community/Chargeback/Auth/Block/Completed.php CHANGED
@@ -7,6 +7,6 @@ class Chargeback_Auth_Block_Completed extends Mage_Adminhtml_Block_Abstract impl
7
  Mage::app()->getCacheInstance()->cleanType('config');
8
  Mage::dispatchEvent('adminhtml_cache_refresh_type', array('type' => 'config'));
9
 
10
- return $this->getBlockHtml('htmlBlock');
11
  }
12
  }
7
  Mage::app()->getCacheInstance()->cleanType('config');
8
  Mage::dispatchEvent('adminhtml_cache_refresh_type', array('type' => 'config'));
9
 
10
+ return $this->getBlockHtml('connect');
11
  }
12
  }
app/code/community/Chargeback/Auth/Helper/Data.php CHANGED
@@ -1,41 +1,49 @@
1
  <?php
2
 
3
  class Chargeback_Auth_Helper_Data extends Mage_Core_Helper_Abstract {
4
- public function checkAPIAccount()
5
- {
6
- if (is_object($this->role()) && $this->role()->getId() > 0) {
7
- if (is_object($this->consumer()) && $this->consumer()->getId() > 0) {
8
- return $this->consumer();
9
- }
10
- }
11
- return false;
12
- }
13
 
 
14
  public function role()
15
  {
16
- return Mage::getModel('api/roles')->getCollection()->addFieldToFilter('role_name',array('eq'=>"Chargeback Admin"))->load()->getFirstItem();
17
  }
18
 
19
- public function consumer()
 
20
  {
21
- return Mage::getModel('api/user')->getCollection()->addFieldToFilter('username',array('eq'=>'chargeback'))->load()->getFirstItem();
22
  }
23
 
24
- public function buildApiUrl(/*.string.*/ $token, /*.string.*/ $key, /*.string.*/ $pass)
 
25
  {
26
- return Mage::getStoreConfig('chargeback/general/url')."auth_tokens/connect?_cb_auth_token=$token&username=$key&password=$pass&name=Magento&url=".Mage::getBaseUrl().'api/xmlrpc';
27
  }
28
 
 
29
  public function connect()
30
  {
31
- $this->createAPIAccount();
32
- return $this->buildApiUrl(Mage::getSingleton('admin/session')->getCbAuthToken(),'chargeback',Mage::getSingleton('admin/session')->getData('chargeback_password'));
 
33
  }
34
 
35
  public function resetPluginSettingsRemoveUser()
36
  {
37
- $this->role()->delete()->save();
38
- $this->consumer()->delete()->save();
 
 
 
 
 
 
 
 
 
 
 
39
  $this->setComplete(false);
40
  }
41
 
@@ -52,43 +60,56 @@ class Chargeback_Auth_Helper_Data extends Mage_Core_Helper_Abstract {
52
 
53
  public function createAPIAccount()
54
  {
55
- $account = $this->checkAPIAccount();
56
-
57
- if (!is_object($account)) {
58
-
59
- $apiPassword = md5(time());
60
-
61
- $api_role = Mage::getModel('api/roles')
62
- ->setName('Chargeback Admin')
63
- ->setRoleType('G')
64
- ->save();
65
-
66
- Mage::getModel('api/rules')
67
- ->setRoleId($api_role->getId())
68
- ->setResources(array('all'))
69
- ->saveRel();
70
-
71
- $userapi = Mage::getModel('api/user')
72
- ->setData(array(
73
- 'username' => 'chargeback',
74
- 'firstname' => 'Chargeback',
75
- 'lastname' => 'User',
76
- 'email' => 'apiuser@chargeback.com',
77
- 'is_active' => 1,
78
- 'api_key' => $apiPassword,
79
- 'api_key_confirmation' => $apiPassword,
80
- 'roles' => array($api_role->getId()) // your created custom role
81
- ));
82
-
83
-
84
- $userapi->save();
85
-
86
- $userapi->setRoleIds(array($api_role->getId()))->setRoleUserId($userapi->getUserId())
87
- ->saveRelations();
88
-
89
- Mage::getSingleton('admin/session')->setData('chargeback_password',$apiPassword);
90
-
91
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
  }
94
 
1
  <?php
2
 
3
  class Chargeback_Auth_Helper_Data extends Mage_Core_Helper_Abstract {
4
+ public $name = 'chargeback';
 
 
 
 
 
 
 
 
5
 
6
+ // Get user role by name 'chargeback'
7
  public function role()
8
  {
9
+ return Mage::getModel('admin/role')->getCollection()->addFieldToFilter('role_name',array('eq'=>$this->name))->load()->getFirstItem();
10
  }
11
 
12
+ // Get OAuth role by name 'chargeback'
13
+ public function oauthRole()
14
  {
15
+ return Mage::getModel('api2/acl_global_role')->getCollection()->addFieldToFilter('role_name',array('eq'=>$this->name))->load()->getFirstItem();
16
  }
17
 
18
+ // Get user by name 'chargeback'
19
+ public function consumer()
20
  {
21
+ return Mage::getModel('admin/user')->getCollection()->addFieldToFilter('username',array('eq'=>$this->name))->load()->getFirstItem();
22
  }
23
 
24
+ // Generate URL for disputer to accept
25
  public function connect()
26
  {
27
+ $pass = $this->createAPIAccount();
28
+ $token = Mage::getSingleton('admin/session')->getCbAuthToken();
29
+ return Mage::getStoreConfig('chargeback/general/url')."auth_tokens/connect?_cb_auth_token=$token&username=$this->name&password=$pass&name=Magento&url=".Mage::getStoreConfig(Mage_Core_Model_Url::XML_PATH_SECURE_URL).'api/rest';
30
  }
31
 
32
  public function resetPluginSettingsRemoveUser()
33
  {
34
+ // Delete OAuth role
35
+ if($this->oauthRole()->getRoleName() == $this->name){
36
+ $this->oauthRole()->delete()->save();
37
+ }
38
+ // Delete user role
39
+ if($this->role()->getRoleName() == $this->name){
40
+ $this->role()->delete()->save();
41
+ }
42
+ // Delete user role
43
+ if($this->consumer()->getUsername() == $this->name){
44
+ $this->consumer()->delete()->save();
45
+ }
46
+ // set status of connection to false
47
  $this->setComplete(false);
48
  }
49
 
60
 
61
  public function createAPIAccount()
62
  {
63
+ $apiPassword = md5(time());
64
+ $this->resetPluginSettingsRemoveUser();
65
+
66
+ // Creates the OAuth role
67
+ $oauth_role = Mage::getModel('api2/acl_global_role')
68
+ ->setRoleName($this->name)
69
+ ->setCurrentPassword($apiPassword)
70
+ ->save();
71
+
72
+ // Creates the permisisons for the OAuth role above
73
+ $oauth_rule = Mage::getModel('api2/acl_global_rule')
74
+ ->setRoleId($oauth_role->getId())
75
+ ->setResourceId("all")
76
+ ->setPrivilege(null)
77
+ ->save();
78
+
79
+ // Creates admin user named chargeback
80
+ $user = Mage::getModel('admin/user')
81
+ ->setData(array(
82
+ 'username' => $this->name,
83
+ 'firstname' => $this->name,
84
+ 'lastname' => $this->name,
85
+ 'email' => 'apiuser@chargeback.com',
86
+ 'password' => $apiPassword,
87
+ 'api2_roles'=> array($oauth_role->getId()),
88
+ 'is_active' => 1
89
+ ))->save();
90
+
91
+ // Assigns the user to the main admin role
92
+ Mage::getModel("admin/role")
93
+ ->setParentId(1)
94
+ ->setTreeLevel(2)
95
+ ->setRoleType('U')
96
+ ->setRoleName($this->name)
97
+ ->setUserId($user->getId())
98
+ ->save();
99
+
100
+ $oauth = Mage::helper('oauth');
101
+
102
+ // Creates the OAuth key and secret that must be used after successful login
103
+ $key = $oauth->generateConsumerKey();
104
+ $secret = $oauth->generateConsumerSecret();
105
+ Mage::getModel('oauth/consumer')
106
+ ->setData(array(
107
+ 'key' => $key,
108
+ 'secret' => $secret,
109
+ 'name' => $this->name,
110
+ 'current_password' => $apiPassword
111
+ ))->save();
112
+ return $apiPassword.':'.$key.':'.$secret;
113
 
114
  }
115
 
app/code/community/Chargeback/Auth/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Chargeback_Auth>
5
- <version>1.0.0</version>
6
  </Chargeback_Auth>
7
  </modules>
8
  <global>
@@ -49,4 +49,4 @@
49
  </general>
50
  </chargeback>
51
  </default>
52
- </config>
2
  <config>
3
  <modules>
4
  <Chargeback_Auth>
5
+ <version>1.1.0</version>
6
  </Chargeback_Auth>
7
  </modules>
8
  <global>
49
  </general>
50
  </chargeback>
51
  </default>
52
+ </config>
app/design/adminhtml/default/default/etc/theme.xml DELETED
@@ -1,30 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
- <theme>
29
- <parent />
30
- </theme>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/admin.xml DELETED
@@ -1,96 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
-
29
- <layout>
30
- <!-- admin acl users edit page -->
31
- <adminhtml_permissions_user_edit>
32
- <reference name="left">
33
- <block type="adminhtml/permissions_user_edit_tabs" name="adminhtml.permissions.user.edit.tabs"/>
34
- </reference>
35
- <reference name="content">
36
- <block type="adminhtml/permissions_user_edit" name="adminhtml.permissions.user.edit"/>
37
- </reference>
38
- <reference name="js">
39
- <block type="adminhtml/template" name="adminhtml.permissions.user.roles.grid.js" template="permissions/user_roles_grid_js.phtml"/>
40
- </reference>
41
- </adminhtml_permissions_user_edit>
42
- <!-- admin permissions block edit page -->
43
- <adminhtml_permissions_block_edit>
44
- <reference name="content">
45
- <block type="adminhtml/permissions_block_edit" name="adminhtml.permissions.block.edit"/>
46
- </reference>
47
- </adminhtml_permissions_block_edit>
48
- <!-- admin permissions variable edit page -->
49
- <adminhtml_permissions_variable_edit>
50
- <reference name="content">
51
- <block type="adminhtml/permissions_variable_edit" name="adminhtml.permissions.variable.edit"/>
52
- </reference>
53
- </adminhtml_permissions_variable_edit>
54
- <!-- admin acl roles grid page -->
55
- <adminhtml_permissions_role_index>
56
- <reference name="content">
57
- <block type="adminhtml/permissions_roles" name="adminhtml.permission.role.index" template="permissions/roles.phtml">
58
- <block type="adminhtml/permissions_grid_role" name="adminhtml.permission.role.grid" as="grid"/>
59
- </block>
60
- </reference>
61
- </adminhtml_permissions_role_index>
62
- <adminhtml_permissions_role_rolegrid>
63
- <remove name="root"/>
64
- <block type="adminhtml/permissions_grid_role" name="adminhtml.permission.role.grid"/>
65
- </adminhtml_permissions_role_rolegrid>
66
-
67
- <!-- admin acl roles edit page -->
68
- <adminhtml_permissions_role_editrole>
69
- <reference name="left">
70
- <block type="adminhtml/permissions_editroles" name="adminhtml.permissions.editroles"/>
71
- </reference>
72
- </adminhtml_permissions_role_editrole>
73
- <adminhtml_system_config_edit>
74
- <reference name="content">
75
- <block type="adminhtml/notification_curl" name="notification_curl" as="notification_curl" template="notification/curl.phtml"/>
76
- </reference>
77
- <reference name="left">
78
- <block type="adminhtml/system_config_switcher" name="adminhtml.system.config.switcher" before="-"/>
79
- </reference>
80
- </adminhtml_system_config_edit>
81
- <adminhtml_dashboard_index>
82
- <reference name="content">
83
- <block type="adminhtml/dashboard" name="dashboard">
84
- <block type="adminhtml/store_switcher" name="store_switcher" as="store_switcher" template="store/switcher.phtml">
85
- <action method="setUseConfirm"><params>0</params></action>
86
- </block>
87
- </block>
88
- </reference>
89
- </adminhtml_dashboard_index>
90
- <adminhtml_cache_index>
91
- <reference name="content">
92
- <block type="adminhtml/cache" name="cache"></block>
93
- <block type="adminhtml/cache_additional" name="cache.additional" template="system/cache/additional.phtml"></block>
94
- </reference>
95
- </adminhtml_cache_index>
96
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/adminnotification.xml DELETED
@@ -1,38 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
-
29
- <layout>
30
- <default>
31
- <reference name="notifications">
32
- <block type="adminhtml/notification_toolbar" name="notification_toolbar" as="notification_toolbar" acl="system/adminnotification/show_toolbar" template="notification/toolbar.phtml" />
33
- </reference>
34
- <reference name="notifications">
35
- <block type="adminhtml/notification_window" name="notification_window" as="notification_window" acl="system/adminnotification/show_toolbar" template="notification/window.phtml" />
36
- </reference>
37
- </default>
38
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/api2.xml DELETED
@@ -1,147 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
- <layout>
29
- <adminhtml_api2_role_index>
30
- <reference name="content">
31
- <block type="api2/adminhtml_roles" name="api2_roles"/>
32
- </reference>
33
- </adminhtml_api2_role_index>
34
-
35
- <adminhtml_api2_role_new>
36
- <reference name="left">
37
- <block type="api2/adminhtml_roles_tabs" name="adminhtml.role.edit.tabs">
38
- <block type="api2/adminhtml_roles_tab_info" name="adminhtml.role.edit.tab.info"/>
39
- <block type="api2/adminhtml_roles_tab_resources" name="adminhtml.role.edit.tab.resources" template="permissions/rolesedit.phtml"/>
40
- <action method="addTab">
41
- <id>api2_role_section_info</id>
42
- <block>adminhtml.role.edit.tab.info</block>
43
- </action>
44
- <action method="addTab">
45
- <id>api2_role_section_resources</id>
46
- <block>adminhtml.role.edit.tab.resources</block>
47
- </action>
48
- </block>
49
- </reference>
50
- <reference name="content">
51
- <block type="api2/adminhtml_roles_buttons" name="adminhtml.roles.buttons"/>
52
- </reference>
53
- <reference name="head">
54
- <action method="setCanLoadExtJs">
55
- <flag>1</flag>
56
- </action>
57
- </reference>
58
- </adminhtml_api2_role_new>
59
-
60
- <adminhtml_api2_role_edit>
61
- <reference name="left">
62
- <block type="api2/adminhtml_roles_tabs" name="adminhtml.role.edit.tabs">
63
- <block type="api2/adminhtml_roles_tab_info" name="adminhtml.role.edit.tab.info"/>
64
- <block type="api2/adminhtml_roles_tab_resources" name="adminhtml.role.edit.tab.resources" template="permissions/rolesedit.phtml"/>
65
- <block type="api2/adminhtml_roles_tab_users" name="adminhtml.role.edit.tab.users"/>
66
- <action method="addTab">
67
- <id>api2_role_section_info</id>
68
- <block>adminhtml.role.edit.tab.info</block>
69
- </action>
70
- <action method="addTab">
71
- <id>api2_role_section_resources</id>
72
- <block>adminhtml.role.edit.tab.resources</block>
73
- </action>
74
- <action method="addTab">
75
- <id>roleUsersGrid</id>
76
- <block>adminhtml.role.edit.tab.users</block>
77
- </action>
78
- </block>
79
- </reference>
80
- <reference name="content">
81
- <block type="api2/adminhtml_roles_buttons" name="adminhtml.roles.buttons"/>
82
- </reference>
83
- <reference name="head">
84
- <action method="setCanLoadExtJs">
85
- <flag>1</flag>
86
- </action>
87
- </reference>
88
- <reference name="js">
89
- <block type="adminhtml/template" name="adminhtml.role.js.users.grid" template="api2/role/users_grid_js.phtml"/>
90
- </reference>
91
- </adminhtml_api2_role_edit>
92
-
93
- <adminhtml_api2_role_grid>
94
- <remove name="root"/>
95
- <block type="api2/adminhtml_roles_grid" name="api2_roles.grid" output="toHtml"/>
96
- </adminhtml_api2_role_grid>
97
-
98
- <adminhtml_api2_role_usersgrid>
99
- <remove name="root"/>
100
- <block type="api2/adminhtml_roles_tab_users" name="adminhtml.role.edit.tab.users" output="toHtml"/>
101
- </adminhtml_api2_role_usersgrid>
102
-
103
- <!-- admin acl users edit page -->
104
- <adminhtml_permissions_user_edit>
105
- <reference name="adminhtml.permissions.user.edit.tabs">
106
- <block type="api2/adminhtml_permissions_user_edit_tab_roles" name="adminhtml.permissions.user.edit.tab.roles"/>
107
- <action method="addTabAfter">
108
- <id>api2_roles_section</id>
109
- <block>adminhtml.permissions.user.edit.tab.roles</block>
110
- <after>roles_section</after>
111
- </action>
112
- </reference>
113
- <reference name="js">
114
- <block type="adminhtml/template" name="adminhtml.permissions.user.edit.tab.roles.js" template="api2/permissions/user/edit/tab/roles/js.phtml"/>
115
- </reference>
116
- </adminhtml_permissions_user_edit>
117
-
118
- <!-- ACL attributes -->
119
- <adminhtml_api2_attribute_index>
120
- <reference name="content">
121
- <block type="api2/adminhtml_attribute" name="api2.attribute"/>
122
- </reference>
123
- </adminhtml_api2_attribute_index>
124
-
125
- <adminhtml_api2_attribute_edit>
126
- <reference name="left">
127
- <block type="api2/adminhtml_attribute_tabs" name="api2.attribute.edit.tabs">
128
- <block type="api2/adminhtml_attribute_tab_resource" name="api2.attribute.tab.resource" template="api2/attribute/resource.phtml"/>
129
- <action method="addTab">
130
- <name>api2_attribute_section_resources</name>
131
- <block>api2.attribute.tab.resource</block>
132
- </action>
133
- </block>
134
- </reference>
135
- <reference name="content">
136
- <block type="api2/adminhtml_attribute_edit" name="edit_form">
137
- <block type="api2/adminhtml_attribute_edit_form" name="form"/>
138
- </block>
139
- </reference>
140
- <reference name="head">
141
- <action method="setCanLoadExtJs">
142
- <flag>1</flag>
143
- </action>
144
- </reference>
145
- </adminhtml_api2_attribute_edit>
146
- <!-- EOF ACL attributes -->
147
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/authorizenet.xml DELETED
@@ -1,35 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
-
28
- -->
29
- <layout version="0.1.0">
30
- <adminhtml_sales_order_create_index>
31
- <reference name="head">
32
- <action method="addJs"><file>mage/directpost.js</file></action>
33
- </reference>
34
- </adminhtml_sales_order_create_index>
35
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/bundle.xml DELETED
@@ -1,118 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
-
29
- <layout>
30
-
31
- <!--
32
- Layout handle for budle products
33
- -->
34
-
35
- <!--<default>
36
- <reference name="left">
37
- <action method="setData"><attribute>attributeTabs</attribute><attributeType>bundle/adminhtml_catalog_product_edit_tab_attributes</attributeType></action>
38
- </reference>
39
- </default>-->
40
-
41
- <adminhtml_catalog_product_bundle>
42
- <reference name="product_tabs">
43
- <action method="addTab"><name>bundle_items</name><block>bundle/adminhtml_catalog_product_edit_tab_bundle</block></action>
44
- <action method="bindShadowTabs"><first>bundle_items</first><second>customer_options</second></action>
45
- </reference>
46
- </adminhtml_catalog_product_bundle>
47
-
48
- <adminhtml_sales_order_view>
49
- <reference name="order_items">
50
- <action method="addItemRender"><type>bundle</type><block>bundle/adminhtml_sales_order_view_items_renderer</block><template>bundle/sales/order/view/items/renderer.phtml</template></action>
51
- </reference>
52
- </adminhtml_sales_order_view>
53
-
54
- <adminhtml_sales_order_invoice_new>
55
- <reference name="order_items">
56
- <action method="addItemRender"><type>bundle</type><block>bundle/adminhtml_sales_order_items_renderer</block><template>bundle/sales/invoice/create/items/renderer.phtml</template></action>
57
- </reference>
58
- </adminhtml_sales_order_invoice_new>
59
-
60
- <adminhtml_sales_order_invoice_updateqty>
61
- <reference name="order_items">
62
- <action method="addItemRender"><type>bundle</type><block>bundle/adminhtml_sales_order_items_renderer</block><template>bundle/sales/invoice/create/items/renderer.phtml</template></action>
63
- </reference>
64
- </adminhtml_sales_order_invoice_updateqty>
65
-
66
- <adminhtml_sales_order_invoice_view>
67
- <reference name="invoice_items">
68
- <action method="addItemRender"><type>bundle</type><block>bundle/adminhtml_sales_order_items_renderer</block><template>bundle/sales/invoice/view/items/renderer.phtml</template></action>
69
- </reference>
70
- </adminhtml_sales_order_invoice_view>
71
-
72
- <adminhtml_sales_order_shipment_new>
73
- <reference name="order_items">
74
- <action method="addItemRender"><type>bundle</type><block>bundle/adminhtml_sales_order_items_renderer</block><template>bundle/sales/shipment/create/items/renderer.phtml</template></action>
75
- </reference>
76
- </adminhtml_sales_order_shipment_new>
77
-
78
- <adminhtml_sales_order_shipment_view>
79
- <reference name="shipment_items">
80
- <action method="addItemRender"><type>bundle</type><block>bundle/adminhtml_sales_order_items_renderer</block><template>bundle/sales/shipment/view/items/renderer.phtml</template></action>
81
- </reference>
82
- </adminhtml_sales_order_shipment_view>
83
-
84
- <adminhtml_sales_order_creditmemo_new>
85
- <reference name="order_items">
86
- <action method="addItemRender"><type>bundle</type><block>bundle/adminhtml_sales_order_items_renderer</block><template>bundle/sales/creditmemo/create/items/renderer.phtml</template></action>
87
- </reference>
88
- </adminhtml_sales_order_creditmemo_new>
89
-
90
- <adminhtml_sales_order_creditmemo_updateqty>
91
- <reference name="order_items">
92
- <action method="addItemRender"><type>bundle</type><block>bundle/adminhtml_sales_order_items_renderer</block><template>bundle/sales/creditmemo/create/items/renderer.phtml</template></action>
93
- </reference>
94
- </adminhtml_sales_order_creditmemo_updateqty>
95
-
96
- <adminhtml_sales_order_creditmemo_view>
97
- <reference name="creditmemo_items">
98
- <action method="addItemRender"><type>bundle</type><block>bundle/adminhtml_sales_order_items_renderer</block><template>bundle/sales/creditmemo/view/items/renderer.phtml</template></action>
99
- </reference>
100
- </adminhtml_sales_order_creditmemo_view>
101
-
102
- <adminhtml_customer_wishlist>
103
- <reference name="customer.wishlist.edit.tab">
104
- <action method="addProductConfigurationHelper"><type>bundle</type><name>bundle/catalog_product_configuration</name></action>
105
- </reference>
106
- </adminhtml_customer_wishlist>
107
-
108
- <PRODUCT_TYPE_bundle>
109
- <reference name="product.composite.fieldset">
110
- <block type="bundle/adminhtml_catalog_product_composite_fieldset_bundle" before="product.composite.fieldset.options" name="product.composite.fieldset.bundle" template="bundle/product/composite/fieldset/options/bundle.phtml">
111
- <action method="addRenderer"><type>select</type><block>bundle/adminhtml_catalog_product_composite_fieldset_options_type_select</block></action>
112
- <action method="addRenderer"><type>multi</type><block>bundle/adminhtml_catalog_product_composite_fieldset_options_type_multi</block></action>
113
- <action method="addRenderer"><type>radio</type><block>bundle/adminhtml_catalog_product_composite_fieldset_options_type_radio</block></action>
114
- <action method="addRenderer"><type>checkbox</type><block>bundle/adminhtml_catalog_product_composite_fieldset_options_type_checkbox</block></action>
115
- </block>
116
- </reference>
117
- </PRODUCT_TYPE_bundle>
118
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/captcha.xml DELETED
@@ -1,48 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
-
28
- -->
29
- <layout version="0.1.0">
30
- <adminhtml_index_login>
31
- <reference name="form.additional.info">
32
- <block type="captcha/captcha" name="captcha">
33
- <action method="setFormId"><formId>backend_login</formId></action>
34
- <action method="setImgWidth"><width>226</width></action>
35
- <action method="setImgHeight"><width>50</width></action>
36
- </block>
37
- </reference>
38
- </adminhtml_index_login>
39
- <adminhtml_index_forgotpassword>
40
- <reference name="form.additional.info">
41
- <block type="captcha/captcha" name="captcha">
42
- <action method="setFormId"><formId>backend_forgotpassword</formId></action>
43
- <action method="setImgWidth"><width>226</width></action>
44
- <action method="setImgHeight"><width>50</width></action>
45
- </block>
46
- </reference>
47
- </adminhtml_index_forgotpassword>
48
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/catalog.xml DELETED
@@ -1,332 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
-
29
- <layout>
30
- <adminhtml_catalog_product_index>
31
- <referense name="head">
32
- <action method="setTitle" translate="title"><title>Catalog</title></action>
33
- </referense>
34
- <reference name="menu">
35
- <action method="setActive"><menupath>catalog/products</menupath></action>
36
- </reference>
37
- <reference name="content">
38
- <block type="adminhtml/catalog_product" name="products_list">
39
- <block type="adminhtml/store_switcher" name="store_switcher" as="store_switcher">
40
- <action method="setUseConfirm"><params>0</params></action>
41
- </block>
42
- </block>
43
- </reference>
44
- </adminhtml_catalog_product_index>
45
-
46
- <adminhtml_catalog_product_new>
47
- <update handle="editor"/>
48
- <reference name="content">
49
- <block type="adminhtml/catalog_product_edit" name="product_edit"></block>
50
- </reference>
51
- <reference name="left">
52
- <block type="adminhtml/catalog_product_edit_tabs" name="product_tabs"></block>
53
- </reference>
54
- <reference name="js">
55
- <block type="adminhtml/catalog_product_edit_js" template="catalog/product/js.phtml" name="catalog_product_js"></block>
56
- <block type="core/template" template="catalog/wysiwyg/js.phtml"/>
57
- </reference>
58
- </adminhtml_catalog_product_new>
59
-
60
- <adminhtml_catalog_product_edit>
61
- <update handle="editor"/>
62
- <reference name="content">
63
- <block type="adminhtml/catalog_product_edit" name="product_edit"></block>
64
- </reference>
65
- <reference name="left">
66
- <block type="adminhtml/store_switcher" name="store_switcher" before="-"></block>
67
- <block type="adminhtml/catalog_product_edit_tabs" name="product_tabs"></block>
68
- </reference>
69
- <reference name="js">
70
- <block type="adminhtml/catalog_product_edit_js" template="catalog/product/js.phtml" name="catalog_product_js"></block>
71
- <block type="core/template" name="catalog.wysiwyg.js" template="catalog/wysiwyg/js.phtml"/>
72
- </reference>
73
- </adminhtml_catalog_product_edit>
74
-
75
- <adminhtml_catalog_product_categories>
76
- <block type="core/text_list" name="root" output="toHtml">
77
- <block type="adminhtml/catalog_product_edit_tab_categories" name="catalog.product.edit.tab.categories"/>
78
- </block>
79
- </adminhtml_catalog_product_categories>
80
-
81
- <adminhtml_catalog_product_reviews>
82
- <block type="core/text_list" name="root" output="toHtml">
83
- <block type="adminhtml/catalog_product_edit_tab_reviews" name="admin.product.reviews"/>
84
- </block>
85
- </adminhtml_catalog_product_reviews>
86
-
87
- <adminhtml_catalog_product_taggrid>
88
- <block type="core/text_list" name="root" output="toHtml">
89
- <block type="adminhtml/catalog_product_edit_tab_tag" name="admin.product.tags"/>
90
- </block>
91
- </adminhtml_catalog_product_taggrid>
92
-
93
- <adminhtml_catalog_product_tagcustomergrid>
94
- <block type="core/text_list" name="root" output="toHtml">
95
- <block type="adminhtml/catalog_product_edit_tab_tag_customer" name="admin.product.tags.customers"/>
96
- </block>
97
- </adminhtml_catalog_product_tagcustomergrid>
98
-
99
- <adminhtml_catalog_product_options>
100
- <block type="core/text_list" name="root" output="toHtml">
101
- <block type="adminhtml/catalog_product_edit_tab_options" name="admin.product.options"/>
102
- </block>
103
- </adminhtml_catalog_product_options>
104
-
105
- <adminhtml_catalog_product_grid>
106
- <block type="core/text_list" name="root" output="toHtml">
107
- <block type="adminhtml/catalog_product_grid" name="admin.product.grid"/>
108
- </block>
109
- </adminhtml_catalog_product_grid>
110
-
111
- <adminhtml_catalog_product_related>
112
- <block type="core/text_list" name="root" output="toHtml">
113
- <block type="adminhtml/catalog_product_edit_tab_related" name="catalog.product.edit.tab.related"/>
114
- <block type="adminhtml/widget_grid_serializer" name="related_grid_serializer">
115
- <reference name="related_grid_serializer">
116
- <action method="initSerializerBlock">
117
- <grid_block_name>catalog.product.edit.tab.related</grid_block_name>
118
- <data_callback>getSelectedRelatedProducts</data_callback>
119
- <hidden_input_name>links[related]</hidden_input_name>
120
- <reload_param_name>products_related</reload_param_name>
121
- </action>
122
- <action method="addColumnInputName">
123
- <input_name>position</input_name>
124
- </action>
125
- </reference>
126
- </block>
127
- </block>
128
- </adminhtml_catalog_product_related>
129
-
130
- <adminhtml_catalog_product_relatedgrid>
131
- <block type="core/text_list" name="root" output="toHtml">
132
- <block type="adminhtml/catalog_product_edit_tab_related" name="catalog.product.edit.tab.related"/>
133
- </block>
134
- </adminhtml_catalog_product_relatedgrid>
135
-
136
- <adminhtml_catalog_product_superconfig>
137
- <block type="adminhtml/catalog_product_edit_tab_super_config_grid" name="admin.product.edit.tab.super.config.grid" output="toHtml" />
138
- </adminhtml_catalog_product_superconfig>
139
-
140
- <adminhtml_catalog_product_alertspricegrid>
141
- <block type="adminhtml/catalog_product_edit_tab_alerts_price" name="admin.product.edit.tab.alerts.price" output="toHtml" />
142
- </adminhtml_catalog_product_alertspricegrid>
143
-
144
- <adminhtml_catalog_product_alertsstockgrid>
145
- <block type="adminhtml/catalog_product_edit_tab_alerts_stock" name="admin.product.edit.tab.alerts.stock" output="toHtml" />
146
- </adminhtml_catalog_product_alertsstockgrid>
147
-
148
- <adminhtml_catalog_product_upsell>
149
- <block type="core/text_list" name="root" output="toHtml">
150
- <block type="adminhtml/catalog_product_edit_tab_upsell" name="catalog.product.edit.tab.upsell"/>
151
- <block type="adminhtml/widget_grid_serializer" name="upsell_grid_serializer">
152
- <reference name="upsell_grid_serializer">
153
- <action method="initSerializerBlock">
154
- <grid_block_name>catalog.product.edit.tab.upsell</grid_block_name>
155
- <data_callback>getSelectedUpsellProducts</data_callback>
156
- <hidden_input_name>links[upsell]</hidden_input_name>
157
- <reload_param_name>products_upsell</reload_param_name>
158
- </action>
159
- <action method="addColumnInputName">
160
- <input_name>position</input_name>
161
- </action>
162
- </reference>
163
- </block>
164
- </block>
165
- </adminhtml_catalog_product_upsell>
166
-
167
- <adminhtml_catalog_product_upsellgrid>
168
- <block type="core/text_list" name="root" output="toHtml">
169
- <block type="adminhtml/catalog_product_edit_tab_upsell" name="catalog.product.edit.tab.upsell"/>
170
- </block>
171
- </adminhtml_catalog_product_upsellgrid>
172
-
173
- <adminhtml_catalog_product_crosssell>
174
- <block type="core/text_list" name="root" output="toHtml">
175
- <block type="adminhtml/catalog_product_edit_tab_crosssell" name="catalog.product.edit.tab.crosssell"/>
176
- <block type="adminhtml/widget_grid_serializer" name="crosssell_grid_serializer">
177
- <reference name="crosssell_grid_serializer">
178
- <action method="initSerializerBlock">
179
- <grid_block_name>catalog.product.edit.tab.crosssell</grid_block_name>
180
- <data_callback>getSelectedCrossSellProducts</data_callback>
181
- <hidden_input_name>links[crosssell]</hidden_input_name>
182
- <reload_param_name>products_crosssell</reload_param_name>
183
- </action>
184
- <action method="addColumnInputName">
185
- <input_name>position</input_name>
186
- </action>
187
- </reference>
188
- </block>
189
- </block>
190
- </adminhtml_catalog_product_crosssell>
191
-
192
- <adminhtml_catalog_product_crosssellgrid>
193
- <block type="core/text_list" name="root" output="toHtml">
194
- <block type="adminhtml/catalog_product_edit_tab_crosssell" name="catalog.product.edit.tab.crosssell"/>
195
- </block>
196
- </adminhtml_catalog_product_crosssellgrid>
197
- <!--
198
- Layout handle for simple products
199
- -->
200
-
201
- <adminhtml_catalog_product_simple />
202
-
203
- <!--
204
- Layout handle for grouped products
205
- -->
206
- <adminhtml_catalog_product_grouped>
207
- <reference name="product_tabs">
208
- <action method="addTab"><name>super</name><block>adminhtml/catalog_product_edit_tab_super_group</block></action>
209
- </reference>
210
- </adminhtml_catalog_product_grouped>
211
-
212
- <adminhtml_catalog_product_supergroup>
213
- <block type="core/text_list" name="root" output="toHtml">
214
- <block type="adminhtml/catalog_product_edit_tab_super_group" name="catalog.product.edit.tab.super.group" />
215
- <block type="adminhtml/widget_grid_serializer" name="grouped_grid_serializer">
216
- <reference name="grouped_grid_serializer">
217
- <action method="initSerializerBlock">
218
- <grid_block_name>catalog.product.edit.tab.super.group</grid_block_name>
219
- <data_callback>getSelectedGroupedProducts</data_callback>
220
- <hidden_input_name>links[grouped]</hidden_input_name>
221
- <reload_param_name>products_grouped</reload_param_name>
222
- </action>
223
- <action method="addColumnInputName">
224
- <input_name>qty</input_name>
225
- <input_name>position</input_name>
226
- </action>
227
- </reference>
228
- </block>
229
- </block>
230
- </adminhtml_catalog_product_supergroup>
231
-
232
- <adminhtml_catalog_product_supergroupgridonly>
233
- <block type="core/text_list" name="root">
234
- <block type="adminhtml/catalog_product_edit_tab_super_group" name="catalog.product.edit.tab.super.group" />
235
- </block>
236
- </adminhtml_catalog_product_supergroupgridonly>
237
- <!--
238
- Layout handle for configurable products
239
- -->
240
-
241
- <adminhtml_catalog_product_configurable_new>
242
- <remove name="product_tabs"/>
243
- <reference name="left">
244
- <block type="adminhtml/catalog_product_edit_tabs_configurable" name="configurable_product_tabs"></block>
245
- </reference>
246
- </adminhtml_catalog_product_configurable_new>
247
-
248
- <adminhtml_catalog_product_configurable>
249
- <reference name="product_tabs">
250
- <action method="addTab"><name>configurable</name><block>adminhtml/catalog_product_edit_tab_super_config</block></action>
251
- <action method="bindShadowTabs"><first>configurable</first><second>customer_options</second></action>
252
- </reference>
253
- </adminhtml_catalog_product_configurable>
254
-
255
- <adminhtml_catalog_product_action_attribute_edit>
256
- <reference name="left">
257
- <block type="adminhtml/store_switcher" name="store_switcher" template="store/switcher.phtml" />
258
- <block type="adminhtml/catalog_product_edit_action_attribute_tabs" name="attributes_tabs">
259
- <block type="adminhtml/catalog_product_edit_action_attribute_tab_attributes" name="tab_attributes"/>
260
- <block type="adminhtml/catalog_product_edit_action_attribute_tab_inventory" name="tab_inventory" template="catalog/product/edit/action/inventory.phtml" />
261
- <block type="adminhtml/catalog_product_edit_action_attribute_tab_websites" name="tab_websites" template="catalog/product/edit/action/websites.phtml" />
262
- <action method="addTab"><name>attributes</name><block>tab_attributes</block></action>
263
- <action method="addTab"><name>inventory</name><block>tab_inventory</block></action>
264
- <action method="addTab"><name>websites</name><block>tab_websites</block></action>
265
- </block>
266
- </reference>
267
- <reference name="content">
268
- <block type="adminhtml/catalog_product_edit_action_attribute" name="attribute" template="catalog/product/edit/action/attribute.phtml" />
269
- </reference>
270
- </adminhtml_catalog_product_action_attribute_edit>
271
-
272
- <adminhtml_catalog_product_attribute_edit>
273
- <reference name="left">
274
- <block type="adminhtml/catalog_product_attribute_edit_tabs" name="attribute_edit_tabs"></block>
275
- </reference>
276
- <reference name="content">
277
- <block type="adminhtml/catalog_product_attribute_edit" name="attribute_edit_content"></block>
278
- </reference>
279
- <reference name="js">
280
- <block type="adminhtml/template" name="attribute_edit_js" template="catalog/product/attribute/js.phtml"></block>
281
- </reference>
282
- </adminhtml_catalog_product_attribute_edit>
283
-
284
- <adminhtml_catalog_category_edit>
285
- <update handle="editor"/>
286
- <reference name="left">
287
- <block name="category.tree" type="adminhtml/catalog_category_tree" template="catalog/category/tree.phtml" />
288
- </reference>
289
- <reference name="content">
290
- <block name="category.edit" type="adminhtml/catalog_category_edit" template="catalog/category/edit.phtml" />
291
- </reference>
292
- <reference name="js">
293
- <block type="core/template" template="catalog/wysiwyg/js.phtml" name="catalog.wysiwyg.js" />
294
- </reference>
295
- </adminhtml_catalog_category_edit>
296
-
297
- <ADMINHTML_CATALOG_PRODUCT_COMPOSITE_CONFIGURE>
298
- <block type="adminhtml/catalog_product_composite_fieldset" name="product.composite.fieldset" output="toHtml">
299
- <block name="product.composite.fieldset.options" type="adminhtml/catalog_product_composite_fieldset_options" template="catalog/product/composite/fieldset/options.phtml">
300
- <action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/composite/fieldset/options/type/text.phtml</template></action>
301
- <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/composite/fieldset/options/type/file.phtml</template></action>
302
- <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/composite/fieldset/options/type/select.phtml</template></action>
303
- <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/composite/fieldset/options/type/date.phtml</template></action>
304
- <block type="core/template" name="product.composite.fieldset.options.js" as="options_js" template="catalog/product/composite/fieldset/options/js.phtml"/>
305
- </block>
306
- <block type="adminhtml/catalog_product_composite_fieldset_qty" name="product.composite.fieldset.qty" template="catalog/product/composite/fieldset/qty.phtml"/>
307
- </block>
308
- </ADMINHTML_CATALOG_PRODUCT_COMPOSITE_CONFIGURE>
309
-
310
- <ADMINHTML_CATALOG_PRODUCT_COMPOSITE_CONFIGURE_ERROR>
311
- <block type="adminhtml/catalog_product_composite_error" name="product.composite.error" output="toHtml" />
312
- </ADMINHTML_CATALOG_PRODUCT_COMPOSITE_CONFIGURE_ERROR>
313
-
314
- <ADMINHTML_CATALOG_PRODUCT_COMPOSITE_UPDATE_RESULT>
315
- <block type="adminhtml/catalog_product_composite_update_result" name="product.composite.update.result" output="toHtml" />
316
- </ADMINHTML_CATALOG_PRODUCT_COMPOSITE_UPDATE_RESULT>
317
- <!--
318
- Additional block in composite_fieldset block dependant on product type
319
- -->
320
- <PRODUCT_TYPE_configurable>
321
- <reference name="product.composite.fieldset">
322
- <block type="adminhtml/catalog_product_composite_fieldset_configurable" name="product.composite.fieldset.configurable" before="product.composite.fieldset.options" template="catalog/product/composite/fieldset/configurable.phtml" />
323
- </reference>
324
- </PRODUCT_TYPE_configurable>
325
- <PRODUCT_TYPE_grouped>
326
- <reference name="product.composite.fieldset">
327
- <block type="adminhtml/catalog_product_composite_fieldset_grouped" name="product.composite.fieldset.grouped" before="product.composite.fieldset.options" template="catalog/product/composite/fieldset/grouped.phtml"/>
328
- <remove name="product.composite.fieldset.qty"/>
329
- </reference>
330
- </PRODUCT_TYPE_grouped>
331
-
332
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/centinel.xml DELETED
@@ -1,70 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
-
28
- -->
29
- <layout version="0.1.0">
30
-
31
- <adminhtml_centinel_index_authenticationstart>
32
- <block type="centinel/authentication_start" name="root" output="toHtml" template="centinel/authentication/start.phtml"/>
33
- </adminhtml_centinel_index_authenticationstart>
34
-
35
- <adminhtml_centinel_index_authenticationcomplete>
36
- <block type="centinel/authentication_complete" name="root" output="toHtml" template="centinel/authentication/complete.phtml"/>
37
- </adminhtml_centinel_index_authenticationcomplete>
38
-
39
- <adminhtml_sales_order_create_index>
40
- <reference name="head">
41
- <action method="addJs"><script>mage/adminhtml/sales/centinel.js</script></action>
42
- </reference>
43
- <reference name="data">
44
- <block type="centinel/adminhtml_validation" as="card_validation" name="card_validation" template="sales/order/create/abstract.phtml">
45
- <block type="centinel/adminhtml_validation_form" template="centinel/validation/form.phtml" name="form" />
46
- </block>
47
- </reference>
48
- </adminhtml_sales_order_create_index>
49
-
50
- <adminhtml_sales_order_create_start>
51
- <update handle="adminhtml_sales_order_create_index"/>
52
- </adminhtml_sales_order_create_start>
53
-
54
- <adminhtml_sales_order_create_load_block_data>
55
- <reference name="data">
56
- <block type="centinel/adminhtml_validation" as="card_validation" name="card_validation" template="sales/order/create/abstract.phtml">
57
- <block type="centinel/adminhtml_validation_form" template="centinel/validation/form.phtml" name="form" />
58
- </block>
59
- </reference>
60
- </adminhtml_sales_order_create_load_block_data>
61
-
62
- <adminhtml_sales_order_create_load_block_card_validation>
63
- <reference name="content">
64
- <block type="centinel/adminhtml_validation" as="card_validation" name="card_validation" template="sales/order/create/abstract.phtml">
65
- <block type="centinel/adminhtml_validation_form" template="centinel/validation/form.phtml" name="form" />
66
- </block>
67
- </reference>
68
- </adminhtml_sales_order_create_load_block_card_validation>
69
-
70
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/chargeback/auth.xml CHANGED
@@ -4,7 +4,7 @@
4
  <reference name="head">
5
  <action method="addJs"><script>adminhtml/chargeback/chargeback.js</script></action>
6
  <action method="addCss"><name>chargeback.css</name></action>
7
- <block type="core/template" name="htmlBlock" template="htmlBlock.phtml" />
8
  </reference>
9
  </default>
10
  </layout>
4
  <reference name="head">
5
  <action method="addJs"><script>adminhtml/chargeback/chargeback.js</script></action>
6
  <action method="addCss"><name>chargeback.css</name></action>
7
+ <block type="core/template" name="connect" template="chargeback/connect.phtml" />
8
  </reference>
9
  </default>
10
  </layout>
app/design/adminhtml/default/default/layout/chargeback/htmlBlock.phtml DELETED
@@ -1,17 +0,0 @@
1
- <div id="redirect_to", data-url="$this->url" data-path='connections?partner=true'></div>
2
- <div class="chargeback_plugin_header_container">
3
- <img src="{$this->skin_url}images/chargeback/2016-horizontal-400px.png" class="chargeback_plugin_logo">
4
- <span class="chargeback_plugin_header"> Automated Chargeback Management &amp; Reporting</span>
5
- </div>
6
- <div>
7
- <div class="chargeback_plugin_left chargeback_plugin_wbg">
8
- <img src="{$this->skin_url}images/chargeback/connected.png" class="chargeback_plugin_cbdemo">
9
- <p>T Your account is currently connected to Chargeback.</p>
10
- <hr>
11
- <div style='float: right;'>
12
- <a href="?remove=1" class="links" style="padding-right: 50px">DISCONNECT</a>
13
- <a href="{$this->url}connections" target="_blank" class="links">VIEW DASHBOARD</a>
14
- </div>
15
- </div>
16
- <div class="chargeback_plugin_clearfix"></div>
17
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/cms.xml DELETED
@@ -1,97 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
-
29
- <layout>
30
- <adminhtml_cms_page_index>
31
- <reference name="content">
32
- <block type="adminhtml/cms_page" name="cms_page"></block>
33
- </reference>
34
- </adminhtml_cms_page_index>
35
-
36
- <adminhtml_cms_page_new>
37
- <update handle="adminhtml_cms_page_edit" />
38
- </adminhtml_cms_page_new>
39
-
40
- <adminhtml_cms_page_edit>
41
- <update handle="editor"/>
42
- <reference name="content">
43
- <block type="adminhtml/cms_page_edit" name="cms_page_edit"></block>
44
- </reference>
45
- <reference name="left">
46
- <block type="adminhtml/cms_page_edit_tabs" name="cms_page_edit_tabs">
47
- <block type="adminhtml/cms_page_edit_tab_main" name="cms_page_edit_tab_main" />
48
- <block type="adminhtml/cms_page_edit_tab_content" name="cms_page_edit_tab_content" />
49
- <block type="adminhtml/cms_page_edit_tab_design" name="cms_page_edit_tab_design" />
50
- <block type="adminhtml/cms_page_edit_tab_meta" name="cms_page_edit_tab_meta" />
51
- <action method="addTab"><name>main_section</name><block>cms_page_edit_tab_main</block></action>
52
- <action method="addTab"><name>content_section</name><block>cms_page_edit_tab_content</block></action>
53
- <action method="addTab"><name>design_section</name><block>cms_page_edit_tab_design</block></action>
54
- <action method="addTab"><name>meta_section</name><block>cms_page_edit_tab_meta</block></action>
55
- </block>
56
- </reference>
57
- </adminhtml_cms_page_edit>
58
-
59
- <adminhtml_cms_block_index>
60
- <reference name="content">
61
- <block type="adminhtml/cms_block" name="cms_block"></block>
62
- </reference>
63
- </adminhtml_cms_block_index>
64
-
65
- <adminhtml_cms_block_new>
66
- <update handle="adminhtml_cms_block_edit" />
67
- </adminhtml_cms_block_new>
68
-
69
- <adminhtml_cms_block_edit>
70
- <update handle="editor"/>
71
- <reference name="content">
72
- <block type="adminhtml/cms_block_edit" name="cms_block_edit"></block>
73
- </reference>
74
- </adminhtml_cms_block_edit>
75
-
76
- <adminhtml_cms_wysiwyg_images_index>
77
- <remove name="footer" />
78
- <remove name="head" />
79
- <reference name="left">
80
- <block name="wysiwyg_images.js" type="adminhtml/cms_wysiwyg_images_content" template="cms/browser/js.phtml" />
81
- <block name="wysiwyg_images.tree" type="adminhtml/cms_wysiwyg_images_tree" template="cms/browser/tree.phtml" />
82
- </reference>
83
- <reference name="content">
84
- <block name="wysiwyg_images.content" type="adminhtml/cms_wysiwyg_images_content" template="cms/browser/content.phtml">
85
- <block name="wysiwyg_images.uploader" type="adminhtml/cms_wysiwyg_images_content_uploader" template="media/uploader.phtml">
86
- <block name="additional_scripts" type="core/template" template="cms/browser/content/uploader.phtml"/>
87
- </block>
88
- <block name="wysiwyg_images.newfolder" type="adminhtml/cms_wysiwyg_images_content_newfolder" template="cms/browser/content/newfolder.phtml" />
89
- </block>
90
- </reference>
91
- </adminhtml_cms_wysiwyg_images_index>
92
-
93
- <adminhtml_cms_wysiwyg_images_contents>
94
- <block name="wysiwyg_images.files" type="adminhtml/cms_wysiwyg_images_content_files" template="cms/browser/content/files.phtml" output="toHtml" />
95
- </adminhtml_cms_wysiwyg_images_contents>
96
-
97
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/compiler.xml DELETED
</
@@ -1,35 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */