From 228488d05c55a9e6a0a405f7a0e90fc3aab43f87 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Sun, 26 Aug 2018 10:11:34 +0200 Subject: Rev: 4344 --- mayor-orig/log/mayor-base.rev | 2 +- mayor-orig/log/mayor-naplo.rev | 2 +- mayor-orig/log/mayor-portal.rev | 2 +- mayor-orig/update/processUpdateScripts.sh | 12 +++++++++--- .../classic/module-naplo/html/haladasi/helyettesites.phtml | 6 ++++-- 5 files changed, 16 insertions(+), 8 deletions(-) (limited to 'mayor-orig') diff --git a/mayor-orig/log/mayor-base.rev b/mayor-orig/log/mayor-base.rev index f60afa77..ef758d27 100644 --- a/mayor-orig/log/mayor-base.rev +++ b/mayor-orig/log/mayor-base.rev @@ -1 +1 @@ -4340 +4344 diff --git a/mayor-orig/log/mayor-naplo.rev b/mayor-orig/log/mayor-naplo.rev index f60afa77..ef758d27 100644 --- a/mayor-orig/log/mayor-naplo.rev +++ b/mayor-orig/log/mayor-naplo.rev @@ -1 +1 @@ -4340 +4344 diff --git a/mayor-orig/log/mayor-portal.rev b/mayor-orig/log/mayor-portal.rev index f60afa77..ef758d27 100644 --- a/mayor-orig/log/mayor-portal.rev +++ b/mayor-orig/log/mayor-portal.rev @@ -1 +1 @@ -4340 +4344 diff --git a/mayor-orig/update/processUpdateScripts.sh b/mayor-orig/update/processUpdateScripts.sh index a63578e6..7a96ffef 100644 --- a/mayor-orig/update/processUpdateScripts.sh +++ b/mayor-orig/update/processUpdateScripts.sh @@ -46,7 +46,9 @@ fi # -- run_script() { - FILEELEJE=`echo $FILE | cut -f 1 -d '-'` + # FILEELEJE=`echo $FILE | cut -f 1 -d '-'` + # patch by Acsai Gabor - FreeBSD + FILEELEJE=$(basename $FILE | cut -f 1 -d '-') FILEREV=${FILEELEJE: -6} LOGSQL="" if [ "$FILEREV" != "" ]; then @@ -55,14 +57,18 @@ run_script() { fi fi if [ ! "${FILEREV}" \< "${REVSTR}" ]; then - FILEEXT=`echo $FILE | cut -f 2 -d '.'` + # FILEEXT=`echo $FILE | cut -f 2 -d '.'` + # patch by Acsai Gabor - FreeBSD + FILEEXT=$(basename $FILE | cut -f 2 -d '.') if [ "$FILEEXT" == "sh" ]; then echo " - Szkript futtatása ($FILE)..." . $FILE if [ $? != 0 ]; then exit 13; fi elif [ "$FILEEXT" == "sql" ]; then echo " - SQL utasítások végrehajtása ($FILE)..." - FILEDB=`echo $FILE | cut -f 1 -d '.' | cut -f 3 -d '-'` + # FILEDB=`echo $FILE | cut -f 1 -d '.' | cut -f 3 -d '-'` + # patch by Acsai Gabor - FreeBSD + FILEDB=$(basename $FILE | cut -f 1 -d '.' | cut -f 3 -d '-') case "$FILEDB" in naplo) DBS=$DB_NAPLO diff --git a/mayor-orig/www/skin/classic/module-naplo/html/haladasi/helyettesites.phtml b/mayor-orig/www/skin/classic/module-naplo/html/haladasi/helyettesites.phtml index 1effc9e1..808316e3 100644 --- a/mayor-orig/www/skin/classic/module-naplo/html/haladasi/helyettesites.phtml +++ b/mayor-orig/www/skin/classic/module-naplo/html/haladasi/helyettesites.phtml @@ -142,7 +142,8 @@ } else { $txt = 'nem ered sehonnan!!!!!!!!'; } - echo ''."\n"; +// if ('__HELYETTESITES_RENDEZES' == 'súly') + echo ''."\n"; if ($tanarOrak[$i]['tipus'] == 'egyéb') { echo ''."\n"; @@ -190,7 +191,8 @@ $_tanarAdat['súly'] .= '!'; /* */ echo '