index f4d007908e70a8aceb63416cc9662f06ef034c05..ac6ecb271bf00e4d682f89202a4030d0a82a7a24 100644 (file)
-<div style="font-size: 18px;">
- {t}Repository settings{/t}
-</div>
-<br>
+<h1>{t}Repository settings{/t}</h1>
<p class="seperator">
{t}To add packages to your package list you have to setup the repository settings first.{/t}
<br>
-{t}Packages may be stored on different servers called mirrors. These mirrors have different types of releases (for example woody/sarge), which finaly contain packages sorted by section.{/t}
+{t}Packages are usually stored on different servers called mirrors. These mirrors have different types of releases (for example woody/sarge/etch), which finally contain packages sorted by section.{/t}
<br>
<br>
{t}Section and release can't be changed in future dialogs, but the mirror can be changed by editing the entry.{/t}
</p>
<br>
<p class="seperator"><b>
-{t}First select the prefered release then the section and finally the mirror.{/t}</b>
+{t}First select the preferred release, then the section and finally the mirror.{/t}</b>
<br>
<br>
</p>
-<table>
+<table summary="">
<tr>
<td height="30">
- <h2>
- <LABEL for="release">{t}Following releases are available{/t}</LABEL> :
- </h2>
+ <b><LABEL for="release">{t}Release{/t}</LABEL></b>
</td>
<td>
- <select name="FAIdebianReleaseS" title="{t}Release{/t}" {$ReleaseACL}>
+ <select name="FAIdebianReleaseS" title="{t}Release{/t}" onChange='document.mainform.submit();'>
+ {if $sections eq ""}
+ <option value="">{t}please choose a release...{/t}</option>
+ {/if}
{html_options options=$releases selected=$release}
</select>
+
+ <input type="submit" value="{t}Refresh{/t}" name="SetRepository">
</td>
</tr>
+{if $sections ne ""}
<tr>
- <td height="30">
- <h2>{t}Sections for this release{/t} : </h2>
-
+ <td style="vertical-align:top">
+ <b>{t}Sections for this release{/t}</b>
</td>
- <td>
+ <td style="vertical-align:top">
{$sections}
</td>
</tr>
-<tr>
- <td height="30">
- <h2><LABEL for="mirror">{t}Matching mirrors{/t}</LABEL> : </h2>
- </td>
- <td>
- <select name="FAIdebianMirrorS" title="{t}mirror{/t}" {$MirrorACL}>
- {html_options options=$mirrors selected=$mirror}
- </select>
- <input type="submit" value="{t}set{/t}" name="SetRepository">
- </td>
-</tr>
+{/if}
</table>
-<p class="seperator">
+<input type="hidden" name="YesItIsPostedPackages" value="1">
+<p class="seperator" style="margin-bottom:5px">
</p>
<div align="right" style="align:right;">
- <input name="SaveObjectNew" value="{t}Continue{/t}" type="submit" {$ContinueACL}>
+ <input name="SaveObjectNew" value="{t}Continue{/t}" type="submit" {if $sections eq ""}disabled{/if}>
<input name="edit_cancel" value="{t}Cancel{/t}" type="submit">
</div>
-<input type="hidden" name="ignore">