diff --git a/ATL/CHANGEDB.php b/ATL/CHANGEDB.php index 31b31f3..da89b17 100644 --- a/ATL/CHANGEDB.php +++ b/ATL/CHANGEDB.php @@ -161,3 +161,8 @@ ++$count; $sql[$count][0] = '1.5.06'; $sql[$count][1] = ''; + +//v1.5.07 +++$count; +$sql[$count][0] = '1.5.07'; +$sql[$count][1] = ''; diff --git a/ATL/CHANGELOG.txt b/ATL/CHANGELOG.txt index 70677db..7180b1b 100644 --- a/ATL/CHANGELOG.txt +++ b/ATL/CHANGELOG.txt @@ -1,5 +1,9 @@ CHANGELOG ========= +v1.5.07 +------- +Refactoring of linkTop divs + v1.5.06 ------- Added ATL chart to the dashboard tabs and View ATLs page diff --git a/ATL/atl_manage.php b/ATL/atl_manage.php index 30dfb84..2f9f21a 100644 --- a/ATL/atl_manage.php +++ b/ATL/atl_manage.php @@ -98,11 +98,6 @@ echo ''; } - //Add multiple columns - echo "
"; - echo "get('module')."/atl_manage_add.php&gibbonCourseClassID=$gibbonCourseClassID'>".__('Add Multiple Columns').""; - echo '
'; - //Get teacher list $teaching = false; try { @@ -131,10 +126,15 @@ //TABLE $atlColumnGateway = $container->get(ATLColumnGateway::class); $atlColumnData = $atlColumnGateway->selectBy(['gibbonCourseClassID' => $gibbonCourseClassID])->fetchAll(); - + $table = DataTable::create('atlColumns'); $table->setTitle('ATL Columns'); - + + $table->addHeaderAction('addMultiple', __('Add Multiple Columns')) + ->setURL('/modules/ATL/atl_manage_add.php') + ->addParam('gibbonCourseClassID', $gibbonCourseClassID) + ->displayLabel(); + $table->addColumn('name', __('Name')); $table->addColumn('completeDate', __('Date Complete')); $table->addActionColumn() @@ -146,13 +146,13 @@ $actions->addAction('delete', __('Delete')) ->setURL('/modules/' . $session->get('module') . '/atl_manage_delete.php'); - + $actions->addAction('enterData', __('Enter Data')) ->setURL('/modules/' . $session->get('module') . '/atl_write_data.php') ->setIcon('markbook'); }); - + echo $table->render($atlColumnData); } } diff --git a/ATL/manifest.php b/ATL/manifest.php index bb22f25..739f4b7 100644 --- a/ATL/manifest.php +++ b/ATL/manifest.php @@ -25,7 +25,7 @@ $entryURL = 'atl_write.php'; $type = 'Additional'; $category = 'Assess'; -$version = '1.5.06'; +$version = '1.5.07'; $author = 'Ross Parker'; $url = 'http://rossparker.org'; diff --git a/ATL/version.php b/ATL/version.php index baac116..f1c8eeb 100644 --- a/ATL/version.php +++ b/ATL/version.php @@ -20,5 +20,5 @@ /** * Sets version information. */ -$moduleVersion = '1.5.06'; -$coreVersion = '22.0.00'; +$moduleVersion = '1.5.07'; +$coreVersion = '23.0.00';