Widget:Chartlet static

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(Undo revision 173819 by Vadim (talk))
Line 2: Line 2:
<!--{
<!--{
assign var='c' value=$lat}--><!--{
assign var='c' value=$lat}--><!--{
-
assign var='d' value=$c|regex_replace:"/([^ ]+)_([^ ]+)_([^ ]+)/":"\\1"}--><!--{
+
assign var='d' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\1"}--><!--{
if $d != $c}--><!--{
if $d != $c}--><!--{
-
   math assign='d' equation="d+m/60" d=$d m=$c|regex_replace:"/([^ ]+)_([^ ]+)_([^ ]+)/":"\\2"}--><!--{
+
   math assign='d' equation="d+m/60" d=$d m=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\2"}--><!--{
-
   assign var='h' value=$c|regex_replace:"/([^ ]+)_([^ ]+)_([^ ]+)/":"\\3"}--><!--{
+
   assign var='h' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\3"}--><!--{
   if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}--><!--{
   if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}--><!--{
     math assign='d' equation="d*(-1)" d=$lat}--><!--{
     math assign='d' equation="d*(-1)" d=$lat}--><!--{
Line 12: Line 12:
/if}--><!--{
/if}--><!--{
assign var='c' value=$lon}--><!--{
assign var='c' value=$lon}--><!--{
-
assign var='d' value=$c|regex_replace:"/([^ ]+)_([^ ]+)_([^ ]+)/":"\\1"}--><!--{
+
assign var='d' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\1"}--><!--{
if $d != $c}--><!--{
if $d != $c}--><!--{
-
   math assign='d' equation="d+m/60" d=$d m=$c|regex_replace:"/([^ ]+)_([^ ]+)_([^ ]+)/":"\\2"}--><!--{
+
   math assign='d' equation="d+m/60" d=$d m=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\2"}--><!--{
-
   assign var='h' value=$c|regex_replace:"/([^ ]+)_([^ ]+)_([^ ]+)/":"\\3"}--><!--{
+
   assign var='h' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\3"}--><!--{
   if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}--><!--{
   if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}--><!--{
     math assign='d' equation="d*(-1)" d=$lat}--><!--{/if}--><!--{
     math assign='d' equation="d*(-1)" d=$lat}--><!--{/if}--><!--{

Revision as of 10:57, 11 September 2017


Personal tools
advertisement
Friends of Cruisers Wiki