Skip to content

Commit

Permalink
copy for the headers
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisaaronland committed Jan 5, 2012
1 parent ed3f4b5 commit 5bfacfb
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
8 changes: 7 additions & 1 deletion www/templates/page_flickr_photos_user_archives_day.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{capture assign="page_title"}{$owner.username} | archives | {$context} | {$year} | {$months.$month|strtolower} | {$day}{/capture}
{include file="inc_head.txt"}

<h2>{if $is_own}Your photos from {$months.$month|escape} {$day|escape}, {$year|escape}{else}{$owner.username|escape}'s photos from {$months.$month|escape}, {$day|escape} {$year|escape}{/if}</h2>
<h2>
{if $is_own}
{if $context=='posted'}Photos you posted on {$months.$month|escape} {$day|escape}, {$year|escape}{else}Photos you took on {$months.$month|escape} {$day|escape}, {$year|escape}{/if}
{else}
{if $context=='posted'}Photos {$owner.username|escape} uploaded on {$months.$month|escape} {$day|escape}, {$year|escape}{else}Photos {$owner.username|escape} took on {$months.$month|escape} {$day|escape}, {$year|escape}{/if}
{/if}
</h2>

<div id="archives_navi">

Expand Down
8 changes: 7 additions & 1 deletion www/templates/page_flickr_photos_user_archives_month.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{capture assign="page_title"}{$owner.username} | archives | {$context} | {$year} | {$months.$month|strtolower}{/capture}
{include file="inc_head.txt"}

<h2>{if $is_own}Your photos from {$months.$month|escape}, {$year|escape}{else}{$owner.username|escape}'s photos from {$months.$month|escape}, {$year|escape}{/if}</h2>
<h2>
{if $is_own}
{if $context=='posted'}Photos you posted in {$months.$month|escape}, {$year|escape}{else}Photos you took in {$months.$month|escape}, {$year|escape}{/if}
{else}
{if $context=='posted'}Photos {$owner.username|escape} uploaded in {$months.$month|escape}, {$year|escape}{else}Photos {$owner.username|escape} took in {$months.$month|escape}, {$year|escape}{/if}
{/if}
</h2>

<div id="archives_navi">

Expand Down
13 changes: 10 additions & 3 deletions www/templates/page_flickr_photos_user_archives_year.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{capture assign="page_title"}{$owner.username} | archives | {$context} | {$year}{/capture}
{include file="inc_head.txt"}

<h2>{if $is_own}Your photos from {$year|escape}{else}{$owner.username|escape}'s photos from {$year|escape}{/if}</h2>
<h2>
{if $is_own}
{if $context=='posted'}Photos you posted during {$year|escape}{else}Photos you took during {$year|escape}{/if}
{else}
{if $context=='posted'}Photos {$owner.username|escape} uploaded during {$year|escape}{else}Photos {$owner.username|escape} took during {$year|escape}{/if}
{/if}
</h2>

<div id="archives_navi">
<ul id="archives_navi_years">
{if $previous_year}<li><a title="photos from {$previous_year|escape}" href="{$owner|@flickr_urls_photos_user_archives}date-{$context|escape}/{$previous_year|escape}/">{$previous_year}</a></li>{/if}
{if $previous_year}<li><a title="photos from {$previous_year|escape}" href="{$owner|@flickr_urls_photos_user_archives}date-{$context|escape}/{$previous_year|escape}/">{$previous_year}</a></li>{else}{* this is a dirty little hack to trick the CSS hooks *}<li style="display:none;"></li>{/if}

<li>
{if 0}<strong>{$year|escape}</strong>{/if}
<ul id="archives_navi_months">
Expand All @@ -16,7 +23,7 @@

</li>

{if $next_year}<li><a title="photos from {$next_year|escape}" href="{$owner|@flickr_urls_photos_user_archives}date-{$context|escape}/{$next_year|escape}/">{$next_year}</a></li>{/if}
{if $next_year}<li><a title="photos from {$next_year|escape}" href="{$owner|@flickr_urls_photos_user_archives}date-{$context|escape}/{$next_year|escape}/">{$next_year}</a></li>{else}{* this is a dirty little hack to trick the CSS hooks *}<li style="display:none;"></li>{/if}
</ul>

</div>
Expand Down

0 comments on commit 5bfacfb

Please sign in to comment.