vishwamano

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

commit 1bd8a2037700d630a84f0427eb407beb865c8b47
parent d3a0ed988b4075af7e3f1531060cce2b0b3b3642
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon, 19 Nov 2018 21:16:35 -0500

colophon: Update index.php

Don't use smarty.

* colophon/index.php: Update file.
* parts/colophon.php: New file.

Diffstat:
colophon/index.php | 56++++++++++----------------------------------------------
parts/colophon.php | 77+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+), 46 deletions(-)

diff --git a/colophon/index.php b/colophon/index.php @@ -1,52 +1,16 @@ <?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'); +/** + * License: CC0-1.0 + */ +require_once('../init.php'); $title = 'Colophon &middot; Vishwa Mano Photograhy'; -$meta_desc = 'Contains information about the tools used to build vishwamano.com'; - -$p_title = "Colophon"; - -$p_desc = "<p><strong>Vishwa Mano Photography</strong> is built using: -</p>"; - - -$tools = array('Bootstrap' => array('https://github.com/twbs/bootstrap/releases/download/v3.3.5/bootstrap-3.3.5-dist.zip', 'v3.3.5'), - 'jQuery' => array('https://github.com/jquery/jquery/archive/1.11.3.zip', 'v1.11.3'), - 'Smarty' => array('http://www.smarty.net/files/Smarty-3.1.21.tar.gz', 'v3.1.21'), - 'Vegas' => array('https://github.com/jaysalvat/vegas/archive/v2.1.3.zip', 'v2.1.3'), - 'jQuery Colorbox' => array('https://github.com/jackmoore/colorbox/archive/1.6.2.zip', 'v1.6.2'), - 'Photoset Grid' => array('https://github.com/stylehatch/photoset-grid/archive/v1.0.1.zip', 'v1.0.1'), - 'Font Awesome' => array('https://github.com/FortAwesome/Font-Awesome/archive/v4.3.0.zip', '4.3.0'), -); - -$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'); +$meta_desc = 'Contains information about the tools used to build ' + . 'vishwamano.com'; +require(PARTS . 'header.php'); +require(PARTS . 'colophon.php'); +require(PARTS . 'aside.php'); +require(PARTS . 'footer.php'); diff --git a/parts/colophon.php b/parts/colophon.php @@ -0,0 +1,77 @@ + <!-- top container start --> +<div class="container-fluid"> + + <!-- top row start --> + <div class="row"> + + <!-- content column start --> + <div class="col-sm-offset-1 col-sm-7"> + + <article class="vm-colophon"> + <h1>Colophon</h1> + + <p><strong>Vishwa Manoharan Photography</strong> is built using: + </p> + + <ul> + <li> + <strong>Bootstrap</strong> + (<a href="https://github.com/twbs/bootstrap/releases/download/v3.3.5/bootstrap-3.3.5-dist.zip"> + v3.3.5 + </a>) + </li> + <li> + <strong>jQuery</strong> + (<a href="https://github.com/jquery/jquery/archive/1.11.3.zip"> + v1.11.3 + </a>) + </li> + <li> + <strong>Smarty</strong> + (<a href="http://www.smarty.net/files/Smarty-3.1.21.tar.gz"> + v3.1.21 + </a>) + </li> + <li> + <strong>Vegas</strong> + (<a href="https://github.com/jaysalvat/vegas/archive/v2.1.3.zip"> + v2.1.3 + </a>) + </li> + <li> + <strong>jQuery Colorbox</strong> + (<a href="https://github.com/jackmoore/colorbox/archive/1.6.2.zip"> + v1.6.2 + </a>) + </li> + <li> + <strong>Photoset Grid</strong> + (<a href="https://github.com/stylehatch/photoset-grid/archive/v1.0.1.zip"> + v1.0.1 + </a>) + </li> + <li> + <strong>Font Awesome</strong> + (<a href="https://github.com/FortAwesome/Font-Awesome/archive/v4.3.0.zip"> + 4.3.0 + </a>) + </li> + </ul> + + <p> + The source of the site can be cloned at: + </p> + +<pre> +$ git clone git://ricketyspace.net/vishwamano.git +</pre> + </article> + + </div> + <!-- content column end --> + + </div> + <!-- top row end --> + +</div> +<!-- top container end -->