# HG changeset patch # User dwinter # Date 1393312332 -3600 # Node ID 5584046a6a04fbd6470c6a55c3d38954e81fd38d # Parent 8fca81581883a572db2acf9010a0139831d325bf# Parent 878de95fb6a2313d9cd132941bde8f341af94616 Merge with 878de95fb6a2313d9cd132941bde8f341af94616 diff -r 878de95fb6a2 -r 5584046a6a04 MPIWGRoot.py --- a/MPIWGRoot.py Fri Feb 14 11:53:48 2014 +0100 +++ b/MPIWGRoot.py Tue Feb 25 08:12:12 2014 +0100 @@ -49,7 +49,7 @@ # make mpiwg_js refreshable for development mpiwg_js.index_html = refreshingImageFileIndexHtml # ZMI - changeMPIWGRootForm = PageTemplateFile('zpt/root/manage_change') + changeMPIWGRootForm = PageTemplateFile('zpt/root/manage_change', globals()) diff -r 878de95fb6a2 -r 5584046a6a04 MPIWGStaff.py --- a/MPIWGStaff.py Fri Feb 14 11:53:48 2014 +0100 +++ b/MPIWGStaff.py Tue Feb 25 08:12:12 2014 +0100 @@ -309,6 +309,33 @@ return ret+"" + def getConeIDsFromDB(self,REQUEST): + """holt die cone ids aus personalwww und gibt sie als RDF fuer den cone import zurueck""" + + qs = "select personal_www.last_name, personal_www.first_name, keys.coneid from personal_www inner join keys on personal_www.key = keys.key_main;" + coneIds = self.executeZSQL(qs) + + ret=""" + +""" + + templ=""" + + %s, %s + + """ + print coneIds.names() + for coneId in coneIds: + + ret+=templ%(coneId["coneid"],coneId["last_name"],coneId["first_name"]) + + ret+=""" + + """ + if REQUEST is not None: + REQUEST.response.setHeader("Content-type", "text/XML") + return ret + def manage_addMPIWGStaffFolderForm(self): """form for adding the project""" pt=PageTemplateFile('zpt/addMPIWGStaffFolderForm', globals()).__of__(self) diff -r 878de95fb6a2 -r 5584046a6a04 zpt/staff/edit_publications.zpt --- a/zpt/staff/edit_publications.zpt Fri Feb 14 11:53:48 2014 +0100 +++ b/zpt/staff/edit_publications.zpt Tue Feb 25 08:12:12 2014 +0100 @@ -11,10 +11,10 @@

- Show the five most recent publications. (no further action needed)
+ Show the publications sorted by Date. (no further action needed)
- Show selected publications. + Show only selected publications by priority.

Number of items on profile page: