예제 #1
0
function _data_template_field__template_name($field_name, $field_value = "", $field_id = 0) {
	require_once(CACTI_BASE_PATH . "/lib/sys/html_form.php");

	?>
	<tr bgcolor="#<?php echo field_get_row_color();?>">
		<td width="50%">
			<span class="textEditTitle"><?php echo _("Name");?></span><br>
			<?php echo _("The name given to this data template.");?>
		</td>
		<td>
			<?php form_text_box($field_name, $field_value, "", 150, 30, "text", $field_id);?>
		</td>
	</tr>
	<?php
}
예제 #2
0
function _graph_item_field__hard_return($field_name, $field_value = "", $field_id = 0) {
	require_once(CACTI_BASE_PATH . "/lib/sys/html_form.php");

	?>
	<tr bgcolor="#<?php echo field_get_row_color();?>">
		<td width="50%">
			<span class="textEditTitle"><?php echo _("Insert Hard Return");?></span><br>
			<?php echo _("Forces the legend to the next line after this item.");?>
		</td>
		<td>
			<?php form_checkbox($field_name, $field_value, _("Insert Hard Return"), "", $field_id);?>
		</td>
	</tr>
	<?php
	form_checkbox_marker($field_name);
}