Commits

Fabio Michelini committed 338c55c

Fixed xhtml strict.

  • Participants
  • Parent commits e18625e

Comments (0)

Files changed (10)

 Requirements
 ============
 - python 2.6 or higher. Untested with python 3.x.
-- django 1.3 or higher.
+- django 1.3.x.
 - PIL (python library for image manipulation)
 - rdiff-backup (differential backup service)
 
 
 
 -  python 2.6 or higher. Untested with python 3.x.
--  django 1.3 or higher.
+-  django 1.3.x.
 -  PIL (python library for image manipulation)
 -  rdiff-backup (differential backup service)
 
 import/export, newsgroup manager, send to list-categories-queryset.
 Agenda provides this features: popup events, plugin agenda,
 calendar and list view.
-

File swingcms/cms/templates/cms/footer.html

 
 <div id='footer'>
 
-    <style type="text/css">
-        {{ plugin.html.css|safe }}
-    </style>
-
     {{ plugin.html.html|safe }}
 
 </div>

File swingcms/cms/templates/cms/head.html

 
     <!-- meta tags and title -->
 
-    <meta http-equiv="content-type" content="text/html; charset=utf-8">
-    <meta http-equiv="content-language" content="{{ request.LANGUAGE_CODE }}">
+    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+    <meta http-equiv="content-language" content="{{ request.LANGUAGE_CODE }}" />
 
     <title>{% if plugin.title %}{{ plugin.title }} | {% endif %}{{ plugin.common_page_title }}</title>
 
 
     <!-- favicon -->
 
-    <link rel="shortcut icon" href="{{ STATIC_URL }}{{ plugin.favicon_path }}">
+    <link rel="shortcut icon" href="{{ STATIC_URL }}{{ plugin.favicon_path }}" />
 
     <!-- style.css file and optional js files -->
 
     {% for path in plugin.common_css_files %}
-        <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}{{ path }}">
+        <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}{{ path }}" />
     {% endfor %}
 
     {% for path in plugin.common_js_files %}
     {% endfor %}
 
     {% for path in specific_css_files %}
-        <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}{{ path }}">
+        <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}{{ path }}" />
     {% endfor %}
 
     {% for path in specific_js_files %}

File swingcms/cms/templates/cms/layout_clean.html

         <div id='wrapper_logo_cascade_main_menu' class="wrapper">
 
             <div id="logo">
-                <a href="/"><h1>Swing CMS</h1></a>
+                <h1><a href="/">Swing CMS</a></h1>
             </div>
 
             {% with layout.dict.cascade_main_menu.plugin_dict as plugin %}

File swingcms/cms/templates/cms/layout_extended.html

         <div id='wrapper_logo_cascade_main_menu' class="wrapper">
 
             <div id="logo">
-                <a href="/"><h1>Swing CMS</h1></a>
+                <h1><a href="/">Swing CMS</a></h1>
             </div>
 
             {% with layout.dict.cascade_main_menu.plugin_dict as plugin %}

File swingcms/cms/templates/cms/layout_standard.html

         <div id='wrapper_logo_cascade_main_menu' class="wrapper">
 
             <div id="logo">
-                <a href="/"><h1>Swing CMS</h1></a>
+                <h1><a href="/">Swing CMS</a></h1>
             </div>
 
             {% with layout.dict.cascade_main_menu.plugin_dict as plugin %}

File swingcms/cms/templates/cms/search.html

 
 <div id='search'>
 
-    <form name="search" action="/search?next={{ request.path }}" enctype="multipart/form-data" method="post">
+    <form action="/search?next={{ request.path }}" enctype='multipart/form-data' method='post'>
 
-        {% csrf_token %}
+        <fieldset>
 
-	    <input maxlength="120" name="query_raw" size="30" type="text" />
+            {% csrf_token %}
 
-        <a href='javascript:{document.search.submit()}'>
-            <img src='{{ STATIC_URL }}cms/icons/search.png' class='icon' alt='search' />
-        </a>
+            <input maxlength='120' name='query_raw' size='30' type='text' />
+            <input type='submit' class='submit' name='submit' value='Search' />
+
+        </fieldset>
 
     </form>
 

File swingcms/db.db3

Binary file modified.

File swingcms/mailserver/templates/mailserver/subscribe_as_plugin.html

 
     <table>
         <tr>
-            <td class="col_1">
+            <td class='col_1'>
 
-                <h3>{% trans "Subscribe our newsletter." %}</h3><br />
+                <h3>{% trans 'Subscribe our newsletter.' %}</h3><br />
 
                 {% if plugin.link_to_privacy_policy %}
 
                         <div id='acceptance'>
 
-                            {% trans "read first our" %} <b><a href='{{ plugin.link_to_privacy_policy }}'>{% trans 'privacy policy' %}</a></b>
+                            {% trans 'read first our' %} <b><a href='{{ plugin.link_to_privacy_policy }}'>{% trans 'privacy policy' %}</a></b>
 
                         </div>
 
                     {% endif %}
             </td>
-            <td class="col_2">
+            <td class='col_2'>
 
-                <form enctype="multipart/form-data" method="post" action="/subscribe" onsubmit="js_single_submit();">
+                <form enctype='multipart/form-data' method='post' action="/subscribe" onsubmit='js_single_submit();'>
 
                     {% csrf_token %}
 
-                    <span class="large">
+                    <span class='large'>
                         {{ plugin.form.email.as_widget }}
                     </span>
                     <br />
                     <br />
 
                     {% if plugin.link_to_privacy_policy %}
-                            {{ plugin.form.accept.as_widget }} {{ plugin.form.accept.label }}
+                            {{ plugin.form.accept.as_widget }} <span>{{ plugin.form.accept.label }}</span>
                     {% endif %}
 
-                    <input name="submit" type="submit" value="Submit">
+                    <input name='submit' class='submit' type='submit' value='Submit' />
 
                 </form>