diff --git a/ccm-core/web/themes/foundry/foundry/lib/search/filterControls.xsl b/ccm-core/web/themes/foundry/foundry/lib/search/filterControls.xsl index 963c0e447..27f4c69fd 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/search/filterControls.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/search/filterControls.xsl @@ -55,7 +55,8 @@ + concat(./@customName, + 'sortAndFilterList'))"/>
diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags.xsl index a1411e48a..b2ed4655c 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags.xsl @@ -36,5 +36,6 @@ + \ No newline at end of file diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/user-banner.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/user-banner.xsl new file mode 100644 index 000000000..e219ede5a --- /dev/null +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/user-banner.xsl @@ -0,0 +1,177 @@ + + + + + + User banner tags + +

+ These tags can be used to extract the data provided by the + <userBanner> element in the data tree XML. +

+
+
+ + + +

+ Shows the greeting text from the user banner. +

+
+
+ + + + + + + +

+ Render the enclosed tags only if the current user is logged in. +

+
+
+ + + + + + + + +

+ Render the enclosed tags only if the current user is + notlogged in. +

+
+
+ + + + + + + + +

+ Displays the link for changing the password. Uses the label + provided by the <userBanner> element in the + data tree XML as label for the link if there is no + label attribute present. If there is + label attribute than the value of the attribute + is used to lookup the label for the link in the + texts/user-banner.xml file. +

+
+
+ + + + + + + + +

+ Displays the login link. Unfortuntly the data tree XML does not + provide a label for this link. Therefore if there is no + label attribute present at this tag we will use the key + login to lookup the label in the + texts/user-banner.xml file. If there is label + attribute present the value of the label attribute will be used + to lookup the label in the texts/user-banner.xml. +

+
+
+ + + + + + + + +

+ Displays the logout link. Uses the label + provided by the <userBanner> element in the + data tree XML as label for the link if there is no + label attribute present. If there is + label attribute than the value of the attribute + is used to lookup the label for the link in the + texts/user-banner.xml file. +

+
+
+ + + + + + + + +

+ Outputs the screenname of user currently logged in. +

+
+
+ + + + + + +

+ Displays the given name of the user currently logged in. +

+
+
+ + + + + + +

+ Displays the family name of the user currently logged in. +

+
+
+ + + + + + +