Пример #1
0
 /**
  * formProperty
  * This form display on the left side bar property.
  * It display each time the user click the AddOn in the page.
  * The width is limited.
  * form displayed to the user to configure and customize the add-on to be display in 
  * the page.
  */
 public function formProperty()
 {
     $values = $this->getAddOnValues();
     $formfields = new FieldsForm("LogoutAddOn");
     $formfields->setValues($values);
     $form = "this is a sample form";
     $form .= "<br>Full Sign Off: " . $formfields->full_sign_off;
     $form .= "<br>Next Page:" . $formfields->next_page;
     $form .= "<br>Link Text:" . $formfields->link_text;
     $form .= "<br/>User's class name:" . $formfields->Users_Class;
     return $form;
 }
 /**
  * formProperty
  * This form display on the left side bar property.
  * It display each time the user click the AddOn in the page.
  * The width is limited.
  * form displayed to the user to configure and customize the add-on to be display in 
  * the page.
  */
 public function formProperty()
 {
     $values = $this->getAddOnValues();
     $formfields = new FieldsForm("LoginFormOpenIdAddOn");
     $formfields->setValues($values);
     $form = "this is a sample form";
     $form .= "<br>Error Message: " . $formfields->error_message;
     $form .= "<br>Next Page:" . $formfields->next_page;
     $form .= "<br>Registration Page:" . $formfields->reg_page;
     $form .= "<br/>User's class name:" . $formfields->Users_Class;
     return $form;
 }
 /**
  * formProperty
  * This form display on the left side bar property.
  * It display each time the user click the AddOn in the page.
  * The width is limited.
  * form displayed to the user to configure and customize the add-on to be display in 
  * the page.
  */
 public function formProperty()
 {
     $values = $this->getAddOnValues();
     $formfields = new FieldsForm("registration.forgotpassword.form");
     $formfields->setValues($values);
     $form = "Forgot Password form:<br>";
     $form .= "<br>Sent message text: <br>" . $formfields->sent_message;
     $form .= "<br> Prompt message text:<br>";
     $form .= $formfields->promt_message;
     $form .= "<br>Submit button text: <br>" . $formfields->submit_button_text;
     $form .= "<br/>User's class name:<br>" . $formfields->Users_Class;
     return $form;
 }
 /**
  * formProperty
  * This form display on the left side bar property.
  * It display each time the user click the AddOn in the page.
  * The width is limited.
  * form displayed to the user to configure and customize the add-on to be display in 
  * the page.
  */
 public function formProperty()
 {
     $values = $this->getAddOnValues();
     $formfields = new FieldsForm("RegistrationFormAddOn");
     $formfields->setValues($values);
     $form = "Form to register on your site when using OpenID.";
     $form .= "<br>Next Page:" . $formfields->thankyou_page;
     $form .= "<hr></hr>";
     $form .= "<u></u>Optional paramters:</u>";
     $form .= "<br/><b>Welcome email:</b><br/>" . $formfields->emailtemplate;
     $form .= "<br/><b>Admin alert email:</b><br/>" . $formfields->admin_emailtemplate;
     $form .= "<br/><b>Admin email address:</b><br/>" . $formfields->admin_email;
     $form .= "<br/><b>User's class name:</b><br/>" . $formfields->User_Class;
     return $form;
 }
Пример #5
0
 /**
  * formProperty
  * This form display on the left side bar property.
  * It display each time the user click the AddOn in the page.
  * The width is limited.
  * form displayed to the user to configure and customize the add-on to be display in 
  * the page.
  */
 public function formProperty()
 {
     $values = $this->getAddOnValues();
     $formfields = new FieldsForm("login.script.inc.php");
     $formfields->setValues($values);
     $form = "Login form:";
     $form .= "<br>Page after signing in: " . $formfields->Next_Page;
     $form .= "<br> Error message for wrong login and password:<br>";
     $form .= $formfields->err_string;
     $form .= "<br>Page for user registration:" . $formfields->Registration_Page;
     $form .= "<br>Page to retrieve forgotten password:<br>";
     $form .= $formfields->Get_Password_Page;
     $form .= "<br>Optional paramters:";
     $form .= "<br/>User's class name:" . $formfields->User_Class;
     $form .= "<br>Login Form style:" . $formfields->login_form_style;
     return $form;
 }
Пример #6
0
//$e_addContactNote->addEventAction("ContactNoteEditSave->eventFormatNoteInsert", 119);
$e_addContactNote->addEventAction("ContactNoteEditSave->eventHTMLCleanUp", 119);
$e_addContactNote->addEventAction("portalUser->eventSendPortalAlert", 238);
$e_addContactNote->addEventAction("WorkFeedContactNotePortal->eventAddFeed", 245);
$e_addContactNote->addParam("iduser_for_feed", $iduser_for_feed);
$e_addContactNote->addParam("added_by_cont", $added_by_contact);
$e_addContactNote->addParam('goto', $_SERVER['PHP_SELF']);
$e_addContactNote->addParam('errPage', $_SERVER['PHP_SELF']);
//$noteFields = new FieldsForm("ofuz_add_contact_note");
if ($_SESSION['do_User']->iduser != '' && !empty($_SESSION['do_User']->iduser)) {
    $noteFields = new FieldsForm("ofuz_add_contact_note_portal_signin_user");
} else {
    $noteFields = new FieldsForm("ofuz_add_contact_note_portal");
}
//$noteFields = new FieldsForm("ofuz_add_contact_note_portal");
$noteFields->setValues(array('iduser' => '', 'date_added' => date("Y-m-d")));
// form headers:
echo $e_addContactNote->getFormHeader();
echo $e_addContactNote->getFormEvent();
// display the note text field:
//echo $noteFields->idcontact;
//echo $noteFields->date_added;
echo $noteFields->note;
if ($_SESSION['do_User']->iduser != '' && !empty($_SESSION['do_User']->iduser)) {
    echo $noteFields->iduser;
}
echo _('Attach a file: ') . $noteFields->document;
?>
       <!-- <span id="more_options"><a href="#" onclick="showOpt(); return false;">More Options</a></span>-->
        <div class="div_right">
            <div id="notes_options" style="display:none;">