]> source.dussan.org Git - nextcloud-server.git/commitdiff
Format HTML elements
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 7 Nov 2019 13:19:04 +0000 (14:19 +0100)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Mon, 30 Dec 2019 09:29:36 +0000 (10:29 +0100)
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php

index 5e1387ac853070dd1065075c2b5d86c111ea40ca..47f62d9f8fdb0bd372825ee2311be985e26e256d 100644 (file)
@@ -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>';
        }
 }