Changeset 36292
- Timestamp:
- 2022-07-13T14:28:05+12:00 (22 months ago)
- Location:
- documented-examples/trunk
- Files:
-
- 16 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documented-examples/trunk/lomdemo-e/etc/collectionConfig.xml
r36289 r36292 8 8 <displayItemList> 9 9 <displayItem assigned="true" dictionary="collectionConfig" key="name" name="name"/> 10 <displayItem assigned="true" lang="en" name="name">LOM Demonstration</displayItem> 10 <displayItem assigned="true" lang="en" name="name">LOM Demonstration</displayItem> 11 <displayItem assigned="true" dictionary="collectionConfig" key="name" name="name"/> 11 12 <displayItem assigned="true" dictionary="collectionConfig" key="shortDescription" name="shortDescription"/> 12 13 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description1"/> … … 21 22 <displayItem assigned="true" dictionary="collectionConfig" key=".general^keyword" name=".general^keyword"/> 22 23 </displayItemList> 23 <format/> 24 <format> <xsl:template name="additionalHeaderContent"> 25 <xsl:variable name="httpCollection"> 26 <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/> 27 </xsl:variable> 28 <link href="{$httpCollection}/style/lom-style.css" rel="stylesheet" type="text/css"/> 29 <script src="{$httpCollection}/script/lomscript.js" type="text/javascript"> </script> </xsl:template> 30 31 </format> 24 32 <search type="mgpp"> 25 33 <level name="document"/> … … 57 65 <format> 58 66 <gsf:template match="documentNode"> 59 <gsf:format-gs2><![CDATA[<td>[link][icon][/link]</td><td>{If}{[numleafdocs],([numleafdocs])}</td><td>{OR}{[general^title],[Title]}</td>]]></gsf:format-gs2> 67 <gsf:format-gs2><![CDATA[ 68 <td>[link][icon][/link] 69 </td> 70 <td>{If}{[numleafdocs],([numleafdocs])} 71 </td> 72 <td>{OR}{[general^title],[Title]} 73 </td>]]></gsf:format-gs2> 60 74 <td> 61 75 <gsf:link type="document"> … … 116 130 <format> 117 131 <gsf:template match="documentNode"> 118 <gsf:format-gs2><![CDATA[<td>[link][icon][/link]</td><td>{If}{[numleafdocs],([numleafdocs])}</td><td>{OR}{[general^title],[Title]}</td>]]></gsf:format-gs2> 132 <gsf:format-gs2><![CDATA[ 133 <td>[link][icon][/link] 134 </td> 135 <td>{If}{[numleafdocs],([numleafdocs])} 136 </td> 137 <td>{OR}{[general^title],[Title]} 138 </td>]]></gsf:format-gs2> 119 139 <td> 120 140 <gsf:link type="document"> … … 131 151 </gsf:template> 132 152 <gsf:template match="classifierNode"> 133 <gsf:format-gs2><![CDATA[<td>[link][icon][/link]</td><td>{If}{[numleafdocs],([numleafdocs])}</td><td>{OR}{[general^title],[Title]}</td>]]></gsf:format-gs2> 153 <gsf:format-gs2><![CDATA[ 154 <td>[link][icon][/link] 155 </td> 156 <td>{If}{[numleafdocs],([numleafdocs])} 157 </td> 158 <td>{OR}{[general^title],[Title]} 159 </td>]]></gsf:format-gs2> 134 160 <td> 135 161 <gsf:link type="classifier"> … … 156 182 </browse> 157 183 <display> 158 <format> 159 <gsf:option name="TOC" value="true"/> 160 <gsf:option name="AllowUserComments" value="false"/> 184 <format> <gsf:option name="TOC" value="true"/> 185 <gsf:option name="AllowUserComments" value="false"/> 186 <gsf:template name="documentContent"> 187 <div id="gs-document"> 188 <xsl:call-template name="documentPre"/> 189 <xsl:call-template name="wrappedSectionImage"/> 190 <div id="gs-document-text"> 191 <gsf:metadata name="MetadataTable"/> 192 <!-- 193 <xsl:call-template name="documentNodeText"/> 194 --> 195 </div> 196 </div> 197 </gsf:template> 161 198 <!-- 162 199 Overwriting this template allows you to change the heading of the document. 163 200 --> 164 201 <!-- 165 <gsf:template name="documentHeading"><span style="font-weight:bold; font-size: 120%;"><xsl:call-template name="choose-title"/></span></gsf:template> 202 <gsf:template name="documentHeading"> 203 <span style="font-weight:bold; font-size: 120%;"> 204 <xsl:call-template name="choose-title"/> 205 </span> 206 </gsf:template> 166 207 --> 167 208 <!-- … … 169 210 --> 170 211 <!-- 171 <gsf:template name="documentContent"><div id="gs-document"><xsl:call-template name="documentPre"/><xsl:call-template name="wrappedSectionImage"/><div id="gs-document-text"><xsl:call-template name="documentNodeText"/></div></gsf:template> 212 <gsf:template name="documentContent"> 213 <div id="gs-document"> 214 <xsl:call-template name="documentPre"/> 215 <xsl:call-template name="wrappedSectionImage"/> 216 <div id="gs-document-text"> 217 <xsl:call-template name="documentNodeText"/> 218 </div> 219 </div> 220 </gsf:template> 172 221 --> 173 222 <!-- … … 175 224 --> 176 225 <!-- 177 <gsf:template name="sectionHeading"><xsl:call-template name="choose-title"/></gsf:template> 226 <gsf:template name="sectionHeading"> 227 <xsl:call-template name="choose-title"/> 228 </gsf:template> 178 229 --> 179 230 <!-- … … 181 232 --> 182 233 <!-- 183 <gsf:template name="topLevelSectionContent"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template> 234 <gsf:template name="topLevelSectionContent"> 235 <xsl:call-template name="wrappedSectionImage"/> 236 <xsl:call-template name="wrappedSectionText"/> 237 </gsf:template> 184 238 --> 185 239 <!-- … … 187 241 --> 188 242 <!-- 189 <gsf:template name="sectionContent"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template> 190 --> 191 </format> 243 <gsf:template name="sectionContent"> 244 <xsl:call-template name="wrappedSectionImage"/> 245 <xsl:call-template name="wrappedSectionText"/> 246 </gsf:template> 247 --> 248 249 </format> 192 250 </display> 193 251 <replaceListRef id="gs2-standard"/>
Note:
See TracChangeset
for help on using the changeset viewer.