<commit_before>{capture assign="page_title"}photos from your contacts{/capture}
{include file="inc_head.txt"}

<h2>Your contacts</h2>

{if $new_subscription}

{if $subscription_ok}
<p>Okay! Your subscription to new photos from your contacts has been
registered. You should start seeing photos shortly.</p>
{else}
<p>Ack! Something when wrong trying to subscribe to your contacts photos.</p>
{/if}

{else}

{* TO DO: buddyicons *}

{foreach from=$users_updated item="ts" key="nsid"}
<h3>
{if $users_counts.$nsid==1}
{$users_names.$nsid|escape} ... one photo
{else}
{$users_names.$nsid|escape} ... {$users_counts.$nsid|escape} photos
{/if}
</h3>

{foreach from=$users_photos.$nsid item="row"}
<div style="float:left;margin-right:10px;margin-bottom:10px;">
<img src="{$row.thumb_url}" />
</div>
{/foreach}

<br clear="all" />

{/foreach}

{/if}

{include file="inc_foot.txt"}<commit_msg>pull in buddyicons from flickr_buddyicon.php; not ideal<commit_after>{capture assign="page_title"}photos from your contacts{/capture}
{include file="inc_head.txt"}

<h2>Your contacts</h2>

{if $new_subscription}

{if $subscription_ok}
<p>Okay! Your subscription to new photos from your contacts has been
registered. You should start seeing photos shortly.</p>
{else}
<p>Ack! Something when wrong trying to subscribe to your contacts photos.</p>
{/if}

{else}

{* TO DO: buddyicons *}

{foreach from=$users_updated item="ts" key="nsid"}
<h3>
{if $users_counts.$nsid==1}
{$users_names.$nsid|escape} ... one photo
{else}
{$users_names.$nsid|escape} ... {$users_counts.$nsid|escape} photos
{/if}
</h3>

<div style="float:left;margin-right:10px;margin-bottom:10px;">
<img src="{$cfg.abs_root_url}flickr_buddyicon.php?nsid={$nsid|escape}" />
</div>

{foreach from=$users_photos.$nsid item="row"}
<div style="float:left;margin-right:10px;margin-bottom:10px;">
<img src="{$row.thumb_url}" />
</div>
{/foreach}

<br clear="all" />

{/foreach}

{/if}

{include file="inc_foot.txt"}
{'fraction_non_alphanumeric': 0.18363171355498722, 'fraction_numerical': 0.011253196930946292, 'mean_word_length': 6.112727272727272, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2641259', 'n_tokens_mistral': 735, 'n_tokens_neox': 720, 'n_words': 168}