Location: PHPKode > projects > Anahita Social Engine > site/views/person/info/tmpl/edit.php
<?php defined('KOOWA') or die; ?>

<script language="javascript">
	new Uikit.Tab('#an-se-actor-fields');
</script>

<div id="an-se-actor-fields" class="an-se-actor-fields-wrapper an-se-tabs">
	<ul class="an-se-tabset">
		<li class="an-se-on"><a><?= @text('AN-SE-PERSON-INFO-FIELDS-TAB-1') ?></a></li>
		<li class="an-se-off"><a><?= @text('AN-SE-PERSON-INFO-FIELDS-TAB-2') ?></a></li>
		<li class="an-se-off"><a><?= @text('AN-SE-PERSON-INFO-FIELDS-TAB-3') ?></a></li>
		<li class="an-se-off"><a><?= @text('AN-SE-PERSON-INFO-FIELDS-TAB-4') ?></a></li>
 	</ul>
 		
<form id="an-se-actor-info-form" action="<?= @route('view=person') ?>" method="post" >
	<input type="hidden" name="action" value="edit" />
	<input type="hidden" name="id"    value="<?=@$owner->id ?>" />

	<div class="an-se-panelset">
		<div class="an-se-tabpanel">
			<dl class="an-se-form an-se-data-list">
			
				<?php if( @$globalParams->get('person_gender', 1) ) : ?>
				<dt><?= @$fields['gender'][0] ?></dt>
				<dd><?= @$fields['gender'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_date_of_birth', 1)) : ?>
		 		<dt><?= @$fields['dateOfBirth'][0] ?></dt>
		 		<dd>
		 			<?= @$fields['dateOfBirth'][1] ?>
				</dd>
				<?php endif; ?>
								
				<?php if( @$globalParams->get('person_relationship_status', 1) ) : ?>
		 		<dt><?= @$fields['relationshipStatus'][0] ?></dt>
		 		<dd><?= @$fields['relationshipStatus'][1] ?></dd>
		 		<?php endif; ?>
				
				<?php if( @$globalParams->get('person_political_views', 1) ) : ?>
				<dt><?= @$fields['politicalViews'][0] ?></dt>
				<dd><?= @$fields['politicalViews'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_religion', 1) ) : ?>
				<dt><?= @$fields['religion'][0] ?></dt>
				<dd><?= @$fields['religion'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_looking_for', 1) ) : ?>
				<dt><?= @$fields['lookingFor'][0] ?></dt>
				<dd><?= @$fields['lookingFor'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_happiest_when', 1) ) : ?>
				<dt><?= @$fields['happiestWhen'][0] ?></dt>
				<dd><?= @$fields['happiestWhen'][1] ?></dd>
				<?php endif; ?>
				
			</dl>
		</div>
	
		<div class="an-se-tabpanel">
			<dl class="an-se-form an-se-data-list">
			
				<?php if( @$globalParams->get('person_about_me', 1)) : ?>
			 	<dt><?= @$fields['aboutMe'][0] ?></dt>
			 	<dd><?= @$fields['aboutMe'][1] ?></dd>
				<?php endif; ?>
			
				<?php if( @$globalParams->get('person_activities', 1)) : ?>
			 	<dt><?= @$fields['activities'][0] ?></dt>
			 	<dd><?= @$fields['activities'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_interests', 1)) : ?>
			 	<dt><?= @$fields['interests'][0] ?></dt>
			 	<dd><?= @$fields['interests'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_books', 1)) : ?>
			 	<dt><?= @$fields['books'][0] ?></dt>
			 	<dd><?= @$fields['books'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_quotes', 1)) : ?>
			 	<dt><?= @$fields['quotes'][0] ?></dt>
			 	<dd><?= @$fields['quotes'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_heroes', 1)) : ?>
			 	<dt><?= @$fields['heroes'][0] ?></dt>
			 	<dd><?= @$fields['heroes'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_music', 1)) : ?>
			 	<dt><?= @$fields['music'][0] ?></dt>
			 	<dd><?= @$fields['music'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_tv_shows', 1)) : ?>
			 	<dt><?= @$fields['tvShows'][0] ?></dt>
			 	<dd><?= @$fields['tvShows'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_movies', 1)) : ?>
			 	<dt><?= @$fields['movies'][0] ?></dt>
			 	<dd><?= @$fields['movies'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_sports', 1)) : ?>
			 	<dt><?= @$fields['sports'][0] ?></dt>
			 	<dd><?= @$fields['sports'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_food', 1)) : ?>
			 	<dt><?= @$fields['food'][0] ?></dt>
			 	<dd><?= @$fields['food'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_cars', 1)) : ?>
			 	<dt><?= @$fields['cars'][0] ?></dt>
			 	<dd><?= @$fields['cars'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_humor', 1)) : ?>
			 	<dt><?= @$fields['humor'][0] ?></dt>
			 	<dd><?= @$fields['humor'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_fashion', 1)) : ?>
			 	<dt><?= @$fields['fashion'][0] ?></dt>
			 	<dd><?= @$fields['fashion'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_drinker', 1)) : ?>
			 	<dt><?= @$fields['drinker'][0] ?></dt>
			 	<dd><?= @$fields['drinker'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_smoker', 1)) : ?>
			 	<dt><?= @$fields['smoker'][0] ?></dt>
			 	<dd><?= @$fields['smoker'][1] ?></dd>
				<?php endif; ?>
				
			</dl>
		</div>
	
		<div class="an-se-tabpanel">
			<dl class="an-se-form an-se-data-list">
			
				<?php if( @$globalParams->get('person_job_ineterests', 1)) : ?>
		 		<dt><?= @$fields['jobInterests'][0] ?></dt>
		 		<dd><?= @$fields['jobInterests'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_living_arrangement', 1)) : ?>
		 		<dt><?= @$fields['livingArrangement'][0] ?></dt>
		 		<dd><?= @$fields['livingArrangement'][1] ?></dd>
				<?php endif; ?>
								
				<?php if( @$globalParams->get('person_children', 1)) : ?>
		 		<dt><?= @$fields['children'][0] ?></dt>
		 		<dd><?= @$fields['children'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_pets', 1)) : ?>
		 		<dt><?= @$fields['pets'][0] ?></dt>
		 		<dd><?= @$fields['pets'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_scared_of', 1)) : ?>
		 		<dt><?= @$fields['scaredOf'][0] ?></dt>
		 		<dd><?= @$fields['scaredOf'][1] ?></dd>
				<?php endif; ?>
				
			</dl>
		</div>
	
		<div class="an-se-tabpanel">
			<dl class="an-se-form an-se-data-list">
			
				<?php if( @$globalParams->get('person_romance', 1)) : ?>
		 		<dt><?= @$fields['romance'][0] ?></dt>
		 		<dd><?= @$fields['romance'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_ethnicity', 1)) : ?>
		 		<dt><?= @$fields['ethnicity'][0] ?></dt>
		 		<dd><?= @$fields['ethnicity'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_sexual_orientation', 1)) : ?>
		 		<dt><?= @$fields['sexualOrientation'][0] ?></dt>
		 		<dd><?= @$fields['sexualOrientation'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_turn_ons', 1)) : ?>
		 		<dt><?= @$fields['turnOns'][0] ?></dt>
		 		<dd><?= @$fields['turnOns'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_turn_offs', 1)) : ?>
		 		<dt><?= @$fields['turnOffs'][0] ?></dt>
		 		<dd><?= @$fields['turnOffs'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_build', 1)) : ?>
		 		<dt><?= @$fields['build'][0] ?></dt>
		 		<dd><?= @$fields['build'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_eye_color', 1)) : ?>
		 		<dt><?= @$fields['eyeColor'][0] ?></dt>
		 		<dd><?= @$fields['eyeColor'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_hair_color', 1)) : ?>
		 		<dt><?= @$fields['hairColor'][0] ?></dt>
		 		<dd><?= @$fields['hairColor'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_height', 1)) : ?>
		 		<dt><?= @$fields['height'][0] ?></dt>
		 		<dd><?= @$fields['height'][1] ?></dd>
				<?php endif; ?>
				
				<?php if( @$globalParams->get('person_weight', 1)) : ?>
		 		<dt><?= @$fields['weight'][0] ?></dt>
		 		<dd><?= @$fields['weight'][1] ?></dd>
				<?php endif; ?>
				
			</dl>
		</div>
	</div>
	<div class="clr"></div>
	
	<button id="an-se-actor-action-save" class="an-se-button button" type="submit"><?= @text('AN-SE-ACTION-SAVE') ?></button> &nbsp; 
	<button owner_id="<?=@$owner->id ?>" id="an-se-actor-action-cancel" class="an-se-button button" ><?= @text('AN-SE-ACTION-CANCEL') ?></button>
</form>
</div>
Return current item: Anahita Social Engine