Ignore:
Timestamp:
Apr 20, 2010 6:16:43 PM (14 years ago)
Author:
thomasdesvenain
Message:

compatible with plone 3

  • fixed import errors
  • fixed portal actions are now grouped
  • fixed global values undefined in template
Location:
qPloneDropDownMenu/branches/plone4/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • qPloneDropDownMenu/branches/plone4/trunk

    • Property svn:ignore set to
      *.settings

      *.project
  • qPloneDropDownMenu/branches/plone4/trunk/skins/qPloneDropDownMenu/prefs_dropdownmenu_edit_form.cpt

    r372 r2183  
    3535 
    3636    <form name="menu_edit_form" 
    37           action="."  
    38           method="post"  
    39           tal:attributes="action string:${here/absolute_url}/${template/getId}" > 
     37          action="." 
     38          method="post" 
     39          tal:attributes="action string:${here/absolute_url}/${template/getId}" 
     40          tal:define="menu here/portal_properties/dropdownmenu_properties/menu|nothing" > 
    4041 
    4142      <div class="formControls" align="right" 
    42            tal:define="process_creation request/process_creation|nothing;"> 
     43           tal:define="process_creation request/process_creation|string:"> 
    4344          <input class="context" 
    44                  tabindex="" 
     45                 tabindex="1" 
    4546                 type="submit" 
    4647                 value="Regenerate Menu" 
    4748                 name="form.button.Regenerate" 
    48                  i18n:attributes="value" 
    49                  tal:attributes="tabindex tabindex/next" /> 
     49                 i18n:attributes="value" /> 
    5050      </div> 
    5151 
    5252      <dl class="portalMessage warning" 
    53           tal:condition="not: portal/portal_properties/dropdownmenu_properties/menu|nothing"> 
     53          tal:condition="not:menu"> 
    5454        <dt>Warning</dt> 
    5555        <dd> 
     
    6363          <label for="menu" i18n:translate="label_portaltabs">Portal tabs</label> 
    6464          <div class="formHelp" i18n:translate="help_portaltabs_edit">Here you can change your portal tabs.</div> 
    65           <textarea cols="80"  
     65          <textarea cols="80" 
    6666                    rows="20" 
    67                     tabindex="" 
     67                    tabindex="2" 
    6868                    name="menu" 
    6969                    id="menu" 
    70                     tal:content="portal/portal_properties/dropdownmenu_properties/menu|string:" 
    71                     tal:attributes="tabindex tabindex/next;">Portal Tabs</textarea> 
     70                    tal:content="menu" 
     71                    >Portal Tabs</textarea> 
    7272      </div> 
    7373 
     
    7575           tal:define="process_creation request/process_creation|nothing;"> 
    7676        <input class="context" 
    77                tabindex="" 
     77               tabindex="3" 
    7878               type="submit" 
    7979               value="Save" 
    8080               name="form.button.Save" 
    81                i18n:attributes="value" 
    82                tal:attributes="tabindex tabindex/next" /> 
     81               i18n:attributes="value" /> 
    8382      </div> 
    8483 
Note: See TracChangeset for help on using the changeset viewer.