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
<?php $GLOBALS['TL_JAVASCRIPT'][] = $GLOBALS['TL_CONFIG']['uploadPath'] . '/assets/js/leaflet.js|static';?> | |
<?php #$GLOBALS['TL_JAVASCRIPT'][] = $GLOBALS['TL_CONFIG']['uploadPath'] . '/assets/js/Leaflet.fullscreen.min.js|static';?> | |
<?php $GLOBALS['TL_CSS'][] = $GLOBALS['TL_CONFIG']['uploadPath'] . '/assets/css/leaflet.css|static';?> | |
<?php #$GLOBALS['TL_CSS'][] = $GLOBALS['TL_CONFIG']['uploadPath'] . '/assets/css/leaflet.fullscreen.css|static';?> | |
<?php $GLOBALS['TL_BODY'][] = " | |
<script> | |
var mymap = L.map('map').setView([51.xx, 11.xx], 16); |
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
<?php echo \Input::get('my_get_variable'); |
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
<a onclick="alert('Google Analytics wurde deaktiviert');" href="javascript:gaOptout()">Google Analytics deaktivieren</a><a onclick="alert('Google Analytics wurde deaktiviert');" href="javascript:gaOptout()">Google Analytics deaktivieren</a> | |
<?php $GLOBALS['TL_BODY'][] = ' | |
<script type="text/javascript"> | |
var gaProperty = \'UA-XXXXXXX-X\'; | |
var disableStr = \'ga-disable-\' + gaProperty; | |
if (document.cookie.indexOf(disableStr + \'=true\') > -1) { | |
window[disableStr] = true; | |
} | |
function gaOptout() { |
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
<?php | |
echo date("Y") - 1959; |
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
<?php | |
global $objPage; | |
echo substr($objPage->alias, strrpos($objPage->alias, '/') + 1); |
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
<?php | |
if (!\Input::get('day')) | |
{ | |
\Input::setGet('day',date('Ymd')); | |
} |
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
<?php | |
if(strlen(\Input::get('job')) > 0 ){ | |
echo \Input::get('job'); | |
} |
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
<?php | |
/* | |
* | |
* DocCheck FETCH Login Script | |
* Set the secret_key that has been provided to you by DocCheck or vice versa in row 12 | |
* Example url: | |
* domain.tld/fetch.php?dc_fetch_timestamp=1580983484969&dc_fetch_checksum=abcd | |
* | |
*/ |
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
\Contao\Config::get(‘dateFormat’)? |
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
/** @var PageModel $objPage */ | |
global $objPage; | |
$this->import('Database'); | |
$vars = array(); | |
// Get the global theme variables | |
$objTheme = $this->Database->prepare("SELECT tl_theme.vars FROM tl_theme, tl_layout WHERE tl_theme.id=tl_layout.pid AND tl_layout.id=?") | |
->limit(1) | |
->execute($objPage->layoutId); |