Server IP : 184.154.167.98 / Your IP : 3.144.19.182 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/public_html/mesa/include/staff/templates/ |
Upload File : |
<?php if ($form->getTitle()) { ?> <h1><strong><?php echo Format::htmlchars($form->getTitle()); ?></strong>: <div><small><?php echo Format::htmlchars($form->getInstructions()); ?></small></div> </h1> <?php } // Display notice as in warning format. if ($form->getNotice()) echo sprintf('<br/><div><p id="msg_warning">%s</p></div>', Format::htmlchars($form->getNotice())); foreach ($form->getFields() as $field) { ?> <div class="form-field" id="field<?php echo $field->getWidget()->id; ?>" <?php if (!$field->isVisible()) echo 'style="display:none;"'; ?>> <?php if (!$field->isBlockLevel()) { ?> <div class="<?php if ($field->isRequired()) echo 'required'; ?>" style="display:inline-block;width:27%;"> <?php echo Format::htmlchars($field->getLocal('label')); ?>: <?php if ($field->isRequired()) { ?> <span class="error">*</span> <?php } if ($field->get('hint')) { ?> <div class="faded hint"><?php echo Format::viewableImages($field->getLocal('hint')); ?></div> <?php } ?> </div> <div style="display:inline-block;max-width:73%"><?php } $field->render($options); foreach ($field->errors() as $e) { ?> <div class="error"><?php echo Format::htmlchars($e); ?></div> <?php } if (!$field->isBlockLevel()) { ?> </div> <?php } ?> </div> <?php } ?> <style type="text/css"> .form-field div { vertical-align: top; } .form-field div + div { padding-left: 10px; } .form-field .hint { font-size: 95%; } .form-field { margin-top: 5px; padding: 5px 0; } </style>