Projekt

Obecné

Profil

<ul>
<li class="account"><h2><?php echo url_lang::lang('texts.My profile')?></h2>
<ul>
<li><?php if ($this->session->get('user_type') == User_Model::$member)
echo html::anchor(url_lang::base().'members/show/'.$this->session->get('member_id'), url_lang::lang('texts.My profile'));
else
echo html::anchor(url_lang::base().'users/show/'.$this->session->get('user_id'), url_lang::lang('texts.My profile')); ?></li>
<?php /* if ($this->acl_check_view('Users_Controller', 'users',$this->session->get('member_id'))) { ?>
<li><?php echo html::anchor(url_lang::base().'users/show_by_member/'.$this->session->get('member_id'), url_lang::lang('texts.My users')) ?></li>
<?php } */ ?>
<?php if ($this->acl_check_view('Accounts_Controller', 'transfers',$this->session->get('member_id')) && $this->session->get('member_id') != 1) {
$account = ORM::factory('account')->where('member_id', $this->session->get('member_id'))->find(); ?>
<li><?php echo html::anchor(url_lang::base().'transfers/show_by_account/'.$account->id, url_lang::lang('texts.My transfers')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Devices_Controller', 'devices',$this->session->get('member_id'))) { ?>
<li><?php echo html::anchor(url_lang::base().'devices/show_by_user/'.$this->session->get('user_id'), url_lang::lang('texts.My devices')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Users_Controller', 'work',$this->session->get('member_id')) && $this->session->get('member_id') != 1) { ?>
<li><?php echo html::anchor(url_lang::base().'works/show_by_user/'.$this->session->get('user_id'), url_lang::lang('texts.My works')) ?></li>
<?php } ?>
<?php if ($this->user_has_phone_invoices && $this->acl_check_view('Phone_invoices_Controller', 'user_invoices',$this->session->get('member_id')) && $this->session->get('member_id') != 1) { ?>
<li><?php echo html::anchor(url_lang::base().'phone_invoices/show_by_user/'.$this->session->get('user_id'), url_lang::lang('texts.My phone invoices')) ?></li>
<?php } ?>
<?php if ($this->user_has_voip) { ?>
<li><?php echo html::anchor(url_lang::base().'voip_calls/show_by_user/'.$this->session->get('user_id'), url_lang::lang('texts.My VoIP calls')) ?></li>
<?php } ?>
<li><?php echo html::anchor(url_lang::base().'mail/inbox', url_lang::lang('texts.My mail')) ?></li>
</ul>
</li>

<?php if ($this->acl_check_view('Members_Controller', 'members')) { ?>
<li class="users"><h2><?php echo url_lang::lang('texts.Users') ?></h2>
<ul>
<li><?php echo html::anchor(url_lang::base().'members/show_all', url_lang::lang('texts.Members')) ?></li>
<li><?php echo html::anchor(url_lang::base().'users/show_all', url_lang::lang('texts.Users')) ?></li>
</ul>
</li>
<?php } ?>

<?php if ($this->acl_check_view('Accounts_Controller', 'accounts') || $this->acl_check_view('Accounts_Controller', 'unidentified_transfers')) { ?>
<li class="transfer"><h2><?php echo url_lang::lang('texts.Finances') ?></h2>
<ul>
<?php if ($this->acl_check_view('Accounts_Controller', 'unidentified_transfers')) { ?>
<li><?php echo html::anchor(url_lang::base().'bank_transfers/unidentified_transfers/', url_lang::lang('texts.Unidentified transfers')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Accounts_Controller', 'bank_accounts')) { ?>
<li><?php echo html::anchor(url_lang::base().'bank_accounts/show_all', url_lang::lang('texts.Bank accounts')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Accounts_Controller', 'accounts')) { ?>
<li><?php echo html::anchor(url_lang::base().'accounts/show_all', url_lang::lang('texts.Double-entry accounts')) ?></li>
<li><?php echo html::anchor(url_lang::base().'transfers/show_all', url_lang::lang('texts.Day book')) ?></li>
<li><?php echo html::anchor(url_lang::base().'invoices/show_all', url_lang::lang('texts.Invoices')) ?></li>
<?php } ?>
</ul>
</li>
<?php } ?>

<?php if ($this->acl_check_view('Users_Controller', 'work')) { ?>
<li class="approval"><h2><?php echo url_lang::lang('texts.Approval') ?></h2>
<ul>
<?php if ($this->acl_check_view('Users_Controller', 'work')) { ?>
<li><?php echo html::anchor(url_lang::base().'works/pending', url_lang::lang('texts.Works')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Users_Controller', 'work')) { ?>
<li><?php echo html::anchor(url_lang::base().'work_reports/pending', url_lang::lang('texts.Work reports')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Users_Controller', 'work')) { ?>
<li><?php echo html::anchor(url_lang::base().'tickets/show_all', url_lang::lang('texts.Ticket reports')) ?></li>
<?php } ?>
<?php /*<li><?php echo html::anchor(url_lang::base().'requests', url_lang::lang('texts.Requests')) ?></li>*/ ?>
</ul>
</li>
<?php } ?>

<?php if ($this->acl_check_view('Devices_Controller', 'devices')) { ?>
<li class="networks"><h2><?php echo url_lang::lang('texts.Networks') ?></h2>
<ul>
<li><?php echo html::anchor(url_lang::base().'ip_addresses/show_all', url_lang::lang('texts.IP addresses')) ?></li>
<li><?php echo html::anchor(url_lang::base().'subnets/show_all', url_lang::lang('texts.Subnets')) ?></li>
<li><?php echo html::anchor(url_lang::base().'devices/show_all', url_lang::lang('texts.Devices')) ?></li>
<li><?php echo html::anchor(url_lang::base().'ifaces/show_all', url_lang::lang('texts.Interfaces')) ?></li>
<li><?php echo html::anchor(url_lang::base().'segments/show_all', url_lang::lang('texts.Segments')) ?></li>
<li><?php echo html::anchor(url_lang::base().'ports/show_all', url_lang::lang('texts.Ports')) ?></li>
<li><?php echo html::anchor(url_lang::base().'vlan_ifaces/show_all', url_lang::lang('texts.Vlan interfaces')) ?></li>
<li><?php echo html::anchor(url_lang::base().'vlans/show_all', url_lang::lang('texts.Vlans')) ?></li>
<?php if ($this->acl_check_view('VoIP_Controller', 'voip')) { ?>
<li><?php echo html::anchor(url_lang::base().'voip/show_all', url_lang::lang('texts.VoIP')) ?></li>
<?php } ?>
<li><?php echo html::anchor(url_lang::base().'clouds/show_all', url_lang::lang('texts.Clouds')) ?></li>
<li><?php echo html::anchor(url_lang::base().'config_files/dhcp', url_lang::lang('texts.Configuration files')) ?></li>
<li><?php echo html::anchor(url_lang::base().'monitoring/smokeping', url_lang::lang('texts.Monitoring')) ?></li>
<li><?php echo html::anchor(url_lang::base().'tools/ssh', url_lang::lang('texts.Tools')) ?></li>
<?php if (Settings::get('ulogd_enabled') == 1): ?>
<li><?php echo html::anchor(url_lang::base().'ulogd/actual_ip_addresses_traffic', url_lang::lang('texts.Traffic')) ?></li>
<?php endif; ?>
</ul>
</li><?php } ?>


<?php if ($this->acl_check_view('Settings_Controller', 'system') || $this->acl_check_view('Address_points_Controller', 'address_point')) { ?>
<li class="administration"><h2><?php echo url_lang::lang('texts.Administration') ?></h2>
<ul>
<?php if ($this->acl_check_view('Settings_Controller', 'system')) { ?>
<li><?php echo html::anchor(url_lang::base().'settings/info', url_lang::lang('texts.Settings')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Messages_Controller', 'message')) {?>
<li><?php echo html::anchor(url_lang::base().'messages/show_all', url_lang::lang('texts.Redirection')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Address_points_Controller', 'address_point')) {?>
<li><?php echo html::anchor(url_lang::base().'address_points/show_all', url_lang::lang('texts.Address points')) ?></li>
<?php } ?>
<?php if ($this->acl_check_2D('freenetis', 'write_email')) {?>
<li><?php echo html::anchor(url_lang::base().'sms/show_all', url_lang::lang('texts.SMS messages')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Settings_Controller', 'system')) { ?>
<li><?php echo html::anchor(url_lang::base().'approval_templates/show_all', url_lang::lang('texts.Approval')) ?></li>
<li><?php echo html::anchor(url_lang::base().'access_rights/show_groups', url_lang::lang('texts.Access rights')) ?></li>
<li><?php echo html::anchor(url_lang::base().'fees/show_all', url_lang::lang('texts.Fees')) ?></li>
<li><?php echo html::anchor(url_lang::base().'login_logs/show_all', url_lang::lang('texts.Login logs')) ?></li>
<?php if (Settings::get('action_logs_active') == 1): ?>
<li><?php echo html::anchor(url_lang::base().'logs/show_all', url_lang::lang('texts.Action logs')) ?></li>
<?php endif; ?>
<li><?php echo html::anchor(url_lang::base().'stats/members_increase', url_lang::lang('texts.Stats')) ?></li>
<li><?php echo html::anchor(url_lang::base().'translations/show_all', url_lang::lang('texts.Translations')) ?></li>
<li><?php echo html::anchor(url_lang::base().'enum_types/show_all', url_lang::lang('texts.Enumerations')) ?></li>
<?php } ?>
<?php if ($this->acl_check_view('Phone_invoices_Controller', 'invoices')) { ?>
<li><?php echo html::anchor(url_lang::base().'phone_invoices/show_all', url_lang::lang('texts.Phone invoices')) ?></li>
<?php } ?>
</ul>
</li><?php } ?>


</ul>
(27-27/66)