diff options
Diffstat (limited to 'w/view/templates/edittabs.php')
-rw-r--r-- | w/view/templates/edittabs.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/w/view/templates/edittabs.php b/w/view/templates/edittabs.php new file mode 100644 index 0000000..c65a7c7 --- /dev/null +++ b/w/view/templates/edittabs.php @@ -0,0 +1,19 @@ +<div class="tabs"> + +<?php +foreach ($tablist as $key => $value) { + echo '<div class="tab">'; + if ($key == $opentab) { + echo '<input name="interface" type="radio" value="'.$key.'" id="tab' . $key . '" class="checkboxtab" checked>'; + } else { + echo '<input name="interface" type="radio" value="'.$key.'" id="tab' . $key . '" class="checkboxtab">'; + } + echo '<label for="tab' . $key . '">' . $key . '</label>'; + echo '<div class="content">'; + echo '<textarea name="' . $key . '" id="' . $key . '" >' . $value . '</textarea>'; + echo '</div>'; + echo '</div>'; +} +?> + +</div>
\ No newline at end of file |