AntonLV 9 anos atrás
pai
commit
be1abf459b

+ 1 - 0
inc/classes/BxDolTemplate.php

@@ -410,6 +410,7 @@ class BxDolTemplate extends BxDolFactory implements iBxDolSingleton
             '_Are_you_sure',
             '_error occured',
             '_sys_loading',
+            '_copyright'
         ));
 
         //--- Load Embed.ly if Key and Pattern are available ---//

+ 9 - 0
inc/js/functions.js

@@ -750,6 +750,15 @@ function on_filter_key_up (e, sCheckboxId)
     }
 }
 
+function on_copyright_click()
+{
+	oDate = new Date();
+
+	$(document).dolPopupAlert({
+		message: _t('_copyright', oDate.getFullYear())
+	});
+}
+
 function bx_activate_anim_icons(sColor)
 {
     if ('undefined' == typeof(sColor))

+ 1 - 1
modules/boonex/decorous/data/template/system/_sub_footer.html

@@ -25,7 +25,7 @@
 				                        <bx_menu:sys_footer />
 				                    </div>
 				                    <div id="bx-footer-copyright">
-				                        <i title="__copyright_attr__" class="sys-icon copyright"></i>
+				                        <a href="javascript:void(0)" onclick="javascript:on_copyright_click()" title="__copyright_attr__" ><i class="sys-icon copyright"></i></a>
 				                    </div>
 				                    <div class="bx-clear"></div>
 				                    <div class="bx-menu-switch-language-inline bx-def-margin-sec-top">

+ 1 - 1
modules/boonex/ocean/data/template/system/_sub_footer.html

@@ -25,7 +25,7 @@
 		            <bx_menu:sys_footer />
 		        </div>
 		        <div id="bx-footer-copyright">
-		        	<i title="__copyright_attr__" class="sys-icon copyright"></i>
+		        	<a href="javascript:void(0)" onclick="javascript:on_copyright_click()" title="__copyright_attr__" ><i class="sys-icon copyright"></i></a>
 		        </div>
 		        <div class="bx-clear"></div>
 		        <div class="bx-menu-switch-language-inline bx-def-margin-sec-top">

+ 1 - 1
modules/boonex/protean/data/template/system/_sub_footer.html

@@ -25,7 +25,7 @@
 			            <bx_menu:sys_footer />
 			        </div>
 			        <div id="bx-footer-copyright">
-			        	<i title="__copyright_attr__" class="sys-icon copyright"></i>
+			        	<a href="javascript:void(0)" onclick="javascript:on_copyright_click()" title="__copyright_attr__" ><i class="sys-icon copyright"></i></a>
 			        </div>
 			        <div class="bx-clear"></div>
 			        <div class="bx-menu-switch-language-inline bx-def-margin-sec-top">

+ 1 - 1
template/_sub_footer.html

@@ -28,7 +28,7 @@
 		            <bx_menu:sys_footer />
 		        </div>
 		        <div id="bx-footer-copyright">
-		        	<i title="__copyright_attr__" class="sys-icon copyright"></i>
+		        	<a href="javascript:void(0)" onclick="javascript:on_copyright_click()" title="__copyright_attr__" ><i class="sys-icon copyright"></i></a>
 		        </div>
 		        <div class="bx-clear"></div>
 		        <div class="bx-menu-switch-language-inline bx-def-margin-sec-top">