vishwamano

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

commit a277fa05e03eb538bd771bf4a80219f7b30cd38d
parent 33822edc0c92a3ef5ac87b9257fb58b7e25767ec
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon, 22 Oct 2018 19:50:49 -0400

gallery/wildlife/animals/index.php -> gallery/wildlife/mammals/index.php

Diffstat:
gallery/wildlife/animals/index.php | 55-------------------------------------------------------
gallery/wildlife/birds/index.php | 2+-
gallery/wildlife/mammals/index.php | 55+++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 56 insertions(+), 56 deletions(-)

diff --git a/gallery/wildlife/animals/index.php b/gallery/wildlife/animals/index.php @@ -1,55 +0,0 @@ -<?php - -/* Vishwamano.com PHP snafu. - - Copyright (C) 2018 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 = 'Animals &middot; Wildlife &middot; Gallery &middot; Vishwa Mano Photography'; -$meta_keywords = 'Vishwa, Mano, Manoharan, Photography, Chennai, Gallery, Landscapes, Animals, Birds, Insects, Flowers, Macro, Wildlife, Nature, Reptiles'; -$meta_desc = 'An assortment of bold animals, all photographed in the wild.'; - -$gallery_info = array('name' => 'wildlife - animals', - 'imgs_path' => $abs_path . '/images/gallery/wildlife/animals', - 'imgs_root' => '/images/gallery/wildlife/animals', - 'captions' => $abs_path . '/images/gallery/wildlife/animals/info.json', - 'parent' => '/gallery/wildlife' -); - -$images = get_images($gallery_info['imgs_path']); -$image_captions = get_captions($gallery_info['captions']); - -$sub_nav = array( - array('desc' => 'Animals', 'active' => true, 'href' => '/gallery/wildlife/animals'), - array('desc' => 'Birds', 'active' => false, 'href' => '/gallery/wildlife/birds') -); - -$smarty->assign('no_of_images', count($images)); -$smarty->assign('gallery_info', $gallery_info); -$smarty->assign('images', $images); -$smarty->assign('image_captions', $image_captions); -$smarty->assign('title', $title); -$smarty->assign('meta_keywords', $meta_keywords); -$smarty->assign('meta_description', $meta_desc); -$smarty->assign('sub_nav', $sub_nav); -$smarty->display('gallery-genre.tpl'); - diff --git a/gallery/wildlife/birds/index.php b/gallery/wildlife/birds/index.php @@ -39,7 +39,7 @@ $images = get_images($gallery_info['imgs_path']); $image_captions = get_captions($gallery_info['captions']); $sub_nav = array( - array('desc' => 'Animals', 'active' => false, 'href' => '/gallery/wildlife/animals'), + array('desc' => 'Mammals', 'active' => false, 'href' => '/gallery/wildlife/mammals'), array('desc' => 'Birds', 'active' => true, 'href' => '/gallery/wildlife/birds') ); diff --git a/gallery/wildlife/mammals/index.php b/gallery/wildlife/mammals/index.php @@ -0,0 +1,55 @@ +<?php + +/* Vishwamano.com PHP snafu. + + Copyright (C) 2018 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 = 'Mammals &middot; Wildlife &middot; Gallery &middot; Vishwa Mano Photography'; +$meta_keywords = 'Vishwa, Mano, Manoharan, Photography, Chennai, Gallery, Landscapes, Animals, Birds, Insects, Flowers, Macro, Wildlife, Nature, Reptiles'; +$meta_desc = 'An assortment of bold mammals, all photographed in the wild.'; + +$gallery_info = array('name' => 'wildlife - mammals', + 'imgs_path' => $abs_path . '/images/gallery/wildlife/mammals', + 'imgs_root' => '/images/gallery/wildlife/mammals', + 'captions' => $abs_path . '/images/gallery/wildlife/mammals/info.json', + 'parent' => '/gallery/wildlife' +); + +$images = get_images($gallery_info['imgs_path']); +$image_captions = get_captions($gallery_info['captions']); + +$sub_nav = array( + array('desc' => 'Mammals', 'active' => true, 'href' => '/gallery/wildlife/mammals'), + array('desc' => 'Birds', 'active' => false, 'href' => '/gallery/wildlife/birds') +); + +$smarty->assign('no_of_images', count($images)); +$smarty->assign('gallery_info', $gallery_info); +$smarty->assign('images', $images); +$smarty->assign('image_captions', $image_captions); +$smarty->assign('title', $title); +$smarty->assign('meta_keywords', $meta_keywords); +$smarty->assign('meta_description', $meta_desc); +$smarty->assign('sub_nav', $sub_nav); +$smarty->display('gallery-genre.tpl'); +