Changeset 1226 for trunk/wifidog-auth/wifidog/classes/User.php
- Timestamp:
- 05/17/07 16:25:43 (5 years ago)
- Files:
-
- 1 modified
-
trunk/wifidog-auth/wifidog/classes/User.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/classes/User.php
r1220 r1226 300 300 } 301 301 } 302 303 304 302 303 304 305 305 // Display the avatar 306 306 if(empty($avatar)) … … 308 308 else 309 309 $html .= $avatar; 310 310 311 311 // Display the nickname or the username 312 312 $profiles=$this->getAllProfiles(); … … 322 322 } 323 323 $profileTemplates = $this->getNetwork()->getAllProfileTemplates(); 324 if($this==User::getCurrentUser() && $profileTemplates) {325 $html .= "<div class='user_edit_profile_link'> (<a href='".BASE_SSL_PATH."admin/generic_object_admin.php?object_id=".$this->getId()."&object_class=User&action=edit'>"._("edit profile")."</a>)</div>";326 } 324 /*if($this==User::getCurrentUser() && $profileTemplates) { 325 $html .= "<div class='user_edit_profile_link'><br/>(<a href='".BASE_SSL_PATH."admin/generic_object_admin.php?object_id=".$this->getId()."&object_class=User&action=edit'>"._("edit profile")."</a>)</div>"; 326 }*/ 327 327 328 328 }
