Conjunto de mudanças 1084 no repositório publico


Ignorar:
Timestamp:
31/10/2005 10:35:40 (14 anos atrás)
Autor:
jeanferri
Mensagem:

Atualizada a versão do ArchGenXml para 1.4 RC1

Localização:
ILSAAL/trunk
Arquivos:
20 editados

Legenda:

Não Modificado
Adicionado
Removido
  • ILSAAL/trunk/Extensions/Install.py

    r923 r1084  
    44#
    55# Generated:
    6 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     6# Generator: ArchGenXML Version 1.4.0-RC1 devel
    77#            http://plone.org/products/archgenxml
    88#
     
    156156    factory_tool.manage_setPortalFactoryTypes(listOfTypeIds=factory_types)
    157157
     158    # For plone 2.1, allow the easy registering of stylesheets
     159    from Products.ILSAAL.config import HAS_PLONE21
     160    if HAS_PLONE21:
     161        try:
     162            from Products.ILSAAL.config import STYLESHEETS
     163        except:
     164            STYLESHEETS = []
     165        try:
     166            from Products.ILSAAL.config import JAVASCRIPTS
     167        except:
     168            JAVASCRIPTS = []
     169        portal_css = getToolByName(portal, 'portal_css')
     170        portal_javascripts = getToolByName(portal, 'portal_javascripts')
     171        for stylesheet in STYLESHEETS:
     172            try:
     173                portal_css.unregisterResource(stylesheet['id'])
     174            except:
     175                pass
     176            defaulttitle = '%s %s' % (PROJECTNAME, stylesheet['id'])
     177            defaults = {'id': '',
     178            'expression': None,
     179            'media': 'all',
     180            'title': defaulttitle,
     181            'enabled': True}
     182            defaults.update(stylesheet)
     183            portal_css.manage_addStylesheet(**defaults)
     184        for javascript in JAVASCRIPTS:
     185            try:
     186                portal_javascripts.unregisterResource(stylesheet['id'])
     187            except:
     188                pass
     189            defaults = {'id': '',
     190            'expression': '',
     191            'inline': False,
     192            'enabled': True,
     193            'cookable': True}
     194            defaults.update(javascript)
     195            portal_javascripts.registerScript(**defaults)
     196
    158197    # try to call a custom install method
    159198    # in 'AppInstall.py' method 'install'
  • ILSAAL/trunk/Extensions/saal_workflow.py

    r923 r1084  
    55#
    66
    7 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     7# Generator: ArchGenXML Version 1.4.0-RC1 devel
    88#            http://plone.org/products/archgenxml
    99#
  • ILSAAL/trunk/Extensions/saal_workflow_scripts.py

    r923 r1084  
    33# Copyright (c) 2005 by Interlegis
    44#
    5 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     5# Generator: ArchGenXML Version 1.4.0-RC1 devel
    66#            http://sf.net/projects/archetypes/
    77#
  • ILSAAL/trunk/GerenciamentoSAAL.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/SAAL.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/config.py

    r1050 r1084  
    1111PROJECTNAME = "ILSAAL"
    1212
     13# Check for Plone 2.1
     14try:
     15    from Products.CMFPlone.migrations import v2_1
     16except ImportError:
     17    HAS_PLONE21 = False
     18else:
     19    HAS_PLONE21 = True
    1320# Permissions
    1421DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content"
     
    3643
    3744# End of config.py
     45# Things you can do in an AppConfig.py:
     46# STYLESHEETS = [{'id': 'my_global_stylesheet.css'},
     47#                {'id': 'my_contenttype.css',
     48#                 'expression': 'python:object.getTypeInfo().getId() == "MyType"}]
     49# You can do the same with JAVASCRIPTS.
  • ILSAAL/trunk/interfaces/IGerenciamentoSAAL.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/interfaces/ISAAL.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/interfaces/ISAALBase.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/interfaces/ISAALContainer.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/interfaces/ISAALObjeto.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/interfaces/ISAALPasta.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/tests/SAALTestCase.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/tests/testGerenciamentoSAAL1.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/tests/testSAAL1.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/tests/testSAALDoc.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/tests/testSetup.py

    r923 r1084  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAAL/trunk/version.txt

    r1050 r1084  
    1 0.2 build 55
     10.2 build 61
Note: Veja TracChangeset para ajuda no uso do visualizador de conjunto de mudanças.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.