[Помогите] Подружить blog manager и METRO UI

Тема в разделе "OpenCart", создана пользователем dem03x, 2 май 2015.

  1. dem03x

    dem03x

    Регистрация:
    30 дек 2013
    Сообщения:
    145
    Симпатии:
    14
    Кто сталкивался с проблемой: при включении blog manager слетает админка. Установлен METRO UI
    Ошибка,не хватает Parse error: syntax error, unexpected '}' in www\vqmod\vqcache\vq2-admin_view_template_common_header.tpl on line 329
    Удаляю metro-ui-mod.xml - работает.
     
  2. nix

    nix php, MySQL, UNIX, MikroTik ROSAPI

    Регистрация:
    16 янв 2013
    Сообщения:
    1.000
    Симпатии:
    889
    скинь те строки где мод metro-ui-mod.xml модифицирует файл admin/view/template/common/header.tpl
    и сам отмодефицированый файл www\vqmod\vqcache\vq2-admin_view_template_common_header.tpl
     
  3. dem03x

    dem03x

    Регистрация:
    30 дек 2013
    Сообщения:
    145
    Симпатии:
    14
    admin/view/template/common/header.tpl

    Код:
    <!DOCTYPE html>
    <html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
    <head>
    <meta charset="UTF-8" />
    <title><?php echo $title; ?></title>
    <base href="<?php echo $base; ?>" />
    <?php if ($description) { ?>
    <meta name="description" content="<?php echo $description; ?>" />
    <?php } ?>
    <?php if ($keywords) { ?>
    <meta name="keywords" content="<?php echo $keywords; ?>" />
    <?php } ?>
    <?php foreach ($links as $link) { ?>
    <link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
    <?php } ?>
    <link rel="stylesheet" type="text/css" href="view/stylesheet/stylesheet.css" />
    <?php foreach ($styles as $style) { ?>
    <link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
    <?php } ?>
    <script type="text/javascript" src="view/javascript/jquery/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
    <link type="text/css" href="view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
    <script type="text/javascript" src="view/javascript/jquery/tabs.js"></script>
    <script type="text/javascript" src="view/javascript/jquery/superfish/js/superfish.js"></script>
    <script type="text/javascript" src="view/javascript/common.js"></script>
    <?php foreach ($scripts as $script) { ?>
    <script type="text/javascript" src="<?php echo $script; ?>"></script>
    <?php } ?>
    <script type="text/javascript">
    //-----------------------------------------
    // Confirm Actions (delete, uninstall)
    //-----------------------------------------
    $(document).ready(function(){
        // Confirm Delete
        $('#form').submit(function(){
            if ($(this).attr('action').indexOf('delete',1) != -1) {
                if (!confirm('<?php echo $text_confirm; ?>')) {
                    return false;
                }
            }
        });
          
        // Confirm Uninstall
        $('a').click(function(){
            if ($(this).attr('href') != null && $(this).attr('href').indexOf('uninstall', 1) != -1) {
                if (!confirm('<?php echo $text_confirm; ?>')) {
                    return false;
                }
            }
        });
    });
    </script>
    </head>
    <body>
    <div id="container">
    <div id="header">
      <div class="div1">
        <div class="div2"><img src="view/image/logo.png" title="<?php echo $heading_title; ?>" onclick="location = '<?php echo $home; ?>'" /></div>
        <?php if ($logged) { ?>
        <div class="div3"><img src="view/image/lock.png" alt="" style="position: relative; top: 3px;" />&nbsp;<?php echo $logged; ?></div>
        <?php } ?>
      </div>
      <?php if ($logged) { ?>
      <div id="menu">
        <ul class="left" style="display: none;">
          <li id="dashboard"><a href="<?php echo $home; ?>" class="top"><?php echo $text_dashboard; ?></a></li>
          <li id="catalog"><a class="top"><?php echo $text_catalog; ?></a>
            <ul>
              <li><a href="<?php echo $category; ?>"><?php echo $text_category; ?></a></li>
              <li><a href="<?php echo $product; ?>"><?php echo $text_product; ?></a></li>
              <li><a href="<?php echo $filter; ?>"><?php echo $text_filter; ?></a></li>
              <li><a class="parent"><?php echo $text_attribute; ?></a>
                <ul>
                  <li><a href="<?php echo $attribute; ?>"><?php echo $text_attribute; ?></a></li>
                  <li><a href="<?php echo $attribute_group; ?>"><?php echo $text_attribute_group; ?></a></li>
                </ul>
              </li>
              <li><a href="<?php echo $option; ?>"><?php echo $text_option; ?></a></li>
              <li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>
              <li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
              <li><a href="<?php echo $review; ?>"><?php echo $text_review; ?></a></li>
              <li><a href="<?php echo $information; ?>"><?php echo $text_information; ?></a></li>
            </ul>
          </li>
          <li id="extension"><a class="top"><?php echo $text_extension; ?></a>
            <ul>
              <li><a href="<?php echo $module; ?>"><?php echo $text_module; ?></a></li>
              <li><a href="<?php echo $shipping; ?>"><?php echo $text_shipping; ?></a></li>
              <li><a href="<?php echo $payment; ?>"><?php echo $text_payment; ?></a></li>
              <li><a href="<?php echo $total; ?>"><?php echo $text_total; ?></a></li>
              <li><a href="<?php echo $feed; ?>"><?php echo $text_feed; ?></a></li>
            </ul>
          </li>
          <li id="sale"><a class="top"><?php echo $text_sale; ?></a>
            <ul>
              <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
              <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
              <li><a class="parent"><?php echo $text_customer; ?></a>
                <ul>
                  <li><a href="<?php echo $customer; ?>"><?php echo $text_customer; ?></a></li>
                  <li><a href="<?php echo $customer_group; ?>"><?php echo $text_customer_group; ?></a></li>
                  <li><a href="<?php echo $customer_ban_ip; ?>"><?php echo $text_customer_ban_ip; ?></a></li>
                </ul>
              </li>
              <li><a href="<?php echo $affiliate; ?>"><?php echo $text_affiliate; ?></a></li>
              <li><a href="<?php echo $coupon; ?>"><?php echo $text_coupon; ?></a></li>
              <li><a class="parent"><?php echo $text_voucher; ?></a>
                <ul>
                  <li><a href="<?php echo $voucher; ?>"><?php echo $text_voucher; ?></a></li>
                  <li><a href="<?php echo $voucher_theme; ?>"><?php echo $text_voucher_theme; ?></a></li>
                </ul>
              </li>
              <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
            </ul>
          </li>
          <li id="system"><a class="top"><?php echo $text_system; ?></a>
            <ul>
              <li><a href="<?php echo $setting; ?>"><?php echo $text_setting; ?></a></li>
              <li><a class="parent"><?php echo $text_design; ?></a>
                <ul>
                  <li><a href="<?php echo $layout; ?>"><?php echo $text_layout; ?></a></li>
                  <li><a href="<?php echo $banner; ?>"><?php echo $text_banner; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_users; ?></a>
                <ul>
                  <li><a href="<?php echo $user; ?>"><?php echo $text_user; ?></a></li>
                  <li><a href="<?php echo $user_group; ?>"><?php echo $text_user_group; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_localisation; ?></a>
                <ul>
                  <li><a href="<?php echo $language; ?>"><?php echo $text_language; ?></a></li>
                  <li><a href="<?php echo $currency; ?>"><?php echo $text_currency; ?></a></li>
                  <li><a href="<?php echo $stock_status; ?>"><?php echo $text_stock_status; ?></a></li>
                  <li><a href="<?php echo $order_status; ?>"><?php echo $text_order_status; ?></a></li>
                  <li><a class="parent"><?php echo $text_return; ?></a>
                    <ul>
                      <li><a href="<?php echo $return_status; ?>"><?php echo $text_return_status; ?></a></li>
                      <li><a href="<?php echo $return_action; ?>"><?php echo $text_return_action; ?></a></li>
                      <li><a href="<?php echo $return_reason; ?>"><?php echo $text_return_reason; ?></a></li>
                    </ul>
                  </li>
                  <li><a href="<?php echo $country; ?>"><?php echo $text_country; ?></a></li>
                  <li><a href="<?php echo $zone; ?>"><?php echo $text_zone; ?></a></li>
                  <li><a href="<?php echo $geo_zone; ?>"><?php echo $text_geo_zone; ?></a></li>
                  <li><a class="parent"><?php echo $text_tax; ?></a>
                    <ul>
                      <li><a href="<?php echo $tax_class; ?>"><?php echo $text_tax_class; ?></a></li>
                      <li><a href="<?php echo $tax_rate; ?>"><?php echo $text_tax_rate; ?></a></li>
                    </ul>
                  </li>
                  <li><a href="<?php echo $length_class; ?>"><?php echo $text_length_class; ?></a></li>
                  <li><a href="<?php echo $weight_class; ?>"><?php echo $text_weight_class; ?></a></li>
                </ul>
              </li>
              <li><a href="<?php echo $error_log; ?>"><?php echo $text_error_log; ?></a></li>
              <li><a href="<?php echo $backup; ?>"><?php echo $text_backup; ?></a></li>
            </ul>
          </li>
          <li id="reports"><a class="top"><?php echo $text_reports; ?></a>
            <ul>
              <li><a class="parent"><?php echo $text_sale; ?></a>
                <ul>
                  <li><a href="<?php echo $report_sale_order; ?>"><?php echo $text_report_sale_order; ?></a></li>
                  <li><a href="<?php echo $report_sale_tax; ?>"><?php echo $text_report_sale_tax; ?></a></li>
                  <li><a href="<?php echo $report_sale_shipping; ?>"><?php echo $text_report_sale_shipping; ?></a></li>
                  <li><a href="<?php echo $report_sale_return; ?>"><?php echo $text_report_sale_return; ?></a></li>
                  <li><a href="<?php echo $report_sale_coupon; ?>"><?php echo $text_report_sale_coupon; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_product; ?></a>
                <ul>
                  <li><a href="<?php echo $report_product_viewed; ?>"><?php echo $text_report_product_viewed; ?></a></li>
                  <li><a href="<?php echo $report_product_purchased; ?>"><?php echo $text_report_product_purchased; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_customer; ?></a>
                <ul>
                  <li><a href="<?php echo $report_customer_online; ?>"><?php echo $text_report_customer_online; ?></a></li>
                  <li><a href="<?php echo $report_customer_order; ?>"><?php echo $text_report_customer_order; ?></a></li>
                  <li><a href="<?php echo $report_customer_reward; ?>"><?php echo $text_report_customer_reward; ?></a></li>
                  <li><a href="<?php echo $report_customer_credit; ?>"><?php echo $text_report_customer_credit; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_affiliate; ?></a>
                <ul>
                  <li><a href="<?php echo $report_affiliate_commission; ?>"><?php echo $text_report_affiliate_commission; ?></a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li id="octeam"><a class="top"><?php echo $text_octeam; ?></a>
            <ul>
              <li><a href="<?php echo $octeam_toolset; ?>"><?php echo $text_octeam_toolset; ?></a></li>
            </ul>
          </li>
          <li id="help"><a class="top"><?php echo $text_help; ?></a>
            <ul>
              <li><a onClick="window.open('http://myopencart.ru');"><?php echo $text_opencart; ?></a></li>
              <li><a onClick="window.open('http://wiki.myopencart.ru');"><?php echo $text_documentation; ?></a></li>
              <li><a onClick="window.open('http://opencartforum.ru');"><?php echo $text_support; ?></a></li>
            </ul>
          </li>
        </ul>
        <ul class="right" style="display: none;">
          <li id="store"><a href="<?php echo $store; ?>" target="_blank" class="top"><?php echo $text_front; ?></a>
            <ul>
              <?php foreach ($stores as $stores) { ?>
              <li><a href="<?php echo $stores['href']; ?>" target="_blank"><?php echo $stores['name']; ?></a></li>
              <?php } ?>
            </ul>
          </li>
          <li><a class="top" href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li>
        </ul>
      </div>
      <?php } ?>
    </div>
    

    www\vqmod\vqcache\vq2-admin_view_template_common_header.tpl


    Код:
    <!DOCTYPE html>
    <html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
    <head>
    <meta charset="UTF-8" />
    <title><?php echo $title; ?></title>
    <base href="<?php echo $base; ?>" />
    <?php if ($description) { ?>
    <meta name="description" content="<?php echo $description; ?>" />
    <?php } ?>
    <?php if ($keywords) { ?>
    <meta name="keywords" content="<?php echo $keywords; ?>" />
    <?php } ?>
    <?php foreach ($links as $link) { ?>
    <link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
    <?php } ?>
    
                            <link rel="stylesheet" type="text/css" href="view/stylesheet/metro-style.css" />
    
                          
    <?php foreach ($styles as $style) { ?>
    <link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
    <?php } ?>
    <script type="text/javascript" src="view/javascript/jquery/jquery-1.7.1.min.js"></script>
    
                            <script type="text/javascript" src="view/javascript/metro-ui/js/jquery-ui-1.8.16.custom.min.js"></script>
                          
    
                            <link type="text/css" href="view/javascript/metro-ui/css/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
                            <script type="text/javascript" src="view/javascript/product_extra.js"></script>
                            <script type="text/javascript" src="view/javascript/jquery/colorbox/jquery.colorbox.js"></script>
                            <link rel="stylesheet" type="text/css" href="view/javascript/jquery/colorbox/colorbox.css" media="screen" />                      
                          
    <script type="text/javascript" src="view/javascript/jquery/tabs.js"></script>
    <script type="text/javascript" src="view/javascript/jquery/superfish/js/superfish.js"></script>
    <script type="text/javascript" src="view/javascript/common.js"></script>
    <?php foreach ($scripts as $script) { ?>
    <script type="text/javascript" src="<?php echo $script; ?>"></script>
    <?php } ?>
    <script type="text/javascript">
    //-----------------------------------------
    // Confirm Actions (delete, uninstall)
    //-----------------------------------------
    $(document).ready(function(){
        // Confirm Delete
        $('#form').submit(function(){
            if ($(this).attr('action').indexOf('delete',1) != -1) {
                if (!confirm('<?php echo $text_confirm; ?>')) {
                    return false;
                }
            }
        });
          
        // Confirm Uninstall
        $('a').click(function(){
            if ($(this).attr('href') != null && $(this).attr('href').indexOf('uninstall', 1) != -1) {
                if (!confirm('<?php echo $text_confirm; ?>')) {
                    return false;
                }
            }
        });
    });
    </script>
    
            <script type="text/javascript" src="view/javascript/chart.js"></script>
            <link rel="stylesheet" type="text/css" href="view/stylesheet/metrika.css" />
        
    </head>
    <body>
    <div id="container">
    <div id="header">
    
                          
                          
    
    
    
    
    
      <?php if ($logged) { ?>
      <div id="menu">
        <ul class="left" style="display: none;">
          <li id="dashboard"><a href="<?php echo $home; ?>"
                            class="top">Opencart<span>metro</span>
                            </a></li>
          <li id="catalog"><a class="top"><?php echo $text_catalog; ?></a>
            <ul>
              <li><a href="<?php echo $category; ?>"><?php echo $text_category; ?></a></li>
              <li><a href="<?php echo $product; ?>"><?php echo $text_product; ?></a></li>
              <li><a href="<?php echo $filter; ?>"><?php echo $text_filter; ?></a></li>
              <li><a class="parent"><?php echo $text_attribute; ?></a>
                <ul>
                  <li><a href="<?php echo $attribute; ?>"><?php echo $text_attribute; ?></a></li>
                  <li><a href="<?php echo $attribute_group; ?>"><?php echo $text_attribute_group; ?></a></li>
                </ul>
              </li>
              <li><a href="<?php echo $option; ?>"><?php echo $text_option; ?></a></li>
              <li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>
              <li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
              <li><a href="<?php echo $review; ?>"><?php echo $text_review; ?></a></li>
              <li><a href="<?php echo $information; ?>"><?php echo $text_information; ?></a></li>
            </ul>
          </li>
        
    
    
    
    
    
    
    
    
                $this->load->model('blog/setting');
                if (!$this->model_blog_setting->checkDbTable('blog_setting')) {
             ?>
                <li><a href="<?php echo $this->url->link('blog/blog/install', 'token=' . $this->session->data['token'], 'SSL'); ?>">Install Blog Manager</a></li>
             <?php } else { ?>
                <li><a href="<?php echo $this->url->link('blog/blog', 'token=' . $this->session->data['token'], 'SSL'); ?>">Blog Manager</a></li>
             <?php } ?>
           
            </ul>
          </li>
          <li id="sale"><a class="top"><?php echo $text_sale; ?></a>
            <ul>
              <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
              <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
              <li><a class="parent"><?php echo $text_customer; ?></a>
                <ul>
                  <li><a href="<?php echo $customer; ?>"><?php echo $text_customer; ?></a></li>
                  <li><a href="<?php echo $customer_group; ?>"><?php echo $text_customer_group; ?></a></li>
                  <li><a href="<?php echo $customer_ban_ip; ?>"><?php echo $text_customer_ban_ip; ?></a></li>
                </ul>
              </li>
              <li><a href="<?php echo $affiliate; ?>"><?php echo $text_affiliate; ?></a></li>
              <li><a href="<?php echo $coupon; ?>"><?php echo $text_coupon; ?></a></li>
              <li><a class="parent"><?php echo $text_voucher; ?></a>
                <ul>
                  <li><a href="<?php echo $voucher; ?>"><?php echo $text_voucher; ?></a></li>
                  <li><a href="<?php echo $voucher_theme; ?>"><?php echo $text_voucher_theme; ?></a></li>
                </ul>
              </li>
              <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
            </ul>
          </li>
        
          <li id="octeam"><a class="top"><?php echo $text_octeam; ?></a>
            <ul>
              <li><a href="<?php echo $octeam_toolset; ?>"><?php echo $text_octeam_toolset; ?></a></li>
            </ul>
          </li>                      
        <li id="reports"><a class="top"><?php echo $text_reports; ?></a>
            <ul>
              <li><a class="parent"><?php echo $text_sale; ?></a>
                <ul>
                  <li><a href="<?php echo $report_sale_order; ?>"><?php echo $text_report_sale_order; ?></a></li>
                  <li><a href="<?php echo $report_sale_tax; ?>"><?php echo $text_report_sale_tax; ?></a></li>
                  <li><a href="<?php echo $report_sale_shipping; ?>"><?php echo $text_report_sale_shipping; ?></a></li>
                  <li><a href="<?php echo $report_sale_return; ?>"><?php echo $text_report_sale_return; ?></a></li>
                  <li><a href="<?php echo $report_sale_coupon; ?>"><?php echo $text_report_sale_coupon; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_product; ?></a>
                <ul>
                  <li><a href="<?php echo $report_product_viewed; ?>"><?php echo $text_report_product_viewed; ?></a></li>
                  <li><a href="<?php echo $report_product_purchased; ?>"><?php echo $text_report_product_purchased; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_customer; ?></a>
                <ul>
                  <li><a href="<?php echo $report_customer_online; ?>"><?php echo $text_report_customer_online; ?></a></li>
                  <li><a href="<?php echo $report_customer_order; ?>"><?php echo $text_report_customer_order; ?></a></li>
                  <li><a href="<?php echo $report_customer_reward; ?>"><?php echo $text_report_customer_reward; ?></a></li>
                  <li><a href="<?php echo $report_customer_credit; ?>"><?php echo $text_report_customer_credit; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_affiliate; ?></a>
                <ul>
                  <li><a href="<?php echo $report_affiliate_commission; ?>"><?php echo $text_report_affiliate_commission; ?></a></li>
                </ul>
              </li>
            </ul>
          </li>    
          <li id="extension"><a class="top"></a>
            <ul>
              <li><a href="<?php echo $module; ?>"><?php echo $text_module; ?></a></li>
              <li><a href="<?php echo $shipping; ?>"><?php echo $text_shipping; ?></a></li>
              <li><a href="<?php echo $payment; ?>"><?php echo $text_payment; ?></a></li>
              <li><a href="<?php echo $total; ?>"><?php echo $text_total; ?></a></li>
              <li><a href="<?php echo $feed; ?>"><?php echo $text_feed; ?></a></li>
              <li><a href="<?php echo $vqmod_manager; ?>"><?php echo $text_vqmod_manager; ?></a></li>
            </ul>
          </li>    
          <li id="system"><a class="top"></a>
                          
            <ul>
              <li><a href="<?php echo $setting; ?>"><?php echo $text_setting; ?></a></li>
              <li><a class="parent"><?php echo $text_design; ?></a>
                <ul>
                  <li><a href="<?php echo $layout; ?>"><?php echo $text_layout; ?></a></li>
                  <li><a href="<?php echo $banner; ?>"><?php echo $text_banner; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_users; ?></a>
                <ul>
                  <li><a href="<?php echo $user; ?>"><?php echo $text_user; ?></a></li>
                  <li><a href="<?php echo $user_group; ?>"><?php echo $text_user_group; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_localisation; ?></a>
                <ul>
                  <li><a href="<?php echo $language; ?>"><?php echo $text_language; ?></a></li>
                  <li><a href="<?php echo $currency; ?>"><?php echo $text_currency; ?></a></li>
                  <li><a href="<?php echo $stock_status; ?>"><?php echo $text_stock_status; ?></a></li>
                  <li><a href="<?php echo $order_status; ?>"><?php echo $text_order_status; ?></a></li>
                  <li><a class="parent"><?php echo $text_return; ?></a>
                    <ul>
                      <li><a href="<?php echo $return_status; ?>"><?php echo $text_return_status; ?></a></li>
                      <li><a href="<?php echo $return_action; ?>"><?php echo $text_return_action; ?></a></li>
                      <li><a href="<?php echo $return_reason; ?>"><?php echo $text_return_reason; ?></a></li>
                    </ul>
                  </li>
                  <li><a href="<?php echo $country; ?>"><?php echo $text_country; ?></a></li>
                  <li><a href="<?php echo $zone; ?>"><?php echo $text_zone; ?></a></li>
                  <li><a href="<?php echo $geo_zone; ?>"><?php echo $text_geo_zone; ?></a></li>
                  <li><a class="parent"><?php echo $text_tax; ?></a>
                    <ul>
                      <li><a href="<?php echo $tax_class; ?>"><?php echo $text_tax_class; ?></a></li>
                      <li><a href="<?php echo $tax_rate; ?>"><?php echo $text_tax_rate; ?></a></li>
                    </ul>
                  </li>
                  <li><a href="<?php echo $length_class; ?>"><?php echo $text_length_class; ?></a></li>
                  <li><a href="<?php echo $weight_class; ?>"><?php echo $text_weight_class; ?></a></li>
                </ul>
              </li>
              <li><a href="<?php echo $error_log; ?>"><?php echo $text_error_log; ?></a></li>
              <li><a href="<?php echo $backup; ?>"><?php echo $text_backup; ?></a></li>
            </ul>
          </li>
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        </ul>
      
        <ul class="right" style="display: none;">                  
          <li id="store"><a onClick="window.open('<?php echo $store; ?>');" class="top"><?php echo $text_front; ?></a>
            <?php foreach ($stores as $stores) { ?>    
            <ul>
              <li><a onClick="window.open('<?php echo $stores['href']; ?>');"><?php echo $stores['name']; ?></a></li>
            </ul>
            <?php } ?>      
          </li>
          <li id="user"><a class="top"></a>
            <ul class="logged">
              <li><?php echo $logged; ?></li>      
              <li><a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li>
            </ul>
           </li>  
        </ul>
        <script>
    $(document).ready(function() {
        $('#menu > ul').superfish({
            pathClass     : 'overideThisToUse',
            delay         : 0,
            animation     : {opacity: 'show'},
            speed         : 'fast',
            autoArrows   : false,
            dropShadows  : false,
            disableHI     : false, /* set to true to disable hoverIntent detection */
            onInit         : function(){},
            onBeforeShow : function(){},
            onShow         : function(){},
            onHide         : function(){}
        });
      
        $('#menu > ul').css('display', 'block');
    });
        </script>
                          
    
    
    
    
    
    
    
    
        </ul>
      </div>
      <?php } ?>
    </div>
    
     
  4. nix

    nix php, MySQL, UNIX, MikroTik ROSAPI

    Регистрация:
    16 янв 2013
    Сообщения:
    1.000
    Симпатии:
    889
    !скинь те строки где мод metro-ui-mod.xml модифицирует файл admin/view/template/common/header.tpl
    не сам файл admin/view/template/common/header.tpl а
    скинь те строки где мод metro-ui-mod.xml модифицирует файл admin/view/template/common/header.tpl
    или уже пускай будет metro-ui-mod.xml
     
  5. dem03x

    dem03x

    Регистрация:
    30 дек 2013
    Сообщения:
    145
    Симпатии:
    14
    Код:
    <?xml version="1.0" encoding="UTF-8"?>
    <modification>
            <id>Metro UI mod for ocStore 1.5.5.1</id>
            <version>1.2</version>
            <vqmver>2.4.1</vqmver>
            <author>Aleksandr Shteynikov</author>
    <!-- header -->
            <file name="admin/view/template/common/header.tpl">
                    <operation>              
                            <search position="replace" offset="5"><![CDATA[
                            <div class="div1">
                            ]]></search>                       
                            <add><![CDATA[
                           
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace"><![CDATA[
                            class="top"><?php echo $text_dashboard; ?>
                            ]]></search>                       
                            <add><![CDATA[
                            class="top">Opencart<span>metro</span>
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace" offset="8"><![CDATA[
                            <li id="extension"><a class="top"><?php echo $text_extension; ?></a>
                            ]]></search>                       
                            <add><![CDATA[]]></add>        
                    </operation>       
                    <operation>              
                            <search position="replace" offset="43"><![CDATA[
                            <li id="reports"><a class="top"><?php echo $text_reports; ?></a>
                            ]]></search>                       
                            <add><![CDATA[]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
                            <li id="system"><a class="top"><?php echo $text_system; ?></a>
                            ]]></search>                       
                            <add><![CDATA[
          <li id="octeam"><a class="top"><?php echo $text_octeam; ?></a>
            <ul>
              <li><a href="<?php echo $octeam_toolset; ?>"><?php echo $text_octeam_toolset; ?></a></li>
            </ul>
          </li>                       
        <li id="reports"><a class="top"><?php echo $text_reports; ?></a>
            <ul>
              <li><a class="parent"><?php echo $text_sale; ?></a>
                <ul>
                  <li><a href="<?php echo $report_sale_order; ?>"><?php echo $text_report_sale_order; ?></a></li>
                  <li><a href="<?php echo $report_sale_tax; ?>"><?php echo $text_report_sale_tax; ?></a></li>
                  <li><a href="<?php echo $report_sale_shipping; ?>"><?php echo $text_report_sale_shipping; ?></a></li>
                  <li><a href="<?php echo $report_sale_return; ?>"><?php echo $text_report_sale_return; ?></a></li>
                  <li><a href="<?php echo $report_sale_coupon; ?>"><?php echo $text_report_sale_coupon; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_product; ?></a>
                <ul>
                  <li><a href="<?php echo $report_product_viewed; ?>"><?php echo $text_report_product_viewed; ?></a></li>
                  <li><a href="<?php echo $report_product_purchased; ?>"><?php echo $text_report_product_purchased; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_customer; ?></a>
                <ul>
                  <li><a href="<?php echo $report_customer_online; ?>"><?php echo $text_report_customer_online; ?></a></li>
                  <li><a href="<?php echo $report_customer_order; ?>"><?php echo $text_report_customer_order; ?></a></li>
                  <li><a href="<?php echo $report_customer_reward; ?>"><?php echo $text_report_customer_reward; ?></a></li>
                  <li><a href="<?php echo $report_customer_credit; ?>"><?php echo $text_report_customer_credit; ?></a></li>
                </ul>
              </li>
              <li><a class="parent"><?php echo $text_affiliate; ?></a>
                <ul>
                  <li><a href="<?php echo $report_affiliate_commission; ?>"><?php echo $text_report_affiliate_commission; ?></a></li>
                </ul>
              </li>
            </ul>
          </li>     
          <li id="extension"><a class="top"></a>
            <ul>
              <li><a href="<?php echo $module; ?>"><?php echo $text_module; ?></a></li>
              <li><a href="<?php echo $shipping; ?>"><?php echo $text_shipping; ?></a></li>
              <li><a href="<?php echo $payment; ?>"><?php echo $text_payment; ?></a></li>
              <li><a href="<?php echo $total; ?>"><?php echo $text_total; ?></a></li>
              <li><a href="<?php echo $feed; ?>"><?php echo $text_feed; ?></a></li>
            </ul>
          </li>     
          <li id="system"><a class="top"></a>
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace" offset="8"><![CDATA[
         <ul class="right" style="display: none;">
                            ]]></search>                       
                            <add><![CDATA[
        <ul class="right" style="display: none;">                   
          <li id="store"><a onClick="window.open('<?php echo $store; ?>');" class="top"><?php echo $text_front; ?></a>
            <?php foreach ($stores as $stores) { ?>     
            <ul>
              <li><a onClick="window.open('<?php echo $stores['href']; ?>');"><?php echo $stores['name']; ?></a></li>
            </ul>
            <?php } ?>       
          </li>
          <li id="user"><a class="top"></a>
            <ul class="logged">
              <li><?php echo $logged; ?></li>       
              <li><a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li>
            </ul>
           </li>   
        </ul>
        <script>
    $(document).ready(function() {
        $('#menu > ul').superfish({
            pathClass     : 'overideThisToUse',
            delay         : 0,
            animation     : {opacity: 'show'},
            speed         : 'fast',
            autoArrows   : false,
            dropShadows  : false,
            disableHI     : false, /* set to true to disable hoverIntent detection */
            onInit         : function(){},
            onBeforeShow : function(){},
            onShow         : function(){},
            onHide         : function(){}
        });
       
        $('#menu > ul').css('display', 'block');
    });
        </script>
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace"><![CDATA[
                            <link rel="stylesheet" type="text/css" href="view/stylesheet/stylesheet.css" />
                            ]]></search>                       
                            <add><![CDATA[
                            <link rel="stylesheet" type="text/css" href="view/stylesheet/metro-style.css" />
    
                            ]]></add>        
                    </operation>       
                   
                   
                    <operation>              
                            <search position="replace"><![CDATA[
                            <script type="text/javascript" src="view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
                            ]]></search>                       
                            <add><![CDATA[
                            <script type="text/javascript" src="view/javascript/metro-ui/js/jquery-ui-1.8.16.custom.min.js"></script>
                            ]]></add>        
                    </operation>   
    
                    <operation >       
                            <search position="replace"><![CDATA[
                            <link type="text/css" href="view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
                            ]]></search>                       
                            <add><![CDATA[
                            <link type="text/css" href="view/javascript/metro-ui/css/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
                            <script type="text/javascript" src="view/javascript/product_extra.js"></script>
                            <script type="text/javascript" src="view/javascript/jquery/colorbox/jquery.colorbox.js"></script>
                            <link rel="stylesheet" type="text/css" href="view/javascript/jquery/colorbox/colorbox.css" media="screen" />                       
                            ]]></add>        
                    </operation>                   
            </file>   
    <!-- /header -->       
            <file name="admin/controller/sale/order.php">
                    <operation>               
                            <search position="after"><![CDATA[
                            'href' => $this->url->link('sale/order/info', 'token=' . $this->session->data['token'] . '&order_id=' . $result['order_id'] . $url, 'SSL')
                            ]]></search>                      
                            <add><![CDATA[
                            ,
                            'class' => 'info'
                            ]]></add>
                    </operation>
                    <operation>               
                            <search position="after"><![CDATA[
                            'href' => $this->url->link('sale/order/update', 'token=' . $this->session->data['token'] . '&order_id=' . $result['order_id'] . $url, 'SSL')
                            ]]></search>                      
                            <add><![CDATA[
                            ,
                            'class' => 'edit'
                            ]]></add>
                    </operation>           
            </file>
            <file name="admin/controller/sale/return.php">
                    <operation>               
                            <search position="after"><![CDATA[
                            'text' => $this->language->get('text_view'),
                            ]]></search>                      
                            <add><![CDATA[
                            'class' => 'view',
                            ]]></add>
                    </operation>
                    <operation>               
                            <search position="after"><![CDATA[
                            'text' => $this->language->get('text_edit'),
                            ]]></search>                      
                            <add><![CDATA[
                            'class' => 'edit',
                            ]]></add>
                    </operation>           
            </file>        
            <file name="admin/controller/extension/*.php">
                    <operation>               
                            <search position="after"><![CDATA[
                            'text' => $this->language->get('text_install'),
                            ]]></search>                      
                            <add><![CDATA[
                            'class' => 'install',
                            ]]></add>
                    </operation>
                    <operation>               
                            <search position="after"><![CDATA[
                            'text' => $this->language->get('text_edit'),
                            ]]></search>                      
                            <add><![CDATA[
                            'class' => 'edit',
                            ]]></add>
                    </operation>
                    <operation>               
                            <search position="after"><![CDATA[
                            'text' => $this->language->get('text_uninstall'),
                            ]]></search>                      
                            <add><![CDATA[
                            'class' => 'uninstall',
                            ]]></add>
                    </operation>               
            </file>    
            <file name="admin/view/template/extension/*.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
                            [ <a href="<?php echo $action['href']; ?>"><?php echo $action['text']; ?></a> ]
                            ]]></search>                      
                            <add><![CDATA[
                            <a class="<?php echo $action['class']; ?> button" href="<?php echo $action['href']; ?>" title="<?php echo $action['text']; ?>"><?php echo $action['text']; ?></a>
                            ]]></add>                     
                    </operation>
            </file>
            <file name="admin/view/template/sale/order_list.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
                            [ <a href="<?php echo $action['href']; ?>"><?php echo $action['text']; ?></a> ]
                            ]]></search>                      
                            <add><![CDATA[
                            <a class="<?php echo $action['class']; ?> button" href="<?php echo $action['href']; ?>" title="<?php echo $action['text']; ?>"><?php echo $action['text']; ?></a>
                            ]]></add>                     
                    </operation>               
            </file>
            <file name="admin/view/template/sale/return_list.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
                            [ <a href="<?php echo $action['href']; ?>"><?php echo $action['text']; ?></a> ]
                            ]]></search>                      
                            <add><![CDATA[
                            <a class="<?php echo $action['class']; ?> button" href="<?php echo $action['href']; ?>" title="<?php echo $action['text']; ?>"><?php echo $action['text']; ?></a>
                            ]]></add>                     
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
    <td class="right"><?php echo $column_action; ?></td>
                            ]]></search>                       
                            <add><![CDATA[
    <td width="200px" class="right"><?php echo $column_action; ?></td>
                            ]]></add>        
                    </operation>                   
            </file>
            <file name="admin/view/template/sale/voucher_list.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
                            [ <a onclick="sendVoucher('<?php echo $voucher['voucher_id']; ?>');"><?php echo $text_send; ?></a> ]
                            ]]></search>                       
                            <add><![CDATA[
                            <a class="send button" onclick="sendVoucher('<?php echo $voucher['voucher_id']; ?>');" title="<?php echo $text_send; ?>"><?php echo $text_send; ?></a>
                            ]]></add>        
                    </operation>
            </file>
    
    
            <file name="admin/view/template/sale/order_form.tpl">       
                    <operation>              
                            <search position="replace"><![CDATA[
                    <td class="left"><a id="button-product" class="button"><?php echo $button_add_product; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
                    <td class="left"><a id="button-product" class="button add"><?php echo $button_add_product; ?></a></td>
                            ]]></add>        
                    </operation>       
                    <operation>              
                            <search position="replace"><![CDATA[
                   <td class="left"><a id="button-voucher" class="button"><?php echo $button_add_voucher; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
                   <td class="left"><a id="button-voucher" class="button add"><?php echo $button_add_voucher; ?></a></td>
                            ]]></add>        
                    </operation>                   
            </file>
            <file name="admin/view/template/sale/order_info.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
                  <div style="margin-top: 10px; text-align: right;"><a id="button-history" class="button"><?php echo $button_add_history; ?></a></div></td>
                            ]]></search>                       
                            <add><![CDATA[
                  <div style="margin-top: 10px; text-align: right;"><a id="button-history" class="button add"><?php echo $button_add_history; ?></a></div></td>
                            ]]></add>        
                    </operation>                           
            </file>   
            <file name="admin/view/template/sale/return_info.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
    <div style="margin-top: 10px; text-align: right;"><a onclick="history();" id="button-history" class="button"><?php echo $button_add_history; ?></a></div></td>
                            ]]></search>                       
                            <add><![CDATA[
    <div style="margin-top: 5px; text-align: right;"><a onclick="history();" id="button-history" class="button add"><?php echo $button_add_history; ?></a></div></td>
                            ]]></add>        
                    </operation>                   
            </file>
            <file name="admin/view/template/sale/customer_form.tpl">   
                    <operation>              
                            <search position="replace"><![CDATA[
    <td colspan="2" style="text-align: right;"><a id="button-transaction" class="button" onclick="addTransaction();"><span><?php echo $button_add_transaction; ?></span></a></td>
                            ]]></search>                       
                            <add><![CDATA[
    <td colspan="2" style="text-align: right;"><a id="button-transaction" class="button add" onclick="addTransaction();"><span><?php echo $button_add_transaction; ?></span></a></td>
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
                  <td colspan="2" style="text-align: right;"><a id="button-reward" class="button" onclick="addRewardPoints();"><span><?php echo $button_add_reward; ?></span></a></td>
                            ]]></search>                       
                            <add><![CDATA[
                  <td colspan="2" style="text-align: right;"><a id="button-reward" class="button add" onclick="addRewardPoints();"><span><?php echo $button_add_reward; ?></span></a></td>
                            ]]></add>        
                    </operation>                   
                    <operation>              
                            <search position="replace"><![CDATA[
    <b>[</b> <a id="<?php echo str_replace('.', '-', $ip['ip']); ?>" onclick="removeBlacklist('<?php echo $ip['ip']; ?>');"><?php echo $text_remove_blacklist; ?></a> <b>]</b>
                            ]]></search>                       
                            <add><![CDATA[
    <a id="<?php echo str_replace('.', '-', $ip['ip']); ?>" onclick="removeBlacklist('<?php echo $ip['ip']; ?>');" class="button remove"><?php echo $text_remove_blacklist; ?></a>
                            ]]></add>        
                    </operation>       
                    <operation>              
                            <search position="replace"><![CDATA[
                      <b>[</b> <a id="<?php echo str_replace('.', '-', $ip['ip']); ?>" onclick="addBlacklist('<?php echo $ip['ip']; ?>');"><?php echo $text_add_blacklist; ?></a> <b>]</b>
                            ]]></search>                       
                            <add><![CDATA[
                      <a id="<?php echo str_replace('.', '-', $ip['ip']); ?>" onclick="addBlacklist('<?php echo $ip['ip']; ?>');" class="button add"><?php echo $text_add_blacklist; ?></a>
                            ]]></add>        
                    </operation>       
                    <operation>              
                            <search position="replace"><![CDATA[
                    $('#' + ip.replace(/\./g, '-')).replaceWith('<a id="' + ip.replace(/\./g, '-') + '" onclick="removeBlacklist(\'' + ip + '\');"><?php echo $text_remove_blacklist; ?></a>');
                            ]]></search>                       
                            <add><![CDATA[
                    $('#' + ip.replace(/\./g, '-')).replaceWith('<a id="' + ip.replace(/\./g, '-') + '" onclick="removeBlacklist(\'' + ip + '\');" class="button remove"><?php echo $text_remove_blacklist; ?></a>');
                            ]]></add>        
                    </operation>                       
                    <operation>              
                            <search position="replace"><![CDATA[
                    $('#' + ip.replace(/\./g, '-')).replaceWith('<a id="' + ip.replace(/\./g, '-') + '" onclick="addBlacklist(\'' + ip + '\');"><?php echo $text_add_blacklist; ?></a>');
                            ]]></search>                       
                            <add><![CDATA[
                    $('#' + ip.replace(/\./g, '-')).replaceWith('<a id="' + ip.replace(/\./g, '-') + '" onclick="addBlacklist(\'' + ip + '\');" class="button add"><?php echo $text_add_blacklist; ?></a>');
                            ]]></add>        
                    </operation>                   
            </file>   
            <file name="admin/view/template/sale/affiliate_form.tpl">       
                    <operation>              
                            <search position="replace"><![CDATA[
    <td colspan="2" style="text-align: right;"><a id="button-reward" class="button" onclick="addTransaction();"><span><?php echo $button_add_transaction; ?></span></a></td>
                            ]]></search>                       
                            <add><![CDATA[
    <td colspan="2" style="text-align: right;"><a id="button-reward" class="button add" onclick="addTransaction();"><span><?php echo $button_add_transaction; ?></span></a></td>
                            ]]></add>        
                    </operation>                   
            </file>
    <!-- home -->       
            <file name="admin/view/template/common/home.tpl">       
                    <operation>              
                            <search position="replace"><![CDATA[
    [ <a href="<?php echo $action['href']; ?>"><?php echo $action['text']; ?></a> ]
                            ]]></search>                       
                            <add><![CDATA[
    <a href="<?php echo $action['href']; ?>" class="button info"><?php echo $action['text']; ?></a>
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace"><![CDATA[
                    <td class="right"><?php echo $column_order; ?></td>
                            ]]></search>                       
                            <add><![CDATA[
                    <td class="center" width="60px"><?php echo $column_order; ?></td>
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
                    <td class="right"><?php echo $order['order_id']; ?></td>
                            ]]></search>                       
                            <add><![CDATA[
                    <td class="center"><?php echo $order['order_id']; ?></td>
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="before"><![CDATA[
          <div class="latest">
                            ]]></search>                       
                            <add><![CDATA[
    <div class="access">
              <div class="dashboard-heading"><span><?php echo 'Доступ в панель управления'; ?></span></div>
              <div class="dashboard-content">
                      <p class="overflow" style="height: 180px;margin: 0;overflow: auto;">
                          <?php include "iplog.html"; ?>
                      </p>
              </div>
            </div>
                            ]]></add>        
                    </operation>               
            </file>
    <!-- button-->       
            <file name="admin/view/template/*/*.tpl">
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
                            [ <a href="<?php echo $action['href']; ?>"><?php echo $action['text']; ?></a> ]
                            ]]></search>                       
                            <add><![CDATA[
                            <a class="edit button" href="<?php echo $action['href']; ?>" title="<?php echo $action['text']; ?>"><?php echo $action['text']; ?></a>   
                            ]]></add>        
                    </operation>
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
    <a onclick="location = '<?php echo $insert; ?>'" class="button"><?php echo $button_insert; ?></a>
                            ]]></search>                       
                            <add><![CDATA[
    <a onclick="location = '<?php echo $insert; ?>'" class="button insert"><?php echo $button_insert; ?></a>
                            ]]></add>        
                    </operation>
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
    <a href="<?php echo $insert; ?>" class="button"><?php echo $button_insert; ?></a>
                            ]]></search>                       
                            <add><![CDATA[
    <a href="<?php echo $insert; ?>" class="button insert"><?php echo $button_insert; ?></a>
                            ]]></add>        
                    </operation>
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
                            class="button"><?php echo $button_delete; ?>
                            ]]></search>                       
                            <add><![CDATA[
                            class="button delete"><?php echo $button_delete; ?>
                            ]]></add>        
                    </operation>
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
    <a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a>
                            ]]></search>                       
                            <add><![CDATA[
    <a onclick="$('#form').submit();" class="button save"><?php echo $button_save; ?></a>
                            ]]></add>        
                    </operation>
                  <operation error="skip">              
                            <search position="replace"><![CDATA[
                            class="button"><?php echo $button_copy; ?>
                            ]]></search>                       
                            <add><![CDATA[
                            class="button copy"><?php echo $button_copy; ?>
                            ]]></add>        
                    </operation>               
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
                            onclick="filter();" class="button">   
                            ]]></search>                       
                            <add><![CDATA[
                            onclick="filter();" class="button filter">   
                            ]]></add>        
                    </operation>               
            </file>
            <file name="admin/view/template/*/*.tpl">
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
    + '\').remove();" class="button"><?php echo $button_remove; ?></a></td>';
                            ]]></search>                       
                            <add><![CDATA[
    + '\').remove();" class="button remove"><?php echo $button_remove; ?></a></td>';
                            ]]></add>        
                    </operation>
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
    ?>').remove();" class="button"><?php echo $button_remove; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
    ?>').remove();" class="button remove"><?php echo $button_remove; ?></a></td>
                            ]]></add>        
                    </operation>               
            </file>
            <file name="admin/view/template/catalog/product_form.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
    class="button"><?php echo $button_add_attribute; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
    class="button add"><?php echo $button_add_attribute; ?></a></td>
                            ]]></add>        
                    </operation>
    
                    <operation>              
                            <search position="replace"><![CDATA[
                      <td class="left"><a onclick="addOptionValue('<?php echo $option_row; ?>');" class="button"><?php echo $button_add_option_value; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
                      <td class="left"><a onclick="addOptionValue('<?php echo $option_row; ?>');" class="button add"><?php echo $button_add_option_value; ?></a></td>
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace"><![CDATA[
                html += '        <td class="left"><a onclick="addOptionValue(' + option_row + ');" class="button"><?php echo $button_add_option_value; ?></a></td>';
                            ]]></search>                       
                            <add><![CDATA[
                html += '        <td class="left"><a onclick="addOptionValue(' + option_row + ');" class="button add"><?php echo $button_add_option_value; ?></a></td>';
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace"><![CDATA[
    class="button"><?php echo $button_add_discount; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
    class="button add"><?php echo $button_add_discount; ?></a></td>
                            ]]></add>        
                    </operation>
    
                    <operation>              
                            <search position="replace"><![CDATA[
    class="button"><?php echo $button_add_special; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
    class="button add"><?php echo $button_add_special; ?></a></td>
                            ]]></add>        
                    </operation>
    
                    <operation>              
                            <search position="replace"><![CDATA[
    class="button"><?php echo $button_add_image; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
    class="button add"><?php echo $button_add_image; ?></a></td>
                            ]]></add>        
                    </operation>               
            </file>
            <file name="admin/view/template/catalog/option_form.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
                  <td class="left"><a onclick="addOptionValue();" class="button"><?php echo $button_add_option_value; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
                  <td class="left"><a onclick="addOptionValue();" class="button add"><?php echo $button_add_option_value; ?></a></td>
                            ]]></add>        
                    </operation>       
            </file>
            <file name="admin/view/template/design/layout_form.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
                  <td class="left"><a onclick="addRoute();" class="button"><?php echo $button_add_route; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
                  <td class="left"><a onclick="addRoute();" class="button add"><?php echo $button_add_route; ?></a></td>
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace"><![CDATA[
            <br />
                            ]]></search>                       
                            <add><![CDATA[
                            ]]></add>        
                    </operation>                   
            </file>
            <file name="admin/view/template/design/banner_form.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
                  <td class="left"><a onclick="addImage();" class="button"><?php echo $button_add_banner; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
                  <td class="left"><a onclick="addImage();" class="button add"><?php echo $button_add_banner; ?></a></td>
                            ]]></add>        
                    </operation>               
            </file>           
    <!-- ckeditor-ui-master -->       
            <file name="admin/view/template/*/*.tpl">
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
                            <script type="text/javascript" src="view/javascript/ckeditor/ckeditor.js"></script>
                            ]]></search>                       
                            <add><![CDATA[
                            <script type="text/javascript" src="view/javascript/ckeditor-ui-master/ckeditor.js"></script>
                            ]]></add>        
                    </operation>           
            </file>
    <!-- filemanager -->
            <file name="admin/view/template/common/filemanager.tpl">
                    <operation>              
                            <search position="replace" offset="8"><![CDATA[
    <div id="menu">
                            ]]></search>                       
                            <add><![CDATA[
    <div id="menu">
    <a id="create" class="button" style="background-image: url('view/image/filemanager/metro.folder.png');background-position: 0 50%;background-size: 28px;"><?php echo $button_folder; ?></a>
    <a id="delete" class="button" style="background-image: url('view/image/filemanager/metro.edit-delete.png');background-position: 0 50%;background-size: 28px;"><?php echo $button_delete; ?></a>
    <a id="move" class="button" style="background-image: url('view/image/filemanager/metro.edit-cut.png');background-position: 0 50%;background-size: 28px;"><?php echo $button_move; ?></a>
    <a id="copy" class="button" style="background-image: url('view/image/filemanager/metro.edit-copy.png');background-position: 0 50%;background-size: 28px;"><?php echo $button_copy; ?></a>
    <a id="rename" class="button" style="background-image: url('view/image/filemanager/metro.edit-rename.png');background-position: 0 50%;background-size: 28px;"><?php echo $button_rename; ?></a>
    <a id="upload" class="button" style="background-image: url('view/image/filemanager/metro.upload.png');background-position: 0 50%;background-size: 28px;"><?php echo $button_upload; ?></a>
    <a id="refresh" class="button" style="background-image: url('view/image/filemanager/metro.refresh.png');background-position: 0 50%;background-size: 28px;"><?php echo $button_refresh; ?></a>
    </div>
                            ]]></add>        
                    </operation>           
            </file>       
    <!-- module -->
            <file name="admin/view/template/module/*.tpl">
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
    <td class="left"><a onclick="$('#module-row<?php echo $module_row; ?>').remove();" class="button"><?php echo $button_remove; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
    <td class="left"><a onclick="$('#module-row<?php echo $module_row; ?>').remove();" class="button remove"><?php echo $button_remove; ?></a></td>
                            ]]></add>        
                    </operation>
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
                  <td class="left"><a onclick="addModule();" class="button"><?php echo $button_add_module; ?></a></td>
                            ]]></search>                       
                            <add><![CDATA[
                  <td class="left"><a onclick="addModule();" class="button add"><?php echo $button_add_module; ?></a></td>
                            ]]></add>        
                    </operation>
                    <operation error="skip">              
                            <search position="replace"><![CDATA[
        html += '    <td class="left"><a onclick="$(\'#module-row' + module_row + '\').remove();" class="button"><?php echo $button_remove; ?></a></td>';
                            ]]></search>                       
                            <add><![CDATA[
        html += '    <td class="left"><a onclick="$(\'#module-row' + module_row + '\').remove();" class="button remove"><?php echo $button_remove; ?></a></td>';
                            ]]></add>        
                    </operation>                   
            </file>
    <!-- login -->       
            <file name="admin/view/template/common/login.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
    <div id="content">
                            ]]></search>                       
                            <add><![CDATA[
    <div id="content" style="padding: 0;">
                            ]]></add>        
                    </operation>       
                    <operation>              
                            <search position="replace"><![CDATA[
                <td style="text-align: center;" rowspan="4"><img src="view/image/login.png" alt="<?php echo $text_login; ?>" /></td>
                            ]]></search>                       
                            <add><![CDATA[
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace" offset="5"><![CDATA[
          <?php if ($success) { ?>
                            ]]></search>                       
                            <add><![CDATA[
                            ]]></add>        
                    </operation>               
                    <operation>              
                            <search position="replace"><![CDATA[
    <?php echo $footer; ?>
                            ]]></search>                       
                            <add><![CDATA[
    <?php
    $logfile= 'iplog.html';
    $IP = $_SERVER['REMOTE_ADDR'];
    $logdetails= '<span class="iplog">' . date("F j, H:i:s l") . ', IP address: <a target="_blank" href=http://www.ip-adress.com/ip_tracer/'.$_SERVER['REMOTE_ADDR'].'>'.$_SERVER['REMOTE_ADDR'].'</a></span>';
    $fp = fopen($logfile, "a");
    fwrite($fp, $logdetails);
    fwrite($fp, "<br />");
    fclose($fp);
    ?>
                            </body></html>
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace"><![CDATA[
      <div class="box" style="width: 400px; min-height: 300px; margin-top: 40px; margin-left: auto; margin-right: auto;">
                            ]]></search>                       
                            <add><![CDATA[
          <?php if ($success) { ?>
          <div class="success"><?php echo $success; ?></div>
          <?php } ?>
          <?php if ($error_warning) { ?>
          <div class="warning"><?php echo $error_warning; ?></div>
          <?php } ?>                       
      <div class="box login">
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace" offset="10"><![CDATA[
                  <a href="<?php echo $forgotten; ?>"><?php echo $text_forgotten; ?></a>
                            ]]></search>                       
                            <add><![CDATA[  
                <td>
                <?php if ($forgotten) { ?><a style="
        float: left;
    " class="button forgotten" href="<?php echo $forgotten; ?>"><?php echo $text_forgotten; ?></a><?php } ?>
                <a onclick="$('#form').submit();" class="button login"><?php echo $button_login; ?></a></td>
              </tr>
                            ]]></add>        
                    </operation>   
    
                    <operation>              
                            <search position="replace" offset="3"><![CDATA[
    <td><?php echo $entry_username; ?><br />
                            ]]></search>                       
                            <add><![CDATA[             
    <input type="text" name="username" value="<?php echo $username; ?>" style="margin: 10px 3px;width: 178px;text-align: center;" />
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace" offset="3"><![CDATA[
    <?php echo $entry_password; ?><br />
                            ]]></search>                       
                            <add><![CDATA[             
    <input type="password" name="password" value="<?php echo $password; ?>" style="margin: 10px 3px;width:178px; text-align: center;" />
                            ]]></add>        
                    </operation>                   
                   
            </file>
    <!-- forgotten -->
            <file name="admin/view/template/common/forgotten.tpl">
                    <operation>              
                            <search position="replace" offset="9"><![CDATA[
    <div id="content">
                            ]]></search>                       
                            <add><![CDATA[
    <div id="content" style="padding: 0;">
      <?php if ($error_warning) { ?>
      <div class="warning"><?php echo $error_warning; ?></div>
      <?php } ?>
      <div class="box forgotten"> 
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace" offset="3"><![CDATA[
        <div class="heading">
                            ]]></search>                       
                            <add><![CDATA[
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace" offset="1"><![CDATA[
    <td><input type="text" name="email" value="<?php echo $email; ?>" /></td>
                            ]]></search>                       
                            <add><![CDATA[
    <td><input type="text" name="email" value="<?php echo $email; ?>" /></td>                       
    </tr>
    <tr><td style="border: 0;"><a onclick="location = '<?php echo $cancel; ?>';" class="button forgotten" style="float: left;"><?php echo $button_cancel; ?></a></td><td style="border: 0;"><a onclick="$('#forgotten').submit();" class="button login" style="float: right;"><?php echo $button_reset; ?></a></td></tr>
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace"><![CDATA[
    <?php echo $footer; ?>
                            ]]></search>                       
                            <add><![CDATA[
    </body></html>
                            ]]></add>        
                    </operation>                   
            </file>           
    <!-- footer -->   
            <file name="admin/view/template/common/footer.tpl">
                    <operation>              
                            <search position="replace"><![CDATA[
    <div id="footer"><?php echo $text_footer; ?></div>
                            ]]></search>                       
                            <add><![CDATA[
    <div id="footer">
    <div class="footer author"><a class="metro" href="http://aleksandr.shteynikov.ru/opencart-metro-ui/" target="_blank">Metro UI mod v1.2</a>
    made by — <a class="author" href="http://aleksandr.shteynikov.ru/" target="_blank">ALEKSANDR SHTEYNIKOV</a></div>
    <div class="footer help">
            <ul>
              <li><a onClick="window.open('http://myopencart.ru');">myopencart.ru</a></li>
              <li><a onClick="window.open('http://opencartforum.ru/index.php?app=ccs');">Документация</a></li>
              <li><a onClick="window.open('http://opencartforum.ru');">Поддержка</a></li>
            </ul>
    </div>
    <div class="footer info"><?php echo $text_footer; ?></div>
    </div>
                            ]]></add>        
                    </operation>                   
            </file>   
            <file name="admin/language/russian/common/footer.php">
                    <operation>              
                            <search position="replace"><![CDATA[
    $_['text_footer'] = '<a href="http://myopencart.ru">ocStore</a> &copy; 2009-' . date('Y') . ' Все права защищены.<br />Версия %s';
                            ]]></search>                       
                            <add><![CDATA[
    $_['text_footer'] = '&copy; 2009-' . date('Y') . ' Все права защищены. ocStore версия %s';
                            ]]></add>        
                    </operation>                   
            </file>   
    <!-- setting -->
            <file name="admin/view/template/setting/setting.tpl">
                    <operation>              
                            <search position="replace" offset="1"><![CDATA[
            <div id="tab-option">
                            ]]></search>                       
                            <add><![CDATA[
            <div id="tab-option">               
                <div class="vtabs">
                    <a href="#text_items">Элементы</a>
                    <a href="#text_product"><?php echo $text_product ?></a>
                    <a href="#text_voucher"><?php echo $text_voucher ?></a>
                    <a href="#text_tax"><?php echo $text_tax ?></a>
                    <a href="#text_account"><?php echo $text_account ?></a>   
                    <a href="#text_checkout"><?php echo $text_checkout ?></a>
                    <a href="#text_stock"><?php echo $text_stock ?></a>               
                    <a href="#text_affiliate"><?php echo $text_affiliate ?></a>
                    <a href="#text_return"><?php echo $text_return ?></a>
                </div>
                  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
              <div id="text_items" class="vtabs-content">    
                            ]]></add>        
                    </operation>
                    <operation>              
                            <search position="replace"><![CDATA[
              <h2><?php echo $text_product; ?></h2>
                            ]]></search>                       
                            <add><![CDATA[
              </div>
              <div id="text_product" class="vtabs-content">
                            ]]></add>        
                    </operation>       
                    <operation>              
                            <search position="replace"><![CDATA[
              <h2><?php echo $text_voucher; ?></h2>
                            ]]></search>                       
                            <add><![CDATA[
              </div>
              <div id="text_voucher" class="vtabs-content">
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
              <h2><?php echo $text_tax; ?></h2>
                            ]]></search>                       
                            <add><![CDATA[
              </div>
              <div id="text_tax" class="vtabs-content">
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
              <h2><?php echo $text_account; ?></h2>
                            ]]></search>                       
                            <add><![CDATA[
              </div>
              <div id="text_account" class="vtabs-content">
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
              <h2><?php echo $text_checkout; ?></h2>
                            ]]></search>                       
                            <add><![CDATA[
              </div>
              <div id="text_checkout" class="vtabs-content">
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
              <h2><?php echo $text_stock; ?></h2>
                            ]]></search>                       
                            <add><![CDATA[
              </div>
              <div id="text_stock" class="vtabs-content">
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
              <h2><?php echo $text_affiliate; ?></h2>
                            ]]></search>                       
                            <add><![CDATA[
              </div>
              <div id="text_affiliate" class="vtabs-content">
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="replace"><![CDATA[
              <h2><?php echo $text_return; ?></h2>
                            ]]></search>                       
                            <add><![CDATA[
              </div>
              <div id="text_return" class="vtabs-content">
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="before"><![CDATA[
            <div id="tab-image">
                            ]]></search>                       
                            <add><![CDATA[
    </div>
                            ]]></add>        
                    </operation>   
                    <operation>              
                            <search position="after"><![CDATA[
    $('#tabs a').tabs();
                            ]]></search>                       
                            <add><![CDATA[
    $('.vtabs a').tabs();
                            ]]></add>        
                    </operation>                   
            </file>   
    <!-- /setting -->   
            <file name="admin/language/russian/russian.php">
                    <operation>              
                            <search position="replace" offset="1"><![CDATA[
    $_['text_enabled']            = 'Включено';
                            ]]></search>                       
                            <add><![CDATA[
    $_['text_enabled']            = '<span style="color:green">Включено</span>';
    $_['text_disabled']           = '<span style="color:#999">Отключено</span>';
                            ]]></add>        
                    </operation>                   
            </file>
           
    <!-- *****************************************17..11.2012********************************-->
    
    <!-- help -->       
           
    </modification>