/
layout.xml
61 lines (60 loc) · 3.42 KB
/
layout.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0"?>
<!--
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design
* @package Mage_DesignEditor
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
-->
<layout>
<design_editor_toolbar>
<reference name="head">
<action method="addJs"><file>jquery/jquery-1.7.1.min.js</file></action>
<action method="addJs"><file>mage/jquery-no-conflict.js</file></action>
<action method="addJs"><file>Mage_DesignEditor::js/design_editor.js</file></action>
<action method="addJs"><file>jquery/jstree/jquery.jstree.js</file></action>
<action method="addJs"><file>jquery/jquery-ui-1.8.18.custom.min.js</file></action>
<action method="addJs"><file>jquery/slimScroll/slimScroll.min.js</file></action>
<action method="addJs"><file>prototype/prototype.js</file></action>
<action method="addJs"><file>mage/translate.js</file></action>
<action method="addJs"><file>Mage_Page::js/cookies.js</file></action>
<action method="addCss"><file>Mage_DesignEditor::css/styles.css</file></action>
</reference>
<!-- Toolbar block has been intentionally declared outside of containers to be rendered manually -->
<block type="Mage_DesignEditor_Block_Toolbar" name="design_editor_toolbar" template="toolbar.phtml">
<block type="Mage_DesignEditor_Block_Toolbar_Breadcrumbs" name="design_editor_toolbar_breadcrumbs" template="toolbar/breadcrumbs.phtml"/>
<block type="Mage_DesignEditor_Block_Template" name="design_editor_toolbar_row" template="toolbar/row.phtml">
<block type="Mage_DesignEditor_Block_Toolbar_HandlesHierarchy" name="design_editor_toolbar_handles_hierarchy" template="toolbar/handles_hierarchy.phtml"/>
<block type="Mage_DesignEditor_Block_Toolbar_Skin" name="design_editor_toolbar_skin" template="toolbar/skin.phtml"/>
<block type="Mage_DesignEditor_Block_Template" name="design_editor_toolbar_highlighting" template="toolbar/highlighting.phtml"/>
<block type="Mage_DesignEditor_Block_Toolbar_Exit" name="design_editor_toolbar_exit" template="toolbar/exit.phtml"/>
</block>
</block>
</design_editor_toolbar>
<design_editor_page>
<reference name="root">
<action method="setTemplate"><template>Mage_DesignEditor::page.phtml</template></action>
<block type="Mage_Page_Block_Html_Head" name="head" as="head"/>
<block type="Mage_DesignEditor_Block_Container" name="after_body_start" template="container.phtml"/>
</reference>
</design_editor_page>
</layout>