Compare commits
2 Commits
77fb952161
...
da8dcc7222
Author | SHA1 | Date | |
---|---|---|---|
da8dcc7222 | |||
6c27e4ee9d |
@ -79,7 +79,7 @@ function heading() {
|
||||
makeLeft 1
|
||||
makeLeft $SPACE
|
||||
italicLetters $FILE
|
||||
printf "GALACTIC\n" >> $FILE
|
||||
printf "INTERGALACTIC\n" >> $FILE
|
||||
|
||||
if [ $PAGE -eq 1 ]; then
|
||||
makeLeft $NEXTPAGE
|
16
start
16
start
@ -2,7 +2,7 @@
|
||||
export EVENT=DiVOC
|
||||
|
||||
TMP=/tmp/$RANDOM
|
||||
BT="Galactic Registration Office - v0.1"
|
||||
BT="Intergalactic Registration Office - v0.1"
|
||||
|
||||
function diaBox() {
|
||||
h=8
|
||||
@ -113,12 +113,12 @@ function jhpPrintReg() {
|
||||
return 0
|
||||
}
|
||||
|
||||
function jhpGROStamp() {
|
||||
jhpAskForField "GRO stamp"
|
||||
function jhpIROStamp() {
|
||||
jhpAskForField "IRO stamp"
|
||||
if [ $? -eq 0 ]; then
|
||||
diaBox "Insert Passport" "Please insert passport (Archivements) into the printer."
|
||||
cd jhp
|
||||
./gro $FIELD
|
||||
./iro $FIELD
|
||||
cd ..
|
||||
return 0
|
||||
else
|
||||
@ -169,7 +169,7 @@ function jhpReg() {
|
||||
|
||||
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
|
||||
STAMP=true
|
||||
else
|
||||
@ -193,7 +193,7 @@ function jhpmenu() {
|
||||
dialog --backtitle "$BT" \
|
||||
--menu "Select ID type:" 14 40 3 \
|
||||
1 "Registration" \
|
||||
2 "GRO Stamp" \
|
||||
2 "IRO Stamp" \
|
||||
3 "GPG" \
|
||||
9 "Back" 2> $TMP
|
||||
|
||||
@ -204,14 +204,14 @@ function jhpmenu() {
|
||||
if [ $? -eq 0 ]; then
|
||||
jhpPrintReg
|
||||
if [ "$STAMP" == "true" ]; then
|
||||
jhpGROStamp
|
||||
jhpIROStamp
|
||||
fi
|
||||
if [ -n "$FP" ]; then
|
||||
jhpPrintGPG
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
2) jhpGROStamp
|
||||
2) jhpIROStamp
|
||||
;;
|
||||
3) jhpGPG
|
||||
if [ $? -eq 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user