- $tpl->set_var('FILE',encode_html($virtual));
- $tpl->set_var('NEW_FILE',$new_virtual->{'html'});
- $tpl->set_var('NEW_FILENAME',file_name($new_virtual->{'html'}));
- $tpl->set_var('NEW_DIR',encode_html($new_dir));
- $tpl->set_var('DIR',encode_html($dir));
- $tpl->set_var('DIR_URL',escape($dir));
-
- $tpl->set_var('COMMAND','copy');
- $tpl->set_var('URL',encode_html(equal_url($config->{'httproot'},$virtual)));
- $tpl->set_var('SCRIPT',$script);
+ $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));