[gen] Added a i18n label used for the title of web pages and added a default favicon and the possibility to override it.
This commit is contained in:
parent
d799398de1
commit
6367924b05
7 changed files with 10 additions and 4 deletions
|
@ -124,7 +124,11 @@ class ZopeInstaller:
|
|||
zopeName = name
|
||||
if hasattr(zopeFolder.aq_base, zopeName): continue
|
||||
f = file(j(root, name))
|
||||
if ext in gen.File.imageExts:
|
||||
if zopeName == 'favicon.ico':
|
||||
if not hasattr(self.app, zopeName):
|
||||
# Copy it at the root. Else, IE won't notice it.
|
||||
manage_addImage(self.app, zopeName, f)
|
||||
elif ext in gen.File.imageExts:
|
||||
manage_addImage(zopeFolder, zopeName, f)
|
||||
elif ext == '.pt':
|
||||
manage_addPageTemplate(zopeFolder,zopeName,'',f.read())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue