summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-07-31 19:53:31 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-07-31 19:53:31 +0200
commit44e099ad18f30b2f0df3c4a9546e3b254eafb638 (patch)
tree4a46bfc75e2220e5740cf1edc2d0f370ae2949f8
parent852896dac73e74fd791a001b8ea6bf23aa9e7791 (diff)
downloadrpg-44e099ad18f30b2f0df3c4a9546e3b254eafb638.tar.gz
rpg-44e099ad18f30b2f0df3c4a9546e3b254eafb638.tar.bz2
another try at the uploadform
darcs-hash:20060731175331-7ad00-7cfe2aa927bb837368c07e01a85ad9ffe697956d.gz
-rw-r--r--inc/media.php7
-rw-r--r--lib/tpl/default/media.css8
2 files changed, 8 insertions, 7 deletions
diff --git a/inc/media.php b/inc/media.php
index ac9ea6a6e..e4f78c772 100644
--- a/inc/media.php
+++ b/inc/media.php
@@ -431,8 +431,11 @@ function media_uploadform($ns, $auth){
<p>
<label for="upload__name"><?php echo $lang['txt_filename']?>:</label>
- <input type="text" name="id" class="edit" id="upload__name" />
- <input type="submit" class="button" value="<?php echo $lang['btn_upload']?>" accesskey="s" />
+ <span style="white-space:nowrap">
+ <input type="text" name="id" class="edit" id="upload__name" /><input
+ type="submit" class="button" value="<?php echo $lang['btn_upload']?>"
+ accesskey="s" />
+ </span>
</p>
<?php if($auth >= AUTH_DELETE){?>
diff --git a/lib/tpl/default/media.css b/lib/tpl/default/media.css
index c36c48452..105083d38 100644
--- a/lib/tpl/default/media.css
+++ b/lib/tpl/default/media.css
@@ -154,17 +154,15 @@ it's dirty, so any "real" fixes are welcome */
}
#media__content form.upload label {
float: left;
- width: 12.0em;
- margin-right: .5em;
-}
-#media__content form.upload input {
+ width: 30%;
}
#media__content form.upload label.check {
float: none;
width: auto;
}
#media__content form.upload input.check {
- margin-left: 12.0em;
+ //margin-left: 12.0em;
+ margin-left: 30%;
}
/* --- meta edit form --- */