You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2003/06/06 17:29:48 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/content/menus info.xsp

gregor      2003/06/06 08:29:48

  Modified:    src/webapp/lenya/xslt/info root.xsl
               src/webapp/lenya/content/menus info.xsp
  Log:
  starting to beat the info area into shape.
  
  Revision  Changes    Path
  1.2       +3 -3      cocoon-lenya/src/webapp/lenya/xslt/info/root.xsl
  
  Index: root.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/info/root.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- root.xsl	5 Jun 2003 11:36:36 -0000	1.1
  +++ root.xsl	6 Jun 2003 15:29:47 -0000	1.2
  @@ -58,9 +58,9 @@
        Corporate users or any others that want to remove the link should check 
   	 the online FAQ for instructions on how to obtain a version without the link -->
   <!-- Removing this link will make the script stop from working -->
  -<table border=0><tr><td><a style="font-size:7pt;text-decoration:none;color:white" href="http://www.treemenu.net/" target="_blank">Javascript Tree Menu</a></td></table>
  +<table border="0"><tr><td><a style="font-size:7pt;text-decoration:none;color:white" href="http://www.treemenu.net/" target="_blank">Javascript Tree Menu</a></td></tr></table>
   
  -<span class=TreeviewSpanArea>
  +<span class="TreeviewSpanArea">
   <script>initializeDocument()</script>
   </span>
   
  
  
  
  1.3       +17 -17    cocoon-lenya/src/webapp/lenya/content/menus/info.xsp
  
  Index: info.xsp
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/content/menus/info.xsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- info.xsp	5 Jun 2003 13:57:34 -0000	1.2
  +++ info.xsp	6 Jun 2003 15:29:48 -0000	1.3
  @@ -8,7 +8,7 @@
   
   <menu>
     <!-- Import Lenya Page Envelope -->
  -  <xsp-lenya:util/>
  +<!-- <xsp-lenya:util/> -->
     <url-info>
       <context-prefix><xsp-lenya:context-prefix/></context-prefix>
       <publication-id><xsp-lenya:publication-id/></publication-id>
  @@ -22,40 +22,40 @@
       String projectid=parameters.getParameter("projectid","null");
     </xsp:logic>
   
  -  <live_uri>/live<xsp:expr>xsp_lenya_pub_url</xsp:expr></live_uri>
  +  <live_uri>/live</live_uri>
   
     <menus>
       <menu name="File" label="File">
         <block>
           <item>Passwd</item>
           <item>Switch&#160;User</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>/logout</xsp:attribute>Logout</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>/logout</xsp:attribute>Logout</item>
         </block>
       </menu>
   
       <menu name="Edit" label="Search">
         <block>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=cut&lenya.step=showscreen</xsp:attribute>Cut</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=copy&lenya.step=showscreen</xsp:attribute>Copy</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=paste&lenya.step=showscreen</xsp:attribute>Paste</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=cut&amp;lenya.step=showscreen</xsp:attribute>Cut</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=copy&amp;lenya.step=showscreen</xsp:attribute>Copy</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=paste&amp;lenya.step=showscreen</xsp:attribute>Paste</item>
         </block>
         <block>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=rename&lenya.step=showscreen</xsp:attribute>Rename</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=move-up&lenya.step=showscreen</xsp:attribute>Move Up</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=move-down&lenya.step=showscreen</xsp:attribute>Move Down</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=add-child&lenya.step=showscreen</xsp:attribute>Add Child Element</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=add-sibling&lenya.step=showscreen</xsp:attribute>Insert New Document</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=rename&amp;lenya.step=showscreen</xsp:attribute>Rename</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=move-up&amp;lenya.step=showscreen</xsp:attribute>Move Up</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=move-down&amp;lenya.step=showscreen</xsp:attribute>Move Down</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=add-child&amp;lenya.step=showscreen</xsp:attribute>Add Child Element</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=add-sibling&amp;lenya.step=showscreen</xsp:attribute>Insert New Document</item>
         </block>
       </menu>
   
       <menu name="Workflow" label="Help">
         <block>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=publish&lenya.step=showscreen</xsp:attribute>Publish</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=delete&lenya.step=showscreen</xsp:attribute>Delete</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=archive&lenya.step=showscreen</xsp:attribute>Archive</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=approval-submit&lenya.step=showscreen</xsp:attribute>Submit for Approval</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=approval-reject&lenya.step=showscreen</xsp:attribute>Reject</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>?lenya.usecase=deactivate&lenya.step=showscreen</xsp:attribute>Deactivate</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=publish&amp;lenya.step=showscreen</xsp:attribute>Publish</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=delete&amp;lenya.step=showscreen</xsp:attribute>Delete</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=archive&amp;lenya.step=showscreen</xsp:attribute>Archive</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=approval-submit&amp;lenya.step=showscreen</xsp:attribute>Submit for Approval</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=approval-reject&amp;lenya.step=showscreen</xsp:attribute>Reject</item>
  +        <item><xsp:attribute name="href"><xsp-lenya:context-prefix/>?lenya.usecase=deactivate&amp;lenya.step=showscreen</xsp:attribute>Deactivate</item>
         </block>
       </menu>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org