Compare commits

..

No commits in common. "da8dcc7222578ba8edf246a6398d5bce2557b48b" and "77fb952161a6be8b4b78a455bb0e902537c9c2d4" have entirely different histories.

2 changed files with 9 additions and 9 deletions

View File

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

16
start
View File

@ -2,7 +2,7 @@
export EVENT=DiVOC export EVENT=DiVOC
TMP=/tmp/$RANDOM TMP=/tmp/$RANDOM
BT="Intergalactic Registration Office - v0.1" BT="Galactic Registration Office - v0.1"
function diaBox() { function diaBox() {
h=8 h=8
@ -113,12 +113,12 @@ function jhpPrintReg() {
return 0 return 0
} }
function jhpIROStamp() { function jhpGROStamp() {
jhpAskForField "IRO stamp" jhpAskForField "GRO 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
./iro $FIELD ./gro $FIELD
cd .. cd ..
return 0 return 0
else else
@ -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 "IRO Stamp" "Does this being wants to have a IRO stamp?" ynBox "GRO Stamp" "Does this being wants to have a GRO 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 "IRO Stamp" \ 2 "GRO 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
jhpIROStamp jhpGROStamp
fi fi
if [ -n "$FP" ]; then if [ -n "$FP" ]; then
jhpPrintGPG jhpPrintGPG
fi fi
fi fi
;; ;;
2) jhpIROStamp 2) jhpGROStamp
;; ;;
3) jhpGPG 3) jhpGPG
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then