Changeset 173

Show
Ignore:
Timestamp:
01/22/06 20:59:23 (3 years ago)
Author:
ben
Message:

Default icons work on network pages

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/friends/friends_edit.php

    r110 r173  
    2727                                list($width, $height, $type, $attr) = $defaulticonparams; 
    2828                                // $info = $info[0]; 
    29                                 if ($info->icon != -1) { 
     29                                // if ($info->icon != -1) { 
    3030                                        $icon = db_query("select filename from icons where ident = " . $info->icon . " and owner = " . $info->ident); 
    3131                                        if (sizeof($icon) == 1) { 
     
    3535                                                        list($width, $height, $type, $attr) = $defaulticonparams; 
    3636                                                } 
     37                                        } else { 
     38                                                $icon = "default.png"; 
    3739                                        } 
    38                                
     40                                //
    3941                                 
    4042                                if (sizeof($parameter[1]) > 4) { 
  • devel/units/friends/friends_of_edit.php

    r110 r173  
    2727                                list($width, $height, $type, $attr) = $defaulticonparams; 
    2828                                // $info = $info[0]; 
    29                                 if ($info->icon != -1) { 
     29                                // if ($info->icon != -1) { 
    3030                                        $icon = db_query("select filename from icons where ident = " . $info->icon . " and owner = " . $info->ident); 
    3131                                        if (sizeof($icon) == 1) { 
     
    3535                                                        list($width, $height, $type, $attr) = $defaulticonparams; 
    3636                                                } 
     37                                        } else { 
     38                                                $icon = "default.png"; 
    3739                                        } 
    38                                
     40                                //
    3941                                 
    4042                                if (sizeof($parameter[1]) > 4) {