Exemplo n.º 1
0
 function createForm()
 {
     global $gorumroll, $lll;
     if (strstr($gorumroll->list, "user")) {
         $lll["response_create_form"] = $lll["response_user_create_form"];
     }
     parent::createForm();
 }
Exemplo n.º 2
0
 function createForm()
 {
     global $lll;
     hasAdminRights($isAdm);
     if ($isAdm) {
         $lll["subscription_create_form"] = $lll["subscription_create_form_admin"];
         $lll["subscription_email_expl"] = $lll["subscription_email_expl_admin"];
     }
     parent::createForm();
 }
Exemplo n.º 3
0
 function createForm($elementName = "")
 {
     global $gorumroll, $lll;
     $_S =& new AppSettings();
     $this->cid = $gorumroll->rollid;
     $this->activateVariableFields();
     Object::createForm($elementName);
     JavaScript::addInclude(GORUM_JS_DIR . "/core.js");
     // a multipleSelectionManager miatt
     $_S->handleCategorySelect("itemsearch-create_form");
 }
Exemplo n.º 4
0
 function createForm()
 {
     global $gorumroll, $lll;
     // Called via Ajax from the category organizer:
     $this->cid = $gorumroll->rollid;
     G::load($category, $this->cid, "appcategory");
     $this->name = sprintf($lll["copyOfCategory"], $category->name);
     parent::createForm();
     //parent::createForm("cloneForm");
     //$tpl =& View::getView("cloneForm");
     //echo $tpl->__toString();
     //die();
 }
Exemplo n.º 5
0
 function createForm()
 {
     global $gorumroll, $jQueryLib, $fieldset_typ;
     JavaScript::addInclude(GORUM_JS_DIR . $jQueryLib);
     JavaScript::addInclude(GORUM_JS_DIR . "/jquery/jquery.dimensions.js");
     JavaScript::addInclude(GORUM_JS_DIR . "/jquery/field.js");
     JavaScript::addInclude(JS_DIR . "/fieldset_form.js");
     $this->cid = $gorumroll->rollid;
     // A deleteAll es cloneToSubcats mezoket csak akkor tesszuk ki, ha van ertelmuk:
     getDbCount($subcatNum, array("SELECT COUNT(*) FROM @category WHERE up=#cid#", $this->cid));
     if (!$subcatNum || !$this->cid) {
         $fieldset_typ["attributes"]["cloneToSubcats"][] = "form invisible";
     }
     getDbCount($nonFixFieldNum, array("SELECT COUNT(*) FROM @customfield WHERE cid=#cid# AND columnIndex LIKE 'col_%'", $this->cid));
     if (!$nonFixFieldNum) {
         $fieldset_typ["attributes"]["deleteAll"][] = "form invisible";
     }
     parent::createForm();
 }
Exemplo n.º 6
0
 function createForm()
 {
     global $gorumroll, $lll;
     $this->cid = $gorumroll->rollid;
     $this->initializeMultipleSelectionFieldsAndDefaults();
     $lll["customfield_values_afterfield"] = "<p>" . $lll["orUploadValuesFromFile"] . "<br>" . GenerWidget::generFileField("values_upload", "40");
     $lll["customfield_values_expl"] .= $lll["uploadValuesFromFileExpl"];
     parent::createForm();
 }
Exemplo n.º 7
0
 function createForm()
 {
     global $gorumroll;
     $this->up = $gorumroll->rollid;
     parent::createForm();
 }
Exemplo n.º 8
0
 function createForm()
 {
     $this->activateVariableFields();
     Object::createForm();
 }