Show
Ignore:
Timestamp:
06/29/07 16:05:08 (3 years ago)
Author:
JensDiemer
Message:

* new additional Stylesheet/JavaScript handling. A middleware puts the collected data into the page.
* middleware "pagestats" renamed to "additional_content".
* some code cleanup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.8(django)/PyLucid/plugins_internal/page_style/page_style_cfg.py

    r1103 r1127  
    1818        "must_login"    : False, 
    1919        "must_admin"    : False, 
     20        "internal_page_info" : { 
     21            # Note: This internal page is not used in page_style.lucidTag() 
     22            # The data used in PyLucid.middlewares.additional_content! 
     23            "name"              : "add_data", 
     24            "description"       : "Template for adding CSS/JS from plugins.", 
     25            "markup"            : None 
     26        }, 
    2027    }, 
    2128    "print_current_style" : { 
    2229        "must_login"    : False, 
    2330        "must_admin"    : False, 
     31        "internal_page_info" : { 
     32            "name"              : "write_styles", 
     33            "description"       : "Insert the stylesheets directly.", 
     34            "markup"            : None 
     35        }, 
    2436    }, 
    2537    "sendStyle" : {