index 29d455edb230dffcae58f71cb74b055cb517405b..cf90a8d01284605c60424d83be2aa24e1a46d768 100644 (file)
/* Check if box is checked */
if($box['default'] == true){
/* Check if box is checked */
if($box['default'] == true){
- $boxes .="<input type='checkbox' name='".$box['name']."' value='1' title='".$box['value']."' checked ".$boxClick."> ".$box['string']."<br>";
+ $boxes .="<input type='checkbox' name=\"".$box['name']."\" value='1' title=\"".htmlentities($box['value'])."\" checked ".$boxClick."> ".$box['string']."<br>";
}else{
}else{
- $boxes .="<input type='checkbox' name='".$box['name']."' value='1' title='".$box['value']."'".$boxClick.";> ".$box['string']."<br>";
+ $boxes .="<input type='checkbox' name=\"".$box['name']."\" value='1' title=\"".htmlentities($box['value'])."\" ".$boxClick."> ".$box['string']."<br>";
}
}
$smarty->assign("CheckBoxes", $boxes);
}
}
$smarty->assign("CheckBoxes", $boxes);
</label>
</td>
<td width=\"99%\">
</label>
</td>
<td width=\"99%\">
- <input type='text' style='width:99%' name='".$regex['name']."' maxlength='20'
- value='".$regex['value']."' title=\"".$regex['string']."\">
+ <input type=\"text\" style='width:99%' name=\"".$regex['name']."\" maxlength='20'
+ value=\"".htmlentities($regex['value'])."\" title=\"".htmlentities($regex['string'])."\">
</td>
</tr>
</table>";
</td>
</tr>
</table>";
title='"._("Restore snapshopts of already deleted objects")."'
alt='"._("Restore")."' name='RestoreDeletedSnapShot'> ";
}else{
title='"._("Restore snapshopts of already deleted objects")."'
alt='"._("Restore")."' name='RestoreDeletedSnapShot'> ";
}else{
- $str = "<img class='center' src='images/restore_grey.png'> ";
+ $str = "<img class='center' src='images/restore_grey.png' alt=''> ";
}
}
- $str .= "<img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'> ";
+# $str .= "<img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'> ";
}
return($str);
}
}
return($str);
}
$str.= "<input class='center' type='image' src='images/restore.png'
alt='"._("Restore snapshot")."' name='RestoreSnapShotDialog_".base64_encode($dn)."' title='"._("Restore snapshot")."'> ";
} else {
$str.= "<input class='center' type='image' src='images/restore.png'
alt='"._("Restore snapshot")."' name='RestoreSnapShotDialog_".base64_encode($dn)."' title='"._("Restore snapshot")."'> ";
} else {
- $str = "<img class='center' src='images/restore_grey.png'> ";
+ $str = "<img class='center' src='images/restore_grey.png' alt=''> ";
}
$str.= "<input class='center' type='image' src='images/snapshot.png'
}
$str.= "<input class='center' type='image' src='images/snapshot.png'
/* Add deps to this dialog object list */
foreach($this->departments as $key=> $val){
/* Add deps to this dialog object list */
foreach($this->departments as $key=> $val){
+
/* Add missing entries ... */
if(!isset($this->config->departments[trim($key)])){
$this->config->departments[trim($key)]="";
/* Add missing entries ... */
if(!isset($this->config->departments[trim($key)])){
$this->config->departments[trim($key)]="";