Add plugin "toolbox".

Adjust copyright and license information in several file's header.
This commit is contained in:
Sebastian Meyer 2011-04-01 17:53:16 +02:00
parent 6d99844784
commit 5bb7993e9b
43 changed files with 582 additions and 102 deletions

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -36,8 +36,7 @@ if (!defined('TYPO3_cliMode')) {
* CLI script for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_cli.php 481 2010-12-22 18:22:54Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public
@ -81,9 +80,9 @@ class tx_dlf_cli extends t3lib_cli {
$doc = tx_dlf_document::getInstance($this->cli_args['-doc'][0], 0, TRUE);
// ...save it to the database...
if (!$doc->save(intval($this->cli_args['-pid'][0]), $this->cli_args['-core'][0])) {
if (!($doc instanceof tx_dlf_document) || !$doc->save(intval($this->cli_args['-pid'][0]), $this->cli_args['-core'][0])) {
$this->cli_echo('ERROR: Document '.$this->cli_args['-doc'][0].' not saved and indexed'.LF);
$this->cli_echo('ERROR: Document '.$this->cli_args['-doc'][0].' not saved and indexed'.LF, TRUE);
return 1;

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Document class 'tx_dlf_document' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_document.php 487 2010-12-22 19:55:15Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public
@ -74,7 +73,7 @@ class tx_dlf_document {
/**
* This holds the configuration for all supported metadata encodings
* It's set in @see loadFormats()
* @see loadFormats()
*
* @var array
* @access protected
@ -386,8 +385,10 @@ class tx_dlf_document {
*/
public function getLogicalStructure($id, $recursive = FALSE) {
// Is the requested logical unit already loaded?
if (!$recursive && !empty($this->logicalUnits[$id])) {
// Yes. Return it.
return $this->logicalUnits[$id];
} elseif (($_div = $this->mets->xpath('./mets:structMap[@TYPE="LOGICAL"]//mets:div[@ID="'.$id.'"]'))) {
@ -401,6 +402,7 @@ class tx_dlf_document {
$this->registerNamespaces($_struct);
// Extract identity information.
$_details = array ();
$_details['id'] = (string) $_struct['ID'];
@ -470,6 +472,7 @@ class tx_dlf_document {
foreach ($_children as $_child) {
// Repeat for all children.
$_details['children'][] = $this->getLogicalStructure((string) $_child, TRUE);
}
@ -666,13 +669,15 @@ class tx_dlf_document {
foreach ($_divs as $_div) {
// Check if there are physical structure nodes for this logical structure.
// Are there physical structure nodes for this logical structure?
if (!empty($this->smLinks[(string) $_div['ID']])) {
// Yes. That's what we're looking for.
return (string) $_div['ID'];
} elseif (!$id) {
// No. Remember this anyway, but keep looking for a better one.
$id = (string) $_div['ID'];
}
@ -781,9 +786,11 @@ class tx_dlf_document {
*/
public function registerNamespaces(SimpleXMLElement &$obj) {
// Register METS' and XLINK's namespaces.
// Register mandatory METS' and XLINK's namespaces.
$obj->registerXPathNamespace('mets', 'http://www.loc.gov/METS/');
// This one can become a problem, because MODS uses its own custom XLINK schema.
// @see http://comments.gmane.org/gmane.comp.text.mods/1126
$obj->registerXPathNamespace('xlink', 'http://www.w3.org/1999/xlink');
$this->loadFormats();

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -27,11 +27,10 @@
*/
/**
* Base class 'tx_dlf_format' for the 'dlf' extension.
* Interface 'tx_dlf_format' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_document.php 104 2010-06-12 21:12:03Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Helper class 'tx_dlf_helper' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_helper.php 499 2010-12-23 12:40:24Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public
@ -309,7 +308,7 @@ class tx_dlf_helper {
}
$result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'static_languages.'.$field.' AS '.$field,
'static_languages.'.$field.' AS language',
'static_languages',
'static_languages.lg_iso_2='.$GLOBALS['TYPO3_DB']->fullQuoteStr($code, 'static_languages'),
'',
@ -321,7 +320,7 @@ class tx_dlf_helper {
$resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result);
return $resArray[$field];
return $resArray['language'];
} else {

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Indexing class 'tx_dlf_indexing' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_indexing.php 487 2010-12-22 19:55:15Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Document class 'tx_dlf_list' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_list.php 15 2010-01-19 17:07:03Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Metadata format class 'tx_dlf_mods' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_document.php 104 2010-06-12 21:12:03Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Base class 'tx_dlf_module' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: index.php 38 2010-04-16 15:39:41Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Base class 'tx_dlf_plugin' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_plugin.php 430 2010-12-02 21:19:02Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Solr class 'tx_dlf_solr' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_solr.php 481 2010-12-22 18:22:54Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -1,4 +1,26 @@
<?php
/***************************************************************
* Copyright notice
*
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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 License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
$extensionPath = t3lib_extMgm::extPath('dlf');
@ -24,7 +46,10 @@ return array (
'tx_dlf_oai' => $extensionPath.'plugins/oai/class.tx_dlf_oai.php',
'tx_dlf_pageview' => $extensionPath.'plugins/pageview/class.tx_dlf_pageview.php',
'tx_dlf_search' => $extensionPath.'plugins/search/class.tx_dlf_search.php',
'tx_dlf_toc' => $extensionPath.'plugins/toc/class.tx_dlf_toc.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'
);
?>

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -22,23 +22,13 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
########################################################################
# Extension Manager/Repository config file for ext: "dlf"
#
# Auto generated 01-12-2008 15:36
#
# Manual updates:
# Only the data in the array - anything else is removed by next write.
# "version" and "dependencies" must not be touched!
########################################################################
$EM_CONF[$_EXTKEY] = array(
'title' => 'Digital Library Framework',
'description' => 'Base classes, plugins and modules of the Digital Library Framework. The DLF is a toolset for building a METS-based Digital Library.',
'title' => 'Goobi.Presentation',
'description' => 'Base plugins, modules, services and API of the Digital Library Framework. It is part of the community-based Goobi Digitization Suite.',
'category' => 'fe',
'author' => 'Sebastian Meyer',
'author_email' => 'sebastian.meyer@slub-dresden.de',
'author_company' => '<br /><a href="http://www.slub-dresden.de/en/" target="_blank">Saxon State and University Library Dresden &lt;www.slub-dresden.de&gt;</a>',
'author_company' => '<br /><a href="http://www.slub-dresden.de/en/" target="_blank">Saxon State and University Library Dresden &lt;www.slub-dresden.de&gt;</a><br /><a href="https://launchpad.net/goobi" target="_blank">The Goobi Community</a>',
'shy' => '',
'priority' => '',
'module' => '',

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -41,6 +41,17 @@ t3lib_extMgm::addPItoST43($_EXTKEY, 'plugins/search/class.tx_dlf_search.php', '_
t3lib_extMgm::addPItoST43($_EXTKEY, 'plugins/toc/class.tx_dlf_toc.php', '_toc', 'list_type', TRUE);
t3lib_extMgm::addPItoST43($_EXTKEY, 'plugins/toolbox/class.tx_dlf_toolbox.php', '_toolbox', 'list_type', FALSE);
// Register tools for toolbox plugin.
t3lib_extMgm::addPItoST43($_EXTKEY, 'plugins/toolbox/tools/dfgviewer/class.tx_dlf_toolsDfgviewer.php', '_toolsDfgviewer', 'includeLib', FALSE);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['dlf/plugins/toolbox/tools'][t3lib_extMgm::getCN($_EXTKEY).'_toolsDfgviewer'] = 'LLL:EXT:dlf/locallang_db.xml:tx_dlf_toolbox.toolsDfgviewer';
t3lib_extMgm::addPItoST43($_EXTKEY, 'plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php', '_toolsPdf', 'includeLib', FALSE);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['dlf/plugins/toolbox/tools'][t3lib_extMgm::getCN($_EXTKEY).'_toolsPdf'] = 'LLL:EXT:dlf/locallang_db.xml:tx_dlf_toolbox.toolsPdf';
// Register hooks.
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:'.$_EXTKEY.'/hooks/class.tx_dlf_tcemain.php:tx_dlf_tcemain';

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -262,10 +262,25 @@ $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_toc'] = 'pi_f
t3lib_extMgm::addPlugin(array('LLL:EXT:dlf/locallang_db.xml:tt_content.dlf_toc', $_EXTKEY.'_toc'), 'list_type');
t3lib_extMgm::addStaticFile($_EXTKEY,'plugins/toc/', 'Table of Contents');
t3lib_extMgm::addStaticFile($_EXTKEY, 'plugins/toc/', 'Table of Contents');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_toc', 'FILE:EXT:'.$_EXTKEY.'/plugins/toc/flexform.xml');
// Plugin "toolbox".
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_toolbox'] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_toolbox'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:dlf/locallang_db.xml:tt_content.dlf_toolbox', $_EXTKEY.'_toolbox'), 'list_type');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_toolbox', 'FILE:EXT:'.$_EXTKEY.'/plugins/toolbox/flexform.xml');
// Tool "toolsDfgviewer".
t3lib_extMgm::addStaticFile($_EXTKEY, 'plugins/toolbox/tools/dfgviewer/', 'Tool: DFG Viewer');
// Tool "toolsPdf".
t3lib_extMgm::addStaticFile($_EXTKEY, 'plugins/toolbox/tools/pdf/', 'Tool: PDF Download');
// Register modules.
if (TYPO3_MODE == 'BE') {

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Hooks and helper for the extension manager.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_em.php 317 2010-10-08 11:58:14Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public
@ -79,13 +78,10 @@ class tx_dlf_em {
// Build request URI.
$url = 'http://'.$host.':'.$port.'/'.$path.'admin/cores';
// Set user-agent.
$useragent = ($conf['useragent'] ? $conf['useragent'] : ini_get('user_agent'));
$context = stream_context_create(array (
'http' => array (
'method' => 'GET',
'user_agent' => $useragent
'user_agent' => ($conf['useragent'] ? $conf['useragent'] : ini_get('user_agent'))
)
));

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Hooks and hacks for Goobi.Production.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_hacks.php 470 2010-12-21 17:49:01Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Hooks and helper for the 't3lib_TCEforms' library.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_tcemain.php 101 2010-06-01 13:29:40Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public
@ -148,6 +147,26 @@ class tx_dlf_tceforms {
}
/**
* Helper to get flexform's items array for plugin "tx_dlf_toolbox"
*
* @access public
*
* @param array &$params: An array with parameters
* @param t3lib_TCEforms &$pObj: The parent object
*
* @return void
*/
public function itemsProcFunc_toolList(&$params, &$pObj) {
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['dlf/plugins/toolbox/tools'] as $class => $label) {
$params['items'][] = array ($GLOBALS['LANG']->sL($label), $class);
}
}
}
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/hooks/class.tx_dlf_tceforms.php']) {

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Hooks and helper for the 't3lib_TCEmain' library.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_tcemain.php 472 2010-12-22 08:57:35Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -115,6 +115,9 @@
<label index="tt_content.dlf_pageview">DLF: Page View</label>
<label index="tt_content.dlf_search">DLF: Search</label>
<label index="tt_content.dlf_toc">DLF: Table of Contents</label>
<label index="tt_content.dlf_toolbox">DLF: Toolbox</label>
<label index="tx_dlf_toolbox.toolsDfgviewer">Link to DFG Viewer</label>
<label index="tx_dlf_toolbox.toolsPdf">PDF Download</label>
</languageKey>
<languageKey index="de" type="array">
<label index="tx_dlf_documents">Dokumente</label>
@ -226,6 +229,9 @@
<label index="tt_content.dlf_pageview">DLF: Seitenansicht</label>
<label index="tt_content.dlf_search">DLF: Suche</label>
<label index="tt_content.dlf_toc">DLF: Inhaltsverzeichnis</label>
<label index="tt_content.dlf_toolbox">DLF: Werkzeugkasten</label>
<label index="tx_dlf_toolbox.toolsDfgviewer">Link zum DFG-Viewer</label>
<label index="tx_dlf_toolbox.toolsPdf">PDF-Download</label>
</languageKey>
</data>
</T3locallang>

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Module 'indexing' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: index.php 38 2010-04-16 15:39:41Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Plugin 'DLF: Collection' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_collection.php 505 2011-03-07 16:25:45Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Plugin 'DLF: List View' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_collection.php 402 2010-11-09 02:29:58Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Plugin 'DLF: Metadata' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_metadata.php 499 2010-12-23 12:40:24Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Plugin 'DLF: Navigation' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_pageview.php 108 2010-06-15 17:32:37Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Plugin 'DLF: OAI-PMH Interface' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_search.php 315 2010-10-07 13:50:33Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Plugin 'DLF: Pageview' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_pageview.php 417 2010-11-12 08:43:05Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Plugin 'DLF: Search' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_search.php 490 2010-12-22 20:23:17Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@ -30,8 +30,7 @@
* Plugin 'DLF: Viewer' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2010, Sebastian Meyer, SLUB Dresden
* @version $Id: class.tx_dlf_toc.php 487 2010-12-22 19:55:15Z smeyer $
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public

View File

@ -0,0 +1,138 @@
<?php
/***************************************************************
* Copyright notice
*
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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 License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* [CLASS/FUNCTION INDEX of SCRIPT]
*/
/**
* Plugin 'DLF: Toolbox' for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public
*/
class tx_dlf_toolbox extends tx_dlf_plugin {
public $scriptRelPath = 'plugins/toolbox/class.tx_dlf_toolbox.php';
/**
* The main method of the PlugIn
*
* @access public
*
* @param string $content: The PlugIn content
* @param array $conf: The PlugIn configuration
*
* @return string The content that is displayed on the website
*/
public function main($content, $conf) {
$this->init($conf);
// Turn cache off.
$this->setCache(FALSE);
// Quit without doing anything if required piVars are not set.
if (!$this->checkPIvars(TRUE)) {
return $content;
}
// Load template file.
if (!empty($this->conf['templateFile'])) {
$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
} else {
$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/toolbox/template.tmpl'), '###TEMPLATE###');
}
// Set toolbox label.
$markerArray['###LABEL###'] = $this->pi_getLL('label', '', TRUE);
// Build data array.
$data = array ();
if (t3lib_div::testInt($this->piVars['id'])) {
$_result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'*',
'tx_dlf_documents',
'tx_dlf_documents.uid='.intval($this->piVars['id']).tx_dlf_helper::whereClause('tx_dlf_documents'),
'',
'',
'1'
);
if ($GLOBALS['TYPO3_DB']->sql_num_rows($_result) > 0) {
$data = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($_result);
}
} else {
// TODO: "data"-Array bei externen METS-Dateien selbst bauen.
}
// Get template subpart for tools.
$subpart = $this->cObj->getSubpart($this->template, '###TOOLS###');
if (!empty($data)) {
$_tools = explode(',', $this->conf['tools']);
// Add the tools to the toolbox.
foreach ($_tools as $_tool) {
$_tool = trim($_tool);
$cObj = t3lib_div::makeInstance('tslib_cObj');
$cObj->data = $data;
$content .= $this->cObj->substituteMarkerArray($subpart, array ('###TOOL###' => $cObj->cObjGetSingle($GLOBALS['TSFE']->tmpl->setup['plugin.'][$_tool], $GLOBALS['TSFE']->tmpl->setup['plugin.'][$_tool.'.'])));
}
}
return $this->pi_wrapInBaseClass($this->cObj->substituteSubpart($this->cObj->substituteMarkerArray($this->template, $markerArray), '###TOOLS###', $content, TRUE));
}
}
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/toolbox/class.tx_dlf_toolbox.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/toolbox/class.tx_dlf_toolbox.php']);
}
?>

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:dlf/plugins/toolbox/locallang.xml:tt_content.pi_flexform.sheet_general</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<tools>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/toolbox/locallang.xml:tt_content.pi_flexform.tools</label>
<config>
<type>select</type>
<items type="array"></items>
<itemsProcFunc>tx_dlf_tceforms->itemsProcFunc_toolList</itemsProcFunc>
<size>5</size>
<autoSizeMax>15</autoSizeMax>
<maxitems>1024</maxitems>
<minitems>1</minitems>
</config>
</TCEforms>
</tools>
<templateFile>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:dlf/plugins/toolbox/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

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
<meta type="array">
<type>module</type>
<description>Language labels for plugin tx_dlf_toolbox</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.tools">Tools</label>
<label index="tt_content.pi_flexform.templateFile">Template file</label>
<label index="label">Toolbox</label>
</languageKey>
<languageKey index="de" type="array">
<label index="tt_content.pi_flexform.sheet_general">Einstellungen</label>
<label index="tt_content.pi_flexform.tools">Werkzeuge</label>
<label index="tt_content.pi_flexform.templateFile">HTML-Template</label>
<label index="label">Werkzeugkasten</label>
</languageKey>
</data>
</T3locallang>

View File

@ -0,0 +1,15 @@
<!-- ###TEMPLATE### -->
<div class="tx-dlf-tools tx-dlf-window tx-dlf-rightwin tx-dlf-open">
<div class="tx-dlf-minimize"></div>
<div class="tx-dlf-wincontainer">
<h3 class="tx-dlf-windowhead">###LABEL###<span class="tx-dlf-moveit"></span></h3>
<div class="tx-dlf-wincontent tx-dlf-scrollbar">
<ul>
<!-- ###TOOLS### -->
<li>###TOOL###</li>
<!-- ###TOOLS### -->
</ul>
</div>
</div>
</div>
<!-- ###TEMPLATE### -->

View File

@ -0,0 +1,72 @@
<?php
/***************************************************************
* Copyright notice
*
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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 License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* [CLASS/FUNCTION INDEX of SCRIPT]
*/
/**
* Tool 'Link to DFG Viewer' for the plugin 'DLF: Toolbox' of the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public
*/
class tx_dlf_toolsDfgviewer extends tx_dlf_plugin {
// Changed to prevent overwriting the main extension's parameters.
public $prefixId = 'tx_dlf_toolsDfgviewer';
public $scriptRelPath = 'plugins/toolbox/tools/dfgviewer/class.tx_dlf_toolsDfgviewer.php';
/**
* The main method of the PlugIn
*
* @access public
*
* @param string $content: The PlugIn content
* @param array $conf: The PlugIn configuration
*
* @return string The content that is displayed on the website
*/
public function main($content, $conf) {
$this->init($conf);
// Turn cache off.
$this->setCache(FALSE);
return '';
}
}
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/toolbox/tools/dfgviewer/class.tx_dlf_toolsDfgviewer.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/toolbox/tools/dfgviewer/class.tx_dlf_toolsDfgviewer.php']);
}
?>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
<meta type="array">
<type>module</type>
<description>Language labels for tool tx_dlf_dfgviewer</description>
</meta>
<data type="array">
<languageKey index="default" type="array">
<label index="label">Link to DFG Viewer</label>
</languageKey>
<languageKey index="de" type="array">
<label index="label">Link zum DFG-Viewer</label>
</languageKey>
</data>
</T3locallang>

View File

@ -0,0 +1,3 @@
plugin.tx_dlf_toolsDfgviewer {
recordId.field = record_id
}

View File

@ -0,0 +1,2 @@
<!-- ###TEMPLATE### -->
<!-- ###TEMPLATE### -->

View File

@ -0,0 +1,96 @@
<?php
/***************************************************************
* Copyright notice
*
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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 License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* [CLASS/FUNCTION INDEX of SCRIPT]
*/
/**
* Tool 'PDF Download' for the plugin 'DLF: Toolbox' of the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @copyright Copyright (c) 2011, Sebastian Meyer, SLUB Dresden
* @package TYPO3
* @subpackage tx_dlf
* @access public
*/
class tx_dlf_toolsPdf extends tx_dlf_plugin {
// Changed to prevent overwriting the main extension's parameters.
public $prefixId = 'tx_dlf_toolsPdf';
public $scriptRelPath = 'plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php';
/**
* The main method of the PlugIn
*
* @access public
*
* @param string $content: The PlugIn content
* @param array $conf: The PlugIn configuration
*
* @return string The content that is displayed on the website
*/
public function main($content, $conf) {
$this->init($conf);
// Turn cache off.
$this->setCache(FALSE);
// Load template file.
if (!empty($this->conf['templateFile'])) {
$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
} else {
$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/toolbox/tools/pdf/template.tmpl'), '###TEMPLATE###');
}
// Get document's UID.
//$this->piVars['id'] = $this->cObj->stdWrap($this->conf['docId'], $this->conf['docId.']);
//if (!empty($this->piVars['id'])) {
//$this->loadDocument();
// TODO: Just a quick and dirty hack so far!
$ppn = substr($this->cObj->data['record_id'], -9);
$content = $this->cObj->substituteMarkerArray($this->template, array ('###LINK###' => '<a href="http://digital.slub-dresden.de/fileadmin/data/'.$ppn.'/'.$ppn.'_tif/jpegs/'.$ppn.'.pdf" target="_blank" title="PDF Download">PDF Download</a>'));
//}
return $this->pi_wrapInBaseClass($content);
}
}
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php']);
}
?>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
<meta type="array">
<type>module</type>
<description>Language labels for tool tx_dlf_pdf</description>
</meta>
<data type="array">
<languageKey index="default" type="array">
<label index="label">PDF Download</label>
</languageKey>
<languageKey index="de" type="array">
<label index="label">PDF-Download</label>
</languageKey>
</data>
</T3locallang>

View File

@ -0,0 +1,3 @@
plugin.tx_dlf_toolsPdf {
docId.field = uid
}

View File

@ -0,0 +1,3 @@
<!-- ###TEMPLATE### -->
<span class="tx-dlf-tools-pdf">###LINK###</span>
<!-- ###TEMPLATE### -->

View File

@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2010 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* (c) 2011 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is