Skip to content

Commit

Permalink
[GT-172] Add blank line across codebase at the EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
Sae126V committed Sep 11, 2023
1 parent a4faf80 commit 3a4266b
Show file tree
Hide file tree
Showing 147 changed files with 121 additions and 175 deletions.
2 changes: 1 addition & 1 deletion htdocs/PI/private/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

include '../index.php';

?>
?>
2 changes: 1 addition & 1 deletion htdocs/PI/public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
/*====================================================== */

include '../index.php';
?>
?>
2 changes: 1 addition & 1 deletion htdocs/web_portal/GOCDB_monitor/check_with_error.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
echo("An error has been detected while checking GOCDB services. One or more services might not be working\n");
exit(2); // return Nagios error code for CRITICAL

?>
?>
2 changes: 1 addition & 1 deletion htdocs/web_portal/GOCDB_monitor/tests/URL.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ private function get_https($url){

return;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ function Get_User_Info_HTML($user)

return $Roles_HTML;
}
?>
?>
2 changes: 1 addition & 1 deletion htdocs/web_portal/controllers/admin/add_ngi.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ function submit() {
show_view('error.php', $e->getMessage());
die();
}
}
}
2 changes: 1 addition & 1 deletion htdocs/web_portal/controllers/admin/add_scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ function submit() {
}
}

?>
?>
2 changes: 1 addition & 1 deletion htdocs/web_portal/controllers/admin/delete_ngi.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ function submit() {

show_view('/site/deleted_site.php', $params);

}
}
1 change: 0 additions & 1 deletion htdocs/web_portal/controllers/admin/delete_scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,3 @@ function remove_scope(){
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ function delete_service_type(){

show_view("admin/deleted_service_type.php", $params, $params['Name'].'deleted');

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ function deny_delete_type(){
//display the deletion denied view
show_view("admin/delete_service_type_denied.php", $params, 'Deletion Failed');

}
}
2 changes: 1 addition & 1 deletion htdocs/web_portal/controllers/admin/edit_scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ function submit() {
}
}

?>
?>
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ function submit() {
}
}

?>
?>
2 changes: 1 addition & 1 deletion htdocs/web_portal/controllers/admin/edit_user_isadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ function submit() {
}*/
}

?>
?>
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ function submitMoveSEP($movementDetails) {
$params['NewSite'] = $newSite;
$params['Services'] = $services;
show_view("admin/moved_service_end_point.php", $params);
}
}
2 changes: 1 addition & 1 deletion htdocs/web_portal/controllers/admin/move_site.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ function submitMoveSite($movementDetails) {
$params['sites'] = $sites;

show_view("admin/moved_site.php", $params);
}
}
2 changes: 1 addition & 1 deletion htdocs/web_portal/controllers/admin/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ function show_users() {
$params["Users"] = \Factory::getUserService()->getUsers($surname, $forename, $idString, $isAdmin);

show_view("admin/users.php", $params, "Users");
}
}
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/add_ngi.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
'#optionalScopeCheckBoxDIV',
true);
});
</script>
</script>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/add_project.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
<br />
<input type="submit" value="Add Project" class="input_button">
</form>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/add_scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
<br />
<input type="submit" value="Add Scope" class="input_button">
</form>
</div>
</div>
1 change: 0 additions & 1 deletion htdocs/web_portal/views/admin/added_ngi.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@
this smaller image should not exceed width:28px, height:25px.

</div>

1 change: 0 additions & 1 deletion htdocs/web_portal/views/admin/added_project.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@


</div>

1 change: 0 additions & 1 deletion htdocs/web_portal/views/admin/added_scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@


</div>

2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/delete_ngi.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@
<input type="submit" value="Remove this NGI and all its associated sites and services from GOCDB" class="input_button">
</form>

</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/delete_scope_denied.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@
<input type="submit" value="Remove Scope which is currently in use" class="input_button">
</form>

</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
<br>
These services will need their service type changing before the
service type can be deleted.
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/deleted_ngi.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rightPageContainer">
<h1 class="Success">Deletion Successful</h1><br />
The NGI '<?php xecho($params['Name'])?>' and any associated sites and services have been successfully removed from GOCDB
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/deleted_scope.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rightPageContainer">
<h1 class="Success">Deletion Successful</h1><br />
The scope '<?php xecho($params['Name'])?>' has been successfully removed from GOCDB
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/deleted_service_type.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rightPageContainer">
<h1 class="Success">Deletion Successful</h1><br />
The service type '<?php xecho($params['Name'])?>' has been successfully removed from GOCDB
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/edit_scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
<br />
<input type="submit" value="Submit Changes" class="input_button">
</form>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/edit_user_identifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
<input class="input_input_hidden" type="hidden" name="identifierId" value="<?php echo $params['identifierId']; ?>" />
<input type="submit" value="Update Identifier" class="input_button">
</form>
</div>
</div>
1 change: 0 additions & 1 deletion htdocs/web_portal/views/admin/edited_scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@

</p>
</div>

2 changes: 0 additions & 2 deletions htdocs/web_portal/views/admin/edited_user_identifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@
<?php xecho($params['Name'])?>
</a> has been successfully updated.
</div>


2 changes: 0 additions & 2 deletions htdocs/web_portal/views/admin/edited_user_isadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@
Return to the users page.
</a>
</div>


2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/move_service_end_point.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
<br>
<input class="input_button" type="submit" value="Move Service" />
</form>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

<input class="input_button" type="submit" value="Move service from this site" />
</form>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/move_site.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
<br>
<input class="input_button" type="submit" value="Move Site" />
</form>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/move_site_select_old_ngi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

<input class="input_button" type="submit" value="Move Sites from this NGI" />
</form>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/moved_service_end_point.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
. "</a> ";
}
?>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/admin/moved_site.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
. "</a> ";
}
?>
</div>
</div>
18 changes: 0 additions & 18 deletions htdocs/web_portal/views/downtime/add_downtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,21 +631,3 @@ function getURLParameter(name) {
}*/

</script>


















2 changes: 1 addition & 1 deletion htdocs/web_portal/views/downtime/added_downtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<h1 class="Success">Success</h1><br />
New Downtime successfully created. <br />
<a href="index.php?Page_Type=Downtime&amp;id=<?php echo $params['dt']->getId() ?>">View new downtime</a>
</div>
</div>
1 change: 0 additions & 1 deletion htdocs/web_portal/views/downtime/confirm_add_downtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,3 @@
<?php endif;?>
</form>
</div>

2 changes: 1 addition & 1 deletion htdocs/web_portal/views/downtime/custom_json_encode.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ function __json_encode( $data ) {
$json = strtolower(var_export( $data, true ));
}
return $json;
}
}
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/downtime/deleted_downtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Downtime deleted.
<br />
<a href="index.php">Go Home</a>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/downtime/downtimes_calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -676,4 +676,4 @@ function updateDate(time) {
changeViewMode();

})
</script>
</script>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/downtime/edited_downtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Downtime updated. <br />
<a href="index.php?Page_Type=Downtime&amp;id=<?php echo $params['dt']->getId() ?>">
View downtime</a>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/downtime/ended_downtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Downtime will end within the next 60 seconds.<br />
<a href="index.php?Page_Type=Downtime&amp;id=<?php echo $params['downtime']->getId() ?>">
View downtime</a>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
}

?>
</div>
</div>
1 change: 0 additions & 1 deletion htdocs/web_portal/views/exportProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
echo(PHP_EOL);
}
?>

1 change: 0 additions & 1 deletion htdocs/web_portal/views/my_sites.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,3 @@
</div>
</div>
</div>

2 changes: 1 addition & 1 deletion htdocs/web_portal/views/ngi/edit_ngi.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@
'#optionalScopeCheckBoxDIV',
true);
});
</script>
</script>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/ngi/ngi_updated.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
NGI updated. <br />
<a href="index.php?Page_Type=NGI&amp;id=<?php echo $params['ngi']->getId() ?>">
View NGI</a>
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/political_role/new_request.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<br />
Role requested - View your pending role requests on the <a href="index.php?Page_Type=Role_Requests">Manage Roles</a> page.
<br />
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rightPageContainer">
<h1>Success</h1>
Role request accepted
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/political_role/request_denied.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rightPageContainer">
<h1>Success</h1>
Role request denied
</div>
</div>
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/political_role/request_role.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
<input type="hidden" name="Object_ID" value="<?php echo $params['objectId'] ?>"/>
<input type="submit" />
</form>
</div>
</div>
Loading

0 comments on commit 3a4266b

Please sign in to comment.