title: OpenCar tError on OCMOD
body: <p>iam trying make some modification in OpenCart Admin so i created ocmod file but it doesn`t working !
  when using position "After" it replaced code !! and "After" not working !</p>
  
  <p>this code</p>
  
  <pre><code> &lt;modification&gt;
     &lt;code&gt;31111&lt;/code&gt;
     &lt;name&gt;&lt;![CDATA[&lt;font color="#0000"&gt;&lt;b&gt; DK Setting Modification&lt;/font&gt;]]&gt;&lt;/name&gt;
      &lt;version&gt;&lt;![CDATA[&lt;b&gt;1.0&lt;/b&gt;]]&gt;&lt;/version&gt;
      &lt;author&gt;&lt;![CDATA[&lt;font color="#CC0000"&gt;&lt;b&gt;abada henno&lt;/font&gt;]]&gt;&lt;/author&gt;
      &lt;link&gt;&lt;![CDATA[http://abadahenno.com]]&gt;&lt;/link&gt;
  
  
   &lt;file name="admin/language/english/common/menu.php"&gt;
              &lt;operation error="log"&gt;
                  &lt;search &gt;&lt;![CDATA[// Text]]&gt;&lt;/search&gt;
                  &lt;add position="After"&gt;&lt;![CDATA[
                   $_['text_dokan_menu'] = 'DK Setting';
                  ]]&gt;&lt;/add&gt;
              &lt;/operation&gt;
          &lt;/file&gt;
  
  
   &lt;file path="admin/controller/controller/common/menu.php"&gt;
         &lt;operation error="log"&gt;
           &lt;search&gt;&lt;![CDATA[$this-&gt;load-&gt;language('common/menu');]]&gt;&lt;/search&gt;
           &lt;add position="After"&gt;&lt;![CDATA[
              $data['text_dk_menu'] = $this-&gt;language-&gt;get('text_dk_menu');
              ]]&gt;&lt;/add&gt;
        &lt;/operation&gt;
         &lt;operation error="log"&gt;
                  &lt;search &gt;&lt;![CDATA[$data['home'] = $this-&gt;url-&gt;link('common/dashboard', 'token=' . $this-&gt;session-&gt;data['token'], 'SSL');]]&gt;&lt;/search&gt;
                  &lt;add position="After"&gt;&lt;![CDATA[
                      $data['dk'] = $this-&gt;url-&gt;link('setting/dk', 'token=' . $this-&gt;session-&gt;data['token'], 'SSL');
                   ]]&gt;&lt;/add&gt;
              &lt;/operation&gt;
  &lt;/file&gt;
  
  &lt;file path="admin/view/template/common/menu.tpl"&gt;
         &lt;operation error="log"&gt;
           &lt;search&gt;&lt;![CDATA[
            &lt;li&gt;&lt;a href="&lt;?php echo $setting; ?&gt;"&gt;&lt;?php echo $text_setting; ?&gt;&lt;/a&gt;&lt;/li&gt;
           ]]&gt;&lt;/search&gt;
           &lt;add position="After"&gt;&lt;![CDATA[
                &lt;li&gt;&lt;a href="&lt;?php echo $dk; ?&gt;"&gt; &lt;?php echo $text_dk_menu; ?&gt; &lt;/a&gt;&lt;/li&gt;
              ]]&gt;&lt;/add&gt;
        &lt;/operation&gt;
  &lt;/file&gt;
  
  
  &lt;/modification&gt;
  </code></pre>
  
  <p>position "After" not working always "Replace" !</p>
  
  <p>what error on my code </p>
  
  <pre><code>&lt;li&gt;&lt;a href="&lt;b&gt;Notice&lt;/b&gt;: Undefined variable: dk in &lt;b&gt;/home/vagrant/Code/dk/system/modification/admin/view/template/common/menu.tpl&lt;/b&gt; on line &lt;b&gt;116&lt;/b&gt;"&gt; &lt;b&gt;Notice&lt;/b&gt;: Undefined variable: text_dk_menu in &lt;b&gt;/home/vagrant/Code/dk/system/modification/admin/view/template/common/menu.tpl&lt;/b&gt; on line &lt;b&gt;116&lt;/b&gt; &lt;/a&gt;&lt;/li&gt;
  </code></pre>