1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Fixes #643 - Now displays clock (clock_menu) properly when using SEF URLs

This commit is contained in:
Moc 2014-06-14 15:09:07 +02:00
parent ff4e2be582
commit 517eb58d4e

View File

@ -53,7 +53,7 @@ var MnthNam = new Array(
</script> </script>
<?php <?php
echo " echo "
<script type='text/javascript' src='".e_PLUGIN."clock_menu/clock.js'></script> <script type='text/javascript' src='".e_PLUGIN_ABS."clock_menu/clock.js'></script>
<script type=\"text/javascript\">\nwindow.setTimeout(\"tick('".$menu_pref['clock_dateprefix']."', '".$menu_pref['clock_format']."', '".$menu_pref['clock_datesuffix1']."', '".$menu_pref['clock_datesuffix2']."', '".$menu_pref['clock_datesuffix3']."', '".$menu_pref['clock_datesuffix4']."')\",150);\n</script> <script type=\"text/javascript\">\nwindow.setTimeout(\"tick('".$menu_pref['clock_dateprefix']."', '".$menu_pref['clock_format']."', '".$menu_pref['clock_datesuffix1']."', '".$menu_pref['clock_datesuffix2']."', '".$menu_pref['clock_datesuffix3']."', '".$menu_pref['clock_datesuffix4']."')\",150);\n</script>
<!-- ### end clock ### //-->\n\n"; <!-- ### end clock ### //-->\n\n";