示例#1
0
			echo _('Add Note (use : for loading the emoji and @ for users)');
			?> <br />
			<?php
			$e_add_notes = new Event("Notes->eventAddNotes");
			$e_add_notes->addParam("idmodule",$module_id);
			$e_add_notes->addParam("module",$module);
			$e_add_notes->addParam("sqrecord",$sqcrm_record_id);
			echo '<form class="form-horizontal" id="Notes__eventAddNotes" name="Notes__eventAddNotes"  method="post" enctype="multipart/form-data">';
			echo $e_add_notes->getFormEvent();
			?>
			<?php 
			FieldType200::display_field('entity_notes','','expand_text_area');
			?>
			<br /><br />
			<?php
			FieldType21::display_field('note_files');
			?>
			<br /><br />
			<div id="notes_submit">
				<input type="submit" class="btn btn-primary" value="<?php echo _('Save');?>"/>
			</div>
			</form>
		</div>
		<hr class="form_hr">
		<?php 
		} ?>
		<?php
		if ($_SESSION["do_crm_action_permission"]->action_permitted('view',8) === true) {
		?>
		<div id="notes_entry">
		<!-- note content section loading with ajax -->