From cbb307f369ee869a15383020a8ed36274d819c83 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 4 Feb 2022 14:00:07 +0100 Subject: Rev: 4828 --- mayor-orig/mayor-base/install/base/mysql/utf8.cnf | 9 ++++---- mayor-orig/mayor-base/log/mayor-base.rev | 2 +- mayor-orig/mayor-felveteli/log/mayor-felveteli.rev | 2 +- mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev | 2 +- .../mayor-installer-orig/install.d/05checkdeb.sh | 18 ++++++++++++--- .../mayor-installer-orig/install.d/20mysql.sh | 14 +++++++++++- .../mayor-installer-orig/install.d/45intezmeny.sh | 2 ++ .../mayor-installer-orig/log/mayor-installer.rev | 2 +- mayor-orig/mayor-installer-orig/setup | 3 ++- .../log/mayor-installer-sulix.rev | 2 +- mayor-orig/mayor-jatek/log/mayor-jatek.rev | 2 +- .../log/mayor-locales-de_DE.rev | 2 +- .../log/mayor-locales-en_US.rev | 2 +- .../log/mayor-locales-jp_JP.rev | 2 +- mayor-orig/mayor-naplo/log/mayor-naplo.rev | 2 +- .../www/policy/private/naplo/orarend/orarend.php | 10 +++++---- .../module-naplo/html/osztalyozo/dolgozat.phtml | 2 +- .../javascript/osztalyozo/dolgozat.jquery.min.js | 1 + mayor-orig/mayor-portal/log/mayor-portal.rev | 2 +- mayor-orig/mayor-wiki/log/mayor-wiki.rev | 2 +- mayor-orig/md5sum | 26 +++++++++++----------- mayor-orig/rev.txt | 2 +- 22 files changed, 71 insertions(+), 40 deletions(-) (limited to 'mayor-orig') diff --git a/mayor-orig/mayor-base/install/base/mysql/utf8.cnf b/mayor-orig/mayor-base/install/base/mysql/utf8.cnf index e5927257..824fdcbe 100644 --- a/mayor-orig/mayor-base/install/base/mysql/utf8.cnf +++ b/mayor-orig/mayor-base/install/base/mysql/utf8.cnf @@ -1,5 +1,6 @@ - [mysqld] - character-set-server = utf8 - collation-server = utf8_hungarian_ci - skip-character-set-client-handshake +character-set-server = utf8 +collation-server = utf8_hungarian_ci +skip-character-set-client-handshake +sql-mode="" + \ No newline at end of file diff --git a/mayor-orig/mayor-base/log/mayor-base.rev b/mayor-orig/mayor-base/log/mayor-base.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-base/log/mayor-base.rev +++ b/mayor-orig/mayor-base/log/mayor-base.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev b/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev +++ b/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev b/mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev +++ b/mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-installer-orig/install.d/05checkdeb.sh b/mayor-orig/mayor-installer-orig/install.d/05checkdeb.sh index dbdb49b3..dc3aac2f 100755 --- a/mayor-orig/mayor-installer-orig/install.d/05checkdeb.sh +++ b/mayor-orig/mayor-installer-orig/install.d/05checkdeb.sh @@ -26,7 +26,8 @@ echo "Ubuntu:" ${UBUNTU} echo "Version:" ${RELEASE} TEST=`grep contrib /etc/apt/sources.list` -if [ "$TEST" == "" ] +TEST2=`grep contrib /etc/apt/sources.list.d/*` +if [ "$TEST" == "" ] && [ "$TEST2" == "" ] then echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" echo "Az apt sources.list módosítása szükséges!" @@ -35,20 +36,31 @@ then deb http://ftp.hu.debian.org/debian/ jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free deb http://ftp.hu.debian.org/debian/ jessie-updates main contrib non-free + " + echo "Debian Bullseye (11) esetén például: + deb http://ftp.debian.org/debian/ bullseye main contrib non-free + deb http://ftp.debian.org/debian/ bullseye-updates main contrib non-free " fi exit 255; fi -if [[ "x${RELEASE}" =~ ^x9.* ]] +if [[ "x${RELEASE}" =~ ^x8.* ]] +then + PKGS="apache2 php5 php5-json php5-mysqlnd php5-ldap php5-mcrypt php5-curl mysql-server recode texlive texlive-fonts-extra texlive-latex-extra texlive-binaries texlive-xetex ttf-mscorefonts-installer ntp wget ssl-cert ssh pwgen texlive-lang-european texlive-lang-hungarian" +elif [[ "x${RELEASE}" =~ ^x9.* ]] then PKGS="apache2 php php-json php-mysql php-ldap php-mbstring php-mcrypt php-curl mariadb-server-10.1 recode texlive texlive-fonts-extra texlive-latex-extra texlive-binaries texlive-xetex ntp wget ssl-cert ssh pwgen texlive-lang-european" elif [[ "x${RELEASE}" =~ ^x10.* ]] then ## PHP 7.2-től php-mcrypt deprecated --> kivettük, de a kódban még van... PKGS="apache2 php php-json php-mysql php-ldap php-mbstring php-curl php-bcmath mariadb-server-10.3 recode texlive texlive-fonts-extra texlive-latex-extra texlive-binaries texlive-xetex ntp wget ssl-cert ssh pwgen texlive-lang-european ghostscript" +elif [[ "x${RELEASE}" =~ ^x11.* ]] +then + PKGS="apache2 php php-json php-mysql php-ldap php-mbstring php-curl php-bcmath mariadb-server recode texlive texlive-fonts-extra texlive-latex-extra texlive-binaries texlive-xetex wget ssl-cert ssh pwgen texlive-lang-european ghostscript" else - PKGS="apache2 php5 php5-json php5-mysqlnd php5-ldap php5-mcrypt php5-curl mysql-server recode texlive texlive-fonts-extra texlive-latex-extra texlive-binaries texlive-xetex ttf-mscorefonts-installer ntp wget ssl-cert ssh pwgen texlive-lang-european texlive-lang-hungarian" + echo "Nem tudom meghatározni, milyen csomagokat telepítsünk. Kilépek. :(" + exit 1 fi if [ "$1" == "--no-deb" ]; then diff --git a/mayor-orig/mayor-installer-orig/install.d/20mysql.sh b/mayor-orig/mayor-installer-orig/install.d/20mysql.sh index 3d0175c8..fd8efec8 100755 --- a/mayor-orig/mayor-installer-orig/install.d/20mysql.sh +++ b/mayor-orig/mayor-installer-orig/install.d/20mysql.sh @@ -18,7 +18,13 @@ echo -e "\nMySQL beállítások" echo -n " utf8.cnf ... " cp -f $MAYORDIR/install/base/mysql/utf8.cnf /etc/mysql/conf.d echo ok -/etc/init.d/mysql restart + +if [ -f "/etc/init.d/mysql" ]; then + /etc/init.d/mysql restart +fi +if [ -f "/etc/init.d/mariadb" ]; then + /etc/init.d/mariadb restart +fi if [ "x${RELEASE}" == "x9" ] then @@ -32,3 +38,9 @@ then echo -n " futtatom a mysql_Secure_installation scriptet: " mysql_secure_installation fi +if [ "x${RELEASE}" == "x11" ] +then + echo -e "\nMariaDB/MySQL beállítások" + echo -n " futtatom a mysql_secure_installation scriptet: " + mysql_secure_installation +fi diff --git a/mayor-orig/mayor-installer-orig/install.d/45intezmeny.sh b/mayor-orig/mayor-installer-orig/install.d/45intezmeny.sh index fc8eafeb..d1a15ac5 100755 --- a/mayor-orig/mayor-installer-orig/install.d/45intezmeny.sh +++ b/mayor-orig/mayor-installer-orig/install.d/45intezmeny.sh @@ -17,6 +17,8 @@ Ehhez meg kell adnia az intézmény OM kódját, nevét és rövid nevét EOF +echo "Használt nyelvi beállítás: " $LANG + read -n 1 -p "Létrehozzam az intézményt? (i/N)" -s DO if [ "$DO" != "i" ]; then echo -e "\nNem hoztam létre az intézményt.\n"; exit; fi diff --git a/mayor-orig/mayor-installer-orig/log/mayor-installer.rev b/mayor-orig/mayor-installer-orig/log/mayor-installer.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-installer-orig/log/mayor-installer.rev +++ b/mayor-orig/mayor-installer-orig/log/mayor-installer.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-installer-orig/setup b/mayor-orig/mayor-installer-orig/setup index 3c13a155..74fe9215 100755 --- a/mayor-orig/mayor-installer-orig/setup +++ b/mayor-orig/mayor-installer-orig/setup @@ -1,5 +1,6 @@ #!/bin/bash -clear + +#clear echo "-------------------------------------------" echo " MaYoR Setup " echo "-------------------------------------------" diff --git a/mayor-orig/mayor-installer-sulix/log/mayor-installer-sulix.rev b/mayor-orig/mayor-installer-sulix/log/mayor-installer-sulix.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-installer-sulix/log/mayor-installer-sulix.rev +++ b/mayor-orig/mayor-installer-sulix/log/mayor-installer-sulix.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-jatek/log/mayor-jatek.rev b/mayor-orig/mayor-jatek/log/mayor-jatek.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-jatek/log/mayor-jatek.rev +++ b/mayor-orig/mayor-jatek/log/mayor-jatek.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-locales-de_DE/log/mayor-locales-de_DE.rev b/mayor-orig/mayor-locales-de_DE/log/mayor-locales-de_DE.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-locales-de_DE/log/mayor-locales-de_DE.rev +++ b/mayor-orig/mayor-locales-de_DE/log/mayor-locales-de_DE.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-locales-en_US/log/mayor-locales-en_US.rev b/mayor-orig/mayor-locales-en_US/log/mayor-locales-en_US.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-locales-en_US/log/mayor-locales-en_US.rev +++ b/mayor-orig/mayor-locales-en_US/log/mayor-locales-en_US.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-locales-jp_JP/log/mayor-locales-jp_JP.rev b/mayor-orig/mayor-locales-jp_JP/log/mayor-locales-jp_JP.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-locales-jp_JP/log/mayor-locales-jp_JP.rev +++ b/mayor-orig/mayor-locales-jp_JP/log/mayor-locales-jp_JP.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-naplo/log/mayor-naplo.rev b/mayor-orig/mayor-naplo/log/mayor-naplo.rev index 84bef267..61dcbb9b 100644 --- a/mayor-orig/mayor-naplo/log/mayor-naplo.rev +++ b/mayor-orig/mayor-naplo/log/mayor-naplo.rev @@ -1 +1 @@ -4825 +4828 diff --git a/mayor-orig/mayor-naplo/www/policy/private/naplo/orarend/orarend.php b/mayor-orig/mayor-naplo/www/policy/private/naplo/orarend/orarend.php index 761156cd..c883a0e7 100644 --- a/mayor-orig/mayor-naplo/www/policy/private/naplo/orarend/orarend.php +++ b/mayor-orig/mayor-naplo/www/policy/private/naplo/orarend/orarend.php @@ -2,9 +2,11 @@ global $ADAT; - if ($ADAT['orarendvane']==0) - putNincsOrarend(); - if (is_array($ADAT)) - putOrarend($ADAT); + if ($skin!='ajax' && $ADAT['orarendvane']==0) { + putNincsOrarend(); + } + if (is_array($ADAT)) { + putOrarend($ADAT); + } ?> diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/dolgozat.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/dolgozat.phtml index 5b26a9b9..744dce31 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/dolgozat.phtml +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/dolgozat.phtml @@ -87,7 +87,7 @@ echo ''; echo ''; - echo '
'; echo ''; echo ' |
---|