From e850e0c6d556ab56539c56a08872a7ea8500a9f5 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Mon, 1 Oct 2012 14:22:32 -0600 Subject: [PATCH] frost suport for categories and folder updates --- view/theme/frost-mobile/theme.php | 2 +- view/theme/frost-mobile/wall_thread.tpl | 9 +++++++++ view/theme/frost/theme.php | 2 +- view/theme/frost/wall_thread.tpl | 9 +++++++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/view/theme/frost-mobile/theme.php b/view/theme/frost-mobile/theme.php index cfda90fa0..7d95fc888 100644 --- a/view/theme/frost-mobile/theme.php +++ b/view/theme/frost-mobile/theme.php @@ -4,7 +4,7 @@ * Name: Frost--mobile version * Description: Like frosted glass * Credits: Navigation icons taken from http://iconza.com. Other icons taken from http://thenounproject.com, including: Like, Dislike, Black Lock, Unlock, Pencil, Tag, Camera, Paperclip (Marie Coons), Folder (Sergio Calcara), Chain-link (Andrew Fortnum), Speaker (Harold Kim), Quotes (Henry Ryder), Video Camera (Anas Ramadan), and Left Arrow, Right Arrow, and Delete X (all three P.J. Onori). All under Attribution (CC BY 3.0). Others from The Noun Project are public domain or No Rights Reserved (CC0). - * Version: Version 0.2.13 + * Version: Version 0.2.14 * Author: Zach P * Maintainer: Zach P */ diff --git a/view/theme/frost-mobile/wall_thread.tpl b/view/theme/frost-mobile/wall_thread.tpl index b99f0daf0..04874997b 100644 --- a/view/theme/frost-mobile/wall_thread.tpl +++ b/view/theme/frost-mobile/wall_thread.tpl @@ -50,6 +50,15 @@ $tag {{ endfor }} + {{ if $item.has_cats }} +
$item.txt_cats {{ for $item.categories as $cat }}$cat.name [$remove] {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} +
+ {{ endif }} + + {{ if $item.has_folders }} +
$item.txt_folders {{ for $item.folders as $cat }}$cat.name [$remove] {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} +
+ {{ endif }}
diff --git a/view/theme/frost/theme.php b/view/theme/frost/theme.php index 20ea0769a..4ab651988 100644 --- a/view/theme/frost/theme.php +++ b/view/theme/frost/theme.php @@ -4,7 +4,7 @@ * Name: Frost * Description: Like frosted glass * Credits: Navigation icons taken from http://iconza.com. Other icons taken from http://thenounproject.com, including: Like, Dislike, Black Lock, Unlock, Pencil, Tag, Camera, Paperclip (Marie Coons), Folder (Sergio Calcara), Chain-link (Andrew Fortnum), Speaker (Harold Kim), Quotes (Henry Ryder), Video Camera (Anas Ramadan), and Left Arrow, Right Arrow, and Delete X (all three P.J. Onori). All under Attribution (CC BY 3.0). Others from The Noun Project are public domain or No Rights Reserved (CC0). - * Version: Version 0.2.11 + * Version: Version 0.2.12 * Author: Zach P * Maintainer: Zach P */ diff --git a/view/theme/frost/wall_thread.tpl b/view/theme/frost/wall_thread.tpl index 72089ec22..ffc57f00b 100644 --- a/view/theme/frost/wall_thread.tpl +++ b/view/theme/frost/wall_thread.tpl @@ -49,6 +49,15 @@ $tag {{ endfor }} + {{ if $item.has_cats }} +
$item.txt_cats {{ for $item.categories as $cat }}$cat.name [$remove] {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} +
+ {{ endif }} + + {{ if $item.has_folders }} +
$item.txt_folders {{ for $item.folders as $cat }}$cat.name [$remove] {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} +
+ {{ endif }}