~kili4n/+junk/installer

« back to all changes in this revision

Viewing changes to system/Widget/widgets/Vcard/Vcard.php

  • Committer: kilian.holzinger at gmail
  • Date: 2012-08-21 14:05:55 UTC
  • mfrom: (142.9.100 movim-next)
  • Revision ID: kilian.holzinger@gmail.com-20120821140555-3ex6jjp0sg85grit
going on

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        $c->phototype->setval($vcard['phototype']);
82
82
        $c->photobin->setval($vcard['photobin']);
83
83
        
84
 
        $c->desc->setval($vcard['desc']);
 
84
        $c->desc->setval(trim($vcard['desc']));
85
85
        
86
86
        $c->vcardreceived->setval(0);
87
87
        $c->public->setval(0);
117
117
        if(isset($me[0])) {
118
118
            $me = $me[0];
119
119
            
120
 
            if($error = 'vcardfeaturenotimpl') {
 
120
            if($error == 'vcardfeaturenotimpl') {
121
121
                $html .= '
122
122
                    <div class="error">'.t("Profil not updated : Your server does not support the vCard feature").'</div>';
123
123
            }
211
211
                      
212
212
            $html .= '<br />
213
213
                      <div class="element"><span>'.t('About Me').'</span>
214
 
                        <textarea name ="desc" class="content" onkeyup="movim_textarea_autoheight(this);">'.$me->getData('desc').'</textarea>
 
214
                        <textarea name ="desc" class="content" onkeyup="movim_textarea_autoheight(this);">'.trim($me->getData('desc')).'</textarea>
215
215
                      </div>';
216
216
                      
217
217
            $html .= '</fieldset>';