Commit dad89a9a authored by Sven Rhinow's avatar Sven Rhinow

change namespace from SvenRhinow to Srhinow

parent 7e49a0fe
......@@ -3,11 +3,9 @@
/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2014 Leo Feyer
* Copyright (c) 2005-2018 Leo Feyer
*
* @package Recurring_element
* @link https://contao.org
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
* @license LGPL-3.0+
*/
......@@ -16,7 +14,7 @@
*/
ClassLoader::addNamespaces(array
(
'SvenRhinow',
'Srhinow',
));
......@@ -26,7 +24,7 @@ ClassLoader::addNamespaces(array
ClassLoader::addClasses(array
(
// Module
'SvenRhinow\recurring_element\ModuleCurrentItem' => 'system/modules/recurring_element/module/ModuleCurrentItem.php',
'Srhinow\recurringElement\ModuleCurrentItem' => 'system/modules/recurring_element/module/ModuleCurrentItem.php',
));
......
......@@ -3,10 +3,10 @@
/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2014 Leo Feyer
* Copyright (c) sr-tag.de Sven Rhinow Webentwicklung
*
* @package Calendar
* @link https://contao.org
* @package recurring_element
* @link https://www.sr-tag.de
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
*/
......@@ -33,7 +33,7 @@ array_insert($GLOBALS['FE_MOD'], 2, array
(
'recurring_element' => array
(
'recel_current_item' => 'SvenRhinow\recurring_element\ModuleCurrentItem',
'recel_current_item' => 'Srhinow\recurringElement\ModuleCurrentItem',
)
));
......
......@@ -3,10 +3,10 @@
/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2014 Leo Feyer
* Copyright (c) sr-tag.de Sven Rhinow Webentwicklung
*
* @package Calendar
* @link https://contao.org
* @package recurring_element
* @link https://www.sr-tag.de
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
*/
......
......@@ -55,8 +55,8 @@ $GLOBALS['TL_DCA']['tl_recurring_element_items'] = array
'sorting' => array
(
'mode' => 4,
'fields' => array('startTime DESC'),
'headerFields' => array('title', 'tstamp', 'image'),
'fields' => array('title'),
'headerFields' => array('title','tstamp'),
'panelLayout' => 'filter;sort,search,limit',
'child_record_callback' => array('tl_recurring_element_items', 'listEvents'),
'child_record_class' => 'no_padding'
......@@ -118,7 +118,7 @@ $GLOBALS['TL_DCA']['tl_recurring_element_items'] = array
'palettes' => array
(
'__selector__' => array('addImageSettings','addText', 'recurring'),
'default' => '{title_legend},title,author;{image_legend},addImageSettings;{text_legend},addText;{date_legend},startDate,endDate;{recurring_legend},recurring;{expert_legend:hide},priority,cssClass;{publish_legend},published,start,stop'
'default' => '{basic_legend},title,author;{image_legend},addImageSettings;{text_legend},addText;{date_legend},startDate,endDate;{recurring_legend},recurring;{expert_legend:hide},priority,cssClass,published'
),
// Subpalettes
......@@ -229,7 +229,7 @@ $GLOBALS['TL_DCA']['tl_recurring_element_items'] = array
),
'addText' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_recurring_element_items']['addImage'],
'label' => &$GLOBALS['TL_LANG']['tl_recurring_element_items']['addText'],
'exclude' => true,
'inputType' => 'checkbox',
'eval' => array('submitOnChange'=>true),
......@@ -247,7 +247,7 @@ $GLOBALS['TL_DCA']['tl_recurring_element_items'] = array
),
'text' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_recurring_element_items']['teaser'],
'label' => &$GLOBALS['TL_LANG']['tl_recurring_element_items']['text'],
'exclude' => true,
'search' => true,
'inputType' => 'textarea',
......@@ -354,7 +354,7 @@ $GLOBALS['TL_DCA']['tl_recurring_element_items'] = array
'exclude' => true,
'inputType' => 'timePeriod',
'options' => array('days', 'weeks', 'months', 'years'),
'reference' => &$GLOBALS['TL_LANG']['tl_recurring_element_items'],
'reference' => &$GLOBALS['TL_LANG']['tl_recurring_element_items']['repeatEach_options'],
'eval' => array('mandatory'=>true, 'rgxp'=>'digit', 'tl_class'=>'w50'),
'save_callback' => array
(
......
<?php
namespace Srhinow\recurringElement;
/**
* Contao Open Source CMS
......@@ -11,11 +12,6 @@
*/
/**
* Run in a custom namespace, so the class can be replaced
*/
namespace SvenRhinow\recurring_element;
/**
* Class ModuleCurrentItem
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment