made bootstrap theme html5 valid

This commit is contained in:
Stephan Bergemann 2013-04-16 00:35:43 +02:00
parent d7d591437d
commit 442a49374f
5 changed files with 24 additions and 11 deletions

View File

@ -3,12 +3,25 @@
<div class="row">
<div class="span12">
<div class="page-header">
<?php /* <div class="about"> */ ?>
<h1>About</h1>
</div>
</div>
<div class="span12">
To edit this page edit application/views/about.php.
<p>Stikked is an Open-Source PHP Pastebin, with the aim of keeping a simple and easy to use user interface.</p>
<p>Stikked allows you to easily share code with anyone you wish. Here are some features:</p>
<ul>
<li>Easy setup</li>
<li>Syntaxhighlighting for many languages, including live syntaxhighlighting with CodeMirror</li>
<li>Paste replies</li>
<li>Diff view between the original paste and the reply</li>
<li>An API</li>
<li>Trending pastes</li>
<li>Anti-Spam features</li>
<li>Themes support</li>
<li>Multilanguage support</li>
<li>And many more. View <a href="http://maketecheasier.com/run-your-own-pastebin-with-stikked/2013/01/11">this review</a> or visit the <a href="https://github.com/claudehohl/Stikked">Repo on GitHub</a></li>
</ul>
</div>
</div>

View File

@ -1,5 +1,4 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html>
<?php
$page_title = '';
if(isset($title))
@ -8,7 +7,7 @@ if(isset($title))
}
$page_title .= $this->config->item('site_name');
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><?php echo $page_title; ?></title>
@ -49,7 +48,7 @@ $this->carabiner->display('css');
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="<?php echo base_url(); ?>" class="title"><?php echo $this->config->item('site_name'); ?></a>
<a class="brand title" href="<?php echo base_url(); ?>"><?php echo $this->config->item('site_name'); ?></a>
<div class="nav-collapse">
<ul class="nav">
<?php $l = $this->uri->segment(1)?>

View File

@ -43,7 +43,7 @@
<div class="row">
<div class="span12">
<label for="paste"><?php echo lang('paste_yourpaste'); ?>
<label for="code"><?php echo lang('paste_yourpaste'); ?>
<span class="instruction"> - <?php echo lang('paste_yourpaste_desc'); ?></span>
</label>
</div>
@ -57,7 +57,7 @@
<div class="row">
<div class="span8">
<div class="control-group">
<label class="control-label" for="optionsCheckbox"><?php echo lang('paste_shorturl'); ?></label>
<label class="control-label" for="snipurl"><?php echo lang('paste_shorturl'); ?></label>
<div class="controls">
<label class="checkbox">
<?php
@ -69,7 +69,7 @@
</div>
</div>
<div class="control-group">
<label class="control-label" for="optionsCheckbox"><?php echo lang('paste_private'); ?></label>
<label class="control-label" for="private"><?php echo lang('paste_private'); ?></label>
<div class="controls">
<label class="checkbox">
<?php

View File

@ -45,7 +45,7 @@ if(isset($replies) and !empty($replies)){
?>
<h1><?php echo lang('paste_replies'); ?> <?php echo $title; ?> <a href="<?php echo site_url('view/rss/' . $pid); ?>"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJDSURBVHjajJJNSBRhGMd/887MzrQxRSLbFuYhoUhEKsMo8paHUKFLdBDrUIdunvq4RdClOq8Hb0FBSAVCUhFR1CGD/MrIJYqs1kLUXd382N356plZFOrUO/MMz/vO83+e93n+f+1zF+kQBoOQNLBJg0CTj7z/rvWjGbEOIwKp9O7WkhtQc/wMWrlIkP8Kc1lMS8eyFHpkpo5SgWCCVO7Z5JARhuz1Qg29fh87u6/9VWL1/SPc4Qy6n8c0FehiXin6dcCQaylDMhqGz8ydS2hKkmxNkWxowWnuBLHK6G2C8X6UJkBlxUmNqLYyNbzF74QLDrgFgh9LLE0NsPKxjW1Hz2EdPIubsOFdH2HgbwAlC4S19dT13o+3pS+vcSfvUcq9YnbwA6muW9hNpym/FWBxfh0CZkKGkPBZeJFhcWQAu6EN52QGZ/8prEKW+cdXq0039UiLXhUYzdjebOJQQI30UXp6mZn+Dtam32Afu0iyrgUvN0r+ZQbr8HncSpUVJfwRhBWC0hyGV8CxXBL5SWYf9sYBidYLIG2V87/ifVjTWAX6AlxeK2C0X8e58hOr/Qa2XJ3iLMWxB1h72tHs7bgryzHAN2o2gJorTrLxRHVazd0o4TXiyV2Yjs90uzauGvvppmqcLjwmbZ3V7BO2HOrBnbgrQRqWUgTZ5+Snx4WeKfzCCrmb3axODKNH+vvUyWjqyK4DiKQ0eXSpFsgVvLJQWpH+xSpr4otg/HI0TR/t97cxTUS+QxIMRTLi/9ZYJPI/AgwAoc3W7ZrqR2IAAAAASUVORK5CYII=" alt="rss" title="RSS" /></a></h1>
<table cellpadding="0" cellspacing="0" border="0" class="recent table table-striped table-bordered">
<table class="recent table table-striped table-bordered">
<thead>
<tr>
<th class="title"><?php echo lang('table_title'); ?></th>

View File

@ -1,4 +1,5 @@
<?php $this->load->view('defaults/footer_message'); ?>
<?php $this->load->view('defaults/footer_message'); ?>
</div>
<?php
//codemirror modes