summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-07-15 21:02:58 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-07-15 21:06:53 +0200
commit463553f8216029942e478f6be346897e8ce2c83d (patch)
treee7f0459b7651c25288dd8615eb8d3f5a5c4e30bd /application/views
parentf37cbe5725db038b42777848064c4a79b818d0a8 (diff)
Add footer; move contact info to footer
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views')
-rw-r--r--application/views/contact.php1
-rw-r--r--application/views/file/upload_form.php3
-rw-r--r--application/views/footer.php15
-rw-r--r--application/views/header.php2
4 files changed, 18 insertions, 3 deletions
diff --git a/application/views/contact.php b/application/views/contact.php
new file mode 100644
index 000000000..6497ab6a7
--- /dev/null
+++ b/application/views/contact.php
@@ -0,0 +1 @@
+<?php echo $contact_info; ?>
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index a83ca3c87..bc6362988 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -74,8 +74,5 @@
<?php if(auth_driver_function_implemented("can_register_new_users")) { ?>
<p>If you believe you deserve an account, ask someone who is already using this service to <a href="<?php echo site_url("user/invite"); ?>">invite</a> you.</p>
<?php } ?>
- <?php if(isset($contact_me_url) && $contact_me_url) { ?>
- <p>If you experience any problems feel free to <a href="<?php echo $contact_me_url; ?>">contact me</a>.</p>
- <?php } ?>
</div>
</div>
diff --git a/application/views/footer.php b/application/views/footer.php
index 973210d19..459b62959 100644
--- a/application/views/footer.php
+++ b/application/views/footer.php
@@ -4,6 +4,21 @@ if (is_cli_client() && !isset($force_full_html)) {
}
?>
</div>
+<div id="push"></div>
+</div>
+<footer class="footer" id="footer">
+ <div class="container">
+ <p class="muted credits">
+ <p>Site code licensed under <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank">AGPL v3</a>.</p>
+ <p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
+ <ul class="footer-links">
+ <li><a href="http://git.server-speed.net/users/flo/filebin/">Source</a></li>
+ <li class="muted">&middot;</li>
+ <li><a href="<?php echo site_url("file/contact"); ?>">Contact</a></li>
+ </ul>
+ </p>
+ </div>
+</footer>
<?php echo include_js("/data/js/jquery-2.0.2.min.js"); ?>
<?php echo include_js("/data/js/jquery-ui-1.10.3.custom.min.js"); ?>
<?php echo include_js("/data/js/bootstrap-2.3.2.min.js"); ?>
diff --git a/application/views/header.php b/application/views/header.php
index deafa1ef5..ae6f037fb 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -24,6 +24,8 @@ if (is_cli_client() && !isset($force_full_html)) {
</head>
<body>
+<div id="wrap">
+<div id="navbar-height"></div>
<?php if (file_exists(FCPATH."data/local/header.inc.php")) {
include FCPATH."data/local/header.inc.php";
}?>