Show
Ignore:
Timestamp:
05/23/08 16:33:49 (6 months ago)
Author:
JensDiemer
Message:

new page_msg system. Use a middleware to make page_msg lazy: ticket:193

  • update settings_example.py (insert new middleware)
  • change """contextpage_msg?""" to """request.page_msg"""
  • add a simple page_msg unittest (Need more tests!)
  • update _install data (Templates and index page)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/PyLucid/db_dump_datadir/PyLucid_template.py

    r1333 r1585  
    44default = {} 
    55records = [ 
    6 [1, u'basic', '2007-06-22 09:48:29', '2007-12-07 08:50:16', None, None, u'default template', u'<?xml version="1.0" encoding="UTF-8"?>\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<meta name="robots"                    content="{{ robots }}" />\r\n<meta name="keywords"                  content="{{ PAGE.keywords }}" />\r\n<meta name="description"               content="{{ PAGE.description }}" />\r\n<meta name="Author"                    content="PyLucidCMS" />\r\n<meta name="DC.Date"                   content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created"           content="{{ PAGE.datetime }}" />\r\n<meta http-equiv="Content-Type"        content="text/html; charset=utf-8" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar"        content="no" />\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="headline">\r\n  <a href="/">PyLucid CMS</a>\r\n</div>\r\n\r\n<div id="the_menu">\r\n  {% lucidTag main_menu %}\r\n  <div id="searching">\r\n    {% lucidTag search %}\r\n  </div>\r\n  <a href="http://sourceforge.net/projects/pylucid/" id="logo" alt="goto our SourceForge project page &gt;&gt;" title="goto our SourceForge project page &gt;&gt;">\r\n    <img src="http://sourceforge.net/sflogo.php?group_id=146328&amp;type=1" width="88" height="31" border="0" alt="SourceForge Logo" />\r\n  </a>\r\n</div>\r\n\r\n<div id="main_content">\r\n  <h2 id="page_title">{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    {% if messages %}\r\n    <fieldset id="page_msg"><legend>page message</legend>\r\n    {% for message in messages %}\r\n      {{ message }}<br />\r\n    {% endfor %}\r\n    </fieldset>\r\n  {% endif %}\r\n  {% lucidTag admin_menu %}\r\n  <p>{% lucidTag back_links %}</p>\r\n  {{ PAGE.content }}\r\n  <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n</div>\r\n\r\n<p id="footer">\r\n   powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n</p>\r\n\r\n</div>\r\n</body>\r\n</html>'] 
    7 [2, u'old_basic', '2007-06-22 09:48:29', '2007-12-07 08:50:38', None, None, u'the old default ghastly design... ;)', u'<?xml version="1.0" encoding="UTF-8"?>\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<meta name="robots"                    content="{{ robots }}" />\r\n<meta name="keywords"                  content="{{ PAGE.keywords }}" />\r\n<meta name="description"               content="{{ PAGE.description }}" />\r\n<meta name="Author"                    content="PyLucidCMS" />\r\n<meta name="DC.Date"                   content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created"           content="{{ PAGE.datetime }}" />\r\n<meta http-equiv="Content-Type"        content="text/html; charset=utf-8" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar"        content="no" />\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="headline"><h2>PyLucid CMS</h2></div>\r\n<div id="sidebar">\r\n{% lucidTag main_menu %}\r\n</div>\r\n\r\n<div id="main-content">\r\n  <h2 id="page_title">{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    {% if messages %}\r\n    <fieldset id="page_msg"><legend>page message</legend>\r\n    {% for message in messages %}\r\n      {{ message }}<br />\r\n    {% endfor %}\r\n    </fieldset>\r\n  {% endif %}\r\n  {% lucidTag admin_menu %}\r\n  <p>{% lucidTag back_links %}</p>\r\n  {{ PAGE.content }}\r\n  <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n  <p id="nav_footer">\r\n    powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n  </p>\r\n</div>\r\n</body>\r\n</html>'] 
    8 [3, u'small_dark', '2007-06-22 09:48:29', '2007-12-07 08:50:50', None, None, u"The 'small dark' design.", u'<?xml version="1.0" encoding="UTF-8"?>\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<meta name="robots"                    content="{{ robots }}" />\r\n<meta name="keywords"                  content="{{ PAGE.keywords }}" />\r\n<meta name="description"               content="{{ PAGE.description }}" />\r\n<meta name="Author"                    content="PyLucidCMS" />\r\n<meta name="DC.Date"                   content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created"           content="{{ PAGE.datetime }}" />\r\n<meta http-equiv="Content-Type"        content="text/html; charset=utf-8" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar"        content="no" />\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="content">\r\n  <p id="head">PyLucid CMS</p>\r\n  <hr class="big" />\r\n  {% lucidTag main_menu %}\r\n  <hr class="small" />\r\n\r\n  <h2 id="page_title">{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    {% if messages %}\r\n    <fieldset id="page_msg"><legend>page message</legend>\r\n    {% for message in messages %}\r\n      {{ message }}<br />\r\n    {% endfor %}\r\n    </fieldset>\r\n  {% endif %}\r\n  {% lucidTag admin_menu %}\r\n  <p>{% lucidTag back_links %}</p>\r\n  {{ PAGE.content }}\r\n  \r\n  <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n\r\n  <hr class="small" />\r\n  <hr class="big" />\r\n  <p id="nav_footer">\r\n    powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n  </p>\r\n</div>\r\n</body>\r\n</html>'] 
    9 [4, u'elementary', '2007-06-22 09:48:29', '2007-12-07 08:50:57', None, None, u"The 'elementary' design. Ideal as a basis for your own design.", u'<?xml version="1.0" encoding="UTF-8"?>\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<meta name="robots"                    content="{{ robots }}" />\r\n<meta name="keywords"                  content="{{ PAGE.keywords }}" />\r\n<meta name="description"               content="{{ PAGE.description }}" />\r\n<meta name="Author"                    content="PyLucidCMS" />\r\n<meta name="DC.Date"                   content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created"           content="{{ PAGE.datetime }}" />\r\n<meta http-equiv="Content-Type"        content="text/html; charset=utf-8" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar"        content="no" />\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="headline"><h2>PyLucid CMS</h2></div>\r\n\r\n{% lucidTag main_menu %}\r\n\r\n<div id="main_content">\r\n  <h2 id="page_title">{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    {% if messages %}\r\n    <fieldset id="page_msg"><legend>page message</legend>\r\n    {% for message in messages %}\r\n      {{ message }}<br />\r\n    {% endfor %}\r\n    </fieldset>\r\n  {% endif %}\r\n  {% lucidTag admin_menu %}\r\n  <p>{% lucidTag back_links %}</p>\r\n  {{ PAGE.content }}\r\n  <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n</div>\r\n\r\n<p id="footer">\r\n   powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n</p>\r\n\r\n</div>\r\n</body>\r\n</html>'] 
    10 [5, u'small_white', '2007-06-22 09:48:29', '2007-12-07 08:51:05', None, None, u"The 'small white' design.", u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n<link rel="shortcut icon" type="image/x-icon" href="/favicon_pylucid.ico">\r\n<meta http-equiv="content-type" content="text/html; charset=utf-8" />\r\n<meta name="robots" content="{{ robots }}" />\r\n<meta name="keywords" content="{{ PAGE.keywords }}" />\r\n<meta name="description" content="{{ PAGE.description }}" />\r\n<meta name="DC.Date" content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created" content="{{ PAGE.datetime }}" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar" content="no" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="wrap">\r\n  <div id="header">\r\n    <a href="/">\r\n      <img id="pylucid_logo" src="/_static/pylucid_logo_2_364x76.jpg" alt="PyLucid CMS" title="PyLucid CMS" />\r\n    </a>\r\n  </div>\r\n\r\n  <div id="leftside">\r\n    <h2 class="hide">Menu:</h2>\r\n    {% lucidTag main_menu %}\r\n    {% lucidTag search %}\r\n  </div>\r\n\r\n  <div id="contentwide">\r\n    <div id="admin">{% lucidTag admin_menu %}</div>\r\n    {% if messages %}\r\n      <fieldset id="page_msg"><legend>page message</legend>\r\n      {% for message in messages %}\r\n        {{ message }}<br />\r\n      {% endfor %}\r\n      </fieldset>\r\n    {% endif %}\r\n    <h2>{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    <p>{% lucidTag back_links %}</p>\r\n    {{ PAGE.content }}\r\n    <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n  </div>\r\n\r\n  <div id="footer">\r\n    <p>\r\n      powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n    </p>\r\n  </div>\r\n</div>\r\n</body>\r\n</html>\r\n'] 
     6[1, u'basic', '2008-05-23 11:11:06', '2008-05-23 11:11:06', None, None, u'default template', u'<?xml version="1.0" encoding="UTF-8"?>\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<meta name="robots"                    content="{{ robots }}" />\r\n<meta name="keywords"                  content="{{ PAGE.keywords }}" />\r\n<meta name="description"               content="{{ PAGE.description }}" />\r\n<meta name="Author"                    content="PyLucidCMS" />\r\n<meta name="DC.Date"                   content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created"           content="{{ PAGE.datetime }}" />\r\n<meta http-equiv="Content-Type"        content="text/html; charset=utf-8" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar"        content="no" />\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="headline">\r\n  <a href="/">PyLucid CMS</a>\r\n</div>\r\n\r\n<div id="the_menu">\r\n  {% lucidTag main_menu %}\r\n  <div id="searching">\r\n    {% lucidTag search %}\r\n  </div>\r\n  <a href="http://sourceforge.net/projects/pylucid/" id="logo" alt="goto our SourceForge project page &gt;&gt;" title="goto our SourceForge project page &gt;&gt;">\r\n    <img src="http://sourceforge.net/sflogo.php?group_id=146328&amp;type=1" width="88" height="31" border="0" alt="SourceForge Logo" />\r\n  </a>\r\n</div>\r\n\r\n<div id="main_content">\r\n  <h2 id="page_title">{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    <!-- page_messages -->\r\n  {% lucidTag admin_menu %}\r\n  <p>{% lucidTag back_links %}</p>\r\n  {{ PAGE.content }}\r\n  <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n</div>\r\n\r\n<p id="footer">\r\n   powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n</p>\r\n\r\n</div>\r\n</body>\r\n</html>'] 
     7[2, u'old_basic', '2008-05-23 11:11:06', '2008-05-23 11:11:06', None, None, u'the old default ghastly design... ;)', u'<?xml version="1.0" encoding="UTF-8"?>\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<meta name="robots"                    content="{{ robots }}" />\r\n<meta name="keywords"                  content="{{ PAGE.keywords }}" />\r\n<meta name="description"               content="{{ PAGE.description }}" />\r\n<meta name="Author"                    content="PyLucidCMS" />\r\n<meta name="DC.Date"                   content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created"           content="{{ PAGE.datetime }}" />\r\n<meta http-equiv="Content-Type"        content="text/html; charset=utf-8" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar"        content="no" />\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="headline"><h2>PyLucid CMS</h2></div>\r\n<div id="sidebar">\r\n{% lucidTag main_menu %}\r\n</div>\r\n\r\n<div id="main-content">\r\n  <h2 id="page_title">{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    <!-- page_messages -->\r\n  {% lucidTag admin_menu %}\r\n  <p>{% lucidTag back_links %}</p>\r\n  {{ PAGE.content }}\r\n  <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n  <p id="nav_footer">\r\n    powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n  </p>\r\n</div>\r\n</body>\r\n</html>'] 
     8[3, u'small_dark', '2008-05-23 11:11:06', '2008-05-23 11:11:06', None, None, u"The 'small dark' design.", u'<?xml version="1.0" encoding="UTF-8"?>\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<meta name="robots"                    content="{{ robots }}" />\r\n<meta name="keywords"                  content="{{ PAGE.keywords }}" />\r\n<meta name="description"               content="{{ PAGE.description }}" />\r\n<meta name="Author"                    content="PyLucidCMS" />\r\n<meta name="DC.Date"                   content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created"           content="{{ PAGE.datetime }}" />\r\n<meta http-equiv="Content-Type"        content="text/html; charset=utf-8" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar"        content="no" />\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="content">\r\n  <p id="head">PyLucid CMS</p>\r\n  <hr class="big" />\r\n  {% lucidTag main_menu %}\r\n  <hr class="small" />\r\n\r\n  <h2 id="page_title">{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    <!-- page_messages -->\r\n  {% lucidTag admin_menu %}\r\n  <p>{% lucidTag back_links %}</p>\r\n  {{ PAGE.content }}\r\n  \r\n  <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n\r\n  <hr class="small" />\r\n  <hr class="big" />\r\n  <p id="nav_footer">\r\n    powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n  </p>\r\n</div>\r\n</body>\r\n</html>'] 
     9[4, u'elementary', '2008-05-23 11:11:06', '2008-05-23 11:11:06', None, None, u"The 'elementary' design. Ideal as a basis for your own design.", u'<?xml version="1.0" encoding="UTF-8"?>\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<meta name="robots"                    content="{{ robots }}" />\r\n<meta name="keywords"                  content="{{ PAGE.keywords }}" />\r\n<meta name="description"               content="{{ PAGE.description }}" />\r\n<meta name="Author"                    content="PyLucidCMS" />\r\n<meta name="DC.Date"                   content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created"           content="{{ PAGE.datetime }}" />\r\n<meta http-equiv="Content-Type"        content="text/html; charset=utf-8" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar"        content="no" />\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="headline"><h2>PyLucid CMS</h2></div>\r\n\r\n{% lucidTag main_menu %}\r\n\r\n<div id="main_content">\r\n  <h2 id="page_title">{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    <!-- page_messages -->\r\n  {% lucidTag admin_menu %}\r\n  <p>{% lucidTag back_links %}</p>\r\n  {{ PAGE.content }}\r\n  <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n</div>\r\n\r\n<p id="footer">\r\n   powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n</p>\r\n\r\n</div>\r\n</body>\r\n</html>'] 
     10[5, u'small_white', '2008-05-23 11:11:06', '2008-05-23 11:11:06', None, None, u"The 'small white' design.", u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">\r\n<head>\r\n<title>PyLucid CMS - {% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</title>\r\n<link rel="alternate" type="application/rss+xml" title="pages updates" href="{% lucidTag RSSfeedGenerator count="10" %}" />\r\n<link rel="shortcut icon" type="image/x-icon" href="/favicon_pylucid.ico">\r\n<meta http-equiv="content-type" content="text/html; charset=utf-8" />\r\n<meta name="robots" content="{{ robots }}" />\r\n<meta name="keywords" content="{{ PAGE.keywords }}" />\r\n<meta name="description" content="{{ PAGE.description }}" />\r\n<meta name="DC.Date" content="{{ PAGE.lastupdatetime }}" />\r\n<meta name="DC.Date.created" content="{{ PAGE.datetime }}" />\r\n<meta name="MSSmartTagsPreventParsing" content="TRUE" />\r\n<meta http-equiv="imagetoolbar" content="no" />\r\n{% lucidTag page_style %}\r\n</head>\r\n<body>\r\n<div id="wrap">\r\n  <div id="header">\r\n    <a href="/">\r\n      <img id="pylucid_logo" src="/_static/pylucid_logo_2_364x76.jpg" alt="PyLucid CMS" title="PyLucid CMS" />\r\n    </a>\r\n  </div>\r\n\r\n  <div id="leftside">\r\n    <h2 class="hide">Menu:</h2>\r\n    {% lucidTag main_menu %}\r\n    {% lucidTag search %}\r\n  </div>\r\n\r\n  <div id="contentwide">\r\n    <div id="admin">{% lucidTag admin_menu %}</div>\r\n    <!-- page_messages -->\r\n    <h2>{% if PAGE.title %}{{ PAGE.title|escape }}{% else %}{{ PAGE.name|escape }}{% endif %}</h2>\r\n    <p>{% lucidTag back_links %}</p>\r\n    {{ PAGE.content }}\r\n    <p id="permalink"><a href="{{ PAGE.get_permalink }}" title="permalink to this page">permalink</a></p>\r\n  </div>\r\n\r\n  <div id="footer">\r\n    <p>\r\n      powered by {{ powered_by }} | {{ login_link }} | <!-- script_duration --> | last modified: {{ PAGE.lastupdatetime }}\r\n    </p>\r\n  </div>\r\n</div>\r\n</body>\r\n</html>\r\n'] 
    1111]