plugins/ProfileExtender/class.profileextender.plugin.php
public function ParseSpecialFields($Fields = array()) {
      if (!is_array($Fields))
         return $Fields;

      foreach ($Fields as $Label => $Value) {
         switch ($Label) {
            case 'Twitter':
               $Fields['Twitter'] = Anchor('@'.$Value, 'http://twitter.com/'.$Value);
               break;
            case 'Facebook':
               $Fields['Facebook'] = Anchor($Value, 'http://facebook.com/'.$Value);
               break;
            case 'LinkedIn':
               $Fields['LinkedIn'] = Anchor($Value, 'http://www.linkedin.com/in/'.$Value);
               break;
            case 'Google':
               $Fields['Google'] = Anchor('Google+', $Value, '', array('rel' => 'me'));
               break;
            case 'Website':
               $Fields['Website'] = Anchor($Value, $Value);
               break;
            case 'Real Name':
               $Fields['Real Name'] = Wrap(htmlspecialchars($Value), 'span', array('itemprop' => 'name'));
               break;
         }
      }
      
      return $Fields;
   }
public function ParseSpecialFields($Fields = array()) {
      if (!is_array($Fields))
         return $Fields;

      foreach ($Fields as $Label => $Value) {
         switch ($Label) {
            case 'Twitter':
               $Fields['Twitter'] = Anchor('@'.$Value, 'http://twitter.com/'.$Value);
               break;
            case 'Facebook':
               $Fields['Facebook'] = Anchor($Value, 'http://facebook.com/'.$Value);
               break;
            case 'LinkedIn':
               $Fields['LinkedIn'] = Anchor($Value, 'http://www.linkedin.com/in/'.$Value);
               break;
            case 'Google':
               $Fields['Google'] = Anchor('Google+', $Value, '', array('rel' => 'me'));
               break;
            case 'Website':
               $Fields['Website'] = Anchor($Value, $Value);
               break;
            case 'Real Name':
               $Fields['Real Name'] = Wrap(htmlspecialchars($Value), 'span', array('itemprop' => 'name'));
               break;
         }
      }
      
      return $Fields;
   }
public function ParseSpecialFields ( $ Fields = array ( ) ) { if ( ! is_array ( $ Fields ) ) return $ Fields ; foreach ( $ Fields as $ Label => $ Value ) { switch ( $ Label ) { case 'Twitter' : $ Fields [ 'Twitter' ] = Anchor ( '@' . $ Value , 'http://twitter.com/' . $ Value ) ; break ; case 'Facebook' : $ Fields [ 'Facebook' ] = Anchor ( $ Value , 'http://facebook.com/' . $ Value ) ; break ; case 'LinkedIn' : $ Fields [ 'LinkedIn' ] = Anchor ( $ Value , 'http://www.linkedin.com/in/' . $ Value ) ; break ; case 'Google' : $ Fields [ 'Google' ] = Anchor ( 'Google+' , $ Value , '' , array ( 'rel' => 'me' ) ) ; break ; case 'Website' : $ Fields [ 'Website' ] = Anchor ( $ Value , $ Value ) ; break ; case 'Real Name' : $ Fields [ 'Real Name' ] = Wrap ( htmlspecialchars ( $ Value ) , 'span' , array ( 'itemprop' => 'name' ) ) ; break ; } } return $ Fields ; }
Special manipulations.
Special manipulations .