예제 #1
0
    $select = '';
    if ($reminder_set === true && $reminder["minutes"] == $i) {
        $select = "SELECTED";
    }
    echo '<option value ="' . $i . '" ' . $select . '>' . $i . '</option>';
}
echo '</select>';
echo '&nbsp;' . _('minutes') . '&nbsp;';
echo '<br />';
echo _('Add more email ids by comma separation to receive alert.(ex: abhik@sqcrm.com,joe@sqcrm.com)');
echo '<br />';
$email_ids = '';
if ($reminder_set === true) {
    $email_ids = $reminder["email_ids"];
}
FieldType20::display_field('event_alert_email_ids', $email_ids, 'expand_text_area');
echo '<br />';
?>
				</div>
			</div>
		</div>
		</form>
	</div><!--/row-->
</div>

<script>
$(document).ready(function() {  
	$("#event_alert").click(function() {
		if ($("#event_alert").is(':checked')) {
			$("#event_alert_opt_section").show();
		} else {
예제 #2
0
파일: plugin_view.php 프로젝트: sQcrm/sqcrm
			</div>
			<br />
			<div class="row">
				<div class="col-xs-4">
					<label class="control-label" for="ref_num"><?php 
echo _('Additional Note');
?>
</label>
				</div>
			</div>
			<div class="row">
				<div class="col-xs-8">
					<?php 
$default_note = _('Payment details added by ');
$default_note .= $_SESSION['do_user']->user_name . ' (' . $_SESSION['do_user']->firstname . ' ' . $_SESSION['do_user']->lastname . ')';
echo FieldType20::display_field('additional_note', $default_note, 'expand_text_area');
?>
				</div>
			</div>
		</div>
	</div>
	<br /><br />
	<hr class="form_hr">
	<div id="add_payment_submit">
		<input type="submit" class="btn btn-primary" id="" value="<?php 
echo _('Save');
?>
"/>
	</div>
	</form>
</div>