Ver Fonte

#22 close image popup button

Alex Trofimov há 12 anos atrás
pai
commit
d1ce9fe8d9
1 ficheiros alterados com 8 adições e 3 exclusões
  1. 8 3
      modules/base/profile/template/image_popup.html

+ 8 - 3
modules/base/profile/template/image_popup.html

@@ -1,6 +1,11 @@
 <div class="bx-base-pofile-popup-wrapper">
-    <bx_if:owner>
-        <div class="bx-base-pofile-popup-btn bx-def-padding"><a class="bx-btn" href="__change_image_url__"><bx_text:_sys_txt_change_image /></a></div>
-    </bx_if:owner>
+
+    <div class="bx-base-pofile-popup-btn bx-def-padding">
+        <bx_if:owner>
+            <a class="bx-btn" href="__change_image_url__"><bx_text:_sys_txt_change_image /></a>
+        </bx_if:owner>
+        <a class="bx-btn bx-def-margin-sec-left" title="<bx_text_attribute:_sys_close />" href="javascript:void(0);" onclick="$(this).parents().filter('.bx-popup-wrapper').dolPopupHide()"><i class="sys-icon times"></i></a>
+    </div>
+
     <img class="bx-base-pofile-popup-image" src="__image_url__" />
 </div>