version 1.101, 2004/06/07 14:37:36
|
version 1.102, 2004/06/07 14:53:55
|
Line 2357 manage_addECHO_partnerForm=DTMLFile('dtm
|
Line 2357 manage_addECHO_partnerForm=DTMLFile('dtm
|
|
|
|
|
|
|
def manage_addECHO_partner(self, id, file,url, person, email, country, title='', precondition='', content_type='', |
def manage_addECHO_partner(self, id,copyrightType, file,url, person, email, country, title='', precondition='', content_type='', |
REQUEST=None): |
REQUEST=None): |
""" |
""" |
Add a new ECHO_partner object. |
Add a new ECHO_partner object. |
Line 2376 def manage_addECHO_partner(self, id, fil
|
Line 2376 def manage_addECHO_partner(self, id, fil
|
self=self.this() |
self=self.this() |
|
|
# First, we create the image without data: |
# First, we create the image without data: |
self._setObject(id, ECHO_partner(id,title,url,'',person, email, country, content_type, precondition)) |
self._setObject(id, ECHO_partner(id,title,url,'',copyrightType, person, email, country, content_type, precondition)) |
|
|
# Now we "upload" the data. By doing this in two steps, we |
# Now we "upload" the data. By doing this in two steps, we |
# can use a database trick to make the upload more efficient. |
# can use a database trick to make the upload more efficient. |