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 = '';
|
$Output = '';
|
||||||
foreach($Files as $File)
|
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") . "\";");
|
eval("echo \"" . getTemplate("aps/upload") . "\";");
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</h2>
|
</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="midform bradiusodd">
|
<section class="midform midformaps_2 bradiusodd">
|
||||||
|
|
||||||
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
|
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
|
||||||
<p style="margin-left:10px;">
|
<p style="margin-left:10px;">
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</h2>
|
</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="midform bradiusodd">
|
<section class="midform midformaps_2 bradiusodd">
|
||||||
|
|
||||||
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
|
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|||||||
@@ -6,27 +6,23 @@
|
|||||||
</h2>
|
</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="midform bradiusodd">
|
<section class="midform midformaps_1 bradiusodd">
|
||||||
|
|
||||||
<form action="$filename" method="post" enctype="multipart/form-data">
|
<form action="$filename" method="post" enctype="multipart/form-data">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Froxlor - {$lng['aps']['upload']}</legend>
|
<legend>Froxlor - {$lng['aps']['upload']}</legend>
|
||||||
<p style="margin-left:5em;">
|
<p>
|
||||||
<strong>{$lng['aps']['upload_description']}</strong><br />
|
<strong>{$lng['aps']['upload_description']}</strong><br />
|
||||||
<a href="http://www.apsstandard.org/" rel="external">http://www.apsstandard.org/</a>
|
<a href="http://www.apsstandard.org/" rel="external">http://www.apsstandard.org/</a>
|
||||||
</p>
|
</p>
|
||||||
<p style="margin-left:5em;">
|
|
||||||
{$Output}
|
{$Output}
|
||||||
</p>
|
|
||||||
<p class="submit">
|
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<input type="hidden" name="action" value="$action" />
|
<input type="hidden" name="action" value="$action" />
|
||||||
<input type="submit" value="{$lng['aps']['upload']}" />
|
<input type="submit" value="{$lng['aps']['upload']}" />
|
||||||
</p>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -229,6 +229,18 @@ footer a:hover {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.midformaps_1 {
|
||||||
|
padding:10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.midformaps_2 {
|
||||||
|
padding:5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.midformaps form input {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.fullform textarea,.midform textarea {
|
.fullform textarea,.midform textarea {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user