';
// some predefinitions
if(empty($template_default['imagegallery_default_column'])) {
$template_default['imagegallery_default_column'] = 1;
} else {
$template_default['imagegallery_default_column'] = intval($template_default['imagegallery_default_column']);
if(empty($template_default['imagegallery_default_column'])) {
$template_default['imagegallery_default_column'] = 1;
}
}
$template_default['imagegallery_default_width'] = isset($template_default['imagegallery_default_width']) ? $template_default['imagegallery_default_width'] : '' ;
$template_default['imagegallery_default_height'] = isset($template_default['imagegallery_default_height']) ? $template_default['imagegallery_default_height'] : '' ;
$template_default['imagegallery_default_space'] = isset($template_default['imagegallery_default_space']) ? $template_default['imagegallery_default_space'] : '' ;
$content['image_default'] = array(
'pos' => 0,
'width' => $template_default['imagegallery_default_width'],
'height' => $template_default['imagegallery_default_height'],
'width_zoom' => $phpwcms['img_prev_width'],
'height_zoom' => $phpwcms['img_prev_height'],
'col' => $template_default['imagegallery_default_column'],
'space' => $template_default['imagegallery_default_space'],
'zoom' => 0,
'caption' => '',
'lightbox' => 0,
'nocaption' => 0,
'center' => 0,
'crop' => 0,
'crop_zoom' => 0,
'fx1' => 0,
'fx2' => 0,
'fx3' => 0,
'freetext' => '',
'images' => array()
);
$content['image_special'] = isset($content['image_special']) ? array_merge($content['image_default'], $content['image_special']) : $content['image_default'];
?>
|
: |
|
: |
|
|
|
: |
|
|
|
|
|
: |
|
|
: |
|
|
: |
|
|
|
: |
|
|
isset($content["image_html"]) ? $content["image_html"] : '',
'field' => 'image_html',
'height' => '300px',
'width' => '536px',
'rows' => '15',
'editor' => $_SESSION["WYSIWYG_EDITOR"],
'lang' => 'en'
);
include(PHPWCMS_ROOT.'/include/inc_lib/wysiwyg.editor.inc.php');
?> |
|