From 733b848c5bb6454f0b9aec36d90f761f38cbac22 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 7 Jan 2024 22:13:47 +0100 Subject: [PATCH] Add _DATE_ --- RUNTIME/SECTOR.refresh.sh | 1 + RUNTIME/UPLANET.refresh.sh | 1 + templates/UPlanetSector/index.html | 6 +++--- templates/UPlanetUmap/index.html | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/RUNTIME/SECTOR.refresh.sh b/RUNTIME/SECTOR.refresh.sh index ffdf449c..7c7e248b 100755 --- a/RUNTIME/SECTOR.refresh.sh +++ b/RUNTIME/SECTOR.refresh.sh @@ -234,6 +234,7 @@ for SECTOR in ${SECTORS[@]}; do -e "s~_UPZONENS_~${REGIONNS}~g" \ -e "s~_SECTORG1PUB_~${SECTORG1PUB}~g" \ -e "s~_PHONEBOOTH_~${PHONEBOOTH}~g" \ + -e "s~_DATE_~$(date +%A-%d_%m_%Y)~g" \ -e "s~_UPLANETLINK_~${EARTHCID}/map_render.html\?southWestLat=${REGLAT}\&southWestLon=${REGLON}\°=0.1~g" \ -e "s~http://127.0.0.1:8080~~g" \ > ~/.zen/tmp/${MOATS}/${SECTOR}/_index.html diff --git a/RUNTIME/UPLANET.refresh.sh b/RUNTIME/UPLANET.refresh.sh index b3df8393..382b4780 100755 --- a/RUNTIME/UPLANET.refresh.sh +++ b/RUNTIME/UPLANET.refresh.sh @@ -331,6 +331,7 @@ echo "" > ~/.z -e "s~_ZONENS_~${UMAPNS}~g" \ -e "s~_UPZONENS_~${SECTORNS}~g" \ -e "s~_PHONEBOOTH_~${PHONEBOOTH}~g" \ + -e "s~_DATE_~$(date +%A-%d_%m_%Y)~g" \ -e "s~_UPLANETLINK_~${EARTHCID}/map_render.html\?southWestLat=${LAT}\&southWestLon=${LON}\°=0.01~g" \ -e "s~http://127.0.0.1:8080~~g" \ > ~/.zen/tmp/${MOATS}/${UMAP}/_index.html diff --git a/templates/UPlanetSector/index.html b/templates/UPlanetSector/index.html index c863be23..bc06baec 100644 --- a/templates/UPlanetSector/index.html +++ b/templates/UPlanetSector/index.html @@ -148,9 +148,9 @@ iframe {

Distributed Information System

-

powered by Astroport.ONE

-

designed by LaSTI

-

juiced by La♥BOX

+

_DATE_ refreshed by Astroport.ONE

+

organize by LaSTI

+

stored on La♥BOX

diff --git a/templates/UPlanetUmap/index.html b/templates/UPlanetUmap/index.html index c944c46c..fc6f07f3 100644 --- a/templates/UPlanetUmap/index.html +++ b/templates/UPlanetUmap/index.html @@ -143,9 +143,9 @@ iframe {

Distributed Information System

-

powered by Astroport.ONE

-

designed by LaSTI

-

juiced by La♥BOX

+

_DATE_ refreshed by Astroport.ONE

+

organize by LaSTI

+

stored on La♥BOX