public function __construct()
 {
     $cfg = getAdobeConnectConfig();
     foreach ($cfg as $attribute => $v) {
         $this->{$attribute} = $cfg->{$attribute};
     }
 }
        }
        if (!$msg->containsErrors()) {
            $msg->addFeedback('adobe_connect_saved');
        }
        header('location: ' . $_SERVER["php_self"]);
    }
}
// print header
require AT_INCLUDE_PATH . 'header.inc.php';
// get config
if (!empty($_POST['send'])) {
    foreach ($tmpconfig as $name => $tmp) {
        $acc->{$name} = $tmp;
    }
} else {
    if (!($acc = getAdobeConnectConfig())) {
        $acc->adobe_connect_adminpass = '';
        $acc->adobe_connect_adminuser = '';
        $acc->adobe_connect_folderid = '';
        $acc->adobe_connect_host = '';
        $acc->adobe_connect_port = '';
    }
}
// print form
echo '<form method="post" action="' . $_SERVER["php_self"] . '">';
echo '<div class="input-form">';
foreach ($acc as $name => $value) {
    echo '<div class="row">';
    echo '<div class="required" title="Required Field">*</div>';
    echo '<label for="' . $name . '">' . _AT($name) . '</label><br/>';
    echo '<input type="text" name="' . $name . '" value="' . stripslashes($value) . '" size="35" maxlength="70" />';