lenya/src/webapp/lenya/pubs/default/config/menus generic.xsp,1.16,1.17
"Gregor J. Rothfuss" <[email protected]> Wed, 21 May 2003 15:36:19 +0200
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /repository/lenya/src/webapp/lenya/pubs/default/config/menus
In directory erbium:/tmp/cvs-serv32413/src/webapp/lenya/pubs/default/config/menus
Modified Files:
generic.xsp
Log Message:
rearranged menus
Index: generic.xsp
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/config/menus/generic.xsp,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** generic.xsp 20 May 2003 19:06:45 -0000 1.16
--- generic.xsp 21 May 2003 13:36:12 -0000 1.17
***************
*** 15,23 ****
String bitflux_prefix=""+xsp_lenya_context_prefix+"/bitflux";
String domain_prefix_bitflux=""+xsp_lenya_context_prefix;
! String replacementString = File.separator + "index.xml";
! String xmlSource = xsp_lenya_pub_url.replaceFirst("\\.html", replacementString);
! if (xmlSource.startsWith("/")) {
xmlSource = xmlSource.substring(1);
! }
String sourcesParameter = "sources=" + xmlSource;
String urisParameter = "uris=" + xsp_lenya_pub_url;
--- 15,23 ----
String bitflux_prefix=""+xsp_lenya_context_prefix+"/bitflux";
String domain_prefix_bitflux=""+xsp_lenya_context_prefix;
! String replacementString = "/index.xml";
! String xmlSource = xsp_lenya_pub_url.replaceFirst(".html", replacementString);
! /* if (xmlSource.startsWith("/")) {
xmlSource = xmlSource.substring(1);
! } */
String sourcesParameter = "sources=" + xmlSource;
String urisParameter = "uris=" + xsp_lenya_pub_url;
***************
*** 32,39 ****
<menu name="File" label="File">
<block>
- <item><xsp:attribute name="href">?lenya.usecase=midas&lenya.step=open</xsp:attribute>Edit with Midas</item>
- <item>Edit with Mozile</item>
- <item><xsp:attribute name="href">xopus2<xsp:expr>xsp_lenya_pub_url</xsp:expr>?documentid=<xsp:expr>xmlSource</xsp:expr></xsp:attribute>Edit with Xopus2</item>
- <item><xsp:attribute name="href"><xsp:expr>"/lenya/bitflux/index.html?url-xml="+bitflux_prefix+xmlSource+"&url-xslt="+bitflux_prefix+"/stylesheets/xdoc.xsl&url-xsd="+bitflux_prefix+"/schemas/xdoc.xsd&url-css="+bitflux_prefix+"/css/xdoc.css&url-post="+bitflux_prefix+"/save"+xmlSource+"&url-back="+xsp_lenya_context_prefix+"/authoring"+xsp_lenya_pub_url</xsp:expr></xsp:attribute>Edit with Bitflux</item>
<item><xsp:attribute name="href">?lenya.usecase=publish&lenya.step=showscreen&<xsp:expr>urisParameter</xsp:expr>&<xsp:expr>sourcesParameter</xsp:expr>&task-id=publish</xsp:attribute>Publish</item>
<item><xsp:attribute name="href">?lenya.usecase=create&lenya.step=showscreen&doctype=simple</xsp:attribute>New Document</item>
--- 32,35 ----
***************
*** 44,49 ****
<menu name="Edit" label="Search">
<block>
! <item><xsp:attribute name="href">http://www.google.com</xsp:attribute>Google</item>
! <item href="http://dict.leo.org">Translate E2G or G2E</item>
</block>
</menu>
--- 40,46 ----
<menu name="Edit" label="Search">
<block>
! <item><xsp:attribute name="href">?lenya.usecase=midas&lenya.step=open</xsp:attribute>Edit with Midas</item>
! <item><xsp:attribute name="href">xopus2<xsp:expr>xsp_lenya_pub_url</xsp:expr>?documentid=<xsp:expr>xmlSource</xsp:expr></xsp:attribute>Edit with Xopus</item>
! <item><xsp:attribute name="href"><xsp:expr>"/lenya/bitflux/index.html?url-xml="+bitflux_prefix+xmlSource+"&url-xslt="+bitflux_prefix+"/stylesheets/simple.xsl&url-xsd="+bitflux_prefix+"/schemas/simple.xsd&url-css="+bitflux_prefix+"/css/simple.css&url-post="+bitflux_prefix+"/save"+xmlSource+"&url-back="+xsp_lenya_context_prefix+"/authoring"+xsp_lenya_pub_url</xsp:expr></xsp:attribute>Edit with Bitflux</item>
</block>
</menu>
***************
*** 52,57 ****
<block>
<item><xsp:attribute name="href">../xopus<xsp:expr>xsp_lenya_pub_url.replaceFirst("\\.html", ".xml")</xsp:expr></xsp:attribute>View XML</item>
! <item href="../xopus/xdoc.xsd">View Xopus XSD</item>
! <item href="../xopus/xdoc.xsl">View Xopus XSLT</item>
<item href="?lenya.usecase=view-logs&lenya.step=overview">View Task Logs</item>
<item href="?lenya.usecase=schedule&lenya.step=showscreen">Scheduler</item>
--- 49,54 ----
<block>
<item><xsp:attribute name="href">../xopus<xsp:expr>xsp_lenya_pub_url.replaceFirst("\\.html", ".xml")</xsp:expr></xsp:attribute>View XML</item>
! <item href="../xopus/simple.xsd">View Xopus XSD</item>
! <item href="../xopus/simple.xsl">View Xopus XSLT</item>
<item href="?lenya.usecase=view-logs&lenya.step=overview">View Task Logs</item>
<item href="?lenya.usecase=schedule&lenya.step=showscreen">Scheduler</item>