summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0b15116)
raw | patch | inline | side by side (parent: 0b15116)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Oct 2005 11:51:40 +0000 (11:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Oct 2005 11:51:40 +0000 (11:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1511 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPackage.inc | patch | blob | history |
index d760e8e5b2c86854792c9449a7a74c3d5657a5e6..df89c0749eba9ab42ab26a9d335b39f6319c9ff9 100644 (file)
}
if(isset($_POST['Addpkg'])){
- $this->dialog = new faiPackageEntry($this->config, $this->dn,$this->confDir.$this->mirror."/".$this->section."/".$this->release,$this->usedPackages);
+ $this->dialog = new faiPackageEntry($this->config, $this->dn,$this->confDir.$this->FAIdebianMirror."/".$this->FAIdebianSection."/".$this->FAIdebianRelease,$this->usedPackages);
$this->is_dialog =true;
}
function check()
{
$message= array();
-
+
+ if(count($this->usedPackages)==0){
+ $message[]=_("Please select a least one Package.");
+ }
+
if((empty($this->FAIdebianSection))||(empty($this->FAIdebianRelease))||(empty($this->FAIdebianMirror))){
$message[]=_("Please choose a valid combination for your repository setup.");
}