index fd1511f1b1c6da7849bd5b3385d746f2bcda6074..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>";
$str = "<img class='center' src='images/restore_grey.png' alt=''> ";
}
$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);
}
/* 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)]="";