Skip to content

Commit

Permalink
Replaced <br>s with \n's in manage_tabs_message values passed over re…
Browse files Browse the repository at this point in the history
…quest
  • Loading branch information
caseman committed Aug 14, 2002
1 parent ab418c1 commit 5867cf0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ZCatalog.py
Expand Up @@ -252,8 +252,8 @@ def manage_catalogReindex(self, REQUEST, RESPONSE, URL1):
RESPONSE.redirect(
URL1 +
'/manage_catalogAdvanced?manage_tabs_message=' +
urllib.quote('Catalog Updated<br>'
'Total time: %s<br>'
urllib.quote('Catalog Updated \n'
'Total time: %s\n'
'Total CPU time: %s' % (`elapse`, `c_elapse`)))


Expand Down Expand Up @@ -321,10 +321,12 @@ def manage_catalogFoundItems(self, REQUEST, RESPONSE, URL2, URL1,
RESPONSE.redirect(
URL1 +
'/manage_catalogView?manage_tabs_message=' +
urllib.quote(
'Catalog Updated<br>Total time: %s<br>Total CPU time: %s' %
(`elapse`, `c_elapse`)))

urllib.quote('Catalog Updated\n'
'Total time: %s\n'
'Total CPU time: %s'
% (`elapse`, `c_elapse`))
)


def manage_addColumn(self, name, REQUEST=None, RESPONSE=None, URL1=None):
""" add a column """
Expand Down

0 comments on commit 5867cf0

Please sign in to comment.