Selaa lähdekoodia

debug extend clientarea.tpl

andre 5 vuotta sitten
vanhempi
commit
84fc846199
2 muutettua tiedostoa jossa 2 lisäystä ja 5 poistoa
  1. 1 1
      clientarea.tpl
  2. 1 4
      zimbraSingle.php

+ 1 - 1
clientarea.tpl

@@ -4,7 +4,7 @@
       <table width="100%" border="0" cellpadding="10" cellspacing="0" class="table table-striped table-framed">
       <table width="100%" border="0" cellpadding="10" cellspacing="0" class="table table-striped table-framed">
         <tr>
         <tr>
           <td align='left'>Webmail</td>
           <td align='left'>Webmail</td>
-          <td align="left"><a href="{$test1}" target="_blank">{$test2}</a></td>
+          <td align="left"><a href="{$test1}" target="_blank">{$webmailurl}</a></td>
         </tr>
         </tr>
       </table>
       </table>
     </td>
     </td>

+ 1 - 4
zimbraSingle.php

@@ -53,10 +53,7 @@ function zimbraSingle_ClientArea($params)
     
     
     return array(
     return array(
         'templatefile' => 'clientarea',
         'templatefile' => 'clientarea',
-        'vars' => array(
-            'test1' => $response['webmailurl'],
-            'test2' => 'world',
-        ),
+        'vars' => $response,
     );
     );
 }
 }