aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default/tagedit.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/default/tagedit.tpl.php')
-rw-r--r--data/templates/default/tagedit.tpl.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/data/templates/default/tagedit.tpl.php b/data/templates/default/tagedit.tpl.php
new file mode 100644
index 0000000..860c933
--- /dev/null
+++ b/data/templates/default/tagedit.tpl.php
@@ -0,0 +1,33 @@
+<?php
+$this->includeTemplate($GLOBALS['top_include']);
+?>
+<script type="text/javascript">
+window.onload = function() {
+ document.getElementById("description").focus();
+}
+</script>
+<form action="<?php echo $formaction; ?>" method="post">
+<table>
+<tr>
+ <th align="left"><?php echo T_('Description'); ?></th>
+ <td><textarea name="description" cols="75" rows="10"><?php echo $description['tDescription']; ?></textarea></td>
+</tr>
+<tr>
+ <td></td>
+ <td>
+ <input type="submit" name="confirm" value="<?php echo T_('Update'); ?>" />
+ <input type="submit" name="cancel" value="<?php echo T_('Cancel'); ?>" />
+ </td>
+ <td></td>
+</tr>
+</table>
+
+<?php if (isset($referrer)): ?>
+<div><input type="hidden" name="referrer" value="<?php echo $referrer; ?>" /></div>
+<?php endif; ?>
+<div><input type="hidden" name="tag" value="<?php echo $tag; ?>" /></div>
+</form>
+
+<?php
+$this->includeTemplate($GLOBALS['bottom_include']);
+?>