diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-01-15 07:13:27 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-01-15 07:13:27 +0000 |
| commit | 48ac7c4a1ecb2b9e10e9b8984a1ac52646e2d351 (patch) | |
| tree | 4cd861fc0bd73ad7175a7b75da56642ac4aa8a80 /views/admin/form/select.phtml | |
| parent | f5251fc84775783e91794b3ab0752f5414974394 (diff) | |
- Sicherung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5266 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/form/select.phtml')
| -rw-r--r-- | views/admin/form/select.phtml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/views/admin/form/select.phtml b/views/admin/form/select.phtml new file mode 100644 index 0000000..70e040c --- /dev/null +++ b/views/admin/form/select.phtml @@ -0,0 +1,15 @@ +<div class="form-group">
+
+ <label class="col-sm-6 control-label" for="<?php echo $this->view['field_id']; ?>"><?php echo $this->view['field_label']; ?></label>
+
+ <div class="col-sm-6">
+
+ <select id="<?php echo $this->view['field_id']; ?>" name="<?php echo $this->view['field_name']; ?>">
+ <?php foreach ($this->view['field_values'] as $k => $v) { ?>
+ <option <?php echo (($k == $this->view['field_value'])?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($k); ?>"><?php echo wpsg_hspc($v); ?></option>
+ <?php } ?>
+ </select>
+
+ </div>
+
+</div>
\ No newline at end of file |
