Commit 863f2ef5 authored by jan.koester's avatar jan.koester
Browse files

test

parent 408f3a57
Loading
Loading
Loading
Loading
+9 −1
Changes for src/blogi.cpp: 9 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -2283,7 +2283,15 @@ RETRY_REQUEST:
                        }
                    }

                    PlgArgs->theme->printSite(tid,out,&index,curreq.getRequestURL(),authenticated);
                    // Strip footernav to prevent duplicate footer links in editor preview
                    libhtmlpp::HtmlElement *fnav = index.getElementbyID("footernav");
                    if(fnav){
                        // Remove all children so printSite's footer append is the only content
                        while(fnav->firstChild())
                            fnav->remove(fnav->firstChild());
                    }

                    PlgArgs->theme->printSite(tid,out,&index,curreq.getRequestURL(),false);

                    libhttppp::HttpResponse curres;
                    curres.setState(HTTP200);