Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
memibeltrame committed Apr 14, 2015
1 parent 0abbc3a commit 015ed2c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .htaccess
Expand Up @@ -12,7 +12,7 @@ Allow from all
Deny from env=passreq
Satisfy any

# This redirects any links that do not work to the file missing.php
# This redirects any links that do not work to the file fileNotFound.php
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ fileNotFound.php/$1
Expand Down
2 changes: 1 addition & 1 deletion addons/sublime/box.sublime-snippet
@@ -1,5 +1,5 @@
<snippet>
<content><![CDATA[ box("${1}", "${2:info}", "${3:inherit}" , "${4:boxid}" , "${5:dismiss}" )]]></content>
<content><![CDATA[ ${1:<?php} box("${2}", "${3:info}", "${4:inherit}" , "${5:boxid}" , "${6:dismiss}" ); ${1:?>} ]]></content>
<!-- Optional: Tab trigger to activate the snippet -->
<tabTrigger>box</tabTrigger>
<!-- Optional: Description to show in the menu -->
Expand Down
1 change: 0 additions & 1 deletion core/protostrap.php
Expand Up @@ -17,7 +17,6 @@
include($csd.'/spyc.php');
include($csd.'/dataParse.php');


// Handle request ID
$reqId = false;
if (!empty($_POST['id'])) {
Expand Down
2 changes: 1 addition & 1 deletion fileNotFound.php
Expand Up @@ -39,7 +39,7 @@
<div class="container">

<?php // this includes the footer
//include('./snippets/header.php');?>
//include('./snippets/navBarTop.php');?>
<br>
<div class="well">
<h1>End of Prototype</h1>
Expand Down
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -31,7 +31,7 @@

<?php
// this includes the header
include('./snippets/header.php');?>
include('./snippets/navBarTop.php');?>

<h4 class="text-muted"> <i class="fa fa-level-down fa-rotate-180"></i> Change this in snippets/navBarTop.php </h4>
<br><br>
Expand Down
1 change: 0 additions & 1 deletion snippets/header.php

This file was deleted.

2 changes: 1 addition & 1 deletion snippets/navBarTop.php
Expand Up @@ -71,7 +71,7 @@
<ul class="nav navbar-nav navbar-right">
<li>

<a href="login.php">Login</a>
<a href="testpage.php#login">Sign in</a>
</li>
</ul>
<?php }?>
Expand Down
5 changes: 4 additions & 1 deletion testpage.php
Expand Up @@ -12,7 +12,7 @@


?><!DOCTYPE html>
<html lang="en">
<html >
<head>
<title><?php echo $application . " - " . $brand ;?></title>
<?php
Expand All @@ -32,6 +32,8 @@
<div class="row">
<div class="col-md-4">

<a href="index.php"><i class="fa fa-long-arrow-left"></i> Back to site</a>

<h3>Testpage</h3>

<h4>Icons</h4>
Expand Down Expand Up @@ -129,6 +131,7 @@
<br>
<div class="row">
<div class="col-md-12">
<a name="login"></a>
<?php include ('./snippets/loginForm.php'); ?>
</div>
</div>
Expand Down

0 comments on commit 015ed2c

Please sign in to comment.