- Timestamp:
- 02/27/08 16:21:32 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/plugins_internal/page_style/page_style.py
r1425 r1449 42 42 from PyLucid.system.BasePlugin import PyLucidBasePlugin 43 43 from PyLucid.tools.content_processors import render_string_template 44 from PyLucid.db.internal_pages import get_internal_page45 44 46 45 class page_style(PyLucidBasePlugin): … … 103 102 return response 104 103 105 104 from PyLucid.system.internal_page import get_internal_page, InternalPageNotFound 106 105 def replace_add_data(context, content): 107 106 """ … … 110 109 Note: The tag added in PyLucid.plugins_internal.page_style 111 110 """ 112 113 internal_page = get_internal_page("page_style", "add_data") 114 internal_page_content = internal_page.content_html 111 internal_page_content = get_internal_page(context, "page_style", "add_data") 115 112 116 113 context = {
