Modification: Add To Admin Menu

Lots of extensions add to the opencart menu, here's an example modification for easy copy/paste:

<?xml version="1.0" encoding="utf-8"?>
<modification>
  <name>Reviews Pro</name>
  <code>review_pro</code>
  <version>1.0.0.1</version>
  <author>Opencart-Templates</author>
  <link>http://www.opencart-templates.co.uk</link>
  
  <file path="admin/language/english/common/menu.php">
    <operation>
      <search index="0"><![CDATA[<?php]]></search>
      <add position="after"><![CDATA[$_['text_review_pro'] = 'Reviews Pro';]]></add>
    </operation>
  </file>

  <file path="admin/controller/common/menu.php">
    <operation>
      <search index="0"><![CDATA[$data['text_review'] = $this->language->get('text_review');]]></search>
      <add position="after"><![CDATA[     $data['text_review_pro'] = $this->language->get('text_review_pro');]]></add>
    </operation>
    <operation>
      <search index="0"><![CDATA[$data['review'] = $this->url->link('catalog/review', 'token=' . $this->session->data['token'], 'SSL');]]></search>
      <add position="after"><![CDATA[     $data['review_pro'] = $this->url->link('catalog/review_pro', 'token=' . $this->session->data['token'], 'SSL');]]></add>
    </operation>
  </file>

  <file path="admin/view/template/common/menu.tpl">
    <operation>
      <search index="0"><![CDATA[<li><a href="<?php echo $review; ?>"><?php echo $text_review; ?></a></li>]]></search>
      <add position="before"><![CDATA[      <li><a href="<?php echo $review_pro; ?>"><?php echo $text_review_pro; ?></a></li>]]></add>
    </operation>
  </file>
</modification>