diff options
Diffstat (limited to 'dialogs.c')
-rw-r--r-- | dialogs.c | 4 |
1 files changed, 3 insertions, 1 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 +} |