Changeset 1376

Show
Ignore:
Timestamp:
03/04/07 03:10:16 (2 years ago)
Author:
jm3
Message:

cleanup for user page; better image handling, slightly tighter box layout

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • feedmelinks/modules/tag-cloud.inc.php

    r1334 r1376  
    3838%> 
    3939<div class="attention warning"> 
    40 No such user or a user without tags. 
     40        No tags today. Perhaps tomorrow! 
    4141</div> 
    4242<% 
  • feedmelinks/users.php

    r1360 r1376  
    123123        } %> 
    124124 
     125        <?php 
     126                $img = get_profile_image( $userId ); 
     127                list($width, $height, $type, $attr) = getimagesize( $img ); 
     128                if( $height > 200 || $width > 200 ) 
     129                        $enforce_size = true; 
     130        ?> 
     131 
     132        <div style="float: left;"> 
     133        <img src="<?= $img ?>" <?= $enforce_size ? 'width="200"' : ''?> /> 
     134        </div> 
     135 
     136 
    125137        <div style="width: 570px; float: right;"> 
    126138        <%  
     
    131143        %> 
    132144        </div> 
    133  
    134145        </big> 
    135146        <br /> 
    136  
    137         <img src="<%= get_profile_image( $userId ) %>" width="200" /> 
    138  
    139147        <!-- 
    140148        <br />