CLOUD: Do some refactoring/cleanup in Networking
This commit is contained in:
parent
b180c73675
commit
01161ae7dd
15 changed files with 92 additions and 20 deletions
|
@ -110,8 +110,9 @@ void HandlerUtils::setMessageHandler(Client &client, Common::String message, Com
|
|||
void HandlerUtils::setFilesManagerErrorMessageHandler(Client &client, Common::String message, Common::String redirectTo) {
|
||||
setMessageHandler(client,
|
||||
Common::String::format(
|
||||
"%s<br/><a href=\"files?path=%s\">%s</a>",
|
||||
"%s<br/><a href=\"files%s?path=%s\">%s</a>",
|
||||
message.c_str(),
|
||||
client.queryParameter("ajax") == "true" ? "AJAX": "",
|
||||
"%2F", //that's encoded "/"
|
||||
_("Back to the files manager")
|
||||
), redirectTo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue