summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-08-09 22:42:58 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-08-09 22:42:58 +0200
commit5fa2034cdc693d985b8177787ed61bfe2e0d5ca4 (patch)
treeaffa4dfb2c8faf0a3fb6696d0c5fbf2c0bd5d21f /application/views
parent4808179f5f11f77bfc38f8b6dc41a6d88bd3b192 (diff)
Add logo to header
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views')
-rw-r--r--application/views/header.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/application/views/header.php b/application/views/header.php
index 683fc7727..e85463735 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -35,7 +35,14 @@ if (is_cli_client() && !isset($force_full_html)) {
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<div class="container">
- <a class="brand" href="<?php echo site_url(); ?>">FileBin</a>
+ <a class="brand" href="<?php echo site_url(); ?>"><?php
+ if (file_exists(FCPATH."data/local/logo.svg")) {
+ echo '<img src="'.link_with_mtime("/data/local/logo.svg").'" style="height: 20px"> FileBin';
+ } else {
+ echo "FileBin";
+ }
+ ?>
+ </a>
<?php if(!isset($GLOBALS["is_error_page"])) { ?>
<ul class="nav pull-right">
<?php if(isset($username) && $username) { ?>