Ejemplo n.º 1
0
    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')) {
    ?>
        <a class="btn btn-grey" href="<?php 
    echo get_url('person', 'delete_person', null);
    ?>
"><i class="icon-trash"></i>  <?php 
    echo _t('DELETE_THIS_PERSON');
    ?>
</a>
    <?php 
}
?>
        <br />
    <br />
    <?php 
$person_form = person_form('view');
Ejemplo n.º 2
0
<?php 
if (acl_is_entity_allowed_boolean('person', 'create')) {
    // if create is ever changed for this please update acl_person_entity_is_allowed()
    ?>
 
<a class="btn" href="<?php 
    echo get_url('events', 'add_victim', 'new_victim', array('eid' => $event_id));
    ?>
"><i class="icon-plus "></i> <?php 
    echo _t('ADD_NEW');
    ?>
</a>
<?php 
}
if (acl_is_entity_allowed_boolean('person', 'read')) {
    // if read is ever changed for this please update acl_person_entity_is_allowed()
    ?>
<a class="btn  <?php 
    if (!isset($victim)) {
        echo "btn-primary";
    }
    ?>
" href="<?php 
    echo get_url('events', 'add_victim', 'search_victim', array('seq' => 'search', 'eid' => $event_id));
    ?>
"><i class="icon-search <?php 
    if (!isset($victim)) {
        echo "icon-white";
    }
    ?>
Ejemplo n.º 3
0
    ?>
</a>
    <?php 
}
?>
   
    <a class="btn" href="<?php 
echo get_url('events', 'print');
?>
">
        <i class="icon-print"></i> <?php 
echo _t('PRINT_THIS_EVENT');
?>
</a>
       <?php 
if (acl_is_entity_allowed_boolean('event', 'delete')) {
    ?>
    <a class="btn btn-grey" href="<?php 
    echo get_url('events', 'delete_event');
    ?>
">
        <i class="icon-trash"></i> <?php 
    echo _t('DELETE_THIS_EVENT');
    ?>
</a>
    <?php 
}
?>
  
    	<br />
    <br />