diff options
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/form/checkbox.phtml | 18 | ||||
| -rw-r--r-- | views/admin/form/input.phtml | 2 | ||||
| -rw-r--r-- | views/admin/module.phtml | 2 |
3 files changed, 14 insertions, 8 deletions
diff --git a/views/admin/form/checkbox.phtml b/views/admin/form/checkbox.phtml index 6abc56c..fcf63e6 100644 --- a/views/admin/form/checkbox.phtml +++ b/views/admin/form/checkbox.phtml @@ -1,11 +1,17 @@ <div class="form-group form-group-sm form-checkbox <?php echo ((wpsg_isSizedString($this->view['field_config']['help']))?'has-feedback':''); ?>">
- <div class="<?php
-
- if (wpsg_isTrue($this->view['field_config']['fullWidth'])) echo 'col-sm-12';
- else echo 'col-sm-offset-6 col-sm-6';
-
- ?>">
+ <?php if (wpsg_isSizedString($this->view['field_config']['label'])) { $value_class = 'col-sm-6'; ?>
+ <label class="col-sm-6 control-label">
+ <?php echo wpsg_hspc($this->view['field_config']['label']); ?>
+ </label>
+ <?php } else {
+
+ if (wpsg_isTrue($this->view['field_config']['fullWidth'])) $value_class = 'col-sm-12';
+ else $value_class = 'col-sm-offset-6 col-sm-6';
+
+ } ?>
+
+ <div class="<?php echo $value_class; ?>">
<div class="checkbox">
<label>
diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml index 2af7457..82ea89e 100644 --- a/views/admin/form/input.phtml +++ b/views/admin/form/input.phtml @@ -47,7 +47,7 @@ jQuery(document).ready(function() {
- jQuery('#<?php echo $this->view['field_id']; ?>').datepicker();
+ jQuery('#<?php echo $this->view['field_id']; ?>').datepicker( { dateFormat: 'dd.mm.yy' } );
} );
diff --git a/views/admin/module.phtml b/views/admin/module.phtml index 5c56e73..f7be96c 100644 --- a/views/admin/module.phtml +++ b/views/admin/module.phtml @@ -69,7 +69,7 @@ <?php } ?>
- <?php if (!isset($this->arAllModule[$_REQUEST['modul']]->version) || (($this->arAllModule[$_REQUEST['modul']]->free === true || (is_array($this->arLizenz) && in_array($_REQUEST['modul'], (array)$this->arLizenz['mods'])) || $this->arAllModule[$_REQUEST['modul']]->getDemoDays() > 0))) { ?>
+ <?php if (!isset($this->arAllModule[$_REQUEST['modul']]->version) || ((wpsg_isTrue($this->arAllModule[$_REQUEST['modul']]->free) || (is_array($this->arLizenz) && in_array($_REQUEST['modul'], (array)$this->arLizenz['mods'])) || $this->arAllModule[$_REQUEST['modul']]->getDemoDays() > 0))) { ?>
<?php if ($this->arAllModule[$_REQUEST['modul']]->inline === true) { ?>
<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>
<?php } ?>
|
