Skip to content

Commit

Permalink
v1.5.01
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Parker committed Mar 23, 2022
1 parent 6b66b09 commit 9678cf5
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 32 deletions.
5 changes: 5 additions & 0 deletions Higher Education/CHANGEDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,8 @@
++$count;
$sql[$count][0] = '1.5.00';
$sql[$count][1] = "";

//v1.5.01
++$count;
$sql[$count][0] = '1.5.01';
$sql[$count][1] = "";
4 changes: 4 additions & 0 deletions Higher Education/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
CHANGELOG
=========
v1.5.01
-------
Refactoring of linkTop divs

v1.5.00
-------
Implemented new v23 year selector
Expand Down
6 changes: 3 additions & 3 deletions Higher Education/applications_track.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@
echo '</div>';
}

echo "<div class='linkTop'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/applications_track_add.php'><img title='New' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</div>';
echo "<p class='text-right mb-2 text-xs'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/applications_track_add.php'>".__("Add")."<img style='margin-left: 5px' title='New' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</p>';

if ($resultApps->rowCount() < 1) {
echo "<div class='warning'>";
Expand Down
4 changes: 2 additions & 2 deletions Higher Education/applications_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
if ($result->rowCount() < 1) {
$page->addError(__('There are no students to display.'));
} else {
echo "<div class='linkTop'>";
echo "<p class='text-right mb-2 text-xs'>";
echo 'Filter Form Group: ';

?>
Expand Down Expand Up @@ -102,7 +102,7 @@
?>
</select>
<?php
echo '</div>';
echo '</p>';

echo "<table cellspacing='0' style='width: 100%'>";
echo "<tr class='head'>";
Expand Down
6 changes: 3 additions & 3 deletions Higher Education/institutions_manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
$page->addError(__('Error: {error}. Students cannot be displayed.', ['error' => $e->getMessage()]));
}

echo "<div class='linkTop'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/institutions_manage_add.php'><img title='New' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</div>';
echo "<p class='text-right mb-2 text-xs'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/institutions_manage_add.php'>".__("Add")."<img style='margin-left: 5px' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</p>';

if ($result->rowCount() < 1) {
$page->addError(__('There are no students to display.'));
Expand Down
6 changes: 3 additions & 3 deletions Higher Education/majors_manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
$page->addError(__('Error: {error}. Students cannot be displayed.', ['error' => $e->getMessage()]));;
}

echo "<div class='linkTop'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/majors_manage_add.php'><img title='New' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</div>';
echo "<p class='text-right mb-2 text-xs'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/majors_manage_add.php'>".__("Add")."<img style='margin-left: 5px' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</p>';

if ($result->rowCount() < 1) {
$page->addError(__('There are no students to display.'));
Expand Down
2 changes: 1 addition & 1 deletion Higher Education/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$entryURL = 'index.php';
$type = 'Additional';
$category = 'Other';
$version = '1.5.00';
$version = '1.5.01';
$author = 'Ross Parker';
$url = 'http://rossparker.org';

Expand Down
6 changes: 3 additions & 3 deletions Higher Education/references_manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@
} catch (PDOException $e) {
}

echo "<div class='linkTop'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/references_manage_addMulti.php&gibbonSchoolYearID=$gibbonSchoolYearID&search=$search'>".__('Add Multiple Records')."<img title='".__('Add Multiple Records')."' src='./themes/".$session->get('gibbonThemeName')."/img/page_new_multi.png'/></a>";
echo '</div>';
echo "<p class='text-right mb-2 text-xs'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/references_manage_addMulti.php&gibbonSchoolYearID=$gibbonSchoolYearID&search=$search'>".__('Add Multiple Records')."<img style='margin-left: 5px' title='".__('Add Multiple Records')."' src='./themes/".$session->get('gibbonThemeName')."/img/page_new_multi.png'/></a>";
echo '</p>';

if ($result->rowCount() < 1) {
echo "<div class='warning'>";
Expand Down
6 changes: 3 additions & 3 deletions Higher Education/references_manage_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
//Let's go!
$values = $result->fetch();

echo "<div class='linkTop'>";
echo "<a target='_blank' href='".$session->get('absoluteURL').'/report.php?q=/modules/'.$session->get('module')."/references_manage_edit_print.php&higherEducationReferenceID=$higherEducationReferenceID'><img title='Print' src='./themes/".$session->get('gibbonThemeName')."/img/print.png'/></a>";
echo '</div>';
echo "<p class='text-right mb-2 text-xs'>";
echo "<a target='_blank' href='".$session->get('absoluteURL').'/report.php?q=/modules/'.$session->get('module')."/references_manage_edit_print.php&higherEducationReferenceID=$higherEducationReferenceID'>".__("Print")."<img style='margin-left: 5px' title='Print' src='./themes/".$session->get('gibbonThemeName')."/img/print.png'/></a>";
echo '</p>';

$form = Form::create('referencesManage', $session->get('absoluteURL').'/modules/'.$session->get('module')."/references_manage_editProcess.php?higherEducationReferenceID=$higherEducationReferenceID&gibbonSchoolYearID=$gibbonSchoolYearID");

Expand Down
6 changes: 3 additions & 3 deletions Higher Education/references_manage_edit_print.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
//Let's go!
$row = $result->fetch();

echo "<div class='linkTop'>";
echo "<a href='javascript:window.print()'><img title='Print' src='./themes/".$session->get('gibbonThemeName')."/img/print.png'/></a>";
echo '</div>'; ?>
echo "<p class='text-right mb-2 text-xs'>";
echo "<a href='javascript:window.print()'>".__("Print")."<img style='margin-left: 5px' title='Print' src='./themes/".$session->get('gibbonThemeName')."/img/print.png'/></a>";
echo '</p>'; ?>
<table class='smallIntBorder' cellspacing='0' style="width: 100%">
<tr>
<td>
Expand Down
8 changes: 4 additions & 4 deletions Higher Education/references_request.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

//Proceed!
$page->breadcrumbs->add(__('Request References'));

if (studentEnrolment($session->get('gibbonPersonID'), $connection2) == false) {
$page->addError(__('You have not been enrolled for higher education applications.'));
} else {
Expand All @@ -48,9 +48,9 @@
echo '</div>';
}

echo "<div class='linkTop'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/references_request_add.php'><img title='New' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</div>';
echo "<p class='text-right mb-2 text-xs'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/references_request_add.php'>".__("Add")."<img style='margin-left: 5px' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</p>';

if ($result->rowCount() < 1) {
echo "<div class='warning'>";
Expand Down
6 changes: 3 additions & 3 deletions Higher Education/staff_manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
$page->addError($e->getMessage());
}

echo "<div class='linkTop'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/staff_manage_add.php'><img title='New' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</div>';
echo "<p class='text-right mb-2 text-xs'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/staff_manage_add.php'>".__("Add")." <img style='margin-left: 5px' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</p>';

if ($result->rowCount() < 1) {
echo "<div class='warning'>";
Expand Down
6 changes: 3 additions & 3 deletions Higher Education/student_manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
$page->addError(__('Error: {error}. Students cannot be displayed.', ['error' => $e->getMessage()]));
}

echo "<div class='linkTop'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/student_manage_add.php'><img title='New' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</div>';
echo "<p class='text-right mb-2 text-xs'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/student_manage_add.php'>".__("Add")."<img style='margin-left: 5px' src='./themes/".$session->get('gibbonThemeName')."/img/page_new.png'/></a>";
echo '</p>';

if ($result->rowCount() < 1) {
echo "<div class='warning'>";
Expand Down
2 changes: 1 addition & 1 deletion Higher Education/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
/**
* Sets version information.
*/
$moduleVersion = '1.5.00';
$moduleVersion = '1.5.01';
$coreVersion = '23.0.00';

0 comments on commit 9678cf5

Please sign in to comment.