diff options
author | Antoni Sawicki <tenox@google.com> | 2019-05-20 00:49:26 -0700 |
---|---|---|
committer | Antoni Sawicki <tenox@google.com> | 2019-05-20 00:49:26 -0700 |
commit | 443090030722c27f33914332cb23252f78297e2e (patch) | |
tree | 484695b723926d776566f7af0406a7cc57837e77 /dialogs.c | |
parent | 86f17f459230500970b556eefbd5cff63d4094f8 (diff) | |
download | wfm-443090030722c27f33914332cb23252f78297e2e.tar.gz |
initial support for url shortcuts
Diffstat (limited to 'dialogs.c')
-rw-r--r-- | dialogs.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -150,6 +150,14 @@ void singleprompt_ui(char *m_action) { " <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, + " <BR>Name of the shortcut file:<P>\n" + " <INPUT TYPE=\"TEXT\" ID=\"inp1\" NAME=\"filename\" SIZE=\"40\" VALUE=\"\">\n" + " <P>\n" + " <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" |