<?_("Command input (if requesting SEND_LISTING transfer mode):")><br />
<textarea name="g_input" rows=10 cols=80 width=80></textarea><br />
<font size=-2>
- <?_("Detected host header is ")><?%("COND:IS_HTTPS", 1, 1, 1, "https", "http")>://<?URL:HOSTNAME>
+ <?_("Detected host header is ")><?DAV:HOSTNAME>
</font>
<input type="submit" name="sc_button" value="<?_("Send command")>">
<input type="submit" name="cancel_button" value="<?_("Cancel")>"><br />
StrBufAppendTemplate(Target, TP, WCC->Hdr->HR.Handler->DisplayName, 0);
}
-void tmplput_HOST_DISPLAYNAME(StrBuf *Target, WCTemplputParams *TP)
-{
- wcsession *WCC = WC;
- StrBufAppendTemplate(Target, TP, WCC->Hdr->HR.http_host, 0);
-}
/*
* web-printing funcion. uses our vsnprintf wrapper
RegisterNamespace("IMPORTANTMESSAGE", 0, 0, tmplput_importantmessage, NULL, CTX_NONE);
RegisterNamespace("TRAILING_JAVASCRIPT", 0, 0, tmplput_trailing_javascript, NULL, CTX_NONE);
RegisterNamespace("URL:DISPLAYNAME", 0, 1, tmplput_HANDLER_DISPLAYNAME, NULL, CTX_NONE);
- RegisterNamespace("URL:HOSTNAME", 0, 1, tmplput_HOST_DISPLAYNAME, NULL, CTX_NONE);
snprintf(dir, SIZ, "%s/webcit.css", static_local_dir);