Skip to content

Commit

Permalink
#1255: Fixing coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
alw-bsz committed Jan 10, 2025
1 parent 8e8b7df commit cc93947
Show file tree
Hide file tree
Showing 48 changed files with 2,739 additions and 2,171 deletions.
99 changes: 56 additions & 43 deletions application/configs/doctypes/annotation.xml
Original file line number Diff line number Diff line change
@@ -1,81 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* This file is part of OPUS. The software OPUS has been originally developed
* at the University of Stuttgart with funding from the German Research Net,
* the Federal Department of Higher Education and Research and the Ministry
* of Science, Research and the Arts of the State of Baden-Wuerttemberg.
*
* OPUS 4 is a complete rewrite of the original OPUS software and was developed
* by the Stuttgart University Library, the Library Service Center
* Baden-Wuerttemberg, the Cooperative Library Network Berlin-Brandenburg,
* the Saarland University and State Library, the Saxon State Library -
* Dresden State and University Library, the Bielefeld University Library and
* the University Library of Hamburg University of Technology with funding from
* the German Research Foundation and the European Regional Development Fund.
*
* LICENCE
* OPUS is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the Licence, or any later version.
* OPUS is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details. You should have received a copy of the GNU General Public License
* along with OPUS; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* @copyright Copyright (c) 2023, OPUS 4 development team
* @license http://www.gnu.org/licenses/gpl.html General Public License
*/
-->
<documenttype name="annotation" xmlns="http://www.opus-repository.org/schema/documenttype" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opus-repository.org/schema/documenttype http://www.opus-repository.org/schema/documenttype.xsd">
* This file is part of OPUS. The software OPUS has been originally developed
* at the University of Stuttgart with funding from the German Research Net,
* the Federal Department of Higher Education and Research and the Ministry
* of Science, Research and the Arts of the State of Baden-Wuerttemberg.
*
* OPUS 4 is a complete rewrite of the original OPUS software and was developed
* by the Stuttgart University Library, the Library Service Center
* Baden-Wuerttemberg, the Cooperative Library Network Berlin-Brandenburg,
* the Saarland University and State Library, the Saxon State Library -
* Dresden State and University Library, the Bielefeld University Library and
* the University Library of Hamburg University of Technology with funding from
* the German Research Foundation and the European Regional Development Fund.
*
* LICENCE
* OPUS is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the Licence, or any later version.
* OPUS is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details. You should have received a copy of the GNU General Public License
* along with OPUS; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* @copyright Copyright (c) 2023, OPUS 4 development team
* @license http://www.gnu.org/licenses/gpl.html General Public License
*/
-->
<documenttype name="annotation"
xmlns="http://www.opus-repository.org/schema/documenttype"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opus-repository.org/schema/documenttype http://www.opus-repository.org/schema/documenttype.xsd">

<field name="PersonSubmitter" required="yes" formelement="Text" datatype="Person" multiplicity="1">
<subfield name="AcademicTitle" formelement="text" datatype="Text" required="no"/>
<subfield name="Email" required="yes" formelement="text" datatype="Email"/>
<subfield name="AcademicTitle" required="no" formelement="text" datatype="Text" />
<subfield name="Email" required="yes" formelement="text" datatype="Email" />
</field>
<field name="Language" required="yes" formelement="Select" datatype="Language" multiplicity="1">
<default value="deu" edit="yes" public="yes"/>
<default value="deu" edit="yes" public="yes" />
</field>
<field name="PersonAuthor" required="no" formelement="Text" datatype="Person" multiplicity="*">
<subfield name="AcademicTitle" required="no" formelement="text" datatype="Text"/>
<subfield name="IdentifierOrcid" required="no" formelement="text" datatype="Identifier"/>
<field name="PersonAuthor" required="no" formelement="Text" datatype="Person" multiplicity="*" >
<subfield name="AcademicTitle" required="no" formelement="text" datatype="Text" />
<subfield name="IdentifierOrcid" required="no" formelement="text" datatype="Identifier" />
<!--<subfield name="Email" required="no" formelement="text" datatype="Email" />
<subfield name="AllowEmailContact" required="no" formelement="checkbox" />
<subfield name="DateOfBirth" required="no" formelement="text" datatype="Date" />
<subfield name="PlaceOfBirth" required="no" formelement="text" datatype="Text" />-->
</field>
<field name="TitleMain" required="yes" formelement="Text" datatype="Title" multiplicity="4"/>

<field name="TitleMain" required="yes" formelement="Text" datatype="Title" multiplicity="4" />
<field name="TitleSub" required="no" formelement="text" datatype="Title" multiplicity="1"/>
<field name="TitleAbstract" required="no" formelement="Textarea" datatype="Title" multiplicity="4"/>
<field name="TitleParent" required="no" formelement="Text" datatype="Title" multiplicity="1"/>
<field name="TitleAbstract" required="no" formelement="Textarea" datatype="Title" multiplicity="4" />

<field name="TitleParent" required="no" formelement="Text" datatype="Title" multiplicity="1" />
<field name="Series" required="no" formelement="Select" datatype="Series" multiplicity="1"/>
<field name="Volume" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="Issue" required="no" formelement="Text" datatype="Text" multiplicity="1"/>

<field name="ArticleNumber" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PageNumber" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PageFirst" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PageLast" required="no" formelement="Text" datatype="Text" multiplicity="1"/>

<field name="CompletedYear" required="no" formelement="Text" datatype="Year" multiplicity="1"/>
<field name="CompletedDate" required="yes" formelement="Text" datatype="Date" multiplicity="1">
<default value="today" edit="yes" public="yes"/>
<default value="today" edit="yes" public="yes" />
</field>
<field name="EmbargoDate" required="no" formelement="Text" datatype="Date" multiplicity="1"/>
<field name="Edition" required="no" formelement="Text" datatype="Text" multiplicity="1"/>

<field name="ThesisPublisher" required="no" formelement="Select" datatype="ThesisPublisher" multiplicity="*">
<required-if-fulltext/>
</field>
<field name="PublisherName" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PublisherName" required="no" formelement="Text" datatype="Text" multiplicity="1" />
<field name="PublisherPlace" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="SubjectSwd" required="no" formelement="Text" datatype="Subject" multiplicity="5"/>

<field name="SubjectSwd" required="no" formelement="Text" datatype="Subject" multiplicity="5" />
<field name="SubjectDDC" required="no" formelement="Select" datatype="CollectionLeaf" root="ddc" multiplicity="*"/>
<field name="SubjectUncontrolled" required="no" formelement="Text" datatype="Subject" multiplicity="5"/>

<field name="IdentifierIssn" required="no" formelement="Text" datatype="Identifier" multiplicity="1"/>
<field name="IdentifierDoi" required="no" formelement="Text" datatype="Identifier" multiplicity="1"/>

<field name="Institute" required="no" formelement="Select" datatype="Collection" root="institutes" multiplicity="1"/>
<field name="Licence" required="yes" formelement="Select" datatype="Licence" multiplicity="1">
<required-if-fulltext/>
</field>
<field name="open_access" required="no" formelement="Select" datatype="CollectionLeaf" root="open_access" multiplicity="1"/>
<field name="Note" required="no" formelement="Textarea" datatype="Note" multiplicity="1"/>
<field name="open_access" required="no" formelement="Select" datatype="CollectionLeaf" root="open_access" multiplicity="1" />
<field name="Note" required="no" formelement="Textarea" datatype="Note" multiplicity="1" />

</documenttype>
93 changes: 52 additions & 41 deletions application/configs/doctypes/article.xml
Original file line number Diff line number Diff line change
@@ -1,78 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--/**
* This file is part of OPUS. The software OPUS has been originally developed
* at the University of Stuttgart with funding from the German Research Net,
* the Federal Department of Higher Education and Research and the Ministry
* of Science, Research and the Arts of the State of Baden-Wuerttemberg.
*
* OPUS 4 is a complete rewrite of the original OPUS software and was developed
* by the Stuttgart University Library, the Library Service Center
* Baden-Wuerttemberg, the Cooperative Library Network Berlin-Brandenburg,
* the Saarland University and State Library, the Saxon State Library -
* Dresden State and University Library, the Bielefeld University Library and
* the University Library of Hamburg University of Technology with funding from
* the German Research Foundation and the European Regional Development Fund.
*
* LICENCE
* OPUS is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the Licence, or any later version.
* OPUS is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details. You should have received a copy of the GNU General Public License
* along with OPUS; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* @copyright Copyright (c) 2008, OPUS 4 development team
* @license http://www.gnu.org/licenses/gpl.html General Public License
*/
-->
<documenttype name="article" xmlns="http://www.opus-repository.org/schema/documenttype" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opus-repository.org/schema/documenttype http://www.opus-repository.org/schema/documenttype.xsd">
* This file is part of OPUS. The software OPUS has been originally developed
* at the University of Stuttgart with funding from the German Research Net,
* the Federal Department of Higher Education and Research and the Ministry
* of Science, Research and the Arts of the State of Baden-Wuerttemberg.
*
* OPUS 4 is a complete rewrite of the original OPUS software and was developed
* by the Stuttgart University Library, the Library Service Center
* Baden-Wuerttemberg, the Cooperative Library Network Berlin-Brandenburg,
* the Saarland University and State Library, the Saxon State Library -
* Dresden State and University Library, the Bielefeld University Library and
* the University Library of Hamburg University of Technology with funding from
* the German Research Foundation and the European Regional Development Fund.
*
* LICENCE
* OPUS is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the Licence, or any later version.
* OPUS is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details. You should have received a copy of the GNU General Public License
* along with OPUS; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* @copyright Copyright (c) 2008, OPUS 4 development team
* @license http://www.gnu.org/licenses/gpl.html General Public License
*/
-->
<documenttype name="article"
xmlns="http://www.opus-repository.org/schema/documenttype"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opus-repository.org/schema/documenttype http://www.opus-repository.org/schema/documenttype.xsd">

<field name="PersonSubmitter" required="yes" formelement="Text" datatype="Person" multiplicity="1">
<subfield name="AcademicTitle" formelement="text" datatype="Text" required="no"/>
<subfield name="Email" required="yes" formelement="text" datatype="Email"/>
<subfield name="AcademicTitle" required="no" formelement="text" datatype="Text" />
<subfield name="Email" required="yes" formelement="text" datatype="Email" />
</field>
<field name="Language" required="yes" formelement="Select" datatype="Language" multiplicity="1">
<default value="deu" edit="yes" public="yes"/>
<default value="deu" edit="yes" public="yes" />
</field>
<field name="PersonAuthor" required="yes" formelement="Text" datatype="Person" multiplicity="*">
<subfield name="AcademicTitle" required="no" formelement="text" datatype="Text"/>
<subfield name="IdentifierOrcid" required="no" formelement="text" datatype="Identifier"/>
<field name="PersonAuthor" required="yes" formelement="Text" datatype="Person" multiplicity="*" >
<subfield name="AcademicTitle" required="no" formelement="text" datatype="Text" />
<subfield name="IdentifierOrcid" required="no" formelement="text" datatype="Identifier" />
<!--<subfield name="Email" required="no" formelement="text" datatype="Email" />
<subfield name="AllowEmailContact" required="no" formelement="checkbox" />
<subfield name="DateOfBirth" required="no" formelement="text" datatype="Date" />
<subfield name="PlaceOfBirth" required="no" formelement="text" datatype="Text" />-->
</field>

<field name="TitleMain" required="yes" formelement="Text" datatype="Title" multiplicity="4"/>
<field name="TitleSub" required="no" formelement="text" datatype="Title" multiplicity="1"/>
<field name="TitleAbstract" required="no" formelement="Textarea" datatype="Title" multiplicity="4"/>
<field name="TitleAbstract" required="no" formelement="Textarea" datatype="Title" multiplicity="4" />
<field name="TitleParent" required="no" formelement="Text" datatype="Title" multiplicity="1"/>
<field name="Series" required="no" formelement="Select" datatype="Series" multiplicity="1"/>
<field name="Volume" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="Issue" required="no" formelement="Text" datatype="Text" multiplicity="1"/>

<field name="ArticleNumber" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PageNumber" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PageFirst" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PageLast" required="no" formelement="Text" datatype="Text" multiplicity="1"/>

<field name="CompletedYear" required="no" formelement="Text" datatype="Year" multiplicity="1"/>
<field name="CompletedDate" required="yes" formelement="Text" datatype="Date" multiplicity="1">
<default value="today" edit="yes" public="yes"/>
<default value="today" edit="yes" public="yes" />
</field>
<field name="PublishedDate" required="no" formelement="Text" datatype="Date" multiplicity="1"/>
<field name="EmbargoDate" required="no" formelement="Text" datatype="Date" multiplicity="1"/>

<field name="ThesisPublisher" required="no" formelement="Select" datatype="ThesisPublisher" multiplicity="*">
<required-if-fulltext/>
</field>
<field name="SubjectSwd" required="no" formelement="Text" datatype="Subject" multiplicity="5"/>

<field name="SubjectSwd" required="no" formelement="Text" datatype="Subject" multiplicity="5" />
<field name="SubjectDDC" required="no" formelement="Select" datatype="CollectionLeaf" root="ddc" multiplicity="*"/>
<field name="SubjectUncontrolled" required="no" formelement="Text" datatype="Subject" multiplicity="5"/>
<field name="IdentifierIssn" required="no" formelement="Text" datatype="Identifier" multiplicity="1"/>

<field name="IdentifierIssn" required="no" formelement="Text" datatype="Identifier" multiplicity="1" />
<field name="IdentifierDoi" required="no" formelement="Text" datatype="Identifier" multiplicity="1"/>

<field name="Institute" required="no" formelement="Select" datatype="Collection" root="institutes" multiplicity="1"/>
<field name="Licence" required="no" formelement="Select" datatype="Licence" multiplicity="1">
<required-if-fulltext/>
</field>
<field name="open_access" required="no" formelement="Select" datatype="CollectionLeaf" root="open_access" multiplicity="1"/>
<field name="Note" required="no" formelement="Textarea" datatype="Note" multiplicity="1"/>
<field name="open_access" required="no" formelement="Select" datatype="CollectionLeaf" root="open_access" multiplicity="1" />
<field name="Note" required="no" formelement="Textarea" datatype="Note" multiplicity="1" />
</documenttype>
Loading

0 comments on commit cc93947

Please sign in to comment.