Workshops page

This commit is contained in:
2019-09-04 23:09:39 +02:00
parent b3ef86089b
commit 91b1a025c5
17 changed files with 245 additions and 64 deletions

View File

@@ -49,6 +49,9 @@ elseif($sAction!='' && $bLoggedIn)
{
switch ($sAction)
{
case 'workshops':
$sResult = $oCATC->getWorkshops();
break;
default:
$sResult = CATC::getJsonResult(false, CATC::NOT_FOUND);
}
@@ -59,9 +62,6 @@ elseif($sAction!='' && !$bLoggedIn)
{
switch ($sAction)
{
case '':
//$sResult = $oCATC->apifunction();
break;
default:
$sResult = CATC::getJsonResult(false, CATC::NOT_FOUND);
}