Skip to content
Snippets Groups Projects
Commit 131d82e4 authored by Thomas Müller's avatar Thomas Müller
Browse files

move call to print_unescaped() to template

parent aa34438d
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@
</li>
<?php endforeach; ?>
<li>
<a id="logout" <?php print OC_User::getLogoutAttribute(); ?>>
<a id="logout" <?php print_unescaped(OC_User::getLogoutAttribute()); ?>>
<img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg')); ?>" />
<?php p($l->t('Log out'));?>
</a>
......
......@@ -327,7 +327,7 @@ class OC_User {
}
}
return print_unescaped("href=".link_to('', 'index.php'))."?logout=true";
return "href=" . link_to('', 'index.php') . "?logout=true";
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment