Location: PHPKode > projects > DaloRADIUS > daloradius-0.9-8/include/management/userinfo.php
<?php
/*********************************************************************
* Name: userinfo.php
* Author: Liran tal <hide@address.com>
* 
* This file extends the user management pages (new user, batch add
* users, edit user, quick add user and possibly others) by adding
* a section for user information
*
*********************************************************************/

echo "

<fieldset>
	
	<h302> Contact Info </h302>
	<br/>

	<h301> Personal </h301>
	<br/>

	<label for='username' class='form'>".$l['ContactInfo']['FirstName']."</label>
        <input value='"; if (isset($ui_firstname)) echo $ui_firstname; echo "' name='firstname' tabindex=300 />
	<br/>
	
	<label for='lastname' class='form'>".$l['ContactInfo']['LastName']."</label>
        <input value='"; if (isset($ui_lastname)) echo $ui_lastname; echo "' name='lastname' tabindex=301 />
	<br/>

	<label for='email' class='form'>".$l['ContactInfo']['Email']."</label>
        <input value='"; if (isset($ui_email)) echo $ui_email; echo "' name='email' tabindex=302 />
        <br/>

	<br/>
	<h301> Business </h301>
	<br/>

	<label for='department' class='form'>".$l['ContactInfo']['Department']."</label>
        <input value='"; if (isset($ui_department)) echo $ui_department; echo "' name='department' tabindex=303 />
        <br/>

	<label for='company' class='form'>".$l['ContactInfo']['Company']."</label>
	<input value='"; if (isset($ui_company)) echo $ui_company; echo "' name='company' tabindex=304 />
        <br/>

	<label for='workphone' class='form'>".$l['ContactInfo']['WorkPhone']."</label>
	<input value='"; if (isset($ui_workphone)) echo $ui_workphone; echo "' name='workphone' tabindex=305 />
        <br/>

	<label for='homephone' class='form'>".$l['ContactInfo']['HomePhone']."</label>
	<input value='"; if (isset($ui_homephone)) echo $ui_homephone; echo "' name='homephone' tabindex=306 />
        <br/>

	<label for='mobilephone' class='form'>".$l['ContactInfo']['MobilePhone']."</label>
	<input value='"; if (isset($ui_mobilephone)) echo $ui_mobilephone; echo "' name='mobilephone' tabindex=307 />
        <br/>

	<label for='address' class='form'>".$l['ContactInfo']['Address']."</label>
	<input value='"; if (isset($ui_address)) echo $ui_address; echo "' name='address' tabindex=308 />
        <br/>

	<label for='city' class='form'>".$l['ContactInfo']['City']."</label>
	<input value='"; if (isset($ui_city)) echo $ui_city; echo "' name='city' tabindex=309 />
        <br/>

	<label for='state' class='form'>".$l['ContactInfo']['State']."</label>
	<input value='"; if (isset($ui_state)) echo $ui_state; echo "' name='state' tabindex=310 />
        <br/>

	<label for='zip' class='form'>".$l['ContactInfo']['Zip']."</label>
	<input value='"; if (isset($ui_zip)) echo $ui_zip; echo "' name='zip' tabindex=311 />
        <br/>

	<br/>
	<h301> Other </h301>
	<br/>

	<label for='notes' class='form'>".$l['ContactInfo']['Notes']."</label>
	<textarea class='form' name='notes' tabindex=312 >"; if (isset($ui_notes)) echo $ui_notes; echo "</textarea> 
        <br/>

"; // breaking echo

	if ($ui_changeuserinfo == 1) {
		$isUIChecked = "checked='yes'";
		$ui_changeuserinfo = 1;
	} else {
		$ui_changeuserinfo = 1;
		$isUIChecked = "";
	}

echo "

	<label for='userupdate' class='form'>".$l['ContactInfo']['EnableUserUpdate']."</label>
	<input type='checkbox' class='form' name='changeUserInfo' value='$ui_changeuserinfo' $isUIChecked tabindex=313 />
        <br/>

	<br/>
	<label for='creationdate' class='form'>".$l['all']['CreationDate']."</label>
	<input disabled value='"; if (isset($ui_creationdate)) echo $ui_creationdate; echo "' tabindex=314 />
        <br/>

	<label for='creationby' class='form'>".$l['all']['CreationBy']."</label>
	<input disabled value='"; if (isset($ui_creationby)) echo $ui_creationby; echo "' tabindex=315 />
        <br/>

	<label for='updatedate' class='form'>".$l['all']['UpdateDate']."</label>
	<input disabled value='"; if (isset($ui_updatedate)) echo $ui_updatedate; echo "' tabindex=316 />
        <br/>

	<label for='updateby' class='form'>".$l['all']['UpdateBy']."</label>
	<input disabled value='"; if (isset($ui_updateby)) echo $ui_updateby; echo "' tabindex=317 />
        <br/>

	<br/>
	<hr><br/>

	$customApplyButton

</fieldset>

";



?>
Return current item: DaloRADIUS