-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53f5300
commit b1eeb9f
Showing
3 changed files
with
53 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
/** | ||
* Contao Open Source CMS | ||
* Copyright (c) 2005-2015 Leo Feyer | ||
* | ||
* @package semantic_html5 | ||
* @copyright MEN AT WORK 2016 | ||
* @author David Maack <[email protected]> | ||
* @license LGPL-3.0+ | ||
*/ | ||
|
||
namespace SemanticHTML5\Elements; | ||
|
||
class End extends \ContentElement | ||
{ | ||
|
||
/** | ||
* Template | ||
* @var string | ||
*/ | ||
protected $strTemplate = 'ce_semantic_html5_end'; | ||
|
||
/** | ||
* Generate the content element | ||
*/ | ||
protected function compile() | ||
{ | ||
if (TL_MODE == 'BE') { | ||
$this->strTemplate = 'be_wildcard'; | ||
$this->Template = new \BackendTemplate($this->strTemplate); | ||
} | ||
} | ||
|
||
} |
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