Commit 7fd52b4c authored by jan.koester's avatar jan.koester
Browse files

fixed

parent 069ed941
Loading
Loading
Loading
Loading
+1
Changes for data/template/default/cookie.html: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -22,3 +22,4 @@
    </div>
    </body>
    </html>
+1 −1
Changes for data/template/default/index.html: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
       <div id="ghost"> 
       </div>
       <div id="footer">
         <span id="copyrigt" > (c) Jan Koester 2021 </span>
         <span id="copyrigth" > (c) Jan Koester 2021 </span>
         <br>
         <span id="footernav">
         </span>
+6 −2
Changes for plugins/content/content.cpp: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -150,14 +150,18 @@ namespace blogi {

                }

                condat << "</ul></div>";
                condat << "</ul></div></div>";
            }

            libhtmlpp::HtmlString out;

            try{
                if(page->getElementbyID("main"))
                    page->getElementbyID("main")->insertChild(condat.parse());

            }catch(libhtmlpp::HTMLException &e){
                std::cerr << e.what() << std::endl;
                return;
            }
            Args->theme->printSite(tid,out,page,curreq.getRequestURL(),Args->auth->isLoggedIn(tid,curreq,sessionid),meta.c_str());

            libhttppp::HttpResponse resp;
+5 −2
Changes for src/blogi.cpp: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -134,10 +134,13 @@ blogi::Blogi::Blogi(netplus::socket &serversocket,bool debug) : HttpEvent(server

    PlgArgs->theme=new Theme(tplcfg,debug);


    try {
        PlgArgs->theme->renderPage(0,"index.html",Page,Index);
        PlgArgs->theme->renderPage(0,"mobile.html",MPage,MIndex);

    }catch(libhtmlpp::HTMLException &e){
        std::cerr << e.what() << std::endl;
        return;
    }
    PlgArgs->maxthreads=threads;

    libhtmlpp::HtmlPage cookiehtml;
+1 −1

File changed.

Contains only whitespace changes.