Changeset 198

Show
Ignore:
Timestamp:
06/18/06 12:37:24 (2 years ago)
Author:
eadiaz
Message:

Sendlink style improved.
Profile modified and add some links.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/smarty/templates/profile.tpl

    r116 r198  
    1 <div class="infobox"> 
    2 <h3>{#profile_personal_info_title#}</h3> 
    3 <div class="infoboxBody"> 
    41<div style="padding-left:1em;font-size:11px"> 
    5   <table width="240" border="0"> 
    6   <tr><td><b>{#profile_username_label#}</b></td><td>{$user_profile->username}</td><td rowspan=4" nowrap="nowrap"><img src="{$user_profile->gravatar}" alt="{$user_profile->fullname}" /><br/>{#profile_gravatar_label#}</td></tr> 
     2  <table width="440" border="0"> 
     3  <tr><td><b>{#profile_username_label#}</b></td><td>{$user_profile->username}</td> 
     4  <td rowspan=4" nowrap="nowrap"><img src="{$user_profile->gravatar}" alt="{$user_profile->fullname}" /> 
     5    <br/>{#profile_gravatar_label#} 
     6{if $user_profile->username eq $logged_username} 
     7<br/><a href="profile_edit.php?user_id={$logged_userid}">{#profile_modify_label#}</a> 
     8{/if} 
     9  </td> 
     10  </tr> 
    711  <tr><td><b>{#profile_fullname_label#}</b></td><td>{$user_profile->fullname}</td></tr> 
    812  <tr><td><b>{#profile_join_date#}</b></td><td>{$user_profile->join_date|date_format:"%d/%m/%Y %H:%M"}</td></tr> 
    913  <tr><td><b>{#profile_blog_label#}</b></td><td><a href="{$user_profile->blog}">{$user_profile->blog}</a></td></tr> 
    10   <tr><td><b>{#profile_website#}</b></td><td><a href="{$user_profile->website}">{$user_profile->website}</a></td></tr> 
     14  <tr><td><b>{#profile_website_label#}</b></td><td><a href="{$user_profile->website}">{$user_profile->website}</a></td></tr> 
    1115  </table> 
    1216</div> 
    13 <div style="padding-left:1em"> 
    14 {if $user_profile->username eq $logged_username} 
    15 <a href="profile_edit.php?user_id={$logged_userid}">{#profile_modify_label#}</a><br/> 
     17<table width="440" border="0" cellpadding="5" cellspacing="2"> 
     18          <tr> 
     19          <td><b>{#profile_memes_label#}</b></td><td align="right"><a href="/user/{$user_profile->username}">{$user_profile->memes} (ver)</a></td> 
     20          <td><b>{#profile_votes_label#}</b></td><td align="right"><a href="/votes/{$user_profile->username}">{$user_profile->votes} (ver)</a></td> 
     21          </tr> 
     22          <tr> 
     23          <td><b>{#profile_votes_for_label#}</b></td><td align="right">{$user_profile->memes_votes}</td> 
     24          <td><b>{#profile_comments_label#}</b></td><td align="right"><a href="/comments/{$user_profile->username}">{$user_profile->comments} (ver)</a></td></tr>  
     25          <tr> 
     26          <td><b>{#profile_popularity_label#}</b></td><td align="right">{$user_profile->popularity|string_format:"%4.2f"}</td> 
     27          <td><b>{#profile_influence_label#}</b></td><td align="right">{$user_profile->influence|string_format:"%4.2f"}</td> 
     28          </tr> 
     29  </table> 
     30<h3>{$profile_title}</h3> 
     31{if $logged_in} 
     32{foreach from=$memes item=meme name=mg} 
     33{include file="meme_layout.tpl"} 
     34<hr /> 
     35{/foreach} 
     36{else} 
     37{foreach from=$memes item=meme name=mg} 
     38{include file="meme_layout_anon.tpl"} 
     39<hr /> 
     40{/foreach} 
    1641{/if} 
    17 <h2>{#profile_stat_label#}</h2> 
    18 <div style="padding-left:1em;font-size:10px;"> 
    19   <table width="340" border="0" cellpadding="5" cellspacing="2"> 
    20           <tr><td><b>{#profile_popularity_label#}</b></td><td align="right">{$user_profile->popularity|string_format:"%4.2f"}</td> 
    21           <td><b>{#profile_influence_label#}</b></td><td align="right">{$user_profile->influence|string_format:"%4.2f"}</td></tr> 
    22           <tr><td><b>{#profile_memes_label#}</b></td><td align="right">{$user_profile->memes}</td> 
    23           <td><b>{#profile_votes_label#}</b></td><td align="right">{$user_profile->votes}</td></tr> 
    24           <tr><td><b>{#profile_votes_for_label#}</b></td><td align="right">{$user_profile->memes_votes}</td> 
    25           <td><b>{#profile_comments_label#}</b></td><td align="right">{$user_profile->comments}</td></tr>  
    26   </table> 
    27  </div> 
    28 </div> 
    29 </div> 
    30   <div class="infoboxFooter"><p>&nbsp;</p></div> 
    31 </div> 
    32 <h3>{#profile_memes_by_user_label#}</h3> 
    33 {foreach from=$memes item=meme name=mg} 
    34 <div class="meme-bg"> 
    35 <table width="440" border="0" cellspacing="2" cellpadding="2" > 
    36   <tr > 
    37   <td colspan="2"> 
    38     <div class="votos" > 
    39           <h3  id="vote_count_{$meme->ID}" style="text-align:center" align="center"> 
    40           {$meme->votes} 
    41           </h3> 
    42           {if $meme->voted <= 0} 
    43           <p id="vote_label_{$meme->ID}">{#votes_label#}</p> 
    44           {/if} 
    45            <div class="vote-class" id="vote_button_{$meme->ID}"> 
    46         {if $logged_in } 
    47         {if $meme->voted <= 0} 
    48         <a class="vote-class" href="#vote_count_{$meme->ID}" onclick="update_vote_div('vote_count_{$meme->ID}','{$logged_userid}')"> 
    49         <img src="styles/img/meme-votar.png" border="0" alt="{#votes_label#}" /></a> 
    50         {/if} 
    51         {else} 
    52         <a class="vote-class" href="#vote_count_{$meme->ID}" onclick="update_vote_div('vote_count_{$meme->ID}','0')"><img src="styles/img/meme-votar.png" border="0" alt="{#votes_label#}" /></a> 
    53         {/if} 
    54         </div> 
    55     </div> 
    56     <div class="meme-content"><br/><a href="{$meme->url}" onclick="goto_url({$meme->ID},'{$meme->url}'})">{$meme->title}</a> 
    57         <div class="whowhen-class"> 
    58         &nbsp;{$meme->date_posted|date_format:$bf_date_posted}   
    59         &nbsp;{#posted_by_label#}&nbsp; 
    60         <a style="font-size:10px" href="profile.php?user_name={$meme->username}">{$meme->username}</a>&nbsp;&nbsp; 
    61         <a href="profile.php?user_name={$meme->username}"><img src="{$meme->small_gravatar}" border="0"/></a>&nbsp;  
    62         {if 0}&nbsp;|&nbsp <a href="circulation.php?meme_id={$meme->ID}">circulaci&oacute;n</a>{/if} 
    63         </div> 
    64           <p style="right-margin:1em"> 
    65         {if $meme->micro_content} 
    66         <div style="padding:4px">{$meme->micro_content}</div> 
    67         {/if} 
    68                   {$meme->content|nl2br} 
    69           </p> 
    70     </div> 
    71   </td> 
    72   </tr> 
    73   <tr><td colspan="2">&nbsp;&nbsp;<div style="padding-left:2em" class="meme-footer-class"> 
    74   <a href="comment.php?meme_id={$meme->ID}">{#comments_label#} {$meme->comments}</a> | <a href="comment.php?meme_id={$meme->ID}#debate">{#debate_label#}: {$meme->debate_pos}/{$meme->debate_0}+{$meme->clicks}/{$meme->debate_neg}</a> | <a href="tag_meme.php?meme_id={$meme->ID}">{#tag_meme_label#}</a> | <a href="{$meme->url}"  onclick="goto_url({$meme->ID},'{$meme->url}')">{#url_label#}</a> | {#cat_label#} : <a href="show_cat.php?cat_id={$meme->cat_id}">{$meme->cat_title}</a>&nbsp;{if $meme->vote_count >= 7}|&nbsp <a href="circulation.php?meme_id={$meme->ID}">circulaci&oacute;n</a>{/if}</div> 
    75   </td></tr> 
    76 </table> 
    77 <hr /> 
    78 </div> 
    79 {/foreach} 
    8042{include file="paginate.tpl"} 
     43<div style="height:1400px;_height:1400px">&nbsp;</div> 
  • trunk/smarty/templates/sendlink.tpl

    r151 r198  
    55{#email_criteria#} 
    66</p> 
    7 <div style="padding-left:1em;padding-top:-1em"> 
    87<table border="0" cellpadding="2" cellspacing="0" width="300" align="center"> 
    98<tr><td>&nbsp;</td></tr> 
    109<tr><td class="view-label-class"><font color="red">*</font>{#subject_email_label#}</td></tr> 
    11 <tr><td class="view-input-class"><input type="text" name="email_subject" value="{$email_subject}" size="74" /></td></tr> 
     10<tr><td ><input class="view-input-class" type="text" name="email_subject" value="{$email_subject}" size="60" /></td></tr> 
    1211<tr><td class="view-label-class"><font color="red">*</font>{#sender_email_label#}</td></tr> 
    1312{if $error_sender_email}<tr><td class="error">{#error_sender_email#}</td></tr>{/if} 
    14 <tr><td class="view-input-class"><input type="text" name="sender_email" value="{$sender_email}" size="74" /></td></tr> 
     13<tr><td ><input class="view-input-class" type="text" name="sender_email" value="{$sender_email}" size="60" /></td></tr> 
    1514<tr><td class="view-label-class">{#sender_name_label#}</td></tr> 
    16 <tr><td class="view-input-class"><input type="text" name="sender_name" value="{$sender_name}" size="74" /></td></tr> 
     15<tr><td><input class="view-input-class" type="text" name="sender_name" value="{$sender_name}" size="60" /></td></tr> 
    1716<tr><td class="view-label-class"><font color="red">*</font>{#receiver_email_label#}</td></tr> 
    1817{if $error_receiver_email}<tr><td class="error">{#error_receiver_email#}</td></tr>{/if} 
    19 <tr><td class="view-input-class"><input type="text" name="receiver_email" value="{$receiver_email}" size="74" /></td></tr> 
     18<tr><td><input class="view-input-class" type="text" name="receiver_email" value="{$receiver_email}" size="60" /></td></tr> 
    2019<tr><td class="view-label-class">{#receiver_name_label#}</td></tr> 
    21 <tr><td class="view-input-class"><input type="text" name="receiver_name" value="{$receiver_name}" size="74" /></td></tr> 
     20<tr><td><input class="view-input-class" type="text" name="receiver_name" value="{$receiver_name}" size="60" /></td></tr> 
    2221<tr><td class="view-label-class">{#message_email_label#}</td></tr> 
    2322{if $error_message_body}<tr><td class="error">{#error_message_body#}</td></tr>{/if} 
     
    2827</table> 
    2928</div> 
    30 </div> 
    3129</form> 
    3230<div style="height:1400px;_height:1400px">&nbsp;</div> 
  • trunk/smarty/templates/sendlink_ok.tpl

    r141 r198  
    1 <div class="infobox"
     1<p
    22<h3>{#sendlink_title#}</h3> 
    3 <div class="infoboxBody"> 
    4 <br/> 
     3</p> 
    54<p> 
    65{#email_success#} 
    76</p> 
     7<p> 
    88<ul> 
    99<li><a href="{$permalink}">{$meme->title}</a></li> 
    1010</ul> 
    11 </div> 
    12 <div class="infoboxFooter"><p>&nbsp;</p></div> 
    13 </div> 
     11</p> 
    1412<div style="height:1400px;_height:1400px">&nbsp;</div> 
  • trunk/smarty/templates/tag_meme.tpl

    r87 r198  
    11{include file="meme_layout.tpl"} 
     2<h3>Etiquetas</h3> 
     3{html_table loop=$meme_tags table_attr='border="0" cellspacing="4" cellpadding="4" ' cols="6"} 
    24{if $logged_in} 
    35{include file="form_header.tpl"} 
     
    911{include file="form_footer.tpl"} 
    1012{/if} 
    11 {html_table loop=$meme_tags table_attr='border="0" cellspacing="4" cellpadding="4" ' cols="6"} 
    1213<div style="height:1400px;_height:1400px">&nbsp;</div> 
    1314