Ticket #622: abstract_xml.patch
File abstract_xml.patch, 1.5 KB (added by makub, 5 years ago) |
---|
-
/usr/lib/python2.5/site-packages/cds_indico-0.97_rc2-py2.5.egg/MaKaC/webinterface/rh/abstractModif.py
old new 210 210 for f in afm.getFields(): 211 211 id = f.getId() 212 212 if f.isActive() and self._target.getField(id).strip() != "": 213 x.writeTag(id.replace(" ","_"),self._target.getField(id)) 213 #x.writeTag(id.replace(" ","_"),self._target.getField(id)) 214 x.writeTag("field",self._target.getField(id),[("id",id)]) 214 215 x.writeTag("Conference", self._target.getConference().getTitle()) 215 216 l = [] 216 217 for au in self._target.getAuthorList(): -
/usr/lib/python2.5/site-packages/cds_indico-0.97_rc2-py2.5.egg/MaKaC/webinterface/rh/conferenceModif.py
old new 4479 4479 x.writeTag("Content", abstract.getField("content")) 4480 4480 for f in self._conf.getAbstractMgr().getAbstractFieldsMgr().getFields(): 4481 4481 id = f.getId() 4482 x.writeTag( id, abstract.getField(id))4482 x.writeTag("field",abstract.getField(id),[("id",id)]) 4483 4483 l = [] 4484 4484 for au in abstract.getAuthorList(): 4485 4485 if abstract.isPrimaryAuthor(au):