vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit 38235115cd2ec0d695935edc3d970e020bc92c0d
parent fcc3016a9e3afc6da0b80798e90d8d63a87be5f3
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Fri,  2 Jan 2015 14:32:30 -0500

upgraded colophon page (uses Smarty now).

	new file:   colophon/index.php
	new file:   themes/bs3/templates/colophon.tpl

Diffstat:
colophon/index.php | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
themes/bs3/templates/colophon.tpl | 45+++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+), 0 deletions(-)

diff --git a/colophon/index.php b/colophon/index.php @@ -0,0 +1,51 @@ +<?php + +/* Vishwamano.com PHP snafu. + + Copyright (C) 2014 rsiddharth <rsiddharth@ninthfloor.org> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + COPYING contains the full text of the GNU Affero General Public + License. If you have not recieved a copy of the file along with + this program, see <http://www.gnu.org/licenses/>. + +*/ + + +require_once('../templating.php'); +require_once($abs_path . '/utils.php'); + + +$title = 'Colophon &middot; Vishwa Manoharan Photograhy'; +$meta_desc = 'Contains information about the tools used to build vishwamano.com'; + +$p_title = "Colophon"; + +$p_desc = "<p><strong>Vishwa Manoharan Photography</strong> is built using: +</p>"; + + +$tools = array('Bootstrap' => array('https://github.com/twbs/bootstrap/releases/download/v3.3.1/bootstrap-3.3.1-dist.zip', 'v3.3.1'), + 'Smarty' => array('http://www.smarty.net/files/Smarty-3.1.21.tar.gz', 'v3.1.21'), + 'Fancybox' => array('https://github.com/fancyapps/fancyBox/zipball/v2.1.5', 'v2.1.5'), + 'JQuery DateTimePicker' => array('https://plugins.jquery.com/datetimepicker/2.3.7/', 'v2.3.7')); + + + + +$smarty->assign('p_title', $p_title); +$smarty->assign('p_desc', $p_desc); +$smarty->assign('tools', $tools); +$smarty->assign('title', $title); +$smarty->assign('meta_description', $meta_desc); +$smarty->display('colophon.tpl'); + diff --git a/themes/bs3/templates/colophon.tpl b/themes/bs3/templates/colophon.tpl @@ -0,0 +1,45 @@ +{include file='header.tpl'} + + +<div class="container-fluid"> <!-- top container start --> + + + <div class="row"> <!-- top row start --> + + <div class="col-sm-offset-1 col-sm-7"> <!-- content column start --> + + <h1>{$p_title}</h1> + + <p><strong>Vishwa Manoharan Photography</strong> is built using: + </p> + + <ul> + {foreach $tools as $name => $info} + <li> + <strong>{$name}</strong> (<a href="{$info[0]}">{$info[1]}</a>) + </li> + {/foreach} + </ul> + + <p> + The source of the static portion of the site can be cloned at: + </p> + +<pre> +$ git clone http://rsiddharth.ninth.su/git/v-page.git +</pre> + + <p>The <strong><a href="/journal/">Vishwa Manoharan Photography Journal</a></strong> is + powered by <a href="https://wordpress.org">WordPress</a>.</p> + + </div> <!-- content column end --> + + </div> <!-- top row end --> + +</div> <!-- top container end --> + +{include file='js.tpl'} +<script> + $('#nav-link-bio').addClass("active"); +</script> +{include file='footer.tpl'}