<?php

include_once 'new_card_list.php';
draw_card_list();
?>
<div class="panel">
    <h3><?php 
echo _t('ADDING_PERSON_INFORMATION____');
?>
</h3>
    <div class="form-container"> 
      <form class="form-horizontal"  action='<?php 
echo get_url('person', 'new_person');
?>
' name="person_form" id="person_form" method='post' enctype='multipart/form-data'>
        <div class="control-group">
          <div >
            <a class='btn' href='<?php 
get_url('person', 'browse');
?>
' >
              <i class="icon-remove-circle"></i> <?php 
echo _t('CANCEL');
?>
            </a>
            <button type="submit" class="btn  btn-primary" name="save" >
              <i class="icon-ok icon-white"></i> <?php 
echo _t('SAVE');
?>
            </button>
          </div>
<?php

include_once 'tabs.php';
include_once 'person_name.php';
include_once 'view_card_list.php';
draw_card_list('al', $pid);
?>
<div class="panel">
<br />    
    <?php 
if (!isset($logs) || sizeof($logs) == 0) {
    ?>
        <div class='alert alert-info'> <button type="button" class="close" data-dismiss="alert">×</button> 
        <?php 
    echo _t('LOG_DETAILS_UNAVAILABLE_FOR_THIS_PERSON');
    ?>
        </div>
    <?php 
} else {
    ?>
    <table class='table table-bordered table-striped table-hover'>
        <thead>
            <tr>
                <th class="title"><?php 
    echo _t('TIMESTAMP');
    ?>
</th>
                <th class="title"><?php 
    echo _t('ACTION');
    ?>
 </th>
<?php

include_once 'tabs.php';
include_once 'person_name.php';
include_once 'view_card_list.php';
draw_card_list('pa', $pid);
?>
<div class="panel">
<a class="btn btn-primary" href="<?php 
echo get_url('person', 'new_address', null, null);
?>
"><i class="icon-plus icon-white"></i><?php 
echo _t('ADD_ADDRESS');
?>
</a>
<br />
<br />
<?php 
if (is_array($addresses) && count($addresses) != 0) {
    ?>
		<form class="form-horizontal"  action="<?php 
    get_url('person', 'delete_address');
    ?>
" method="post">
		<table class="table table-bordered table-striped table-hover">
		<thead>
			<tr>
				<th width='16px'><input type='checkbox' onchange='$("input.delete").attr("checked",this.checked)' /></th>
				<th><?php 
    echo _t('ADDRESS_TYPE');
    ?>
<?php

include_once 'tabs.php';
include_once 'person_name.php';
include_once 'view_card_list.php';
draw_card_list('bd', $pid);
?>
<div class="panel">
<div class="form-container">
<form class="form-horizontal"  action='<?php 
echo get_url('person', 'edit_biography', null, array('search_type' => 'person'));
?>
' method='post' enctype='multipart/form-data'>
  <div class="control-group">
                <div >

                    
        <a class="btn" href="<?php 
echo get_url('person', 'person');
?>
"><i class="icon-remove-circle"></i> <?php 
echo _t('CANCEL');
?>
</a>
	<button type="submit" class="btn btn-primary" name="save" ><i class="icon-ok icon-white"></i> <?php 
echo _t('SAVE');
?>
</button>
</div>
      </div><?php 
echo "<h3>" . _t('EDIT_BIOGRAPHIC_DETAILS') . "</h3>";
<?php

include_once 'tabs.php';
include_once 'person_name.php';
include_once 'view_card_list.php';
draw_card_list('sd', $pid);
?>
<div class="panel">
<br/>

<div class="form-container">
<form class="form-horizontal"  action='<?php 
echo get_url('person', 'supporting_doc', null, array('pid' => $pid));
?>
' method='post' enctype='multipart/form-data'>
<?php 
echo "<h3>" . _t('ADD_SUPPORTING_DOCUMENT_S_') . "</h3>";
echo "<br />";
//$fields = shn_form_get_html_fields($supporting_doc_form);
//include_once APPROOT.'mod/person/tpls/supporting_doc_form.php';
?>
</form>
</div>
</div>

<?php

include_once 'tabs.php';
include_once 'person_name.php';
include_once 'view_card_list.php';
draw_card_list('rl', $pid);
?>
<div class="panel">
<?php 
if ($victim_records->RecordCount() || $perpetrator_records->RecordCount() || $source_records->RecordCount() || $intervening_party_records->RecordCount()) {
    ?>
	<table class='table table-bordered table-striped table-hover'>
        <thead>		                     
            <tr>                
                <th><?php 
    echo _t('ROLE');
    ?>
</th>
                <th width="120px"><?php 
    echo _t('EVENT_TITLE');
    ?>
</th>
                <th><?php 
    echo _t('FURTHER_INFORMATION');
    ?>
</th>                
                <th width='80px'><?php 
    echo _t('INITIAL_DATE');
    ?>
</th>
                <th width="100px"><?php 
Exemple #7
0
<?php

include_once 'person_name.php';
include_once 'view_card_list.php';
draw_card_list('pd', $pid);
?>
<div class="panel">
    <?php 
if (acl_is_entity_allowed_boolean('person', 'update')) {
    ?>
        <a class="btn" href="<?php 
    echo get_url('person', 'edit_person', null);
    ?>
"><i class="icon-edit"></i> <?php 
    echo _t('EDIT_THIS_PERSON');
    ?>
</a>
    <?php 
}
?>

    <a class="btn" href="<?php 
echo get_url('person', 'print', null);
?>
"><i class="icon-print"></i> <?php 
echo _t('PRINT_THIS_PERSON');
?>
</a>
    <?php 
if (acl_is_entity_allowed_boolean('person', 'delete')) {
    ?>
Exemple #8
0
<?php

global $conf;
include_once 'tabs.php';
include_once 'docu_title.php';
include_once 'view_card_list.php';
draw_card_list('al');
?>
<div class="panel">
<br />    
    <?php 
if (!isset($logs) || sizeof($logs) == 0) {
    ?>
        <div class='alert alert-info'> <button type="button" class="close" data-dismiss="alert">×</button> 
        <?php 
    echo _t('LOG_DETAILS_UNAVAILABLE_FOR_THIS_PERSON');
    ?>
        </div>
    <?php 
} else {
    ?>
    <table class='table table-bordered table-striped table-hover'>
        <thead>
            <tr>
                <th class="title"><?php 
    echo _t('TIMESTAMP');
    ?>
</th>
                <th class="title"><?php 
    echo _t('ACTION');
    ?>
Exemple #9
0
<?php

global $conf;
include_once 'tabs.php';
include_once 'docu_title.php';
include_once 'view_card_list.php';
draw_card_list('lk');
?>
<div class="panel">
<table class='table table-bordered table-striped table-hover'>
    <thead>
        <tr>
            <th><?php 
echo _t('RECORD_TYPE');
?>
</th>
            <th><?php 
echo _t('RECORD_NUMBER');
?>
</th>
            <th><?php 
echo _t('BY_WHOM');
?>
</th>
            <th><?php 
echo _t('LINKED_WHEN');
?>
</th>
        </tr>
    </thead>
    <tbody>
<?php

global $conf;
?>
 
<?php 
include_once 'person_name.php';
include_once 'view_card_list.php';
draw_card_list('pe', $pid);
?>
<div class="panel permission_panel">
    <h3><?php 
echo _t('ROLES_WITH_PERMISSION_TO_ACCESS_THIS_PERSON');
?>
</h3>
    <br />
    <div class="form-container">
    <form class="form-horizontal"  action='<?php 
echo get_url('person', 'permissions');
?>
' method='post' enctype='multipart/form-data'>
    <div class="field">
         <fieldset>
    <label for="<?php 
echo $name;
?>
"></label>
    
<?php 
foreach ($roles as $role => $item_name) {
    $disable = $role == 'admin' ? ' disabled="disabled" ' : '';