Show
Ignore:
Timestamp:
03/06/08 13:35:03 (2 years ago)
Author:
JensDiemer
Message:
  • page_archiv:
    • add .../db/page_archiv.py for shared function related to the page archiv.
    • change the model and add a comment field
  • page_admin:
    • Use a normal newforms and not the ugly formfield_callback way.
    • in "preview" the markup editor changed ('current_markup' variable)


TODO: the page_admin needs a unitest!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/media/PyLucid/internal_page/page_admin/edit_page.html

    r1449 r1466  
    1  
    21{% if preview_content %} 
    32<fieldset id="page_preview"> 
     
    3534        </a> 
    3635        </li> 
    37         {% if not tinymce %} 
     36        {% if not use_tinymce %} 
    3837        <li> 
    3938        <button type="button" class="resize_buttons" onclick="JavaScript:resize_big(); return false" title="{% trans 'makes the textarea bigger' %}"> 
     
    4746    </ul> 
    4847    <hr class="seperator" /> 
    49     <ul> 
     48    <ul id="input_fields"> 
    5049        {% for field in edit_page_form %} 
    5150            <li title="{{ field.help_text }}" class="{{ field.html_name }}"> 
     
    5958</form> 
    6059</fieldset> 
    61 {% if tinymce %}{{ tinymce }}{% endif %}