Changeset 2637

Show
Ignore:
Timestamp:
03/25/08 10:27:06
Author:
kaminogoya
Message:

corresponded to Japanese name rule.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • yapcasia2008-test/actdocs/templates/core/user/show

    r2518 r2637  
    11<div class="vcard"> 
    22  <div class="picture small avator"> 
    3     [%- IF photo_name %] 
     3    [% IF photo_name %] 
    44    <img alt="{{Name}}" src="/[% global.config.general_dir_photos %]/[% photo_name %]" class="photo" /> 
    5     [%- ELSE %] 
     5    [% ELSE %] 
    66    <img alt="{{Name}}" src="/ya2008/css/themes/ya2008/images/no_photo.png" width="200" height="200" /> 
    77    [% END %] 
     
    1111<dt>{{Name}}</dt> 
    1212<dd class="n"> 
    13   [%- IF pseudonymous %] 
     13  [% IF pseudonymous %] 
    1414  [% nick_name %] 
    15   [%- ELSE %] 
     15  [% ELSE %] 
    1616  [% loc("salutation_${salutation}") IF salutation %] 
     17  [% IF first_name.match('^[a-zA-Z ]+$') %] 
     18  <span class="given-name">[% last_name %]</span> 
     19  <span class="family-name">[% first_name %]</span> 
     20  [% ELSE %] 
    1721  <span class="family-name">[% first_name %]</span> 
    1822  <span class="given-name">[% last_name %]</span> 
     23  [% END %] 
    1924  [% "(&lrm;${nick_name}&lrm;)" IF nick_name %] 
    2025  [% END %]