Index: lams_central/conf/language/lams/ApplicationResources.properties =================================================================== diff -u -r573045a3e475060269af01d4de73dc5956809591 -r2079d168be1ddba5613804efe9f03b2b87a9b260 --- lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 573045a3e475060269af01d4de73dc5956809591) +++ lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 2079d168be1ddba5613804efe9f03b2b87a9b260) @@ -716,6 +716,7 @@ authoring.fla.modify.error =You cannot modify this resource authoring.fla.folder.move.to.child.error =Cannot move a folder into its child label.password.must.lcase =at least 1 lower case letter +label.timezone.warning=Warning: The timezone in LAMS does not match timezone on your computer. The times shown in LAMS will be for the LAMS timezone set in your profile. #======= End labels: Exported 714 labels for en AU ===== Index: lams_central/conf/language/lams/ApplicationResources_en_AU.properties =================================================================== diff -u -r69c6461c4d7ce761966f0e5b4da23e34c1810fa2 -r2079d168be1ddba5613804efe9f03b2b87a9b260 --- lams_central/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 69c6461c4d7ce761966f0e5b4da23e34c1810fa2) +++ lams_central/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 2079d168be1ddba5613804efe9f03b2b87a9b260) @@ -720,6 +720,7 @@ authoring.fla.modify.error =You cannot modify this resource authoring.fla.folder.move.to.child.error =Cannot move a folder into its child label.password.must.lcase =at least 1 lower case letter +label.timezone.warning=Warning: The timezone in LAMS does not match timezone on your computer. The times shown in LAMS will be for the LAMS timezone set in your profile. #======= End labels: Exported 714 labels for en AU ===== Index: lams_central/web/main.jsp =================================================================== diff -u -r5fffd4fcc0fb51f95fac66fac14253c9557c52b5 -r2079d168be1ddba5613804efe9f03b2b87a9b260 --- lams_central/web/main.jsp (.../main.jsp) (revision 5fffd4fcc0fb51f95fac66fac14253c9557c52b5) +++ lams_central/web/main.jsp (.../main.jsp) (revision 2079d168be1ddba5613804efe9f03b2b87a9b260) @@ -98,15 +98,13 @@ } - debugger; var current_date = new Date( ); var client_gmt_offset_minutes = current_date.getTimezoneOffset( ); $('#offset').html( client_gmt_offset_minutes / 60 ); var lams_gmt_offset_minutes = ( + ) / 60000; if ( client_gmt_offset_minutes != -lams_gmt_offset_minutes ) { - $('#timezoneWarning').html( "
Warning: The timezone in LAMS does not match timezone on your computer. The times shown in LAMS will be for the LAMS timezone set in your profile. " - +": os "+client_gmt_offset_minutes+" minutes : lams "+lams_gmt_offset_minutes+" minutes" ); - } + $('#timezoneWarning').html( '
'); + } });