Unify EOL and EOF

This commit is contained in:
Sebastian Meyer 2014-05-21 17:37:04 +02:00
parent 8739f0bfab
commit a715c9ac3e
82 changed files with 283 additions and 278 deletions

View File

@ -56,7 +56,6 @@ return array (
'tx_dlf_statistics' => $extensionPath.'plugins/statistics/class.tx_dlf_statistics.php',
'tx_dlf_toc' => $extensionPath.'plugins/toc/class.tx_dlf_toc.php',
'tx_dlf_toolbox' => $extensionPath.'plugins/toolbox/class.tx_dlf_toolbox.php',
'tx_dlf_toolsDfgviewer' => $extensionPath.'plugins/toolbox/tools/dfgviewer/class.tx_dlf_toolsDfgviewer.php',
'tx_dlf_toolsPdf' => $extensionPath.'plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php',
'tx_dlf_validator' => $extensionPath.'plugins/validator/class.tx_dlf_validator.php'
);

View File

@ -252,4 +252,3 @@ CREATE TABLE tx_dlf_relations (
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);

View File

@ -22,139 +22,139 @@
This copyright notice MUST APPEAR in all copies of the script!
-->
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.sheet_general</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<pages>
<TCEforms>
<onChange>reload</onChange>
<exclude>1</exclude>
<label>LLL:EXT:lang/locallang_general.xml:LGL.startingpoint</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>1</minitems>
</config>
</TCEforms>
</pages>
<collections>
<TCEforms>
<displayCond>FIELD:pages:REQ:true</displayCond>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.collections</label>
<config>
<type>select</type>
<items type="array"/>
<itemsProcFunc>tx_dlf_tceforms-&gt;itemsProcFunc_collectionList</itemsProcFunc>
<size>5</size>
<autoSizeMax>15</autoSizeMax>
<maxitems>1024</maxitems>
<minitems>0</minitems>
</config>
</TCEforms>
</collections>
<show_userdefined>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.show_userdefined</label>
<config>
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.show_userdefined.all</numIndex>
<numIndex index="1">-1</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.show_userdefined.none</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.show_userdefined.exclusive</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
</items>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
</TCEforms>
</show_userdefined>
<dont_show_single>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.dont_show_single</label>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</dont_show_single>
<randomize>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.randomize</label>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</randomize>
<targetPid>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.targetPid</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>1</minitems>
</config>
</TCEforms>
</targetPid>
<targetFeed>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.targetFeed</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
</TCEforms>
</targetFeed>
<templateFile>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.templateFile</label>
<config>
<type>group</type>
<internal_type>file_reference</internal_type>
<allowed>tmpl,tpl,html,htm,txt</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
<disable_controls>upload</disable_controls>
</config>
</TCEforms>
</templateFile>
</el>
</ROOT>
</sDEF>
</sheets>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.sheet_general</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<pages>
<TCEforms>
<onChange>reload</onChange>
<exclude>1</exclude>
<label>LLL:EXT:lang/locallang_general.xml:LGL.startingpoint</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>1</minitems>
</config>
</TCEforms>
</pages>
<collections>
<TCEforms>
<displayCond>FIELD:pages:REQ:true</displayCond>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.collections</label>
<config>
<type>select</type>
<items type="array"/>
<itemsProcFunc>tx_dlf_tceforms-&gt;itemsProcFunc_collectionList</itemsProcFunc>
<size>5</size>
<autoSizeMax>15</autoSizeMax>
<maxitems>1024</maxitems>
<minitems>0</minitems>
</config>
</TCEforms>
</collections>
<show_userdefined>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.show_userdefined</label>
<config>
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.show_userdefined.all</numIndex>
<numIndex index="1">-1</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.show_userdefined.none</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.show_userdefined.exclusive</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
</items>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
</TCEforms>
</show_userdefined>
<dont_show_single>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.dont_show_single</label>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</dont_show_single>
<randomize>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.randomize</label>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</randomize>
<targetPid>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.targetPid</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>1</minitems>
</config>
</TCEforms>
</targetPid>
<targetFeed>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.targetFeed</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
</TCEforms>
</targetFeed>
<templateFile>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/collection/locallang.xml:tt_content.pi_flexform.templateFile</label>
<config>
<type>group</type>
<internal_type>file_reference</internal_type>
<allowed>tmpl,tpl,html,htm,txt</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
<disable_controls>upload</disable_controls>
</config>
</TCEforms>
</templateFile>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>

View File

@ -22,48 +22,47 @@
This copyright notice MUST APPEAR in all copies of the script!
-->
<T3locallang>
<meta type="array">
<type>module</type>
<description>Language labels for plugin tx_dlf_collection</description>
</meta>
<data type="array">
<languageKey index="default" type="array">
<label index="tt_content.pi_flexform.sheet_general">Options</label>
<label index="tt_content.pi_flexform.collections">Show only these collections</label>
<label index="tt_content.pi_flexform.show_userdefined">Show user-defined collections?</label>
<label index="tt_content.pi_flexform.show_userdefined.all">both</label>
<label index="tt_content.pi_flexform.show_userdefined.none">no</label>
<label index="tt_content.pi_flexform.show_userdefined.exclusive">exclusively</label>
<label index="tt_content.pi_flexform.dont_show_single">Show single collection in overview?</label>
<label index="tt_content.pi_flexform.randomize">Randomize sorting?</label>
<label index="tt_content.pi_flexform.targetPid">Target page (with "DLF: List View" plugin)</label>
<label index="tt_content.pi_flexform.targetFeed">Target page (with "DLF: Feeds" plugin)</label>
<label index="tt_content.pi_flexform.templateFile">Template file</label>
<label index="title"> title</label>
<label index="titles"> titles</label>
<label index="volume"> volume</label>
<label index="volumes"> volumes</label>
<label index="feedAlt">RSS feed</label>
<label index="feedTitle">Subscribe to the RSS feed of this collection!</label>
</languageKey>
<languageKey index="de" type="array">
<label index="tt_content.pi_flexform.sheet_general">Einstellungen</label>
<label index="tt_content.pi_flexform.collections">Nur diese Kollektionen anzeigen</label>
<label index="tt_content.pi_flexform.show_userdefined">Benutzerdefinierte Kollektionen anzeigen?</label>
<label index="tt_content.pi_flexform.show_userdefined.all">beides</label>
<label index="tt_content.pi_flexform.show_userdefined.none">nein</label>
<label index="tt_content.pi_flexform.show_userdefined.exclusive">exklusiv</label>
<label index="tt_content.pi_flexform.dont_show_single">Einzelne Kollektion in Übersicht anzeigen?</label>
<label index="tt_content.pi_flexform.randomize">Zufällige Sortierung?</label>
<label index="tt_content.pi_flexform.targetPid">Zielseite (mit Plugin "DLF: Listenansicht")</label>
<label index="tt_content.pi_flexform.targetFeed">Zielseite (mit Plugin "DLF: Feeds")</label>
<label index="tt_content.pi_flexform.templateFile">HTML-Template</label>
<label index="title"> Titel</label>
<label index="titles"> Titel</label>
<label index="volume"> Band</label>
<label index="volumes"> Bände</label>
<label index="feedAlt">RSS-Feed</label>
<label index="feedTitle">Abonnieren Sie den RSS-Feed dieser Kollektion!</label>
</languageKey>
</data>
<meta type="array">
<type>module</type>
<description>Language labels for plugin tx_dlf_collection</description>
</meta>
<data type="array">
<languageKey index="default" type="array">
<label index="tt_content.pi_flexform.sheet_general">Options</label>
<label index="tt_content.pi_flexform.collections">Show only these collections</label>
<label index="tt_content.pi_flexform.show_userdefined">Show user-defined collections?</label>
<label index="tt_content.pi_flexform.show_userdefined.all">both</label>
<label index="tt_content.pi_flexform.show_userdefined.none">no</label>
<label index="tt_content.pi_flexform.show_userdefined.exclusive">exclusively</label>
<label index="tt_content.pi_flexform.dont_show_single">Show single collection in overview?</label>
<label index="tt_content.pi_flexform.randomize">Randomize sorting?</label>
<label index="tt_content.pi_flexform.targetPid">Target page (with "DLF: List View" plugin)</label>
<label index="tt_content.pi_flexform.targetFeed">Target page (with "DLF: Feeds" plugin)</label>
<label index="tt_content.pi_flexform.templateFile">Template file</label>
<label index="title"> title</label>
<label index="titles"> titles</label>
<label index="volume"> volume</label>
<label index="volumes"> volumes</label>
<label index="feedAlt">RSS feed</label>
<label index="feedTitle">Subscribe to the RSS feed of this collection!</label>
</languageKey>
<languageKey index="de" type="array">
<label index="tt_content.pi_flexform.sheet_general">Einstellungen</label>
<label index="tt_content.pi_flexform.collections">Nur diese Kollektionen anzeigen</label>
<label index="tt_content.pi_flexform.show_userdefined">Benutzerdefinierte Kollektionen anzeigen?</label>
<label index="tt_content.pi_flexform.show_userdefined.all">beides</label> <label index="tt_content.pi_flexform.show_userdefined.none">nein</label>
<label index="tt_content.pi_flexform.show_userdefined.exclusive">exklusiv</label>
<label index="tt_content.pi_flexform.dont_show_single">Einzelne Kollektion in Übersicht anzeigen?</label>
<label index="tt_content.pi_flexform.randomize">Zufällige Sortierung?</label>
<label index="tt_content.pi_flexform.targetPid">Zielseite (mit Plugin "DLF: Listenansicht")</label>
<label index="tt_content.pi_flexform.targetFeed">Zielseite (mit Plugin "DLF: Feeds")</label>
<label index="tt_content.pi_flexform.templateFile">HTML-Template</label>
<label index="title"> Titel</label>
<label index="titles"> Titel</label>
<label index="volume"> Band</label>
<label index="volumes"> Bände</label>
<label index="feedAlt">RSS-Feed</label>
<label index="feedTitle">Abonnieren Sie den RSS-Feed dieser Kollektion!</label>
</languageKey>
</data>
</T3locallang>

View File

@ -304,8 +304,9 @@ p.intro {
<xsl:apply-templates select="oai:metadataFormat" />
</xsl:template>
<!-- Set Details -->
<!--
Set Details
-->
<xsl:template match="oai:set">
<h2>Set</h2>
<table class="values">
@ -325,8 +326,9 @@ p.intro {
</td></tr>
</xsl:template>
<!-- Metadata Format Details -->
<!--
Metadata Format Details
-->
<xsl:template match="oai:metadataFormat">
<h2>Metadata Format</h2>
<table class="values">
@ -343,8 +345,9 @@ p.intro {
<xsl:text> </xsl:text><a class="link" href="?verb=GetRecord&amp;metadataPrefix={.}&amp;identifier={$identifier}"><xsl:value-of select='.' /></a>
</xsl:template>
<!-- Record Details -->
<!--
Record Details
-->
<xsl:template match="oai:record">
<h2 class="oaiRecordTitle">OAI Record: <xsl:value-of select="oai:header/oai:identifier"/></h2>
<div class="oaiRecord">
@ -379,8 +382,9 @@ p.intro {
</div>
</xsl:template>
<!-- Resumption Token -->
<!--
Resumption Token
-->
<xsl:template match="oai:resumptionToken">
<p>There are more results.</p>
<table class="values">
@ -397,8 +401,9 @@ p.intro {
</table>
</xsl:template>
<!-- Unknown Metadata -->
<!--
Unknown Metadata
-->
<xsl:template match="oai:metadata/*" priority='-100'>
<h3>Unknown Metadata Format</h3>
<div class="xmlSource">
@ -406,8 +411,9 @@ p.intro {
</div>
</xsl:template>
<!-- DublinCore Metadata -->
<!--
DublinCore Metadata
-->
<xsl:template match="oai_dc:dc" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" >
<div class="dcdata">
<h3>DublinCore Metadata</h3>
@ -471,7 +477,8 @@ p.intro {
<xsl:value-of select="."/>
</xsl:otherwise>
</xsl:choose>
</td></tr></xsl:template>
</td></tr>
</xsl:template>
<xsl:template match="dc:coverage" xmlns:dc="http://purl.org/dc/elements/1.1/">
<tr><td class="key">Coverage</td><td class="value"><xsl:value-of select="."/></td></tr></xsl:template>
@ -479,8 +486,9 @@ p.intro {
<xsl:template match="dc:rights" xmlns:dc="http://purl.org/dc/elements/1.1/">
<tr><td class="key">Rights Management</td><td class="value"><xsl:value-of select="."/></td></tr></xsl:template>
<!-- XML Pretty Maker -->
<!--
XML Pretty Maker
-->
<xsl:template match="node()" mode='xmlMarkup'>
<div class="xmlBlock">
&lt;<span class="xmlTagName"><xsl:value-of select='name(.)' /></span><xsl:apply-templates select="@*" mode='xmlMarkup'/>&gt;<xsl:apply-templates select="node()" mode='xmlMarkup' />&lt;/<span class="xmlTagName"><xsl:value-of select='name(.)' /></span>&gt;