summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnika Henke <a.c.henke@arcor.de>2006-10-16 00:20:40 +0200
committerAnika Henke <a.c.henke@arcor.de>2006-10-16 00:20:40 +0200
commit1440e523e098b35c4446db5252809a52a68ca292 (patch)
treefd821e960d0b499d9689c3e1a5c2c10765dae190
parent2cdbda067e3b5cbbf4b6f34ba5902336e7cc936a (diff)
downloadrpg-1440e523e098b35c4446db5252809a52a68ca292.tar.gz
rpg-1440e523e098b35c4446db5252809a52a68ca292.tar.bz2
a bit of strictness for mediamgr + login form
darcs-hash:20061015222040-d5083-afb1c38f5bb2610260bbc51fbff816a8ed2e5f49.gz
-rw-r--r--inc/html.php2
-rw-r--r--inc/media.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php
index 793a0d08f..57bfd26d3 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -53,7 +53,7 @@ function html_login(){
?>
<div class="centeralign">
<form action="<?php echo script()?>" accept-charset="<?php echo $lang['encoding']?>"
- method="post" name="login">
+ method="post" id="dw__login">
<fieldset>
<legend><?php echo $lang['btn_login']?></legend>
<input type="hidden" name="id" value="<?php echo $ID?>" />
diff --git a/inc/media.php b/inc/media.php
index a74f55956..fb185435d 100644
--- a/inc/media.php
+++ b/inc/media.php
@@ -97,7 +97,6 @@ function media_metaform($id,$auth){
// output
echo '<h1>'.hsc(noNS($id)).'</h1>'.NL;
echo '<form action="'.DOKU_BASE.'lib/exe/mediamanager.php" accept-charset="utf-8" method="post" class="meta">'.NL;
- echo '<input type="hidden" name="img" value="'.hsc($id).'" />'.NL;
foreach($fields as $key => $field){
// get current value
$tags = array($field[0]);
@@ -124,11 +123,12 @@ function media_metaform($id,$auth){
echo "<input $att/>".NL;
}else{
$att = buildAttributes($p);
- echo "<textarea $att>".formText($value).'</textarea>'.NL;
+ echo "<textarea $att rows=\"6\" cols=\"50\">".formText($value).'</textarea>'.NL;
}
echo '</div>'.NL;
}
echo '<div class="buttons">'.NL;
+ echo '<input type="hidden" name="img" value="'.hsc($id).'" />'.NL;
echo '<input name="do[save]" type="submit" value="'.$lang['btn_save'].
'" title="ALT+S" accesskey="s" class="button" />'.NL;
echo '<input name="do[cancel]" type="submit" value="'.$lang['btn_cancel'].