added: generic html template: index_generic.html
(config option: templates_index_generic) this is a generic template without additional site-css (only uikit), at the moment used only in ckeditor file browser added: to Request class: index_template (std::wstring) - a name of an index html template
This commit is contained in:
@@ -91,8 +91,9 @@ void template_init()
|
||||
// the first item in the html template is an empty string
|
||||
// added in the html template
|
||||
temp_tab.clear();
|
||||
temp_tab.push_back(config->templates_index); // index: 0
|
||||
temp_tab.push_back(config->templates_index_raw); // index: 1
|
||||
temp_tab.push_back(config->templates_index); // index: 0 (indices are used in template.cpp in functions) !! IMPROVE ME it should be done better
|
||||
temp_tab.push_back(config->templates_index_generic);// index: 1
|
||||
temp_tab.push_back(config->templates_index_raw); // index: 2
|
||||
|
||||
Mount::ParamRow & par = system->mounts.pmount->param[system->mounts.MountParHtmlTemplate()];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user