From d7e6a9dcbe8a6664357c689667ac6c8aa125231b Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Tue, 31 Mar 2020 03:41:36 +0200 Subject: Mayor-Nextcloud script: Tankörmappa/távsuli OK --- "egy\303\251b/nextcloud/mayor-nextcloud.php" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'egyéb/nextcloud/mayor-nextcloud.php') diff --git "a/egy\303\251b/nextcloud/mayor-nextcloud.php" "b/egy\303\251b/nextcloud/mayor-nextcloud.php" index be9fc859..b86a9f7f 100644 --- "a/egy\303\251b/nextcloud/mayor-nextcloud.php" +++ "b/egy\303\251b/nextcloud/mayor-nextcloud.php" @@ -854,7 +854,7 @@ if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Im //------------------------------- Tankörmappa -----------------------------// //( "_" --> mindenkinek, "username" --> csak neki ) && tanár if($key3 != $m2n['mindenki_tanar'] && $key3 != $m2n['mindenki_diak'] && $key3 != $m2n['mindenki_tanar']){ //Ezekre a csoportokra minek? $ret = groupdir_create_groupdir($curr, $curr_tanarId, $m2n['groupdir_prefix']."/".$key3); - if ($ret === true && $log['verbose'] > 2 ){if($log['curr'] !== ""){echo "**".$log['curr'];$log['curr'] = "";} echo "* -\tÚj mappa Létrehozva :".po("\t$key3",$m2n['csoportnev_hossz'],1)."\t./files/".$m2n['groupdir_prefix']."/ mappába\n";} + if ($ret === true && $log['verbose'] > 2 ){if($log['curr'] !== ""){echo "**".$log['curr'];$log['curr'] = "";} echo "* -\tÚj mappa Létrehozva:".po("\t$key3",$m2n['csoportnev_hossz'],1)."\t./files/".$m2n['groupdir_prefix']."/ mappába\n";} } //------------------------------------- Tankör (Csoportból) törlés -------------------------// @@ -891,7 +891,7 @@ if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Im if ($log['verbose'] > 2 ){ echo "* -\t\tHozzáadva a:".po("\t $val3",$m2n['csoportnev_hossz'],1)."\tcsoporthoz.\n"; } if($key3 != $m2n['mindenki_tanar'] && $key3 != $m2n['mindenki_diak'] && $key3 != $m2n['mindenki_tanar']){ //Ezekre a csoportokra minek? $ret = groupdir_create_groupdir($curr, $curr_tanarId, $m2n['groupdir_prefix']."/".$key3); - if ($ret === true && $log['verbose'] > 2 ){if($log['curr'] !== ""){echo "**".$log['curr'];$log['curr'] = "";} echo "* -\tÚj mappa Létrehozva :".po("\t$key3",$m2n['csoportnev_hossz'],1)."\t./files/".$m2n['groupdir_prefix']."/ mappa\n";} + if ($ret === true && $log['verbose'] > 2 ){if($log['curr'] !== ""){echo "**".$log['curr'];$log['curr'] = "";} echo "* -\tÚj mappa Létrehozva:".po("\t$key3",$m2n['csoportnev_hossz'],1)."\t./files/".$m2n['groupdir_prefix']."/ mappa\n";} } } } -- cgit v1.2.3