aboutsummaryrefslogtreecommitdiff
path: root/dialogs.c
diff options
context:
space:
mode:
authorAntoni Sawicki <tenox@google.com>2019-05-20 00:49:26 -0700
committerAntoni Sawicki <tenox@google.com>2019-05-20 00:49:26 -0700
commit443090030722c27f33914332cb23252f78297e2e (patch)
tree484695b723926d776566f7af0406a7cc57837e77 /dialogs.c
parent86f17f459230500970b556eefbd5cff63d4094f8 (diff)
downloadwfm-443090030722c27f33914332cb23252f78297e2e.tar.gz
initial support for url shortcuts
Diffstat (limited to 'dialogs.c')
-rw-r--r--dialogs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/dialogs.c b/dialogs.c
index 2a1f733..f0fc25a 100644
--- a/dialogs.c
+++ b/dialogs.c
@@ -150,6 +150,14 @@ void singleprompt_ui(char *m_action) {
" &nbsp;<BR>Enter name of the new directory:<P>\n"
" <INPUT TYPE=\"TEXT\" ID=\"inp1\" NAME=\"filename\" SIZE=\"40\" VALUE=\"\">\n");
+ else if(strcmp(m_action, "mkurl")==0)
+ fprintf(cgiOut,
+ " &nbsp;<BR>Name of the shortcut file:<P>\n"
+ " <INPUT TYPE=\"TEXT\" ID=\"inp1\" NAME=\"filename\" SIZE=\"40\" VALUE=\"\">\n"
+ " <P>\n"
+ " &nbsp;<BR>The shortcut URL:<P>\n"
+ " <INPUT TYPE=\"TEXT\" ID=\"inp2\" NAME=\"destination\" SIZE=\"40\" VALUE=\"\">\n");
+
fprintf(cgiOut,
" </TD></TR>\n"
" <TR><TD COLSPAN=2>\n"