-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from contao-themes-net/3.x
3.x
- Loading branch information
Showing
1,711 changed files
with
2,198 additions
and
3,026 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
services: | ||
_defaults: | ||
autoconfigure: true | ||
autowire: true | ||
|
||
ContaoThemesNet\OddThemeBundle\: | ||
resource: ../src/ | ||
|
||
# Migration | ||
ContaoThemesNet\OddThemeBundle\Migration\: | ||
resource: "../src/Migration/*" | ||
tags: | ||
- { name: contao.migration, priority: 99 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?php | ||
|
||
/** | ||
* Add palette to tl_content | ||
*/ | ||
|
||
|
||
$GLOBALS['TL_DCA']['tl_content']['palettes']['sliderElement'] = '{type_legend},type,headline,odd_subHeadline;{text_legend},text,odd_page,target,odd_linkText;{image_legend},addImage;{expert_legend:hide},guests,cssID;{invisible_legend:hide},invisible,start,stop'; | ||
|
||
/** | ||
* Add fields to tl_content | ||
*/ | ||
|
||
$GLOBALS['TL_DCA']['tl_content']['fields']['odd_page'] = [ | ||
'exclude' => true, | ||
'search' => true, | ||
'inputType' => 'text', | ||
'eval' => [ | ||
'mandatory' => false, | ||
'rgxp' => 'url', | ||
'decodeEntities' => true, | ||
'maxlength' => 255, | ||
'dcaPicker' => true, | ||
'addWizardClass' => false, | ||
'tl_class' => 'w50'], | ||
'sql' => "TEXT NULL" | ||
]; | ||
|
||
$GLOBALS['TL_DCA']['tl_content']['fields']['odd_linkText'] = [ | ||
'exclude' => true, | ||
'inputType' => 'text', | ||
'eval' => ['tl_class' => 'w50'], | ||
'sql' => "TEXT NULL" | ||
]; | ||
|
||
$GLOBALS['TL_DCA']['tl_content']['fields']['target'] = [ | ||
'exclude' => true, | ||
'inputType' => 'checkbox', | ||
'eval' => ['tl_class' => 'w50 m12'], | ||
'sql' => "char(1) NOT NULL default ''" | ||
]; | ||
|
||
$GLOBALS['TL_DCA']['tl_content']['fields']['odd_subHeadline'] = [ | ||
'exclude' => true, | ||
'inputType' => 'text', | ||
'eval' => ['tl_class' => 'w50'], | ||
'sql' => "TEXT NULL" | ||
]; |
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
$GLOBALS['TL_LANG']['CTE']['themeOdd'] = 'ODD Theme'; | ||
$GLOBALS['TL_LANG']['CTE']['sliderElement'][0] = 'Slider-Element'; | ||
|
||
$GLOBALS['TL_LANG']['tl_article']['th_tags']['ODD01/01'] = 'Kopfzeile / 01'; | ||
$GLOBALS['TL_LANG']['tl_article']['th_tags']['ODD01/02'] = 'Kopfzeile / 02'; | ||
$GLOBALS['TL_LANG']['tl_article']['th_tags']['ODD02/01'] = 'Fußzeile / 01'; | ||
$GLOBALS['TL_LANG']['tl_article']['th_tags']['ODD02/02'] = 'Fußzeile / 02'; | ||
$GLOBALS['TL_LANG']['tl_article']['th_tags']['ODD02/03'] = 'Fußzeile / 03'; | ||
$GLOBALS['TL_LANG']['tl_article']['th_tags']['ODD02/04'] = 'Fußzeile / 04'; | ||
$GLOBALS['TL_LANG']['tl_article']['th_tags']['ODD02/05'] = 'Fußzeile / 05'; | ||
|
||
$GLOBALS['TL_LANG']['MOD']['oddTheme'][0] = "pdir themes"; | ||
$GLOBALS['TL_LANG']['MOD']['oddThemeSetup'][0] = "ODD Theme Setup"; | ||
|
||
$GLOBALS['TL_LANG']['odd']['event_more_link'] = "Event-Details ansehen"; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.