Fixed APS template bug, patch by arnoldB, fixes #700
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
@@ -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") . "\";");
|
||||
|
||||
@@ -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;">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 - {$lng['aps']['upload']}</legend>
|
||||
<p style="margin-left:5em;">
|
||||
<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;">
|
||||
<legend>Froxlor - {$lng['aps']['upload']}</legend>
|
||||
<p>
|
||||
<strong>{$lng['aps']['upload_description']}</strong><br />
|
||||
<a href="http://www.apsstandard.org/" rel="external">http://www.apsstandard.org/</a>
|
||||
</p>
|
||||
{$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>
|
||||
|
||||
@@ -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%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user