Changeset 37886 for gs3-installations/thewillow
- Timestamp:
- 2023-08-03T22:23:29+12:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-installations/thewillow/trunk/sites/thewillow/collect/community-contributions/etc/collectionConfig.xml
r37866 r37886 164 164 <gsf:template match="documentNode-OrigTableTD"> 165 165 <td valign="top"> 166 167 168 166 <gsf:link type="document"> 167 <gsf:icon type="document"/> 168 </gsf:link> 169 169 </td> 170 170 <td> … … 187 187 <span> 188 188 <gsf:link type="document"> 189 <gsf:icon type="document"/> 189 <gsf:choose-metadata> 190 <gsf:metadata name="thumbicon"/> 191 <gsf:metadata name="srcicon"/> 192 <gsf:default><gsf:icon type="document"/></gsf:default> 193 </gsf:choose-metadata> 190 194 </gsf:link> 191 195 </span> … … 227 231 <option name="-enable_cache"/> 228 232 <option name="-thumbnailtype" value="png"/> 229 <option name="-thumbnailsize" value=" 100"/>230 <option name="-screenviewsize" value=" 750"/>233 <option name="-thumbnailsize" value="220"/> 234 <option name="-screenviewsize" value="845"/> <!-- used to be 750 --> 231 235 </plugin> 232 236 <plugin name="TextPlugin"/> … … 290 294 <option name="-mingroup" value="2"/> 291 295 <option name="-sort" value="tw.VideoOrder"/> 296 297 <format> 298 <gsf:template match="documentNode"> 299 <td style="width: 22px; text-align: center;" valign="top"> 300 <gsf:link type="document"> 301 <!-- <gsf:metadata name="srcicon"/> --> 302 <!-- select the original small icon in default --> 303 <img src='interfaces/default/images/imp4.png' border='0'/> 304 </gsf:link> 305 </td> 306 <td valign="top"> 307 <gsf:link type="document"> 308 <xsl:call-template name="choose-title"/> 309 </gsf:link> 310 </td> 311 </gsf:template> 312 </format> 292 313 </classifier> 293 314 … … 311 332 <td valign="top"> 312 333 <gsf:link type="document"> 313 <!--314 Defined in the global format statement315 -->316 334 <xsl:call-template name="choose-title"/> 317 <!--318 <gsf:switch>319 <gsf:metadata name="Source"/>320 <gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when>321 </gsf:switch>322 -->323 335 </gsf:link> 324 336 </td> … … 368 380 <gsf:metadata name="tw.Notes"/> 369 381 <gsf:metadata name="tw.OptHyperlink"/> 382 <gsf:metadata name="tw.ObjectType"/> 370 383 </gsf:headMetaTags> 371 <!--372 <gsf:option name="TOC" value="true"/>373 -->374 384 <gsf:option name="TOC" value="false"/> 375 385 <gsf:option name="disableZoom" value="true"/> … … 378 388 <gsf:option name="allowDocumentEditing" value="false"/> 379 389 <gsf:option name="allowMapGPSEditing" value="false"/> 380 <!-- 381 Overwriting this template allows you to change the heading of the document. 382 --> 390 391 <!-- 392 Overwriting the documentHeading template allows you to change the heading of the document. 393 --> 383 394 <gsf:template name="documentHeadingShared"> 384 395 <xsl:param name="twTitle"/> … … 413 424 </xsl:call-template> 414 425 </gsf:template> 415 <!--416 Overwriting this template can be used to redefine the content of the whole document.426 <!-- 427 Overwriting this template can be used to redefine the content of the whole document. 417 428 This is useful for simple documents, but not recommended for more complex documents 418 429 (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing. 419 -->430 --> 420 431 <gsf:template name="documentPre"> 421 432 <!-- … … 596 607 </div> 597 608 </gsf:template> 609 610 <gsf:template name="documentNodeVideo"> 611 612 <xsl:variable name="thisAssocfilepath"> 613 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/document/metadataList/metadata[@name='assocfilepath']" /> 614 </xsl:variable> 615 616 <video controls="controls" style="width: 100%;"> 617 <source type="video/mp4"> 618 <xsl:attribute name='src'> 619 <xsl:value-of 620 disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />/index/assoc/<xsl:value-of 621 disable-output-escaping="yes" select="$thisAssocfilepath" />/<xsl:value-of 622 disable-output-escaping="yes" select="metadataList/metadata[@name='srclinkFile']" /> 623 </xsl:attribute> 624 </source> 625 <!-- think about adding in an alt text tag --> 626 Your browser does not support the video tag. 627 </video> 628 </gsf:template> 629 598 630 <gsf:template name="documentContentTopLevel"> 599 631 <div id="gs-document"> … … 603 635 <xsl:call-template name="wrappedSectionImage"/> 604 636 </div> 605 <xsl:call-template name="documentPre"/> 637 638 606 639 <gsf:switch> 607 640 <gsf:metadata name="Plugin"/> 608 <gsf:when test="equals" test-value="HTMLPlugin"> </gsf:when> <gsf:when test="equals" test-value="CSVPlugin"> 609 <i>Original document content not publicly available</i> 641 <gsf:when test="equals" test-value="HTMLPlugin"> 642 <xsl:call-template name="documentPre"/> 643 </gsf:when> 644 <gsf:when test="equals" test-value="CSVPlugin"> 645 <xsl:call-template name="documentPre"/> 646 <i>Original document content not publicly available</i> 610 647 </gsf:when> 611 648 <gsf:otherwise> 649 650 <gsf:switch> 651 <gsf:metadata name="tw.ObjectType"/> 652 <gsf:when test="equals" test-value="Video"> 653 <xsl:call-template name="documentNodeVideo"/> 654 </gsf:when> 655 <gsf:otherwise> 612 656 <div id="gs-document-text"> 613 657 <xsl:call-template name="documentNodeText"/> 614 658 </div> 659 </gsf:otherwise> 660 661 </gsf:switch> 615 662 </gsf:otherwise> 616 663 </gsf:switch>
Note:
See TracChangeset
for help on using the changeset viewer.