/** * Userview: Show all user-parameter for a user or show the system user-parameter * * @param mixed $give_all */ public function user_configuration_action($give_all = null) { PageLayout::setTitle(_('Verwalten von Personenkonfigurationen')); $user_id = Request::option('user_id'); if ($user_id) { $this->configs = ConfigurationModel::searchUserConfiguration($user_id); $this->title = sprintf(_('Vorhandene Konfigurationsparameter für "%s"'), User::find($user_id)->getFullname()); $this->linkchunk = 'admin/configuration/edit_user_config/' . $user_id . '?id='; } else { $this->configs = ConfigurationModel::searchUserConfiguration(null, true); $this->title = _('Globale Konfigurationsparameter für alle Personen'); $this->linkchunk = 'admin/configuration/edit_configuration/?id='; } $this->has_sections = false; }