From c1b74fe4b0613906f37fe8b81a3009ad16efd82f Mon Sep 17 00:00:00 2001 From: jensp Date: Fri, 7 Nov 2014 15:44:06 +0000 Subject: [PATCH] Surrounding tags now can set additional classes. git-svn-id: https://svn.libreccm.org/ccm/trunk@2958 8810af33-2d31-482b-a856-94f89814c4df --- .../foundry/foundry/lib/template-parser.xsl | 30 +++- .../foundry/lib/template-tags/html-tags.xsl | 155 +++++++++++++++++- .../foundry/lib/template-tags/navigation.xsl | 10 ++ 3 files changed, 187 insertions(+), 8 deletions(-) diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl index 6b2976aed..c54d1fa09 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl @@ -403,11 +403,13 @@ + + @@ -478,9 +480,27 @@ on a HTML element.
+ ID to set. +
+ (Additional) Classes to set. +
+ Current node from the layout files. +
+ @@ -492,7 +506,7 @@ - + @@ -510,10 +524,12 @@ + + @@ -535,6 +551,7 @@ + @@ -566,10 +583,12 @@ + + @@ -589,10 +608,12 @@ + + @@ -612,10 +633,12 @@ + + @@ -633,10 +656,12 @@ + + @@ -654,10 +679,12 @@ + + @@ -677,10 +704,12 @@ + + @@ -699,10 +728,12 @@ + + @@ -718,6 +749,7 @@ + @@ -727,6 +759,7 @@ + @@ -745,10 +778,12 @@ + + @@ -766,10 +801,12 @@ + + @@ -789,10 +826,12 @@ + + @@ -800,33 +839,39 @@ + + - + + + - + + + @@ -842,10 +887,12 @@ + @@ -854,11 +901,13 @@ + + @@ -896,10 +945,12 @@ + + @@ -921,10 +972,12 @@ + + @@ -946,10 +999,12 @@ + + @@ -971,10 +1026,12 @@ + + @@ -996,10 +1053,12 @@ + + @@ -1021,10 +1080,12 @@ + + @@ -1103,10 +1164,12 @@ + + @@ -1144,10 +1207,12 @@ + + @@ -1215,6 +1280,7 @@ + @@ -1319,6 +1385,7 @@ + @@ -1390,11 +1457,13 @@ + + @@ -1421,12 +1490,14 @@ - + + + @@ -1446,10 +1517,12 @@ + + @@ -1469,10 +1542,12 @@ + + @@ -1493,10 +1568,12 @@ + + @@ -1516,10 +1593,12 @@ + + @@ -1537,10 +1616,12 @@ + + @@ -1590,10 +1671,12 @@ + + @@ -1611,10 +1694,12 @@ + + @@ -1634,10 +1719,12 @@ + + @@ -1670,12 +1757,14 @@ + + @@ -1725,6 +1814,7 @@ + @@ -1733,6 +1823,7 @@ + @@ -1764,10 +1855,12 @@ + + @@ -1787,10 +1880,12 @@ + + @@ -1810,10 +1905,12 @@ + + @@ -1833,10 +1930,12 @@ + + @@ -1856,10 +1955,12 @@ + + @@ -1952,10 +2053,12 @@ + + @@ -1989,12 +2092,14 @@ + + @@ -2022,10 +2127,12 @@ + + @@ -2068,6 +2175,7 @@ + @@ -2090,6 +2198,7 @@ + @@ -2111,10 +2220,12 @@ + + @@ -2132,10 +2243,12 @@ + + @@ -2155,10 +2268,12 @@ + + @@ -2178,10 +2293,12 @@ + + @@ -2201,10 +2318,12 @@ + + @@ -2224,10 +2343,12 @@ + + @@ -2247,10 +2368,12 @@ + + @@ -2292,11 +2415,13 @@ + + @@ -2325,10 +2450,12 @@ + + @@ -2348,10 +2475,12 @@ + + @@ -2372,10 +2501,12 @@ + + @@ -2395,10 +2526,12 @@ + + @@ -2461,10 +2594,12 @@ + + @@ -2484,6 +2619,7 @@ + @@ -2509,6 +2645,7 @@ + @@ -2542,10 +2679,12 @@ + + @@ -2565,10 +2704,12 @@ + + @@ -2588,10 +2729,12 @@ + + @@ -2635,6 +2778,7 @@ + @@ -2671,6 +2815,7 @@ + diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/navigation.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/navigation.xsl index 260317339..8c65dac0b 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/navigation.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/navigation.xsl @@ -366,6 +366,16 @@ + + + + + + + + + +
+