Code-Formatierungen und Anpassungen an neue Editoren

This commit is contained in:
2016-09-12 22:24:04 +00:00
parent 5ca973cb00
commit 73c64c5f65
46 changed files with 5167 additions and 5374 deletions

View File

@@ -1,24 +1,24 @@
<?php
extract( $this -> _data );
if ( $this -> _editable )
{
?>
<div class="<?php echo ( isset ( $class ) ) ? $class . ' textimage ' : '' ; ?>grid_40col wrapper" id="content_textimage_<?php echo $text_image_id; ?>" data-editable="textimage">
<?php
}
else
{
?>
<div class="grid_40col wrapper">
<?php
}
extract($this->_data);
if ($this->_editable)
{
?>
<div class="grid_40col">
<img class="grid_13col floatright" id="content_image_<?php echo $content_image_id; ?>" <?php echo ( $this -> _editable ) ? 'data-editable="image"' : '' ; ?>src="<?php echo ( file_exists( PATH_MED . $this -> _prefix . '/' . $this -> _siteId . '/' . $imgName . '.' . $imgExtension ) ) ? PATH_MED . $this -> _prefix . '/' . $this -> _siteId . '/' . $imgName . '.' . $imgExtension : '' ; ?>" title="<?php echo $imgTitle; ?>"/>
<div class="content" id="content_text_<?php echo $content_text_id; ?>" <?php echo ( $this -> _editable ) ? 'data-editable="text"' : '' ; ?>>
<?php echo $content; ?>
<div class="<?php echo (isset ($class)) ? $class . ' textimage ' : ''; ?>grid_40col wrapper" id="content_textimage_<?php echo $text_image_id; ?>" data-editable="textimage">
<?php
}
else
{
?>
<div class="grid_40col wrapper">
<?php
}
?>
<div class="grid_40col">
<img class="grid_13col floatright" id="content_image_<?php echo $content_image_id; ?>" <?php echo ($this->_editable) ? 'data-editable="image"' : ''; ?>src="<?php echo PATH_MED . $this->_prefix . '/' . $this->_siteId . '/' . $imgName . '.' . $imgExtension; ?>" title="<?php echo $imgTitle; ?>"/>
<div class="content" id="content_text_<?php echo $content_text_id; ?>" <?php echo ($this->_editable) ? 'data-editable="text"' : ''; ?>>
<?php echo $content; ?>
</div>
<br class="fix"/>
</div>
<br class="fix"/>
</div>
</div>
</div>