public:
// constructor: generate the template bits from a template directory
Template (std::string templatedir) ;
public:
// constructor: generate the template bits from a template directory
Template (std::string templatedir) ;
std::string get_sidebar_tpl () { return this->sidebar_tpl; }
std::string get_style_tpl () { return this->style_tpl; }
std::string get_stringbit (unsigned int id) { return this->stringbits[id]; }
std::string get_sidebar_tpl () { return this->sidebar_tpl; }
std::string get_style_tpl () { return this->style_tpl; }
std::string get_stringbit (unsigned int id) { return this->stringbits[id]; }
this->navigationbit_tpl = load_from_file (templatedir + "/navigationbit.tpl.html");
this->sidebar_tpl = load_from_file (templatedir + "/sidebar.tpl.html");
this->style_tpl = load_from_file (templatedir + "/style.tpl.css");
this->navigationbit_tpl = load_from_file (templatedir + "/navigationbit.tpl.html");
this->sidebar_tpl = load_from_file (templatedir + "/sidebar.tpl.html");
this->style_tpl = load_from_file (templatedir + "/style.tpl.css");