Changeset 1546


Ignore:
Timestamp:
21.06.2011 22:21:27 (11 months ago)
Author:
zmsdev
Message:

added support for jquery-galleria

Location:
ZMS/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • ZMS/trunk/manage_addzmsform.dtml

    r1321 r1546  
    254254</tr> 
    255255<tr valign="middle"> 
     256 <td><div class="form-text"><em>Add Galleria</em></div></td> 
     257 <td><input type="checkbox" name="specobj_galleria:int" value="1" checked="checked"/></td> 
     258</tr> 
     259<tr valign="middle"> 
    256260 <td><div class="form-text"><em>Add Example Database</em></div></td> 
    257261 <td><input type="checkbox" name="specobj_exampledb:int" value="1"/></td> 
  • ZMS/trunk/zms.py

    r1489 r1546  
    587587     
    588588    #-- Example Database 
     589    if REQUEST.get('specobj_galleria',0) == 1: 
     590      # Init configuration. 
     591      _confmanager.initConf(obj, 'com.zms.jquery.galleria', REQUEST) 
     592      # Init content. 
     593      initContent(obj,'com.zms.jquery.galleria.content.zip',REQUEST) 
     594     
     595    #-- Example Database 
    589596    if REQUEST.get('specobj_exampledb',0) == 1: 
    590597      # Init configuration. 
Note: See TracChangeset for help on using the changeset viewer.