aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/include/modules/naplo/base
diff options
context:
space:
mode:
authorM.Gergo2018-09-07 22:27:52 +0200
committerM.Gergo2018-09-07 22:27:52 +0200
commit8f8fc390374681cd537e4216f0366d6fe8a6c73c (patch)
tree6d19efd3593a0383a48cdac7f78cd0e2ef6fa761 /mayor-orig/www/include/modules/naplo/base
parent63edef615f7828cb0f57bf9ba128a90eb4fe07e0 (diff)
downloadmayor-8f8fc390374681cd537e4216f0366d6fe8a6c73c.tar.gz
mayor-8f8fc390374681cd537e4216f0366d6fe8a6c73c.zip
Rev: 4358
Diffstat (limited to 'mayor-orig/www/include/modules/naplo/base')
-rw-r--r--mayor-orig/www/include/modules/naplo/base/rights.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mayor-orig/www/include/modules/naplo/base/rights.php b/mayor-orig/www/include/modules/naplo/base/rights.php
index b3967529..fd538da0 100644
--- a/mayor-orig/www/include/modules/naplo/base/rights.php
+++ b/mayor-orig/www/include/modules/naplo/base/rights.php
@@ -84,7 +84,9 @@
checkNaploStatus();
if (__FOLYO_TANEV === true)
if (__MUNKATERV_OK && __ORAREND_OK && __TANKOROK_OK) checkNaplo(date('Y-m-d'));
- else $_SESSION['alert'][]= 'info:checkNaploFailed:Tanév:'.($_TANEV['tanev']).':Részletek '.((__MUNKATERV_OK)?'munkaterv ok':'#chknaplo1 nincs munkaterv!').':'.((__ORAREND_OK)?'órarend ok':'#chknaplo2 nincs órarend!').':'.((__TANKOROK_OK)?'órarend-tankörök ok':'#chknaplo3 órarendi óra tankör összerendezési hiány!');
+ else {
+ if (MAYOR_SOCIAL!==true) $_SESSION['alert'][]= 'info:checkNaploFailed:Tanév:'.($_TANEV['tanev']).':Részletek '.((__MUNKATERV_OK)?'munkaterv ok':'#chknaplo1 nincs munkaterv!').':'.((__ORAREND_OK)?'órarend ok':'#chknaplo2 nincs órarend!').':'.((__TANKOROK_OK)?'órarend-tankörök ok':'#chknaplo3 órarendi óra tankör összerendezési hiány!');
+ }
}
}