Changeset 1495
- Timestamp:
- Sep 29, 2010, 2:12:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/lib/model/doctrine/QuestionEcrite.class.php
r1412 r1495 30 30 31 31 public function getTitre() { 32 $titre = 'Question N° '.$this->numero.' du '.myTools::display ShortDate($this->date).' ('.preg_replace('/\s*[\/\(].*$/', '', $this->ministere).')';32 $titre = 'Question N° '.$this->numero.' du '.myTools::displayVeryShortDate($this->date).' ('.preg_replace('/\s*[\/\(].*$/', '', $this->ministere).')'; 33 33 if ($this->date_cloture && !$this->reponse && date("Y-m-d") > $this->date_cloture) $titre .= ' (Retirée)'; 34 34 else if (!$this->reponse) $titre .= ' (Sans réponse)'; 35 else $titre .= ' (Réponse le '.myTools::displayVeryShortDate($this->date_cloture).')'; 35 36 return $titre; 36 37 }
Note: See TracChangeset
for help on using the changeset viewer.