mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
fixin iphone bugs
This commit is contained in:
parent
96afe55b84
commit
b118422050
@ -15,6 +15,7 @@ class Iphone extends CI_Controller
|
|||||||
function __construct()
|
function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
$this->load->model('languages');
|
||||||
}
|
}
|
||||||
|
|
||||||
function index()
|
function index()
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<ul>
|
<ul>
|
||||||
<?php $page = $this->uri->segment(2); // There is currently only one link so the active link may seem pointless but this future proofs it. ?>
|
<?php $page = $this->uri->segment(2); // There is currently only one link so the active link may seem pointless but this future proofs it. ?>
|
||||||
<li class="<?if($page =="" || $page == "view"){?>active<?php } ?>"><a href="<?php echo base_url()?>iphone">View</a></li>
|
<li class="<?php if($page =="" || $page == "view"){?>active<?php } ?>"><a href="<?php echo base_url(); ?>iphone">View</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
<div class="info">
|
<div class="info">
|
||||||
<h1 class="pagetitle"><?php echo $title; ?></h1>
|
<h1 class="pagetitle"><?php echo $title; ?></h1>
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
<p><strong>By</strong> <?php echo =$name; ?>, <?php $p = explode(',', timespan($created, time())); echo $p[0]; ?> ago, written in <?php echo =$lang; ?>.</p>
|
<p><strong>By</strong> <?php echo $name; ?>, <?php $p = explode(',', timespan($created, time())); echo $p[0]; ?> ago, written in <?php echo $lang; ?>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text_formatted">
|
<div class="text_formatted">
|
||||||
<?php echo =$paste; ?>
|
<?php echo $paste; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php $this->load->view('iphone/footer'); ?>
|
<?php $this->load->view('iphone/footer'); ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user