From 2b6c00fc0f4730a20479edee78cfca775bb3bd9a Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Fri, 9 Feb 2018 12:14:45 +0100 Subject: Add id to list element MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/public/AppFramework/Http/Template/SimpleMenuAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/public/AppFramework/Http/Template/SimpleMenuAction.php') diff --git a/lib/public/AppFramework/Http/Template/SimpleMenuAction.php b/lib/public/AppFramework/Http/Template/SimpleMenuAction.php index b81403c7a53..8a261cc217f 100644 --- a/lib/public/AppFramework/Http/Template/SimpleMenuAction.php +++ b/lib/public/AppFramework/Http/Template/SimpleMenuAction.php @@ -166,8 +166,8 @@ class SimpleMenuAction implements IMenuAction { public function render(): string { $detailContent = ($this->detail !== '') ? ' (' . Util::sanitizeHTML($this->detail) . ')' : ''; return sprintf( - '
  • %s %s
  • ', - Util::sanitizeHTML($this->link), Util::sanitizeHTML($this->icon), Util::sanitizeHTML($this->label), Util::sanitizeHTML($detailContent) + '
  • %s %s
  • ', + Util::sanitizeHTML($this->id), Util::sanitizeHTML($this->link), Util::sanitizeHTML($this->icon), Util::sanitizeHTML($this->label), $detailContent ); } -- cgit v1.2.3