5 require_once
"./Services/Object/classes/class.ilObjectGUI.php";
40 $this->ctrl = $DIC->ctrl();
41 $this->tpl = $DIC[
"tpl"];
42 $this->lng = $DIC->language();
51 $next_class = $this->ctrl->getNextClass($this);
52 $cmd = $this->ctrl->getCmd(
"show");
54 switch ($next_class) {
56 if (in_array($cmd,
array(
"show",
"save"))) {
82 $lng->loadLanguageModule(
"meta");
84 include_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
90 foreach (
$lng->getInstalledLanguages() as
$l) {
92 include_once(
"Services/Form/classes/class.ilTextAreaInputGUI.php");
96 $ti->setInfo(
$lng->txt(
"user_profile_info_text_info"));
99 $ti->setValue($setting->get(
"user_profile_info_" .
$l));
103 $form->addCommandButton(
"save",
$lng->txt(
"save"));
105 $form->setTitle(
$lng->txt(
"user_profile_info"));
106 $form->setFormAction(
$ctrl->getFormAction($this));
121 if (
$form->checkInput()) {
123 foreach (
$lng->getInstalledLanguages() as
$l) {
124 $setting->set(
"user_profile_info_" .
$l,
$form->getInput(
"user_profile_info_text_" .
$l));
128 $ctrl->redirect($this,
"show");
130 $form->setValuesByPost();
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
User profile info settings UI class.
if(isset($_POST['submit'])) $form
__construct()
Constructor.
Create styles array
The data for the language used.
setRows($a_rows)
Set Rows.
This class represents a text area property in a property form.
executeCommand()
Execute command.