<block type="adminhtml/page" name="root" output="toHtml" template="page.phtml">
   <block type="adminhtml/page_head" name="head" as="head" template="page/head.phtml">
      <action method="setTitle" translate="title">
         <title>OpenMage Admin</title>
      </action>
      <action method="addJs">
         <script>prototype/prototype.js</script>
      </action>
      <action method="addJs">
         <script>prototype/window.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/builder.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/effects.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/dragdrop.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/controls.js</script>
      </action>
      <action method="addJs">
         <script>scriptaculous/slider.js</script>
      </action>
      <action method="addJs">
         <script>lib/ccard.js</script>
      </action>
      <action method="addJs">
         <script>prototype/validation.js</script>
      </action>
      <action method="addJs">
         <script>varien/js.js</script>
      </action>
      <action method="addJs">
         <script>mage/translate.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/hash.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/events.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/loader.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/grid.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/tabs.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/form.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/accordion.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/tools.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/uploader.js</script>
      </action>
      <action method="addJs">
         <script>mage/adminhtml/product.js</script>
      </action>
      <action method="addCss">
         <name>reset.css</name>
      </action>
      <action method="addCss">
         <name>boxes.css</name>
      </action>
      <action method="addCss">
         <name>custom.css</name>
      </action>
      <action method="addCss">
         <name>print.css</name>
         <params>media=&quot;print&quot;</params>
      </action>
      <action method="addItem">
         <type>skin_css</type>
         <name>menu.css</name>
         <params>media=&quot;screen, projection&quot;</params>
      </action>
      <action method="addItem">
         <type>js_css</type>
         <name>calendar/calendar-win2k-1.css</name>
         <params/>
      </action>
      <action method="addItem">
         <type>js</type>
         <name>calendar/calendar.js</name>
      </action>
      <action method="addItem">
         <type>js</type>
         <name>calendar/calendar-setup.js</name>
      </action>
      <action method="addItem">
         <type>js</type>
         <name>extjs/ext-tree.min.js</name>
         <params/>
         <if/>
         <condition>can_load_ext_js</condition>
      </action>
      <action method="addItem">
         <type>js</type>
         <name>extjs/fix-defer.js</name>
         <params/>
         <if/>
         <condition>can_load_ext_js</condition>
      </action>
      <action method="addItem">
         <type>js</type>
         <name>extjs/ext-tree-checkbox.js</name>
         <params/>
         <if/>
         <condition>can_load_ext_js</condition>
      </action>
      <action method="addItem">
         <type>js_css</type>
         <name>extjs/resources/css/ytheme-magento.css</name>
         <params/>
         <if/>
         <condition>can_load_ext_js</condition>
      </action>
      <action method="addItem">
         <type>js</type>
         <name>mage/adminhtml/rules.js</name>
         <params/>
         <if/>
         <condition>can_load_rules_js</condition>
      </action>
      <action method="addItem">
         <type>js</type>
         <name>mage/adminhtml/wysiwyg/tinymce/setup.js</name>
         <params/>
         <if/>
         <condition>can_load_tiny_mce</condition>
      </action>
      <block type="core/html_calendar" name="head.calendar" as="calendar" template="page/js/calendar.phtml"/>
   </block>
   <block type="adminhtml/page_notices" name="global_notices" as="global_notices" template="page/notices.phtml"/>
   <block type="adminhtml/page_header" name="header" as="header"/>
   <block type="adminhtml/page_menu" name="menu" as="menu"/>
   <block type="core/text_list" name="notifications" as="notifications">
      <block type="adminhtml/notification_baseurl" name="notification_baseurl" as="notification_baseurl" template="notification/baseurl.phtml"/>
      <block type="adminhtml/cache_notifications" name="cache_notifications" template="system/cache/notifications.phtml"/>
      <block type="adminhtml/notification_security" name="notification_security" as="notification_security" template="notification/security.phtml"/>
      <block type="adminhtml/checkout_formkey" name="checkout_formkey" as="checkout_formkey" template="notification/formkey.phtml"/>
   </block>
   <block type="adminhtml/widget_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
   <block type="core/template" name="formkey" as="formkey" template="formkey.phtml"/>
   <block type="page/js_translate" name="js_translate" as="js_translate" template="page/js/translate.phtml"/>
   <block type="core/text_list" name="left" as="left"/>
   <block type="core/text_list" name="content" as="content"/>
   <block type="core/messages" name="messages" as="messages"/>
   <block type="core/text_list" name="js" as="js"/>
   <block type="adminhtml/page_footer" name="footer" as="footer">
      <action method="setOpenMageProjectUrl">
         <url>https://www.openmage.org</url>
      </action>
      <action method="setReportIssuesUrl">
         <url>https://github.com/OpenMage/magento-lts/issues</url>
      </action>
   </block>
   <block type="core/profiler" name="profiler" as="profiler"/>
   <block type="core/text_list" name="before_body_end" as="before_body_end"/>
</block>
<reference name="notifications">
   <block type="adminhtml/notification_toolbar" name="notification_toolbar" as="notification_toolbar" acl="system/adminnotification/show_toolbar" template="notification/toolbar.phtml"/>
</reference>
<reference name="notifications">
   <block type="adminhtml/notification_window" name="notification_window" as="notification_window" acl="system/adminnotification/show_toolbar" template="notification/window.phtml"/>
</reference>
<reference name="notifications">
   <block type="index/adminhtml_notifications" name="index_notifications" template="index/notifications.phtml"/>
</reference>
<reference name="notifications">
   <block type="tax/adminhtml_notifications" name="tax_notifications" template="tax/notifications.phtml"/>
</reference>
<reference name="head">
   <action method="addItem">
      <type>skin_css</type>
      <name>override.css</name>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <name>form.css</name>
   </action>
   <action method="removeItem">
      <type>js_css</type>
      <name>calendar/calendar-win2k-1.css</name>
   </action>
   <action method="addItem">
      <type>skin_css</type>
      <name>calendar-blue2.css</name>
      <params/>
   </action>
</reference>
<reference name="head">
   <action method="setCanLoadExtJs">
      <flag>1</flag>
   </action>
   <action method="addJs">
      <script>mage/adminhtml/variables.js</script>
   </action>
   <action method="addJs">
      <script>mage/adminhtml/wysiwyg/widget.js</script>
   </action>
   <action method="addJs">
      <name>lib/uploader/flow.min.js</name>
   </action>
   <action method="addJs">
      <name>mage/adminhtml/uploader/instance.js</name>
   </action>
   <action method="addJs">
      <script>mage/adminhtml/browser.js</script>
   </action>
   <action method="addJs">
      <script>prototype/window.js</script>
   </action>
   <action method="addItem">
      <type>js_css</type>
      <name>prototype/windows/themes/default.css</name>
   </action>
   <action method="addCss">
      <name>lib/prototype/windows/themes/magento.css</name>
   </action>
</reference>
<update handle="editor"/>
<reference name="content">
   <block type="adminhtml/cms_page_edit" name="cms_page_edit"/>
</reference>
<reference name="left">
   <block type="adminhtml/cms_page_edit_tabs" name="cms_page_edit_tabs">
      <block type="adminhtml/cms_page_edit_tab_main" name="cms_page_edit_tab_main"/>
      <block type="adminhtml/cms_page_edit_tab_content" name="cms_page_edit_tab_content"/>
      <block type="adminhtml/cms_page_edit_tab_design" name="cms_page_edit_tab_design"/>
      <block type="adminhtml/cms_page_edit_tab_meta" name="cms_page_edit_tab_meta"/>
      <action method="addTab">
         <name>main_section</name>
         <block>cms_page_edit_tab_main</block>
      </action>
      <action method="addTab">
         <name>content_section</name>
         <block>cms_page_edit_tab_content</block>
      </action>
      <action method="addTab">
         <name>design_section</name>
         <block>cms_page_edit_tab_design</block>
      </action>
      <action method="addTab">
         <name>meta_section</name>
         <block>cms_page_edit_tab_meta</block>
      </action>
   </block>
</reference>
