Loading plugins/nginxfiler/filer.cpp +6 −6 Changes for plugins/nginxfiler/filer.cpp: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -121,13 +121,15 @@ namespace blogi { } } if(ntype==0) out << "<li class=\"file\" ><img alt=\"file\" src=\""<< Args->config->buildurl("theme/public/file.webp") << "\" >" out << "<li class=\"file\" >" << "<a href=\"http://" << _NHost << ":" << _NPort << "/" << _NPrefix << path << name <<"\" >" << name << "</a></li>"; << _NPrefix << path << name <<"\" >" << "<img alt=\"file\" src=\""<< Args->config->buildurl("theme/public/file.webp") << "\" >" << name << "</a></li>"; else if(ntype==1) out << "<li class=\"dir\" ><img alt=\"folder\" src=\""<< Args->config->buildurl("theme/public/folder.webp") << "\" >" out << "<li class=\"dir\" >" << "<a href=\""<< Args->config->buildurl("nginxfiler") << path << name << "\" >" << name << "</a></li>"; << path << name << "\" >" << "<img alt=\"folder\" src=\""<< Args->config->buildurl("theme/public/folder.webp") << "\" >" << name << "</a></li>"; } if(path!=_NPrefix){ size_t nend=path.length(); Loading Loading @@ -184,8 +186,6 @@ namespace blogi { json.push_back('\0'); std::cerr << "json: " << json.data() << std::endl; struct json_object *ndir; enum json_tokener_error jerrno; Loading Loading
plugins/nginxfiler/filer.cpp +6 −6 Changes for plugins/nginxfiler/filer.cpp: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -121,13 +121,15 @@ namespace blogi { } } if(ntype==0) out << "<li class=\"file\" ><img alt=\"file\" src=\""<< Args->config->buildurl("theme/public/file.webp") << "\" >" out << "<li class=\"file\" >" << "<a href=\"http://" << _NHost << ":" << _NPort << "/" << _NPrefix << path << name <<"\" >" << name << "</a></li>"; << _NPrefix << path << name <<"\" >" << "<img alt=\"file\" src=\""<< Args->config->buildurl("theme/public/file.webp") << "\" >" << name << "</a></li>"; else if(ntype==1) out << "<li class=\"dir\" ><img alt=\"folder\" src=\""<< Args->config->buildurl("theme/public/folder.webp") << "\" >" out << "<li class=\"dir\" >" << "<a href=\""<< Args->config->buildurl("nginxfiler") << path << name << "\" >" << name << "</a></li>"; << path << name << "\" >" << "<img alt=\"folder\" src=\""<< Args->config->buildurl("theme/public/folder.webp") << "\" >" << name << "</a></li>"; } if(path!=_NPrefix){ size_t nend=path.length(); Loading Loading @@ -184,8 +186,6 @@ namespace blogi { json.push_back('\0'); std::cerr << "json: " << json.data() << std::endl; struct json_object *ndir; enum json_tokener_error jerrno; Loading