cfoe
2012-08-28 01c5efc5b648c80393bb54218ea2d2a3f7b54965
interface/web/client/client_edit.php
@@ -101,7 +101,7 @@
      global $app;
      $sql = "SELECT template_id,template_name FROM client_template WHERE template_type = 'a'";
      $sql = "SELECT template_id,template_name FROM client_template WHERE template_type = 'a' ORDER BY template_name ASC";
      $tpls = $app->db->queryAllRecords($sql);
      $option = '';
      $tpl = array();
@@ -117,8 +117,8 @@
      $text = '';
      foreach($tplAdd as $item){
         if (trim($item) != ''){
            if ($text != '') $text .= '<br />';
            $text .= $tpl[$item];
            if ($text != '') $text .= '';
            $text .= '<li>' . $tpl[$item]. '</li>';
         }
      }