diff --git a/bin/runSafe.sh b/bin/runSafe.sh index e79d88cb..3c39fd9a 100644 --- a/bin/runSafe.sh +++ b/bin/runSafe.sh @@ -6,10 +6,10 @@ # 0 silent # 1 email ERROR_HANDLING=0 -# Your email address which should recieve the error messages +# Your email address which should receive the error messages EMAIL_ADDRESS="no-reply@example.com" -# Sets the minimun amount of time betweens the sending of error emails. -# This ensures you not get spamed while a endless reboot loop +# Sets the minimum amount of time betweens the sending of error emails. +# This ensures you not get spammed while a endless reboot loop # It's the time in seconds TIME_BETWEEN_EMAILS=600 # 10 minutes diff --git a/player-graph.js b/player-graph.js index bc0671b7..03b2c9da 100644 --- a/player-graph.js +++ b/player-graph.js @@ -3,7 +3,7 @@ this.include = function(){ return this.client({ '/player/graph.js': function(){ - var $, SocialCalc, colorIndex, getBarColor, getDrawColor, UpdateGraphRangeProposal, GraphSetCells, DoGraph, GraphChanged, MinMaxChanged, GraphSave, GraphLoad, GraphVerticalBar, GraphHorizontalBar, MakePieChart, MakeLineChart, MakeScatterChart, scc, b1, b2, b3, b4, b5, selectedbg, unselectedbg, cursorbg, hightLightForegoundColour; + var $, SocialCalc, colorIndex, getBarColor, getDrawColor, UpdateGraphRangeProposal, GraphSetCells, DoGraph, GraphChanged, MinMaxChanged, GraphSave, GraphLoad, GraphVerticalBar, GraphHorizontalBar, MakePieChart, MakeLineChart, MakeScatterChart, scc, b1, b2, b3, b4, b5, selectedbg, unselectedbg, cursorbg, hightLightForegroundColour; $ = window.jQuery || window.$; if (!$) { return location.reload(); @@ -891,10 +891,10 @@ selectedbg = '404040'; unselectedbg = '808080'; cursorbg = 'A6A6A6'; - hightLightForegoundColour = 'FFF'; + hightLightForegroundColour = 'FFF'; if (SocialCalc.requestParams['app'] != null) { cursorbg = 'FFF'; - hightLightForegoundColour = '000'; + hightLightForegroundColour = '000'; } scc.SCToolbarbackground = 'background-color:#' + selectedbg + ';'; scc.SCTabbackground = 'background-color:#' + unselectedbg + ';'; @@ -907,11 +907,11 @@ scc.ISCButtonDownBackground = '#88' + b5; scc.defaultImagePrefix = 'images/sc_'; SocialCalc.Popup.LocalizeString = SocialCalc.LocalizeString; - scc.defaultColnameStyle = 'overflow:visible;font-size:small;text-align:center;color:#' + hightLightForegoundColour + ';background-color:#' + unselectedbg; - scc.defaultSelectedColnameStyle = 'overflow:visible;font-size:small;text-align:center;color:#' + hightLightForegoundColour + ';background-color:#' + selectedbg; - scc.defaultRownameStyle = 'position:relative;overflow:visible;font-size:small;text-align:center;vertical-align:middle;color:#' + hightLightForegoundColour + ';background-color:#' + unselectedbg + ';direction:rtl;'; - scc.defaultSelectedRownameStyle = 'position:relative;overflow:visible;font-size:small;text-align:center;vertical-align:middle;color:#' + hightLightForegoundColour + ';background-color:#' + selectedbg + ';'; - return scc.defaultHighlightTypeCursorStyle = 'color:#' + hightLightForegoundColour + ';backgroundColor:#' + cursorbg + ';'; + scc.defaultColnameStyle = 'overflow:visible;font-size:small;text-align:center;color:#' + hightLightForegroundColour + ';background-color:#' + unselectedbg; + scc.defaultSelectedColnameStyle = 'overflow:visible;font-size:small;text-align:center;color:#' + hightLightForegroundColour + ';background-color:#' + selectedbg; + scc.defaultRownameStyle = 'position:relative;overflow:visible;font-size:small;text-align:center;vertical-align:middle;color:#' + hightLightForegroundColour + ';background-color:#' + unselectedbg + ';direction:rtl;'; + scc.defaultSelectedRownameStyle = 'position:relative;overflow:visible;font-size:small;text-align:center;vertical-align:middle;color:#' + hightLightForegroundColour + ';background-color:#' + selectedbg + ';'; + return scc.defaultHighlightTypeCursorStyle = 'color:#' + hightLightForegroundColour + ';backgroundColor:#' + cursorbg + ';'; } }); }; diff --git a/src/player-graph.ls b/src/player-graph.ls index 2c3b71bd..15fed137 100644 --- a/src/player-graph.ls +++ b/src/player-graph.ls @@ -698,10 +698,10 @@ selectedbg = '404040' unselectedbg = '808080' cursorbg = \A6A6A6 - hightLightForegoundColour = \FFF + hightLightForegroundColour = \FFF if SocialCalc.requestParams[\app]? cursorbg = \FFF - hightLightForegoundColour = \000 + hightLightForegroundColour = \000 scc.SCToolbarbackground = 'background-color:#' + selectedbg + ';' scc.SCTabbackground = 'background-color:#' + unselectedbg + ';' @@ -715,8 +715,8 @@ scc.defaultImagePrefix = 'images/sc_' SocialCalc.Popup.LocalizeString = SocialCalc.LocalizeString #row and col header colours - scc.defaultColnameStyle = 'overflow:visible;font-size:small;text-align:center;color:#' + hightLightForegoundColour + ';background-color:#' + unselectedbg - scc.defaultSelectedColnameStyle = 'overflow:visible;font-size:small;text-align:center;color:#' + hightLightForegoundColour + ';background-color:#' + selectedbg - scc.defaultRownameStyle = 'position:relative;overflow:visible;font-size:small;text-align:center;vertical-align:middle;color:#' + hightLightForegoundColour + ';background-color:#' + unselectedbg + ';direction:rtl;' - scc.defaultSelectedRownameStyle = 'position:relative;overflow:visible;font-size:small;text-align:center;vertical-align:middle;color:#' + hightLightForegoundColour + ';background-color:#' + selectedbg + ';' - scc.defaultHighlightTypeCursorStyle = 'color:#' + hightLightForegoundColour + ';backgroundColor:#' + cursorbg + ';' + scc.defaultColnameStyle = 'overflow:visible;font-size:small;text-align:center;color:#' + hightLightForegroundColour + ';background-color:#' + unselectedbg + scc.defaultSelectedColnameStyle = 'overflow:visible;font-size:small;text-align:center;color:#' + hightLightForegroundColour + ';background-color:#' + selectedbg + scc.defaultRownameStyle = 'position:relative;overflow:visible;font-size:small;text-align:center;vertical-align:middle;color:#' + hightLightForegroundColour + ';background-color:#' + unselectedbg + ';direction:rtl;' + scc.defaultSelectedRownameStyle = 'position:relative;overflow:visible;font-size:small;text-align:center;vertical-align:middle;color:#' + hightLightForegroundColour + ';background-color:#' + selectedbg + ';' + scc.defaultHighlightTypeCursorStyle = 'color:#' + hightLightForegroundColour + ';backgroundColor:#' + cursorbg + ';'