GlacticRegistrationOffice -> IntergalacticRegistrationOffice

This commit is contained in:
Bandie 2020-06-02 19:42:09 +02:00
parent 77fb952161
commit 6c27e4ee9d
Signed by: Bandie
GPG Key ID: 843D7FA93BA46312
2 changed files with 8 additions and 8 deletions

View File

@ -79,7 +79,7 @@ function heading() {
makeLeft 1 makeLeft 1
makeLeft $SPACE makeLeft $SPACE
italicLetters $FILE italicLetters $FILE
printf "GALACTIC\n" >> $FILE printf "INTERGALACTIC\n" >> $FILE
if [ $PAGE -eq 1 ]; then if [ $PAGE -eq 1 ]; then
makeLeft $NEXTPAGE makeLeft $NEXTPAGE

14
start
View File

@ -2,7 +2,7 @@
export EVENT=DiVOC export EVENT=DiVOC
TMP=/tmp/$RANDOM TMP=/tmp/$RANDOM
BT="Galactic Registration Office - v0.1" BT="Intergalactic Registration Office - v0.1"
function diaBox() { function diaBox() {
h=8 h=8
@ -113,8 +113,8 @@ function jhpPrintReg() {
return 0 return 0
} }
function jhpGROStamp() { function jhpIROStamp() {
jhpAskForField "GRO stamp" jhpAskForField "IRO stamp"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
diaBox "Insert Passport" "Please insert passport (Archivements) into the printer." diaBox "Insert Passport" "Please insert passport (Archivements) into the printer."
cd jhp cd jhp
@ -169,7 +169,7 @@ function jhpReg() {
confirm=" Forename: $FNAME\n Surename: $SNAME\n Planet: $PLANET" confirm=" Forename: $FNAME\n Surename: $SNAME\n Planet: $PLANET"
ynBox "GRO Stamp" "Does this being wants to have a GRO stamp?" ynBox "IRO Stamp" "Does this being wants to have a IRO stamp?"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
STAMP=true STAMP=true
else else
@ -193,7 +193,7 @@ function jhpmenu() {
dialog --backtitle "$BT" \ dialog --backtitle "$BT" \
--menu "Select ID type:" 14 40 3 \ --menu "Select ID type:" 14 40 3 \
1 "Registration" \ 1 "Registration" \
2 "GRO Stamp" \ 2 "IRO Stamp" \
3 "GPG" \ 3 "GPG" \
9 "Back" 2> $TMP 9 "Back" 2> $TMP
@ -204,14 +204,14 @@ function jhpmenu() {
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
jhpPrintReg jhpPrintReg
if [ "$STAMP" == "true" ]; then if [ "$STAMP" == "true" ]; then
jhpGROStamp jhpIROStamp
fi fi
if [ -n "$FP" ]; then if [ -n "$FP" ]; then
jhpPrintGPG jhpPrintGPG
fi fi
fi fi
;; ;;
2) jhpGROStamp 2) jhpIROStamp
;; ;;
3) jhpGPG 3) jhpGPG
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then