Loading plugins/template/template.cpp +6 −2 Changes for plugins/template/template.cpp: 6 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -424,7 +424,7 @@ namespace blogi { public: void Rendering(const int tid,libhttppp::HttpRequest &req,libhtmlpp::HtmlElement* curpage,int type,const std::string &sessionid=""){ try { dbpp::SQL sql; dbpp::DBResult res; sql << "select id,layer,html,type from templates"; Loading @@ -450,7 +450,11 @@ namespace blogi { el->appendChild(buf.parse()); } } } catch(const std::exception &e) { std::cerr << "template: Rendering error: " << e.what() << std::endl; } catch(...) { std::cerr << "template: Rendering unknown error" << std::endl; } } const std::string getAuthor(){ Loading Loading
plugins/template/template.cpp +6 −2 Changes for plugins/template/template.cpp: 6 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -424,7 +424,7 @@ namespace blogi { public: void Rendering(const int tid,libhttppp::HttpRequest &req,libhtmlpp::HtmlElement* curpage,int type,const std::string &sessionid=""){ try { dbpp::SQL sql; dbpp::DBResult res; sql << "select id,layer,html,type from templates"; Loading @@ -450,7 +450,11 @@ namespace blogi { el->appendChild(buf.parse()); } } } catch(const std::exception &e) { std::cerr << "template: Rendering error: " << e.what() << std::endl; } catch(...) { std::cerr << "template: Rendering unknown error" << std::endl; } } const std::string getAuthor(){ Loading