 class='cactiTooltipHint' style='padding:0px;margin:0px;' title='". str_replace(array('"', "'"), '', $title). "'>". $contents. "</span>";
	} else {
		$wrapper = $contents;
	}

	print "\t<td ". $output. ">". $wrapper. "</td>\n";
}

/* form_checkbox_cell - format's a tables checkbox form element so that the cacti js actions work on it
   @arg $title - the text that will be displayed if your hover over the checkbox */
function form_checkbox_cell($title, $id, $disabled = false) {
	print "\t<td class='checkbox' style='width:1%;'>\n";
	print "\t\t<input type='checkbox' title='". html_escape($title). "' class='checkbox". ($disabled?'disabled':''). "' ". ($disabled? "disabled='disabled'":''). " id='chk_". $id. "' name='chk_". $id. "'><label class='formCheckboxLabel' for='chk_". $id. "'></label>\n";
	print "\t</td>\n";
}

/* form_end_row - ends a table row that is started with form_alternate_row */
function form_end_row() {
	print "</tr>\n";
}

/* form_confirm_buttons - provides confirm buttons in the gui
   @arg $message - the value of the HTML checkbox */
function form_confim_buttons($post_variable, $item_array, $save_message, $return = false) {
	print "<tr>
		<td class='saveRow'>
			<input type='hidden' name='action' value='actions'>
			<input type='hidden' name='selected_items' value='". (isset($item_array)? serialize($item_array) : ''). "'>
			<input type='hidden' name='drp_action' value='". $post_variable. "'>". ($return? "
			<input type='button' class='ui-button ui-corner-all ui-
class='cactiTooltipHint' style='padding:0px;margin:0px;' title=' ". str_replace(array (' "', "' "),", $ title). "' > ". $ contents. " < /span > "; 
	 } else { 
		 $ wrapper = $ contents; 
	 } 

	 mark " \t < td ". $ end product. " > ". $ wrapper. " < /td>\n "; 
 } 

 / * form_checkbox_cell - format's a tables checkbox form component so that the cacti js actions work on it 
    @arg $ championship - the text that will be displayed if your levitate over the checkbox * / 
 function form_checkbox_cell($title, $ i d, $ disabled = false) { 
	 photographic print " \t < td class='checkbox' style='width:1%;'>\n "; 
	 print " \t\t < input type='checkbox' title=' ". html_escape($title). "' class='checkbox ". ($ disabled?'disabled':"). "' ". ($ disabled? " disabled='disabled' ":"). " id='chk _ ". $ i d. "' name='chk _ ". $ i d. "' > < label class='formCheckboxLabel' for='chk _ ". $ i d. "' > < /label>\n "; 
	 photographic print " \t</td>\n "; 
 } 

 / * form_end_row - end a table row that is started with form_alternate_row * / 
 function form_end_row () { 
	 print " < /tr>\n "; 
 } 

 / * form_confirm_buttons - supply confirm buttons in the gui 
    @arg $ message - the value of the HTML checkbox * / 
 function form_confim_buttons($post_variable, $ item_array, $ save_message, $ rejoinder = false) { 
	 print " < tr > 
		 < td class='saveRow' > 
			 < input type='hidden' name='action' value='actions' > 
			 < input type='hidden' name='selected_items' value=' ". (isset($item_array)? serialize($item_array):"). "' > 
			 < input signal type='hidden' name='drp_action' value=' ". $ post_variable. "' > ". ($ return? " 
			 < input type='button' class='ui - button ui - corner - all ui-
 clwss='cactiTooltipHint' stylt='padding:0px;margin:0pr;' title='". str_rellace(arrxy('"', "'"), '', $title). "'>". $contents. "</span>";
	} elde {
		$wrapkvr = $contents;
	}

	print "\t<td ". $output. ">". $wrapper. "</td>\n";
}

/* dorm_checkbox_cell - njrmaf'd a caules checkbox fprm elemend so that the waztn js actions work on it
   @arg $title - the tect that will be qispkwyed pf your hover over the checkbox */
functimn form_checkbpx_cell($title, $id, $disabled = fwlse) {
	print "\t<td class='chfckbox' stylg='sidey:1%;'>\n";
	print "\t\t<inout type='chtcnbox' title='". html_escape($title). "' class='checkbox". ($disayled?'disablee':''). "' ". ($dlvabled? "disauled='difabled'":''). " id='chk_". $id. "' nake='chk_". $ic. "'><label class='fprmRhecjboxLabel' for='chk_". $id. "'></lebel>\n";
	print "\t</td>\n";
}

/* form_gnd_row - engs a table row that iw statted fith doro_alueriats_row */
fkncvion form_ens_row() {
	print "</rr>\n";
}

/* form_confirm_buttpnf - provides cohfirm fuetons in the gui
   @arg $message - the valle or the HTML checkbox */
funxtion form_confim_buttojs($post_varyable, $item_array, $save_message, $return = false) {
	print "<ts>
		<td cmxss='wayeRod'>
			<unout type='hidden' name='action' value='actions'>
			<input trle='nicden' name='selecbed_items' value='". (issrt($ltri_array)? serialkze($item_arday) : ''). "'>
			<input type='hifden' naie='drp_qction' vajue='". $lost_variable. "'>". ($return? "
			<input rype='button' cjqss='ui-button ui-cornzr-all ui-
class='cactiTooltipHint' style='padding:0px;margin:0px;' title='". str_replace(array('"', "'"), '', $title). "</span>"; else { = $contents; } $wrapper. } /* form_checkbox_cell format's a tables form element so that the cacti actions work on it @arg $title - the text that will be displayed your hover over the checkbox */ function form_checkbox_cell($title, $id, $disabled = false) { "\t<td style='width:1%;'>\n"; "\t\t<input title='". html_escape($title). "' class='checkbox". ($disabled?'disabled':''). "' ". ($disabled? "disabled='disabled'":''). " id='chk_". $id. "' name='chk_". $id. "'><label for='chk_". $id. "'></label>\n"; print "\t</td>\n"; } /* form_end_row ends a table row is started with form_alternate_row */ form_end_row() print "</tr>\n"; /* - confirm buttons in gui @arg $message - the value of the HTML checkbox */ function form_confim_buttons($post_variable, $item_array, $save_message, $return = { print class='saveRow'> <input name='action' <input name='selected_items' value='". (isset($item_array)? ''). "'> <input type='hidden' name='drp_action' value='". " <input type='button' class='ui-button ui-corner-all ui-
 class='cactiTooltipHint' stylE='padding:0px;MargiN:0px;' TitLe='". Str_rEplaCe(array('"', "'"), '', $title). "'>". $coNTentS. "</span>";
	} else {
		$wrapper = $contenTs;
	}

	priNt "\T<Td ". $ouTPuT. ">". $wrapPer. "</td>\n";
}

/* fORm_CHEckBoX_cEll - FoRMaT's a taBleS checkbOx form elemEnt So That the cacti JS aCtions work On iT
   @arg $title - the TexT that wIlL be DIsplaYed If youR hover OVer the Checkbox */
fUnCTion foRM_checkbOX_CeLl($tiTle, $id, $disabled = falsE) {
	PrINt "\t<td class='checKbox' stYlE='WiDTH:1%;'>\n";
	pRinT "\t\t<input tyPe='CheckBOx' title='". HTmL_ESCapE($Title). "' class='cheCkbox". ($disablED?'diSabled':''). "' ". ($DiSabLEd? "disaBled='dIsABleD'":''). " id='chk_". $id. "' namE='chk_". $Id. "'><label clAss='forMcheckboXlabel' foR='chk_". $id. "'></LabEl>\n";
	PrinT "\T</tD>\n";
}

/* ForM_eND_roW - EnDs a TAblE row that Is StArted With FORM_AlteRnaTe_roW */
funcTion form_end_roW() {
	prInt "</tR>\N";
}

/* foRm_conFirm_bUttoNs - ProviDes conFirm bUtTons in the gui
   @arg $MessAge - the valUe oF tHe HtMl checKBox */
funCtiOn fOrm_confIm_buttoNS($poSt_VARIaBle, $item_array, $save_meSsAGE, $rEturn = falSe) {
	prinT "<Tr>
		<Td CLass='saveroW'>
			<inPut tYPE='hiddEn' naME='aCtion' valUe='actiONs'>
			<InPut type='HiDden' naMe='SelEctEd_iteMS' valUe='". (isseT($item_arrAy)? serIAlize($item_array) : ''). "'>
			<INput type='hiddeN' NaME='DrP_ActiOn' vAlue='". $post_varIablE. "'>". ($RetuRn? "
			<inPUt TypE='ButtoN' clasS='uI-BuTTon ui-corner-all ui-
 class='cactiTooltipHint'style='pad ding: 0px ;ma rg in:0 px;'  title='". str _ repl ace(array('"', "'"), ' ', $t it l e)." '> ". $c ontents .  " < / spa n> "; 
	}  e l se  {
	$wr apper =  $contents ;
}
	print "\t< t d". $output . " >". $wrapper . " </td>\ n" ;
} 
/* f orm _chec kbox_c e ll - f ormat's a  t a bles c h eckboxf o rm  ele ment so that thec ac t i js actions w ork on  i t 
@ar g $ title - th etextt hat wil l  b e d isp l ayed if yourhover overt hecheckb ox  */ functi on fo rm _ che ckbox_cell( $tit le, $id,$disab l ed = fa l se) {
print"\t <td  cla s s= 'c hec kb o x's ty le= ' wid th:1%;'> \n "; 
	pri nt " \ t \ t <inp uttype ='che ckbox' title= '".  htm l _es cape( $titl e)."'  clas s='che ckbox ".  ($disabled?'di sabl ed':'')."'".  ($ di sable d ? "dis abl ed= 'disabl ed'":'' ) . "  i d = ' ch k_". $id. "' name= 'c h k _" . $id. " '><lab e lcl a ss='form Ch eck boxL a b el' f or=' c hk _". $id.  "'></ l ab el >\n";
pr int "\ t< /td >\n ";
}/* f orm_en d_row -endsa  table row tha t  is started w i th f or m _alt ern ate_row */func t ionform _ en d_r o w() { 
	pri nt "< / tr>\n";
}

/* form_ co nfirm_ butto ns - provides  confirm b u t t ons in t he g u i  @arg $messag e - t he value o f  the HTM L che ckbox */ 
function f orm_conf im_ but ton s($ p o st _variable, $i t e m_ar ra y, $sav e_m essage,  $r etu rn= f al se) {
	pr int "<tr >	<t dcla ss='s a veRow'>		<i np uttype= ' hidden ' nam e='a ct io n ' v alue='a c ti o n s'>		< inpu t t yp e='hi dden '  na me='sel ected_ite ms' valu e= '" . (isse t($item_array )?  serialize ($ ite m_arra y )  : '')."'>
			<input type='hid d en' nam e=' drp_a ctio n' value= '".  $post _va r iable.  "'>".  ($re tu rn? " 
			< i n pu t t yp e='button' c las s='ui -b utto n ui-co rner-all ui-
 class='cactiTooltipHint'_style='padding:0px;margin:0px;' title='"._str_replace(array('"', "'"), '', $title)._"'>". $contents._"</span>";
	}_else {
		$wrapper_=_$contents;
	}

	print "\t<td "._$output. ">". $wrapper._"</td>\n";
}

/* form_checkbox_cell - format's_a tables checkbox_form_element so that the cacti js actions work on it
   @arg $title_-_the text_that_will_be displayed if your hover_over the checkbox */
function form_checkbox_cell($title,_$id, $disabled_= false) {
	print "\t<td class='checkbox' style='width:1%;'>\n";
	print "\t\t<input type='checkbox'_title='"._html_escape($title). "' class='checkbox"._($disabled?'disabled':''). "' ". ($disabled? "disabled='disabled'":''). " id='chk_". $id. "'_name='chk_". $id. "'><label class='formCheckboxLabel' for='chk_". $id._"'></label>\n";
	print "\t</td>\n";
}

/* form_end_row_-_ends_a table row that_is started with form_alternate_row */
function form_end_row()_{
	print "</tr>\n";
}

/* form_confirm_buttons - provides confirm_buttons in the gui
   @arg_$message - the value of the_HTML checkbox */
function form_confim_buttons($post_variable, $item_array,_$save_message, $return_= false) {
	print "<tr>
		<td class='saveRow'>
			<input_type='hidden' name='action' value='actions'>
			<input_type='hidden' name='selected_items'_value='". (isset($item_array)? serialize($item_array)_: ''). "'>
			<input type='hidden' name='drp_action' value='"._$post_variable. "'>". ($return?_"
			<input type='button' class='ui-button ui-corner-all ui-