Revision: 76 http://mvn-infix.svn.sourceforge.net/mvn-infix/?rev=76&view=rev Author: bindul Date: 2010-12-05 06:07:08 +0000 (Sun, 05 Dec 2010)
Log Message: ----------- 0000029: Switch to using //project/custom/* Modified Paths: -------------- skins/infix-site-skin/trunk/src/changes/changes.xml skins/infix-site-skin/trunk/src/main/resources/META-INF/maven/site.vm skins/infix-site-skin/trunk/src/site/apt/google-cse.apt skins/infix-site-skin/trunk/src/site/apt/privacy-link.apt skins/infix-site-skin/trunk/src/site/site.xml Modified: skins/infix-site-skin/trunk/src/changes/changes.xml =================================================================== --- skins/infix-site-skin/trunk/src/changes/changes.xml 2010-12-05 05:53:19 UTC (rev 75) +++ skins/infix-site-skin/trunk/src/changes/changes.xml 2010-12-05 06:07:08 UTC (rev 76) @@ -13,6 +13,9 @@ <action dev="bindul" issue="28" type="add" system="mantisbt" date="04 DEC 2010"> 0000028: [core] Add support for footer line </action> + <action dev="bindul" issue="29" type="update" system="mantisbt" date="04 DEC 2010"> + 0000029: [core] Switch to using //project/custom/* + </action> </release> </body> </document> Modified: skins/infix-site-skin/trunk/src/main/resources/META-INF/maven/site.vm =================================================================== --- skins/infix-site-skin/trunk/src/main/resources/META-INF/maven/site.vm 2010-12-05 05:53:19 UTC (rev 75) +++ skins/infix-site-skin/trunk/src/main/resources/META-INF/maven/site.vm 2010-12-05 06:07:08 UTC (rev 76) @@ -537,7 +537,7 @@ ## Pre processes for privacy URL #macro ( setPrivacyURL ) #if ( $decoration.body.head ) - #foreach( $item in $decoration.body.head.getChildren() ) + #foreach( $item in $decoration.custom.getChildren() ) ## Add support for privacy URL #if( $item.name == "privacy") #set ( $privacyUrl = $item.getAttribute("href") ) @@ -609,9 +609,9 @@ ## Set the Google CSE box #macro ( googleCse $isNavBar ) - #if ( $decoration.body.head ) - #foreach( $item in $decoration.body.head.getChildren() ) - ## Add support for privacy URL + #if ( $decoration.custom ) + #foreach( $item in $decoration.custom.getChildren() ) + ## Add support for Google custom search #if( $item.name == "google-cse") #googleCseInternal ( $item, $isNavBar ) #end Modified: skins/infix-site-skin/trunk/src/site/apt/google-cse.apt =================================================================== --- skins/infix-site-skin/trunk/src/site/apt/google-cse.apt 2010-12-05 05:53:19 UTC (rev 75) +++ skins/infix-site-skin/trunk/src/site/apt/google-cse.apt 2010-12-05 06:07:08 UTC (rev 76) @@ -27,13 +27,13 @@ The skin allows adding a {{{http://www.google.com/cse/}Google Custom Search Engine}} search box in the generated site. - To enable CSE the <<</project/body/head/google-cse>>> element should be set + To enable CSE the <<</project/custom/google-cse>>> element should be set in the <<<site.xml>>>. The configuration parameters for the element are described below. <<<google-cse>>> configuration - The <<</project/body/head/google-cse>>> takes the following attributes: + The <<</project/custom/google-cse>>> takes the following attributes: *---------------+-----------+---------------------------------------------------+ || Attribute || Use || Description | Modified: skins/infix-site-skin/trunk/src/site/apt/privacy-link.apt =================================================================== --- skins/infix-site-skin/trunk/src/site/apt/privacy-link.apt 2010-12-05 05:53:19 UTC (rev 75) +++ skins/infix-site-skin/trunk/src/site/apt/privacy-link.apt 2010-12-05 06:07:08 UTC (rev 76) @@ -26,7 +26,7 @@ The infix site skin allows a configurable link to a privacy URL that is added to the footer of the generated site. This configuration is set at the - <<<site.xml>>> as the <<</project/body/head/privacy>>> element: + <<<site.xml>>> as the <<</project/custom/privacy>>> element: +------------------------------------------------------------------------------- <privacy href="http://mvn-infix.sourceforge.net/privacy.html"/> Modified: skins/infix-site-skin/trunk/src/site/site.xml =================================================================== --- skins/infix-site-skin/trunk/src/site/site.xml 2010-12-05 05:53:19 UTC (rev 75) +++ skins/infix-site-skin/trunk/src/site/site.xml 2010-12-05 06:07:08 UTC (rev 76) @@ -44,9 +44,7 @@ <body> <head> <piwik siteId="4" baseUrl="sourceforge.net/apps/piwik/mvn-infix/"/> - <privacy href="http://mvn-infix.sourceforge.net/privacy.html"/> <meta name="keywords" content="maven,plugin,plug-in,mindtree,maven2,maven3,mindtree ltd,maven site skin"/> - <google-cse cseId="001821074997410371686:oik3n7lzyvg" style="google.loader.themes.MINIMALIST" type="google-hosted"/> </head> <links> <item name="MindTree" href="http://www.mindtree.com/"/> @@ -74,6 +72,8 @@ <menu ref="parent"/> </body> <custom> + <privacy href="http://mvn-infix.sourceforge.net/privacy.html"/> + <google-cse cseId="001821074997410371686:oik3n7lzyvg" style="google.loader.themes.MINIMALIST" type="google-hosted"/> <footer> Apache Maven, Apache and the Apache feather logo are trademarks of The Apache Software Foundation. All logos, trademarks, and copyrights This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ mvn-Infix-commits mailing list mvn-Infix-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mvn-infix-commits