Changeset 697

Show
Ignore:
Timestamp:
11/07/06 02:26:11 (2 years ago)
Author:
sven
Message:

fix odd icon url

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/communities/communities_membership_requests.php

    r690 r697  
    3030                    $col1 = "<p><b>" . $pending_user->name . "</b></p>" . $description; 
    3131                    $col1 .= "<p>"; 
    32                     $col1 .= "<a href=\"" . url . $pending_user->username . "/\">" . __gettext("Profile") . "</a> | "; 
    33                     $col1 .= "<a href=\"" . url . $pending_user->username . "/weblog/\">" . __gettext("Blog") . "</a></p>"; 
    34                     $col2 = "<p><a href=\"" .url. "_communities/requests.php?action=community:approve:request&amp;request_id=$request_id&amp;owner=$page_owner\">Approve</a> | <a href=\"" .url. "_communities/requests.php?action=community:decline:request&amp;request_id=$request_id&amp;owner=$page_owner\">Decline</a></p>"; 
     32                    $col1 .= '<a href="' . url . $pending_user->username . '/">' . __gettext("Profile") . "</a> | "; 
     33                    $col1 .= '<a href="' . url . $pending_user->username . '/weblog/">' . __gettext("Blog") . "</a></p>"; 
     34                    $col2 = '<p><a href="' .url. "_communities/requests.php?action=community:approve:request&amp;request_id=$request_id&amp;owner=$page_owner\">Approve</a> | <a href=\"" .url. "_communities/requests.php?action=community:decline:request&amp;request_id=$request_id&amp;owner=$page_owner\">Decline</a></p>"; 
    3535                    $ident = $pending_user->ident; 
    3636 
    3737                    $body .= templates_draw(array( 
    38                                                         'context' => 'adminTable', 
    39                                                         'name' => "<img src=\"" . url . "_icon/user/{$pending_user->icon}/" . $icon . "\" />"
    40                                                         'column1' => $col1, 
    41                                                         'column2' => $col2 
    42                                                     
    43                                                     ); 
     38                                                    'context' => 'adminTable', 
     39                                                    'name' => '<img src="' . url . '_icon/user/' . $pending_user->icon . '" />'
     40                                                    'column1' => $col1, 
     41                                                    'column2' => $col2 
     42                                                 
     43                                                 ); 
    4444                     
    4545                }