<?php echo $errors; ?> </p> </div> </div> <?php } ?> <?php if (isset($logo)) { echo $logo; } ?> <div class="loginform ui-corner-all"> <?php echo form_open('login/', array('class' => 'form-horizontal')); $user = array('name' => 'user', 'id' => 'login_user', 'value' => set_value('user'), 'maxlength' => '40', 'size' => '15', 'class' => 'input-medium', 'autofocus' => 'autofocus'); echo formelement($this->i18n->_('labels', 'username'), form_input($user)); ?> <?php $password = array('name' => 'passwd', 'id' => 'login_passwd', 'value' => '', 'maxlength' => '40', 'class' => 'input-medium', 'size' => '15'); echo formelement($this->i18n->_('labels', 'password'), form_password($password)); echo form_submit('login', $this->i18n->_('labels', 'login')); echo form_close(); ?> </div>
if ($editData === $MySQL_singleton_abort) { die("Data abort! Query: {$query}\n"); } echo hiddeninput(fieldName($tableName, $tableData[$tableName]['_idkey']), $idEdit); } echo hiddeninput('table', $tableName); echo hiddeninput('perm', $perm); echo "\n"; ?> <table class="dataform"> <?php $data = NULL; if ($editData !== NULL) { $data = $editData; } foreach ($tableData[$tableName]['_view_cols'] as $itemkey) { formelement($tableName, $tableData, $itemkey, $data); } ?> </table> <?php echo submitinput('submit', 'Submit') . "\n"; ?> </form> <?php //TODO } else { echo __FILE__ . ' permission denied'; } include './footer.inc.php'; /* vim: set ft=php expandtab shiftwidth=4 softtabstop=4 tabstop=4: */
<?php echo $cal->displayname; ?> </td> <td style="text-align: center"> <input type="hidden" name="calendar[<?php echo $i; ?> ][name]" value="<?php echo $cal->calendar; ?> " /> <input type="checkbox" name="calendar[<?php echo $i; ?> ][hide]" value="1"<?php echo isset($hidden_calendars[$cal->calendar]) ? ' checked="checked"' : ''; ?> > </td> </tr> <?php $i++; } ?> </tbody> </table> <?php echo formelement($this->i18n->_('labels', 'defaultcalendar'), form_dropdown('default_calendar', $calendar_ids_and_dn, $default_calendar, 'class="medium"'), $this->i18n->_('messages', 'help_defaultcalendar'));
echo formelement($this->i18n->_('labels', 'repeat'), form_dropdown('recurrence_type', $form_recurrence_type, isset($recurrence_type) ? $recurrence_type : 'none', 'class="recurrence_type input-medium"')); echo formelement($this->i18n->_('labels', 'repeatcount'), form_input($form_recurrence_count)); echo formelement($this->i18n->_('labels', 'repeatuntil'), form_input($form_recurrence_until)); } else { ?> <input type="hidden" name="unparseable_rrule" value="true" /> <?php echo $this->i18n->_('messages', 'info_repetition_unparseable'); ?> <pre><?php echo $rrule_raw; ?> </pre> <?php } ?> </div> <div id="tabs-reminders"> </div> <div id="tabs-workgroup"> <?php echo formelement($this->i18n->_('labels', 'privacy'), form_dropdown('class', $form_class, isset($class) ? $class : 'PUBLIC', 'class="input-medium"')); echo formelement($this->i18n->_('labels', 'transp'), form_dropdown('transp', $form_transp, isset($transp) ? $transp : 'OPAQUE', 'class="input-medium"')); ?> </div> <?php echo form_close(); ?> </div>