diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-04-21 15:43:00 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-04-21 15:43:00 +0000 |
commit | 3b79d6b9cc75eaf2b54f6d41843a313b13395c8d (patch) | |
tree | ccacf4d7d95197c700c25b28abc469a50706616f /templates/tagedit.tpl.php | |
parent | 4de56ed6623c57c1c767be192ffe2af5926fe598 (diff) | |
download | semanticscuttle-3b79d6b9cc75eaf2b54f6d41843a313b13395c8d.tar.gz semanticscuttle-3b79d6b9cc75eaf2b54f6d41843a313b13395c8d.tar.bz2 |
New feature: private descriptions for tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@117 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/tagedit.tpl.php')
-rw-r--r-- | templates/tagedit.tpl.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/tagedit.tpl.php b/templates/tagedit.tpl.php new file mode 100644 index 0000000..fbfe48c --- /dev/null +++ b/templates/tagedit.tpl.php @@ -0,0 +1,35 @@ +<?php +$this->includeTemplate($GLOBALS['top_include']); +$userservice = & ServiceFactory :: getServiceInstance('UserService'); +?> +<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> +</p> + +<?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']); +?> |