[Checkins] SVN: zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/ - added .metadata files for author.cpt and personalize_form.cpt

Denis Mishunov denis.mishunoff at gmail.com
Wed Feb 6 05:34:33 EST 2008


Log message for revision 83585:
  - added .metadata files for author.cpt and personalize_form.cpt
  - customized personalize_form.cpt to play nice in tableless environment

Changed:
  A   zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/author.cpt.metadata
  U   zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/personalize_form.cpt
  A   zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/personalize_form.cpt.metadata

-=-
Added: zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/author.cpt.metadata
===================================================================
--- zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/author.cpt.metadata	                        (rev 0)
+++ zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/author.cpt.metadata	2008-02-06 10:34:32 UTC (rev 83585)
@@ -0,0 +1,12 @@
+[default]
+title=Author information
+
+[security]
+View=0:Anonymous
+
+[validators]
+validators=validate_feedback
+
+[actions]
+action.success=traverse_to:string:send_feedback
+action.failure=traverse_to:string:author

Modified: zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/personalize_form.cpt
===================================================================
--- zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/personalize_form.cpt	2008-02-06 10:33:34 UTC (rev 83584)
+++ zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/personalize_form.cpt	2008-02-06 10:34:32 UTC (rev 83585)
@@ -14,11 +14,24 @@
 </head>
 
 <body>
+    
+<metal:block fill-slot="columns_wrapper">
+<div id="portal-columns" class="visualColumnHideOneTwo">          
 
-<metal:main fill-slot="content"
-            tal:define="errors options/state/getErrors;">
-    <tal:main-macro metal:define-macro="main">
+<!-- <div id="content-column-background">     
+    <div id="reset-column">
+    <div id="right-column-background"> -->
 
+    <div class="content-column clearfix">
+
+    <tal:comment replace="nothing"> Start of main content block </tal:comment>
+    <div id="portal-column-content"
+        tal:define="tabindex python:Iterator(mainSlot=False)">    
+
+
+    <tal:main-macro metal:define-macro="main"
+                    tal:define="errors options/state/getErrors;">
+
      <div class="documentEditable">
 
             <h5 class="hiddenStructure">Views</h5>
@@ -424,9 +437,20 @@
                 </form>
             </div>
     </tal:main-macro>
+    
+    </div>
+    <tal:comment replace="nothing"> End of main content block </tal:comment>
 
-</metal:main>
+    </div>
+    
+    <!-- </div>
+    </div>
+</div> -->
 
+</div>
+</metal:block>    
+
+
 </body>
 </html>
 

Added: zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/personalize_form.cpt.metadata
===================================================================
--- zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/personalize_form.cpt.metadata	                        (rev 0)
+++ zopeorg.theme/trunk/zopeorg/theme/skins/zopeorg_theme_tableless/personalize_form.cpt.metadata	2008-02-06 10:34:32 UTC (rev 83585)
@@ -0,0 +1,15 @@
+[default]
+title=Personal Preferences
+
+[security]
+View=0:Authenticated
+
+[validators]
+validators=validate_pas_emailaddr,validate_personalize
+validators..Cancel=
+
+[actions]
+action.success=traverse_to:string:personalize
+action.success..PortraitDelete=traverse_to:string:portrait_delete
+action.success..Cancel=redirect_to:string:plone_memberprefs_panel
+action.failure=traverse_to:string:personalize_form



More information about the Checkins mailing list