. */ if (!defined('STATUSNET')) { exit(1); } class ProfileDetailSettingsAction extends AccountSettingsAction { function title() { return _m('Extended profile settings'); } /** * Instructions for use * * @return instructions for use */ function getInstructions() { // TRANS: Usage instructions for profile settings. return _('You can update your personal profile info here '. 'so people know more about you.'); } function showStylesheets() { parent::showStylesheets(); $this->cssLink('plugins/ExtendedProfile/profiledetail.css'); return true; } function handle($args) { $this->showPage(); } function showContent() { $cur = common_current_user(); $profile = $cur->getProfile(); $widget = new ExtendedProfileWidget($this, $profile, ExtendedProfileWidget::EDITABLE); $widget->show(); } }