Changeset 2691

Show
Ignore:
Timestamp:
05/06/08 09:43:13
Author:
miyagawa
Message:

add access code

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • yapcasia2008/actdocs/templates/user/main

    r2610 r2691  
    1010</p> 
    1111 
     12[% # let's do the math 
     13  USE formatter = format('%04d%04d');                                                                                         
     14  SET n = global.request.user.user_id; 
     15  c =  (3 * n * n - 2 * (n % 9) + 7) % 10000; 
     16  SET ac = d(n, c); 
     17%] 
     18<style> 
     19.checkin-code { font-size: 150%; font-weight: bold } 
     20</style> 
     21 
    1222[% IF global.request.conference %] 
    1323 [% IF global.request.user.has_registered %] 
     24 <p><t> 
     25 <en>Your check-in code for the conference is <span class="checkin-code">[% ac %]</span>. Print this page and bring to the conference for the quick check-in.</en> 
     26 <ja>あなたのカンファレンスアクセスコードは <span class="checkin-code">[% ac %]</span> です。このページをプリントアウトしてお持ちください。</ja> 
     27 </t></p> 
     28  
     29<div style="text-align:right"><img src="http://blog.bulknews.net/yapc/qr.cgi?token=[% ac %]" /></div> 
     30  
    1431  [% IF global.request.user.has_paid %] <p> 
    1532  {{You have purchased your conference ticket:}}