function printFieldInterface($name, $prefix = '') { parent::printFieldInterface($name, $prefix); if ($name == 'subject') { ?> <div id="note-field-widgets"> <?php if ($this->_template) { $this->_template->printNoteFieldWidgets(); } ?> </div> <?php } }
function printFieldInterface($name, $prefix = '') { if ($name == 'action_date') { ?> <div class="preserve-value"> <span class="radio-list"> <input type="radio" name="<?php echo $prefix; ?> action_date_type" value="fixed" <?php if ($this->getValue('action_date_type') == 'fixed') { echo 'checked="checked"'; } ?> > <?php echo print_widget($prefix . $name, array('type' => 'date'), $this->getValue('action_date')); ?> </span> <br /> <span class="radio-list"> <input type="radio" name="<?php echo $prefix; ?> action_date_type" value="relative" <?php if ($this->getValue('action_date_type') == 'relative') { echo 'checked="checked"'; } ?> > <?php $this->printFieldInterface('action_date_offset', $prefix); ?> days <?php $this->printFieldInterface('action_date_operator', $prefix); ?> the reference date </span> </div> <?php } else { return parent::printFieldInterface($name, $prefix); } }
?> "></i> <?php echo ents($notee_name); ?> </td> <td><?php echo ents($note['subject']); ?> </td> <td class="nowrap"> <?php if ($reassigning) { $fake_note->populate($id, $note); if ($fake_note->haveLock() || $fake_note->canAcquireLock()) { $fake_note->acquireLock(); $fake_note->printFieldInterface('assignee', 'note_' . $id . '_'); } else { $fake_note->printFieldValue('assignee'); echo '<p class="alert alert-error">This note is locked by another user and cannot be edited at this time.</p>'; } } else { echo ents($note['assignee_fn'] . ' ' . $note['assignee_ln']); } ?> </td> <td class="nowrap"><?php echo format_date($note['action_date']); ?> </td> <td class="nowrap action-cell"> <a href="<?php