Fixed APS template bug, patch by arnoldB, fixes #700

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2012-02-27 19:38:29 +01:00
parent 7d6d683e52
commit ec06768303
5 changed files with 22 additions and 14 deletions

View File

@@ -712,7 +712,7 @@ class ApsParser
$Output = '';
foreach($Files as $File)
{
$Output.= '<input size="60" name="' . $File . '" type="file" /><br/><br/>';
$Output.= '<input size="45" name="' . $File . '" type="file" /><br /><br />';
}
eval("echo \"" . getTemplate("aps/upload") . "\";");

View File

@@ -6,7 +6,7 @@
</h2>
</header>
<section class="midform bradiusodd">
<section class="midform midformaps_2 bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<p style="margin-left:10px;">

View File

@@ -6,7 +6,7 @@
</h2>
</header>
<section class="midform bradiusodd">
<section class="midform midformaps_2 bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>

View File

@@ -6,27 +6,23 @@
</h2>
</header>
<section class="midform bradiusodd">
<section class="midform midformaps_1 bradiusodd">
<form action="$filename" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['aps']['upload']}</legend>
<p style="margin-left:5em;">
<p>
<strong>{$lng['aps']['upload_description']}</strong><br />
<a href="http://www.apsstandard.org/" rel="external">http://www.apsstandard.org/</a>
</p>
<p style="margin-left:5em;">
{$Output}
</p>
<p class="submit">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="submit" value="{$lng['aps']['upload']}" />
</p>
</fieldset>
</form>
</section>
</article>

View File

@@ -229,6 +229,18 @@ footer a:hover {
text-align: right;
}
.midformaps_1 {
padding:10px;
}
.midformaps_2 {
padding:5px;
}
.midformaps form input {
text-align: center;
}
.fullform textarea,.midform textarea {
width: 60%;
}