summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f59f7cf)
raw | patch | inline | side by side (parent: f59f7cf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Oct 2005 07:58:28 +0000 (07:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Oct 2005 07:58:28 +0000 (07:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1650 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPackageNew.inc | patch | blob | history | |
plugins/admin/fai/faiPackageNew.tpl | patch | blob | history |
index 350019a5d220c0aad989fc8bd3b8b4b77ebe4c55..4437598370f824dc89d5c1c064c521e8986c286f 100644 (file)
/* Save data to object */
function save_object()
{
- /* Post handling for Section, Release and Mirror Setup */
- if((isset($_POST['FAIdebianReleaseS']))&&(!empty($_POST['FAIdebianReleaseS']))){
- $this->FAIdebianRelease = $_POST['FAIdebianReleaseS'];
- }
- if((isset($_POST['FAIdebianMirrorS']))&&(!empty($_POST['FAIdebianMirrorS']))){
- $this->FAIdebianMirror = $_POST['FAIdebianMirrorS'];
+ if(isset($_POST['SetRepository'])){
+ /* Post handling for Section, Release and Mirror Setup */
+ if((isset($_POST['FAIdebianReleaseS']))&&(!empty($_POST['FAIdebianReleaseS']))){
+ $this->FAIdebianRelease = $_POST['FAIdebianReleaseS'];
+ }
+ if((isset($_POST['FAIdebianMirrorS']))&&(!empty($_POST['FAIdebianMirrorS']))){
+ $this->FAIdebianMirror = $_POST['FAIdebianMirrorS'];
+ }
}
}
index ef61411ca040857218aa5564f5249ab0f52d874a..3e54019e4a6142977e6307007bf6a7240ee3fa21 100644 (file)
<tr>
<td height="30">
<h2>
- <LABEL for="release">{t}Following releases are available{/t}</LABEL> :
+ <LABEL for="release">{t}Following releases are available{/t}</LABEL>:
</h2>
</td>
<td>
{if $DisRelease neq false}
<tr>
<td height="30">
- <h2>{t}Sections for this release{/t} : </h2>
+ <h2>{t}Sections for this release{/t}: </h2>
</td>
<td>
{if $DisSection neq false}
<tr>
<td height="30">
- <h2><LABEL for="mirror">{t}Matching mirrors{/t}</LABEL> : </h2>
+ <h2><LABEL for="mirror">{t}Matching mirrors{/t}</LABEL>: </h2>
</td>
<td>
<select name="FAIdebianMirrorS" title="{t}mirror{/t}" {$MirrorACL}>