-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #601 from geoffhumphrey/v2.1.0
V2.1.0
- Loading branch information
Showing
289 changed files
with
52,116 additions
and
42,935 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
#No indexing | ||
IndexIgnore * | ||
|
||
# Make sure index.php is the default page | ||
DirectoryIndex index.php | ||
|
||
RewriteEngine on | ||
# If storing your installation in a sub-folder, uncomment the following line and replace [subfolder] with the name of your subfolder | ||
# RewriteBase /[subfolder] | ||
RewriteRule ^$ index.php [L] | ||
RewriteRule ^([A-Za-z0-9-]+)?$ index.php?section=$1 [L] | ||
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ index.php?section=$1&go=$2 [L] | ||
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ index.php?section=$1&go=$2&action=$3 [L] | ||
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ index.php?section=$1&go=$2&action=$3&id=$4 [L] | ||
# Custom error pages | ||
ErrorDocument 404 /404.php | ||
ErrorDocument 401 /401.php | ||
ErrorDocument 403 /403.php | ||
ErrorDocument 404 /404.php | ||
ErrorDocument 500 /500.html | ||
|
||
#No indexing | ||
IndexIgnore * | ||
|
||
# Make sure index.php is the default page | ||
DirectoryIndex index.php | ||
|
||
RewriteEngine on | ||
# If storing your installation in a sub-folder, uncomment the following line and replace [subfolder] with the name of your subfolder | ||
# RewriteBase /[subfolder] | ||
RewriteRule ^$ index.php [L] | ||
RewriteRule ^([A-Za-z0-9-]+)?$ index.php?section=$1 [L] | ||
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ index.php?section=$1&go=$2 [L] | ||
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ index.php?section=$1&go=$2&action=$3 [L] | ||
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ index.php?section=$1&go=$2&action=$3&id=$4 [L] | ||
|
||
# Custom error pages | ||
ErrorDocument 404 /404.php | ||
ErrorDocument 401 /401.php | ||
ErrorDocument 403 /403.php | ||
ErrorDocument 404 /404.php | ||
ErrorDocument 500 /500.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,89 @@ | ||
<?php | ||
require('paths.php'); | ||
require(CONFIG.'bootstrap.php'); | ||
$section = "400"; | ||
$go = "error_page"; | ||
|
||
$container_main = "container"; | ||
$nav_container = "navbar-default"; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title><?php echo $_SESSION['contestName']; ?> Organized By <?php echo $_SESSION['contestHost']." > Error 400"; ?></title> | ||
|
||
<!-- Load jQuery / http://jquery.com/ --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | ||
|
||
<!-- Load Bootstrap / http://www.getbootsrap.com --> | ||
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" /> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> | ||
|
||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
<!-- Load Font Awesome / https://fortawesome.github.io/Font-Awesome --> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> | ||
|
||
<!-- Load BCOE&M Custom Theme CSS - Contains Bootstrap overrides and custom classes --> | ||
<link rel="stylesheet" type="text/css" href="<?php echo $theme; ?>" /> | ||
|
||
<!-- Load BCOE&M Custom JS --> | ||
<script src="<?php echo $base_url; ?>js_includes/bcoem_custom.min.js"></script> | ||
</head> | ||
<body> | ||
<!-- MAIN NAV --> | ||
<div class="container hidden-print"> | ||
<?php include (SECTIONS.'nav.sec.php'); ?> | ||
</div><!-- container --> | ||
<!-- ./MAIN NAV --> | ||
|
||
<!-- ALERTS --> | ||
<div class="container bcoem-warning-container"> | ||
<div class="alert alert-danger"><span class="fa fa-exclamation-circle"></span> <strong>Invalid request.</strong> Don't worry, we still want you around!</div> | ||
|
||
</div><!-- ./container --> | ||
<!-- ./ALERTS --> | ||
|
||
<!-- Public Pages (Fixed Layout with Sidebar) --> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col col-lg-9 col-md-8 col-sm-12 col-xs-12"> | ||
<div class="page-header"> | ||
<h1>400 Error</h1> | ||
</div> | ||
<p class="lead">Unfortunately, there was a problem.</p> | ||
<p class="lead"><small>Please use the main navigation above to get where you want to go.</small></p> | ||
<p>Cheers!<br>– The <?php echo $_SESSION['contestName']; ?> Site Server</p> | ||
</div><!-- ./left column --> | ||
<div class="sidebar col col-lg-3 col-md-4 col-sm-12 col-xs-12"> | ||
<?php include (SECTIONS.'sidebar.sec.php'); ?> | ||
</div><!-- ./sidebar --> | ||
</div><!-- ./row --> | ||
<!-- ./Public Pages --> | ||
</div><!-- ./container --> | ||
<!-- ./Public Pages --> | ||
|
||
<!-- Mods Bottom --> | ||
<div class="container"> | ||
|
||
</div> | ||
<!-- ./Mods Bottom --> | ||
|
||
<!-- Footer --> | ||
<footer class="footer hidden-xs hidden-sm hidden-md"> | ||
<nav class="navbar navbar-default navbar-fixed-bottom"> | ||
<div class="container text-center"> | ||
<p class="navbar-text col-md-12 col-sm-12 col-xs-12 text-muted small"><?php include (SECTIONS.'footer.sec.php'); ?></p> | ||
</div> | ||
</nav> | ||
</footer><!-- ./footer --> | ||
<!-- ./ Footer --> | ||
</body> | ||
<?php | ||
require('paths.php'); | ||
require(CONFIG.'bootstrap.php'); | ||
$section = "400"; | ||
$go = "error_page"; | ||
|
||
$container_main = "container"; | ||
$nav_container = "navbar-default"; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title><?php echo $_SESSION['contestName']; ?> Organized By <?php echo $_SESSION['contestHost']." > Error 400"; ?></title> | ||
|
||
<!-- Load jQuery / http://jquery.com/ --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | ||
|
||
<!-- Load Bootstrap / http://www.getbootsrap.com --> | ||
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" /> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> | ||
|
||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
<!-- Load Font Awesome / https://fortawesome.github.io/Font-Awesome --> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> | ||
|
||
<!-- Load BCOE&M Custom Theme CSS - Contains Bootstrap overrides and custom classes --> | ||
<link rel="stylesheet" type="text/css" href="<?php echo $theme; ?>" /> | ||
|
||
<!-- Load BCOE&M Custom JS --> | ||
<script src="<?php echo $base_url; ?>js_includes/bcoem_custom.min.js"></script> | ||
</head> | ||
<body> | ||
<!-- MAIN NAV --> | ||
<div class="container hidden-print"> | ||
<?php include (SECTIONS.'nav.sec.php'); ?> | ||
</div><!-- container --> | ||
<!-- ./MAIN NAV --> | ||
|
||
<!-- ALERTS --> | ||
<div class="container bcoem-warning-container"> | ||
<div class="alert alert-danger"><span class="fa fa-exclamation-circle"></span> <strong>Invalid request.</strong> Don't worry, we still want you around!</div> | ||
|
||
</div><!-- ./container --> | ||
<!-- ./ALERTS --> | ||
|
||
<!-- Public Pages (Fixed Layout with Sidebar) --> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col col-lg-9 col-md-8 col-sm-12 col-xs-12"> | ||
<div class="page-header"> | ||
<h1>400 Error</h1> | ||
</div> | ||
<p class="lead">Unfortunately, there was a problem.</p> | ||
<p class="lead"><small>Please use the main navigation above to get where you want to go.</small></p> | ||
<p>Cheers!<br>– The <?php echo $_SESSION['contestName']; ?> Site Server</p> | ||
</div><!-- ./left column --> | ||
<div class="sidebar col col-lg-3 col-md-4 col-sm-12 col-xs-12"> | ||
<?php include (SECTIONS.'sidebar.sec.php'); ?> | ||
</div><!-- ./sidebar --> | ||
</div><!-- ./row --> | ||
<!-- ./Public Pages --> | ||
</div><!-- ./container --> | ||
<!-- ./Public Pages --> | ||
|
||
<!-- Mods Bottom --> | ||
<div class="container"> | ||
|
||
</div> | ||
<!-- ./Mods Bottom --> | ||
|
||
<!-- Footer --> | ||
<footer class="footer hidden-xs hidden-sm hidden-md"> | ||
<nav class="navbar navbar-default navbar-fixed-bottom"> | ||
<div class="container text-center"> | ||
<p class="navbar-text col-md-12 col-sm-12 col-xs-12 text-muted small"><?php include (SECTIONS.'footer.sec.php'); ?></p> | ||
</div> | ||
</nav> | ||
</footer><!-- ./footer --> | ||
<!-- ./ Footer --> | ||
</body> | ||
</html> |
Oops, something went wrong.