2008-02-13 17:34:18 +00:00
|
|
|
<?php
|
|
|
|
$this->includeTemplate($GLOBALS['top_include']);
|
2008-12-05 07:25:04 +00:00
|
|
|
|
2008-02-13 17:34:18 +00:00
|
|
|
?>
|
|
|
|
<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['cdDescription']; ?></textarea></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td>
|
|
|
|
<?php
|
|
|
|
if(strlen($description['cdDatetime'])>0) {
|
2008-02-19 14:43:00 +00:00
|
|
|
echo T_('Last modification:').' '.$description['cdDatetime'].', ';
|
2008-02-13 17:34:18 +00:00
|
|
|
$lastUser = $userservice->getUser($description['uId']);
|
2011-03-15 18:13:14 +00:00
|
|
|
echo '<a href="' . createURL('profile', $lastUser['username']) . '">'
|
|
|
|
. SemanticScuttle_Model_UserArray::getName($lastUser) . '</a>';
|
2008-02-13 17:34:18 +00:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td></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']);
|
|
|
|
?>
|