Changeset 1314
- Timestamp:
- Sep 3, 2010, 12:08:18 AM (10 years ago)
- Location:
- cpc/trunk/project
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/lib/form/doctrine/ArticleForm.class.php
r736 r1314 47 47 $this->widgetSchema['object_id'] = new sfWidgetFormDoctrineChoice(array('model' => $this->getValue('categorie'))); 48 48 $this->widgetSchema['object_id']->setOption('label', $categorie); 49 $query = doctrine::getTable($categorie)->createQuery('c')->where('c.nom IS NOT NULL')->orderBy('nom');49 $query = Doctrine::getTable($categorie)->createQuery('c')->where('c.nom IS NOT NULL')->orderBy('nom'); 50 50 $this->widgetSchema['object_id']->setOption('query', $query); 51 51 }else{ … … 67 67 } 68 68 69 $query = doctrine::getTable('Article')->createQuery('a')->where('a.article_id IS NULL')->andWhere('a.categorie = ?', $categorie);69 $query = Doctrine::getTable('Article')->createQuery('a')->where('a.article_id IS NULL')->andWhere('a.categorie = ?', $categorie); 70 70 if ($this->object && $this->object->id) { 71 71 $query->andWhere('a.id != ?', $this->object->id); -
cpc/trunk/project/web/css/xneth/style.css
r1307 r1314 254 254 height: 10px; 255 255 background: url('images/barres_citoyen.png') repeat-x 0 -10px; 256 background-color: #FBFBF B;256 background-color: #FBFBFF; 257 257 } 258 258 .b_c_bg {
Note: See TracChangeset
for help on using the changeset viewer.