diff options
-rw-r--r-- | dialogs.c | 4 | ||||
-rw-r--r-- | wfm.h | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -438,6 +438,8 @@ void edit_ui(void) { #ifndef WFMGIT if(js) fprintf(cgiOut, "<INPUT TYPE=\"button\" ID=\"bakbtn\" onClick=\"chbak()\" VALUE=\"Backup\" STYLE=\"border:none; %s \"> \n", bkcolor); +#else + fprintf(cgiOut, "%s\n", (repo_check()) ? "No GIT Repo Present" : "GIT Backed "); #endif if(js) fprintf(cgiOut, "<INPUT TYPE=\"button\" ID=\"wrapbtn\" onClick=\"chwrap()\" VALUE=\"Wrap\" STYLE=\"border:none; background-color:#404040; color:#FFFFFF;\">\n"); @@ -472,4 +474,4 @@ void edit_ui(void) { free(buff); -}
\ No newline at end of file +} @@ -1,5 +1,5 @@ -#define VERSION "1.1.2" -#define copyright "<!-- WFM Version " VERSION ", Mountain View, CA, " __DATE__ " [" __TIME__ "] -->\n<!-- Copyright (c) 1994-2016 by Antoni Sawicki -->\n" +#define VERSION "1.2.0" +#define copyright "<!-- WFM Version " VERSION ", Mountain View, CA, " __DATE__ " [" __TIME__ "] -->\n<!-- Copyright (c) 1994-2017 by Antoni Sawicki -->\n" #define CSS_STYLE \ " <STYLE TYPE=\"text/css\"><!-- \n" \ |