Show
Ignore:
Timestamp:
08/19/05 16:04:06 (7 years ago)
Author:
alexx
Message:
  • Add support for .node album in Meta album (not usefull for dotnode.com user, but good for other "Open .node" installation that want to import dotnode.com album)
  • Add REST api to access .node Album (must be extented later with other module of .node)
  • Add forgotten icons for meta album
  • Add dPics scripts to automagicaly resize requested image with size put in his url (<dpics script>/500x400/<file_path>.jpg => give you <file_path>.jpg in 500x400)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/smarty/templates/metalbum/view.tpl

    r24 r27  
    1 <div id='leftblock' > 
    2 <a href='/profile/{$url_id}'><img src='{$user.photo}' alt='photo' /></a><br /> 
    3 <ul class='info'> 
    4 <li><a href='/profile/{$url_id}'>{$user.info.fname|escape} {$user.info.lname|escape}</a></li> 
    5 <li>{$user.info.gender_t}{if $user.info.relationship_status_t}, {$user.info.relationship_status_t}{/if}</li> 
    6 <li>{$user.info.country}</li> 
    7 <li>&nbsp;</li> 
    8 {if $user.info.here_for_t} 
    9 <li><span class='label'>{t}Interested in{/t}:</span><br />{$user.info.here_for_t}</li> 
    10 {/if} 
    11 </ul> 
    12  
    13 {if $leftmenu} 
    14 {strip} 
    15 <ul class='menu'> 
    16 {foreach name=leftmenu from=$leftmenu item=title key=link} 
    17 {strip}<li><a href=' 
    18 {if $link[0] neq '/'} 
    19         /{$token[0]}/{$link} 
    20 {else} 
    21         {$link} 
    22 {/if} 
    23 '{if $token[1] eq $link} class='active'{/if}>{t}{$title}{/t}</a></li>{/strip} 
    24 {/foreach} 
    25 </ul> 
    26 {/strip} 
    27 {/if} 
    28 </div> 
    29  
    30 <div id='home'> 
    31 <h2>{$photo.title|escape}</h2> 
     1<h2>{$photo.title|truncate:50|escape}</h2> 
    322 
    333<a href='/metalbum/{$url_id}/album/{$metalbum.name}' class='button'>{t}Back{/t}</a><br /> 
    344<div style='text-align:center'> 
    355{if $photo} 
    36 <img src='{$photo.url_full}' alt='{$photo.description|escape}' /><br /> 
     6<img src='{$photo.url_full}' alt='{$photo.title|escape}' /><br /> 
    377{$photo.description|escape} 
    388{else} 
     
    4111</div> 
    4212<div style='text-align: right'><a href='/metalbum/{$url_id}/album/{$metalbum.name}' class='button'>{t}Back{/t}</a></div> 
    43  
    44 <br /> 
    45 <br /> 
    46 </div> 
    47 <div style="clear:both"></div>