Diff for /db/prgsrc/drupal/modules/chgk_db/classes/DbPackage.class.php between versions 1.3 and 1.4

version 1.3, 2010/03/09 21:08:33 version 1.4, 2010/03/20 17:23:42
Line 69  class DbPackage { Line 69  class DbPackage {
     return $this->getTitle();      return $this->getTitle();
   }    }
   public function getInfo() {    public function getInfo() {
     return $this->tour->Info;      $info = $this->tour->Info;
       $info = preg_replace('/(\s+)-+(\s+)/','\1—$2', $info);
   
       return $info;
   }    }
 public function hasEditor() {    public function hasEditor() {
     return $this->tour->Editors?TRUE:FALSE;      return $this->tour->Editors?TRUE:FALSE;
   }    }
 public function hasInfo() {    public function hasInfo() {
     return $this->tour->Editors?TRUE:FALSE;      return $this->tour->Info?TRUE:FALSE;
   }    }
   
   public function getEditor() {    public function getEditor() {
Line 84  public function hasInfo() { Line 87  public function hasInfo() {
   
   public function getEditorHtml() {    public function getEditorHtml() {
     $ed = $this->tour->Editors;      $ed = $this->tour->Editors;
       $ed = preg_replace('/(\s+)-+(\s+)/','\1—$2', $ed);
       
     if (preg_match('/\,/', $ed))  {      if (preg_match('/\,/', $ed))  {
       $ob = 'Редакторы: ';        $ob = 'Редакторы: ';
     } else {      } else {

Removed from v.1.3  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>