diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc
index 819d495db72325b4513b7f392aa882a5db85b4b8..a8843d920550ae492647e4e60614122cd63d7649 100644 (file)
<?php
<?php
-
-
-
-
-
-
-
class printgeneric extends plugin
{
/* CLI vars */
class printgeneric extends plugin
{
/* CLI vars */
$this->dialog=NULL;
}
$this->dialog=NULL;
}
+
+
if((isset($_POST['DelUser']))&&(isset($_POST['UserMember']))){
if(isset($this->member['AddUser'][$_POST['UserMember']])){
unset($this->member['AddUser'][$_POST['UserMember']]);
if((isset($_POST['DelUser']))&&(isset($_POST['UserMember']))){
if(isset($this->member['AddUser'][$_POST['UserMember']])){
unset($this->member['AddUser'][$_POST['UserMember']]);
}
if((isset($_POST['DelAdmin']))&&(isset($_POST['AdminMember']))){
}
if((isset($_POST['DelAdmin']))&&(isset($_POST['AdminMember']))){
- if(isset($this->member['AddAdmingroup'][$_POST['AdminMember']])){
+ if(isset($this->member['AddAdminGroup'][$_POST['AdminMember']])){
unset($this->member['AddAdminGroup'][$_POST['AdminMember']]);
}
}
unset($this->member['AddAdminGroup'][$_POST['AdminMember']]);
}
}
}
if(!is_array($this->attrs['gotoPrinterPPD'])) {
}
if(!is_array($this->attrs['gotoPrinterPPD'])) {
- $str = $method.$_SERVER['SERVER_NAME']."/ppd/";
- $this->attrs['gotoPrinterPPD'] = $str.$this->attrs['gotoPrinterPPD'];
- $this->attrs['gotoPrinterPPD'] = str_replace("//","/",$this->attrs['gotoPrinterPPD']);
+ $this->attrs['gotoPrinterPPD'] = $this->attrs['gotoPrinterPPD'];
+ $this->attrs['gotoPrinterPPD'] = $method.str_replace("//","/",$_SERVER['SERVER_NAME']."/ppd/".$this->attrs['gotoPrinterPPD']);
}
/* Append printer user
}
/* Append printer user