diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-11-07 14:19:04 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-12-30 10:29:36 +0100 |
commit | 33b2f4e29589e6a415612f7d15525659847f3a8a (patch) | |
tree | 6ee58ced6ddca014de686060afc9ce332d75b61f /lib/public/AppFramework/Http | |
parent | e32766bd1196fa6f49fd76c7d26024a48e44b41a (diff) | |
download | nextcloud-server-33b2f4e29589e6a415612f7d15525659847f3a8a.tar.gz nextcloud-server-33b2f4e29589e6a415612f7d15525659847f3a8a.zip |
Format HTML elements
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'lib/public/AppFramework/Http')
-rw-r--r-- | lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php b/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php index 5e1387ac853..47f62d9f8fd 100644 --- a/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php +++ b/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php @@ -67,14 +67,14 @@ class ExternalShareMenuAction extends SimpleMenuAction { */ public function render(): string { return '<li>' . - '<a id="save-external-share" data-protected="false" data-owner-display-name="' . Util::sanitizeHTML($this->displayname) . '" data-owner="' . Util::sanitizeHTML($this->owner) . '" data-name="' . Util::sanitizeHTML($this->shareName) . '">' . - '<span class="icon ' . Util::sanitizeHTML($this->getIcon()) . '"></span>' . - '<label for="remote_address">' . Util::sanitizeHTML($this->getLabel()) . '</label>' . - '<form class="save-form hidden" action="#">' . - '<input type="text" id="remote_address" placeholder="user@yourNextcloud.org">' . - '<input type="submit" value=" " id="save-button-confirm" class="icon-confirm" disabled="disabled"></button>' . - '</form>' . - '</a>' . + ' <a id="save-external-share" data-protected="false" data-owner-display-name="' . Util::sanitizeHTML($this->displayname) . '" data-owner="' . Util::sanitizeHTML($this->owner) . '" data-name="' . Util::sanitizeHTML($this->shareName) . '">' . + ' <span class="icon ' . Util::sanitizeHTML($this->getIcon()) . '"></span>' . + ' <label for="remote_address">' . Util::sanitizeHTML($this->getLabel()) . '</label>' . + ' <form class="save-form hidden" action="#">' . + ' <input type="text" id="remote_address" placeholder="user@yourNextcloud.org">' . + ' <input type="submit" value=" " id="save-button-confirm" class="icon-confirm" disabled="disabled"></button>' . + ' </form>' . + ' </a>' . '</li>'; } } |