- $tpl->fillin('FILE',$virtual);
- $tpl->fillin('NEW_FILE',$new_virtual);
- $tpl->fillin('NEW_FILENAME',file_name($new_virtual));
- $tpl->fillin('NEW_DIR',$new_dir);
- $tpl->fillin('DIR',$dir);
+ $tpl->fillin('FILE',encode_html($virtual));
+ $tpl->fillin('NEW_FILE',$new_virtual->{'html'});
+ $tpl->fillin('NEW_FILENAME',file_name($new_virtual->{'html'}));
+ $tpl->fillin('NEW_DIR',encode_html($new_dir));
+ $tpl->fillin('DIR',encode_html($dir));
+ $tpl->fillin('DIR_URL',escape($dir));