move call to print_unescaped() to template
This commit is contained in:
parent
aa34438d06
commit
131d82e41e
|
@ -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";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue