aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dialogs.c4
-rw-r--r--wfm.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/dialogs.c b/dialogs.c
index 9f38616..a631703 100644
--- a/dialogs.c
+++ b/dialogs.c
@@ -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 &nbsp;&nbsp;&nbsp;");
#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
+}
diff --git a/wfm.h b/wfm.h
index 5b0184b..8a74491 100644
--- a/wfm.h
+++ b/wfm.h
@@ -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" \