Commit d2aa51c4 authored by Sven Rhinow's avatar Sven Rhinow

HTML-IDs und Classes wurden mit srl_ ergaenzt damit sie nicht mit anderen Erweiterungen kolidieren.

parent 4e65d920
#overLay{
#srl_overLay{
position: fixed;
z-index: 9998;
top: 0;
......@@ -10,7 +10,7 @@
display:none;
/* border:3px solid #f00; */
}
#layer{
#srl_layer{
position:fixed;
z-index: 9999;
height:460px;
......@@ -23,7 +23,7 @@
border-radius: 10px;
}
#closeBtn {
#srl_closeBtn {
position:absolute;
right:10px;
top:10px;
......@@ -34,7 +34,7 @@ border-radius: 10px;
text-indent:-9999px;
cursor: pointer;
}
.layer_content{
.srl_content{
position:relative;
overflow: auto;
padding:20px;
......
......@@ -8,19 +8,19 @@
options:{
parentEl : 'top',
overLayID: 'overLay',
overLayID: 'srl_overLay',
drawOverLay: false, // false = nicht erstellen wenn ein Element mit dieser ID schon im HTML existiert
overLayOpacity: 0.7,
layerID : 'layer',
layerID : 'srl_layer',
layerWidth: 500,
layerHeight: 400,
drawLayer: false, //false = nicht erstellen wenn ein Element mit dieser ID schon im HTML existiert
closePerLayerClick:true,
closePerEsc:true,
closeID : 'closeBtn',
closeClass: 'closer',
closeID : 'srl_closeBtn',
closeClass: 'srl_closer',
drawCloseBtn: false, //false = nicht erstellen wenn ein Element mit dieser ID schon im HTML existiert
contentID : 'layercontent',
contentID : 'srl_content',
mkLinkEvents: true, // wenn false wird kein Link mit dem Click-Event ausgestattet (z.B. beim sortigen anzeigen)
duration : 1000,
drawLayerCenterY:true,
......
......@@ -145,38 +145,38 @@ array_insert($GLOBALS['TL_DCA']['tl_module']['fields'] , 2, array
'srl_set_overLayID' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_module']['srl_set_overLayID'],
'default' => 'overLay',
'default' => 'srl_overLay',
'exclude' => true,
'inputType' => 'text',
'eval' => array('tl_class'=>'w50'),
'sql' => "varchar(55) NOT NULL default 'overLay'"
'sql' => "varchar(55) NOT NULL default 'srl_overLay'"
),
'srl_set_layerID' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_module']['srl_set_layerID'],
'default' => 'layer',
'default' => 'srl_layer',
'exclude' => true,
'inputType' => 'text',
'eval' => array('tl_class'=>'w50'),
'sql' => "varchar(55) NOT NULL default 'layer'"
'sql' => "varchar(55) NOT NULL default 'srl_layer'"
),
'srl_set_closeID' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_module']['srl_set_closeID'],
'default' => 'closeBtn',
'default' => 'srl_closeBtn',
'exclude' => true,
'inputType' => 'text',
'eval' => array('tl_class'=>'w50'),
'sql' => "varchar(55) NOT NULL default 'closeBtn'"
'sql' => "varchar(55) NOT NULL default 'srl_closeBtn'"
),
'srl_set_closeClass' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_module']['srl_set_closeClass'],
'default' => 'closer',
'default' => 'srl_closer',
'exclude' => true,
'inputType' => 'text',
'eval' => array('tl_class'=>'w50'),
'sql' => "varchar(55) NOT NULL default 'closer'"
'sql' => "varchar(55) NOT NULL default 'srl_closer'"
),
'srl_set_overLayOpacity' => array
(
......
<?php if($this->showLayerHtml): ?>
<div id="overLay"></div>
<div id="layer">
<div id="closeBtn">schliessen</div>
<div class="layer_content">
<div id="srl_overLay"></div>
<div id="srl_layer">
<div id="srl_closeBtn">schliessen</div>
<div class="srl_content">
<?php echo $this->content; ?>
</div>
</div><!--#layer-->
<?php endif; ?>
<div id="overLay"></div>
<div id="layer">
<div id="closeBtn">schliessen</div>
<?php echo $this->content; ?>
<?php if($this->showLayerHtml): ?>
<div id="srl_overLay"></div>
<div id="srl_layer">
<div id="srl_closeBtn">schliessen</div>
<div class="srl_content">
<?php echo $this->content; ?>
</div>
</div><!--#layer-->
<?php endif; ?>
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