You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general-cvs@xml.apache.org by cr...@apache.org on 2003/08/26 08:16:16 UTC
cvs commit: xml-site/targets/forrest/skin breadcrumbs.js
crossley 2003/08/25 23:16:16
Modified: targets/forrest/skin breadcrumbs.js
Log:
Tokens had not been expanded - not sure why.
Revision Changes Path
1.6 +8 -8 xml-site/targets/forrest/skin/breadcrumbs.js
Index: breadcrumbs.js
===================================================================
RCS file: /home/cvs/xml-site/targets/forrest/skin/breadcrumbs.js,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- breadcrumbs.js 5 Aug 2003 12:32:00 -0000 1.5
+++ breadcrumbs.js 26 Aug 2003 06:16:16 -0000 1.6
@@ -4,7 +4,7 @@
The Apache Software License, Version 1.1
============================================================================
- Copyright (C) @skinconfig.year@ The Apache Software Foundation. All rights reserved.
+ Copyright (C) 2002-2003 The Apache Software Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without modifica-
tion, are permitted provided that the following conditions are met:
@@ -83,14 +83,14 @@
* you use this script (you can leave it as an empty array if you wish)
*/
var PREPREND_CRUMBS = new Array();
- if(!("@skinconfig.trail.link1.name@"=="")){
- PREPREND_CRUMBS.push( new Array( "@skinconfig.trail.link1.name@", "@skinconfig.trail.link1.href@" ) );
+ if(!("apache"=="")){
+ PREPREND_CRUMBS.push( new Array( "apache", "http://www.apache.org/" ) );
}
- if(!("@skinconfig.trail.link2.name@"=="")){
- PREPREND_CRUMBS.push( new Array( "@skinconfig.trail.link2.name@", "@skinconfig.trail.link2.href@" ) );
+ if(!("xml.apache"=="")){
+ PREPREND_CRUMBS.push( new Array( "xml.apache", "http://xml.apache.org/" ) );
}
- if(!("@skinconfig.trail.link3.name@"=="")){
- PREPREND_CRUMBS.push( new Array( "@skinconfig.trail.link3.name@", "@skinconfig.trail.link3.href@" ) );
+ if(!(""=="")){
+ PREPREND_CRUMBS.push( new Array( "", "" ) );
}
/**
@@ -214,7 +214,7 @@
for( var i = 0; i < crumbs.length; i++ )
{
xhtml += '<a href="' + crumbs[i][1] + '" >';
- xhtml += sentenceCase( crumbs[i][0] ) + '</a>';
+ xhtml += unescape( crumbs[i][0] ) + '</a>';
if( i != (crumbs.length-1) )
{
xhtml += DISPLAY_SEPARATOR;
---------------------------------------------------------------------
To unsubscribe, e-mail: general-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: general-cvs-help@xml.apache.org