2022-03-18 07:50:13 +01:00
|
|
|
<?php
|
|
|
|
// Lexique
|
2022-09-11 09:42:42 +02:00
|
|
|
$param = "gallery_view";
|
|
|
|
include('./module/gallery/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_gallery.php');
|
|
|
|
|
|
|
|
echo template::formOpen('galleryThemeForm'); ?>
|
2022-01-31 09:10:49 +01:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('galleryThemeBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
|
|
|
'ico' => 'left',
|
2022-09-11 09:42:42 +02:00
|
|
|
'value' => $text['gallery_view']['theme'][0]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset8">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::submit('galleryThemeBack',[
|
2022-09-11 09:42:42 +02:00
|
|
|
'value' => $text['gallery_view']['theme'][1]
|
2022-03-18 07:50:13 +01:00
|
|
|
]); ?>
|
2022-01-31 09:10:49 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-03-18 07:50:13 +01:00
|
|
|
<h4>
|
2022-01-31 09:10:49 +01:00
|
|
|
<?php
|
2022-09-11 09:42:42 +02:00
|
|
|
echo $text['gallery_view']['theme'][2]; echo template::help($text['gallery_view']['theme'][3]);
|
2022-01-31 09:10:49 +01:00
|
|
|
?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeThumbWidth', $galleryThemeSizeWidth, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][4],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','thumbWidth'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeThumbHeight', $galleryThemeSizeHeight, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][5],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','thumbHeight'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeThumbAlign', $galleryThemeFlexAlign, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][6],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','thumbAlign'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeThumbMargin', $galleryThemeMargin, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][7],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','thumbMargin'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeThumbBorder', $galleryThemeBorder, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][8],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','thumbBorder'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('galleryThemeThumbBorderColor', [
|
|
|
|
'class' => 'colorPicker',
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['gallery_view']['theme'][9],
|
|
|
|
'label' => $text['gallery_view']['theme'][10],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'theme','thumbBorderColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeThumbRadius', $galleryThemeRadius, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][11],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','thumbRadius'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeThumbShadows', $galleryThemeShadows, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][12],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','thumbShadows'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('galleryThemeThumbShadowsColor', [
|
|
|
|
'class' => 'colorPicker',
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['gallery_view']['theme'][9],
|
|
|
|
'label' => $text['gallery_view']['theme'][14],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'theme','thumbShadowsColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeThumbOpacity', $galleryThemeOpacity, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][15],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','thumbOpacity'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-03-18 07:50:13 +01:00
|
|
|
<h4>
|
2022-01-31 09:10:49 +01:00
|
|
|
<?php
|
2022-09-11 09:42:42 +02:00
|
|
|
echo $text['gallery_view']['theme'][17];
|
|
|
|
echo template::help($text['gallery_view']['theme'][3]);
|
2022-01-31 09:10:49 +01:00
|
|
|
?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('galleryThemeLegendTextColor', [
|
|
|
|
'class' => 'colorPicker',
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['gallery_view']['theme'][9],
|
|
|
|
'label' => $text['gallery_view']['theme'][19],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'theme','legendTextColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('galleryThemeLegendBgColor', [
|
|
|
|
'class' => 'colorPicker',
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['gallery_view']['theme'][9],
|
|
|
|
'label' => $text['gallery_view']['theme'][21],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'theme','legendBgColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeLegendHeight', $galleryThemeLegendHeight, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][22],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','legendHeight'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2022-03-18 07:50:13 +01:00
|
|
|
<?php echo template::select('galleryThemeLegendAlign', $galleryThemeAlign, [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['gallery_view']['theme'][23],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'theme','legendAlign'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php echo template::formClose(); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2022-09-11 09:42:42 +02:00
|
|
|
<div class="moduleVersion"><?php echo $text['gallery_view']['theme'][24]; echo $module::VERSION; ?>
|
2022-01-31 09:10:49 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|