Skip to content

Commit

Permalink
v1.5.00
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Parker committed Feb 8, 2022
1 parent 66b5030 commit 6b66b09
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 40 deletions.
5 changes: 5 additions & 0 deletions Higher Education/CHANGEDB.php
Expand Up @@ -172,3 +172,8 @@
++$count;
$sql[$count][0] = '1.4.03';
$sql[$count][1] = "";

//v1.5.00
++$count;
$sql[$count][0] = '1.5.00';
$sql[$count][1] = "";
4 changes: 4 additions & 0 deletions Higher Education/CHANGELOG.txt
@@ -1,5 +1,9 @@
CHANGELOG
=========
v1.5.00
-------
Implemented new v23 year selector

v1.4.03
-------
Removed deprecated function calls
Expand Down
2 changes: 1 addition & 1 deletion Higher Education/manifest.php
Expand Up @@ -25,7 +25,7 @@
$entryURL = 'index.php';
$type = 'Additional';
$category = 'Other';
$version = '1.4.03';
$version = '1.5.00';
$author = 'Ross Parker';
$url = 'http://rossparker.org';

Expand Down
19 changes: 1 addition & 18 deletions Higher Education/references_manage.php
Expand Up @@ -71,24 +71,7 @@
}

if ($gibbonSchoolYearID != '') {
echo "<h2 class='top'>";
echo $gibbonSchoolYearName;
echo '</h2>';

echo "<div class='linkTop'>";
//Print year picker
if (getPreviousSchoolYearID($gibbonSchoolYearID, $connection2) != false) {
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module').'/references_manage.php&gibbonSchoolYearID='.getPreviousSchoolYearID($gibbonSchoolYearID, $connection2)."'>Previous Year</a> ";
} else {
echo 'Previous Year ';
}
echo ' | ';
if (getNextSchoolYearID($gibbonSchoolYearID, $connection2) != false) {
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module').'/references_manage.php&gibbonSchoolYearID='.getNextSchoolYearID($gibbonSchoolYearID, $connection2)."'>Next Year</a> ";
} else {
echo 'Next Year ';
}
echo '</div>';
$page->navigator->addSchoolYearNavigation($gibbonSchoolYearID);

echo "<h3 class='top'>";
echo __('Search');
Expand Down
20 changes: 1 addition & 19 deletions Higher Education/references_write.php
Expand Up @@ -56,25 +56,7 @@
}

if ($gibbonSchoolYearID != '') {
echo "<h2 class='top'>";
echo $gibbonSchoolYearName;
echo '</h2>';

echo "<div class='linkTop'>";
//Print year picker
if (getPreviousSchoolYearID($gibbonSchoolYearID, $connection2) != false) {
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module').'/references_write.php&gibbonSchoolYearID='.getPreviousSchoolYearID($gibbonSchoolYearID, $connection2)."'>Previous Year</a> ";
} else {
echo 'Previous Year ';
}
echo ' | ';
if (getNextSchoolYearID($gibbonSchoolYearID, $connection2) != false) {
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module').'/references_write.php&gibbonSchoolYearID='.getNextSchoolYearID($gibbonSchoolYearID, $connection2)."'>Next Year</a> ";
} else {
echo 'Next Year ';
}
echo '</div>';

$page->navigator->addSchoolYearNavigation($gibbonSchoolYearID);

echo '<p>';
echo 'The table below shows all references for which your input is required in the selected school year.';
Expand Down
4 changes: 2 additions & 2 deletions Higher Education/version.php
Expand Up @@ -20,5 +20,5 @@
/**
* Sets version information.
*/
$moduleVersion = '1.4.03';
$coreVersion = '22.0.00';
$moduleVersion = '1.5.00';
$coreVersion = '23.0.00';

0 comments on commit 6b66b09

Please sign in to comment.