Author: jmorliaguet
Date: Tue Oct  4 18:25:45 2005
New Revision: 27927

Modified:
   
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/authoring_macros.pt
   
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/content_authoring.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_control.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_menu.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_panel.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/effect_editor.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/layout_editor.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/page_authoring.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/portlet_editor.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/style_editor.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/view_editor.pt
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/widget_editor.pt
Log:

- coding style



Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/authoring_macros.pt
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/authoring_macros.pt  
    (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/authoring_macros.pt  
    Tue Oct  4 18:25:45 2005
@@ -1,13 +1,13 @@
 <metal:block define-macro="navigation_pad" i18n:domain="cpsskins">
   <div class="actionPad"
-     tal:define="actions 
current_theme/@@view_get_menu/cpsskins_authoring_actions"
-     tal:condition="actions">
+       tal:define="actions 
current_theme/@@view_get_menu/cpsskins_authoring_actions"
+       tal:condition="actions">
      <a href="#"
-       tal:repeat="info actions"
-       tal:attributes="href info/action;
-                       class info/selected"
-       tal:content="info/title"
-       i18n:translate="" />
+        tal:repeat="info actions"
+        tal:attributes="href info/action;
+                        class info/selected"
+        tal:content="info/title"
+        i18n:translate="" />
   </div>
 </metal:block>
 
@@ -24,17 +24,17 @@
 
 <metal:block define-macro="add_content_panel" i18n:domain="cpsskins">
   <table class="toolbox" cellpadding="2" cellspacing="1"
-  tal:define="portlets current_theme/@@view_get_menu/cpsskins_add_portlet"
-  tal:condition="portlets">
+         tal:define="portlets 
current_theme/@@view_get_menu/cpsskins_add_portlet"
+         tal:condition="portlets">
     <tr>
       <tal:block repeat="portlet portlets">
         <td class="factory"
-        tal:define="title portlet/title"
-        tal:attributes="type_name portlet/action">
+            tal:define="title portlet/title"
+            tal:attributes="type_name portlet/action">
           <img width="16" height="16"
-          i18n:attributes="title"
-          tal:attributes="title title;
-          src string:/++skin++cpsskins/++resource++${portlet/icon}" /></td>
+               i18n:attributes="title"
+               tal:attributes="title title;
+               src string:/++skin++cpsskins/++resource++${portlet/icon}" 
/></td>
       </tal:block>
     </tr>
   </table>
@@ -42,36 +42,36 @@
 
 <metal:block define-macro="canvas_modes" i18n:domain="cpsskins">
   <div class="actionPad"
-     tal:define="actions 
current_theme/@@view_get_menu/cpsskins_page_authoring_modes"
-     tal:condition="actions">
+       tal:define="actions 
current_theme/@@view_get_menu/cpsskins_page_authoring_modes"
+       tal:condition="actions">
      <a href="#"
-       tal:repeat="info actions"
-       tal:attributes="href info/action;
-                       class info/selected"
-       tal:content="info/title"
-       i18n:translate="" />
+        tal:repeat="info actions"
+        tal:attributes="href info/action;
+                        class info/selected"
+        tal:content="info/title"
+        i18n:translate="" />
   </div>
 </metal:block>
 
 <metal:block define-macro="perspective_selector" i18n:domain="cpsskins">
   <form class="perspective" title="Perspective selector" 
i18n:attributes="title"
-    action="@@setPerspective" method="post"
-    tal:define="perspectives current_theme/listPerspectives;
-                current context/@@getPerspective">
+        action="@@setPerspective" method="post"
+        tal:define="perspectives current_theme/listPerspectives;
+                    current context/@@getPerspective">
     <select onchange="submit()" name="perspective">
       <option value="" i18n:translate="">default</option>
       <option tal:repeat="perspective perspectives"
-        tal:content="perspective"
-        tal:attributes="value perspective;
-                        selected python:perspective == current
-                                        and 'selected' or nothing" />
+              tal:content="perspective"
+              tal:attributes="value perspective;
+                              selected python:perspective == current
+                                       and 'selected' or nothing" />
     </select>
   </form>
 </metal:block>
 
 <metal:block define-macro="contextual_menu" i18n:domain="cpsskins">
   <div id="choice-context-menu" class="context-menu"
-   tal:define="perspective context/@@getPerspective">
+       tal:define="perspective context/@@getPerspective">
     <a class="edit" href="#" i18n:translate=""
        visible="editable"
        action="edit">
@@ -99,7 +99,7 @@
     <a class="format context-menu-item">
       <tal:block i18n:translate="">menu-format</tal:block>
       <div class="context-submenu"
-       action="format" expand="1" choice="formats"></div>
+           action="format" expand="1" choice="formats"></div>
     </a>
 
     <div class="separator"></div>
@@ -115,24 +115,24 @@
 
 <!-- Theme tabs are used to switch between themes -->
 <metal:block define-macro="themetabs"
-             tal:define="themes tmutil/getThemes">
+  tal:define="themes tmutil/getThemes">
   <table class="themeTabs" cellpadding="0" cellspacing="0"
-   border="0" summary="">
+         border="0" summary="">
     <tr>
       <tal:block repeat="theme themes">
         <tal:block define="selected python: theme == current_theme">
           <td tal:attributes="class python: selected and 'ltabselected' or 
'ltab'">
             <img src="" alt="" width="5" height="5"
-            tal:attributes="src string:${context/++resource++ltab.png}" />
+                 tal:attributes="src string:${context/++resource++ltab.png}" />
           </td>
           <td tal:attributes="class python: selected and 'tabselected' or 
'tab'">
             <a href=""
-            tal:content="theme/title"
-            tal:attributes="href 
string:${theme/@@absolute_url}/@@${view/__name__}" />
+               tal:content="theme/title"
+               tal:attributes="href 
string:${theme/@@absolute_url}/@@${view/__name__}" />
           </td>
           <td tal:attributes="class python: selected and 'rtabselected' or 
'rtab'">
             <img src="" alt="" width="5" height="5"
-            tal:attributes="src string:${context/++resource++rtab.png}" />
+                 tal:attributes="src string:${context/++resource++rtab.png}" />
           </td>
           <td class="separator"></td>
         </tal:block>
@@ -143,14 +143,14 @@
 
 <!-- Page tabs are used to switch between pages -->
 <metal:block define-macro="pagetabs"
-             tal:define="pages current_theme/getPages">
+  tal:define="pages current_theme/getPages">
   <ul class="pageTabs">
     <tal:block repeat="page pages">
       <li tal:define="selected python: page == effective_page"
           tal:attributes="class python: selected and 'selected' or None">
         <a href=""
-        tal:content="page/title"
-        tal:attributes="href string:${page/@@absolute_url}/@@${view/__name__}" 
/></li>
+           tal:content="page/title"
+           tal:attributes="href 
string:${page/@@absolute_url}/@@${view/__name__}" /></li>
     </tal:block>
   </ul>
 </metal:block>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/content_authoring.pt
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/content_authoring.pt 
    (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/content_authoring.pt 
    Tue Oct  4 18:25:45 2005
@@ -1,25 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"
- tal:define="tmutil context/@@getThemeManager;
-             current_theme python:tmutil.getThemeInContext(context);
-             effective_page python:tmutil.getEffectivePage(context, request)">
+      tal:define="tmutil context/@@getThemeManager;
+                  current_theme python:tmutil.getThemeInContext(context);
+                  effective_page python:tmutil.getEffectivePage(context, 
request)">
   <head>
     <link rel="Stylesheet" type="text/css"
-     href="/++skin++cpsskins/@@/++resource++content_authoring.css" />
+          href="/++skin++cpsskins/@@/++resource++content_authoring.css" />
     <link rel="Stylesheet" type="text/css"
-     href="/++skin++cpsskins/@@/++resource++authoring.css" />
+          href="/++skin++cpsskins/@@/++resource++authoring.css" />
     <link rel="Stylesheet" type="text/css"
-     href="/++skin++cpsskins/@@/++resource++widgets.css" />
-    <style type="text/css" media="all"
-     tal:content="string:@import url(./renderCSS);" />
+          href="/++skin++cpsskins/@@/++resource++widgets.css" />
+    <link rel="Stylesheet" type="text/css" href="./renderCSS" />
 
     <script type="text/javascript" src="/@@/jsolait/init.js"></script>
     <script type="text/javascript"
-     src="/++skin++cpsskins/@@/++resource++utils.js"></script>
+            src="/++skin++cpsskins/@@/++resource++utils.js"></script>
     <script type="text/javascript"
-     src="/++skin++cpsskins/@@/++resource++pdlib.js"></script>
+            src="/++skin++cpsskins/@@/++resource++pdlib.js"></script>
     <script type="text/javascript"
-     src="/++skin++cpsskins/@@/++resource++authoring.js"></script>
+            src="/++skin++cpsskins/@@/++resource++authoring.js"></script>
 
   </head>
   <body>
@@ -34,8 +33,8 @@
       <metal:block use-macro="context/@@authoring_macros/themetabs" />
       <metal:block use-macro="context/@@authoring_macros/pagetabs" />
       <tal:block content="structure python: view.draw(
-          location=context,
-          engine='content-authoring')" />
+                                    location=context,
+                                    engine='content-authoring')" />
     </div>
 
     <metal:block use-macro="context/@@authoring_macros/authoring_footer" />

Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit.pt  
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit.pt  Tue Oct 
 4 18:25:45 2005
@@ -10,11 +10,11 @@
 
       <div class="main">
         <form enctype="multipart/form-data" method="post"
-         action="." tal:attributes="action request/URL">
+              action="." tal:attributes="action request/URL">
           <tal:block metal:use-macro="context/@@form_macros/widget_rows" />
           <p>
             <button type="submit" class="submitButton" name="UPDATE_SUBMIT"
-            i18n:translate="save-button">Save</button>
+                    i18n:translate="save-button">Save</button>
           </p>
         </form>
       </div>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_control.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_control.pt  
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_control.pt  
Tue Oct  4 18:25:45 2005
@@ -2,13 +2,13 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
     <style type="text/css" media="all"
-    tal:content="string:@import 
url(${context/++resource++editing.css});"></style>
+           tal:content="string:@import 
url(${context/++resource++editing.css});"></style>
   </head>
   <body i18n:domain="cpsskins">
     <ul class="buttons right">
       <li>
         <a class="item exit"
-         
href="javascript:top.window.opener.location.reload();;top.window.close()">close</a>
+           
href="javascript:top.window.opener.location.reload();;top.window.close()">close</a>
       </li>
     </ul>
   </body>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_menu.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_menu.pt     
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_menu.pt     
Tue Oct  4 18:25:45 2005
@@ -1,21 +1,21 @@
 <html metal:use-macro="context/@@popup_macros/page">
   <body metal:fill-slot="body"
-   class="panel" i18n:domain="cpsskins"
-   tal:define="tmutil context/@@getThemeManager;
-               perspective context/@@getPerspective;
-               format_name request/form/format|string:;
-               location request/form/location|nothing;
-               current_theme python:tmutil.getThemeInContext(context);
-               displayable context/displayable:this;
-               actual_display python: displayable.getDisplay(perspective);
-               display python: displayable.getEffectiveDisplay(perspective);
-               formattable display/formattable:this;
-               edited formattable/?format_name|context;
-               edit_url string:${edited/@@absolute_url}/@@edit.html;
-               main_url request/form/main_url|edit_url"
-   tal:attributes="onload python: main_url and
-                         'parent.main.location.href = \'%s\'' % main_url
-                          or 'parent.main.location.reload()'">
+    class="panel" i18n:domain="cpsskins"
+    tal:define="tmutil context/@@getThemeManager;
+                perspective context/@@getPerspective;
+                format_name request/form/format|string:;
+                location request/form/location|nothing;
+                current_theme python:tmutil.getThemeInContext(context);
+                displayable context/displayable:this;
+                actual_display python: displayable.getDisplay(perspective);
+                display python: displayable.getEffectiveDisplay(perspective);
+                formattable display/formattable:this;
+                edited formattable/?format_name|context;
+                edit_url string:${edited/@@absolute_url}/@@edit.html;
+                main_url request/form/main_url|edit_url"
+    tal:attributes="onload python: main_url and
+                   'parent.main.location.href = \'%s\'' % main_url
+                    or 'parent.main.location.reload()'">
 
     <metal:block use-macro="context/@@authoring_macros/perspective_selector" />
 
@@ -49,7 +49,7 @@
     <div class="views">
       <a href="@@edit-menu.html?main_url=@@view-editor.html"
          title="View editor">
-        Manage views
+         Manage views
       </a>
     </div>
 

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_panel.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_panel.pt    
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_panel.pt    
Tue Oct  4 18:25:45 2005
@@ -1,17 +1,17 @@
 <html metal:use-macro="context/@@popup_macros/frames">
   <metal:block metal:fill-slot="body">
     <frameset rows="70px,*,50px" frameborder="0"
-     tal:define="tmutil context/@@getThemeManager;
-                 id request/form/id;
-                 format request/form/format|string:;
-                 element python: tmutil.getElementById(id);
-                 element_url element/@@absolute_url">
+      tal:define="tmutil context/@@getThemeManager;
+                  id request/form/id;
+                  format request/form/format|string:;
+                  element python: tmutil.getElementById(id);
+                  element_url element/@@absolute_url">
       <frame name="menu" scrolling="no"
-       tal:attributes="src 
string:${element_url}/@@edit-menu.html?format=$format" />
+             tal:attributes="src 
string:${element_url}/@@edit-menu.html?format=$format" />
       <frame name="main"
-       tal:attributes="src string:${element_url}/@@edit.html" />
+             tal:attributes="src string:${element_url}/@@edit.html" />
       <frame name="control" scrolling="no"
-       tal:attributes="src string:${element_url}/@@edit-control.html" />
+             tal:attributes="src string:${element_url}/@@edit-control.html" />
     </frameset>
   </metal:block>
 </html>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/effect_editor.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/effect_editor.pt 
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/effect_editor.pt 
Tue Oct  4 18:25:45 2005
@@ -12,7 +12,7 @@
           <div metal:use-macro="context/@@form_macros/widget_rows" />
           <p>
             <button type="submit" class="submitButton" name="UPDATE_SUBMIT"
-            i18n:translate="save-button">Save</button>
+                    i18n:translate="save-button">Save</button>
           </p>
         </form>
       </div>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/layout_editor.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/layout_editor.pt 
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/layout_editor.pt 
Tue Oct  4 18:25:45 2005
@@ -12,7 +12,7 @@
           <div metal:use-macro="context/@@form_macros/widget_rows" />
           <p>
             <button type="submit" class="submitButton" name="UPDATE_SUBMIT"
-            i18n:translate="save-button">Save</button>
+                    i18n:translate="save-button">Save</button>
           </p>
         </form>
       </div>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/page_authoring.pt
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/page_authoring.pt    
    (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/page_authoring.pt    
    Tue Oct  4 18:25:45 2005
@@ -1,25 +1,26 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"
- tal:define="canvas_mode view/getCanvasMode;
-             tmutil context/@@getThemeManager;
-             current_theme python:tmutil.getThemeInContext(context);
-             effective_page python:tmutil.getEffectivePage(context, request)">
+  tal:define="canvas_mode view/getCanvasMode;
+              tmutil context/@@getThemeManager;
+              current_theme python:tmutil.getThemeInContext(context);
+              effective_page python:tmutil.getEffectivePage(context, request)">
   <head>
     <link rel="Stylesheet" type="text/css"
-     href="/++skin++cpsskins/@@/++resource++page_authoring.css" />
+          href="/++skin++cpsskins/@@/++resource++page_authoring.css" />
     <link rel="Stylesheet" type="text/css"
-     href="/++skin++cpsskins/@@/++resource++authoring.css" />
+          href="/++skin++cpsskins/@@/++resource++authoring.css" />
     <link rel="Stylesheet" type="text/css"
-     href="/++skin++cpsskins/@@/++resource++widgets.css" />
-    <style type="text/css" media="all"
-     tal:content="string:@import url(./renderCSS);" />
-    <script type="text/javascript" src="/@@/jsolait/init.js"></script>
+          href="/++skin++cpsskins/@@/++resource++widgets.css" />
+    <link rel="Stylesheet" type="text/css" href="./renderCSS" />
+
+    <script type="text/javascript"
+            src="/@@/jsolait/init.js"></script>
     <script type="text/javascript"
-     src="/++skin++cpsskins/@@/++resource++utils.js"></script>
+            src="/++skin++cpsskins/@@/++resource++utils.js"></script>
     <script type="text/javascript"
-     src="/++skin++cpsskins/@@/++resource++pdlib.js"></script>
+            src="/++skin++cpsskins/@@/++resource++pdlib.js"></script>
     <script type="text/javascript"
-     src="/++skin++cpsskins/@@/++resource++authoring.js"></script>
+            src="/++skin++cpsskins/@@/++resource++authoring.js"></script>
   </head>
   <body>
 
@@ -34,14 +35,12 @@
     <div id="editSpace">
       <metal:block use-macro="context/@@authoring_macros/themetabs" />
       <metal:block use-macro="context/@@authoring_macros/pagetabs" />
-
       <tal:block content="structure python: view.draw(
-          canvas_mode=canvas_mode,
-          location=context,
-          engine='page-authoring')" />
+                          canvas_mode=canvas_mode,
+                          location=context,
+                          engine='page-authoring')" />
     </div>
 
     <metal:block use-macro="context/@@authoring_macros/authoring_footer" />
-
   </body>
 </html>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/portlet_editor.pt
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/portlet_editor.pt    
    (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/portlet_editor.pt    
    Tue Oct  4 18:25:45 2005
@@ -1,23 +1,23 @@
 <html metal:use-macro="context/@@popup_macros/page">
   <head>
     <tal:style metal:fill-slot="style"
-     define="tmutil context/@@getThemeManager;
-             current_theme python:tmutil.getThemeInContext(context);">
+               define="tmutil context/@@getThemeManager;
+                       current_theme 
python:tmutil.getThemeInContext(context);">
       <link rel="Stylesheet" type="text/css"
-       href="/++skin++cpsskins/@@/++resource++widgets.css" />
+            href="/++skin++cpsskins/@@/++resource++widgets.css" />
       <style type="text/css" media="all"
-       tal:content="string:@import 
url(${current_theme/@@absolute_url}/renderCSS);" />
+             tal:content="string:@import 
url(${current_theme/@@absolute_url}/renderCSS);" />
     </tal:style>
     <tal:script metal:fill-slot="script">
       <script type="text/javascript"
-       src="/@@/jsolait/init.js"></script>
+              src="/@@/jsolait/init.js"></script>
       <script type="text/javascript"
-       src="/++skin++cpsskins/@@/++resource++portlet_editor.js"></script>
+              
src="/++skin++cpsskins/@@/++resource++portlet_editor.js"></script>
     </tal:script>
   <head>
   <body onload="javascript:showPreview()"
-   metal:fill-slot="body" i18n:domain="cpsskins"
-   tal:define="element_id context/getIdentifier">
+        metal:fill-slot="body" i18n:domain="cpsskins"
+        tal:define="element_id context/getIdentifier">
 
     <!-- Edit area -->
     <div class="editArea">

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/style_editor.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/style_editor.pt  
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/style_editor.pt  
Tue Oct  4 18:25:45 2005
@@ -2,15 +2,15 @@
   <head>
     <tal:style metal:fill-slot="style">
       <link rel="Stylesheet" type="text/css"
-       href="/++skin++cpsskins/@@/++resource++widgets.css" />
+            href="/++skin++cpsskins/@@/++resource++widgets.css" />
       <link rel="Stylesheet" type="text/css"
-       href="/++skin++cpsskins/@@/++resource++style_editor.css" />
+            href="/++skin++cpsskins/@@/++resource++style_editor.css" />
     </tal:style>
     <tal:script metal:fill-slot="script">
       <script type="text/javascript"
-       src="/@@/jsolait/init.js"></script>
+              src="/@@/jsolait/init.js"></script>
       <script type="text/javascript"
-       src="/++skin++cpsskins/@@/++resource++style_editor.js"></script>
+              src="/++skin++cpsskins/@@/++resource++style_editor.js"></script>
     </tal:script>
     <tal:head metal:fill-slot="head">
       <style type="text/css" id="style">
@@ -29,8 +29,8 @@
       <h1>Style editor</h1>
 
       <p i18n:translate=""
-        tal:condition="python: len(displays) > 1">
-        This style is being used by several elements. Create a local copy.
+         tal:condition="python: len(displays) > 1">
+         This style is being used by several elements. Create a local copy.
       </p>
 
       <!--
@@ -75,8 +75,7 @@
 
     <!-- Set up the editor -->
     <script type="text/javascript"
-     tal:content="string:setupEditor('${widget_id}')"
-    />
+            tal:content="string:setupEditor('${widget_id}')" />
 
   </body>
 </html>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/view_editor.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/view_editor.pt   
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/view_editor.pt   
Tue Oct  4 18:25:45 2005
@@ -14,7 +14,7 @@
             <th>View</th>
             <th>Display</th>
             <th style="text-align: center"
-             tal:repeat="format_name format_names">
+                tal:repeat="format_name format_names">
               <tal:block content="format_name" />
             </th>
           </tr>
@@ -26,7 +26,7 @@
                             perspective info/perspective;
                             perspective_is_current python: perspective == 
current_perspective;
                             current_formats python: current_perspective and 
-                                                    
views[str(current_perspective)]['formats'] or []"
+                                            
views[str(current_perspective)]['formats'] or []"
                 tal:attributes="class python: even and 'even' or nothing">
 
               <td tal:content="view" />
@@ -35,13 +35,13 @@
               <td>
                 <tal:block condition="perspective">
                   <a title="Add view"
-                   tal:condition="not:display"
-                   tal:attributes="href 
string:@@cloneView?perspective=$perspective">
+                     tal:condition="not:display"
+                     tal:attributes="href 
string:@@cloneView?perspective=$perspective">
                     <img src="/++skin++cpsskins/@@/add-16.png" />
                   </a>
                   <a tal:condition="display"
-                   title="Remove view" onclick="return window.confirm('Are you 
sure?')"
-                   tal:attributes="href 
string:@@removeView?perspective=$perspective">
+                     title="Remove view" onclick="return window.confirm('Are 
you sure?')"
+                     tal:attributes="href 
string:@@removeView?perspective=$perspective">
                     <img src="/++skin++cpsskins/@@/remove-16.png" />
                   </a>
                 </tal:block>
@@ -64,12 +64,12 @@
                                         (not perspective and default_effective)
                                       ) and 'effective' or nothing">
                     <a tal:condition="customizable"
-                     tal:attributes="href 
string:@@customizeFormat?name=$format_name&perspective=$perspective">
+                       tal:attributes="href 
string:@@customizeFormat?name=$format_name&perspective=$perspective">
                       <img src="/++skin++cpsskins/@@/unchecked-16.png" />
                     </a>
                     <tal:block condition="not:customizable">
                       <a tal:condition="perspective"
-                       tal:attributes="href 
string:@@uncustomizeFormat?name=$format_name&perspective=$perspective">
+                         tal:attributes="href 
string:@@uncustomizeFormat?name=$format_name&perspective=$perspective">
                         <img src="/++skin++cpsskins/@@/checked-16.png" />
                       </a>
                       <tal:block condition="not:perspective">

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/widget_editor.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/widget_editor.pt 
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/widget_editor.pt 
Tue Oct  4 18:25:45 2005
@@ -12,7 +12,7 @@
           <div metal:use-macro="context/@@form_macros/widget_rows" />
           <p>
             <button type="submit" class="submitButton" name="UPDATE_SUBMIT"
-            i18n:translate="save-button">Save</button>
+                    i18n:translate="save-button">Save</button>
           </p>
         </div>
       </form>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to