mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Changed if statement style in view file.
This commit is contained in:
parent
2dc8b06d04
commit
fc237b1ffd
1 changed files with 15 additions and 15 deletions
|
@ -36,17 +36,17 @@
|
||||||
|
|
||||||
<div id="settings-page" class="row-fluid">
|
<div id="settings-page" class="row-fluid">
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE) { ?>
|
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE): ?>
|
||||||
<li role="representation" class="general-tab tab"><a><?php echo $this->lang->line('general'); ?></a></li>
|
<li role="representation" class="general-tab tab"><a><?php echo $this->lang->line('general'); ?></a></li>
|
||||||
<?php } ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE) { ?>
|
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE): ?>
|
||||||
<li role="representation" class="business-logic-tab tab"><a><?php echo $this->lang->line('business_logic'); ?></a></li>
|
<li role="representation" class="business-logic-tab tab"><a><?php echo $this->lang->line('business_logic'); ?></a></li>
|
||||||
<?php } ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if ($privileges[PRIV_USER_SETTINGS]['view'] == TRUE) { ?>
|
<?php if ($privileges[PRIV_USER_SETTINGS]['view'] == TRUE): ?>
|
||||||
<li role="representation" class="user-tab tab"><a><?php echo $this->lang->line('current_user'); ?></a></li>
|
<li role="representation" class="user-tab tab"><a><?php echo $this->lang->line('current_user'); ?></a></li>
|
||||||
<?php } ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<li role="representation" class="about-tab tab"><a><?php echo $this->lang->line('about_ea'); ?></a></li>
|
<li role="representation" class="about-tab tab"><a><?php echo $this->lang->line('about_ea'); ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -64,13 +64,13 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>
|
<legend>
|
||||||
<?php echo $this->lang->line('general_settings'); ?>
|
<?php echo $this->lang->line('general_settings'); ?>
|
||||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE) { ?>
|
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?>
|
||||||
<button type="button" class="save-settings btn btn-primary btn-xs"
|
<button type="button" class="save-settings btn btn-primary btn-xs"
|
||||||
title="<?php echo $this->lang->line('save'); ?>">
|
title="<?php echo $this->lang->line('save'); ?>">
|
||||||
<span class="glyphicon glyphicon-floppy-disk"></span>
|
<span class="glyphicon glyphicon-floppy-disk"></span>
|
||||||
<?php echo $this->lang->line('save'); ?>
|
<?php echo $this->lang->line('save'); ?>
|
||||||
</button>
|
</button>
|
||||||
<?php } ?>
|
<?php endif ?>
|
||||||
</legend>
|
</legend>
|
||||||
|
|
||||||
<div class="wrapper row">
|
<div class="wrapper row">
|
||||||
|
@ -165,13 +165,13 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>
|
<legend>
|
||||||
<?php echo $this->lang->line('business_logic'); ?>
|
<?php echo $this->lang->line('business_logic'); ?>
|
||||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE) { ?>
|
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?>
|
||||||
<button type="button" class="save-settings btn btn-primary btn-xs"
|
<button type="button" class="save-settings btn btn-primary btn-xs"
|
||||||
title="<?php echo $this->lang->line('save'); ?>">
|
title="<?php echo $this->lang->line('save'); ?>">
|
||||||
<span class="glyphicon glyphicon-floppy-disk"></span>
|
<span class="glyphicon glyphicon-floppy-disk"></span>
|
||||||
<?php echo $this->lang->line('save'); ?>
|
<?php echo $this->lang->line('save'); ?>
|
||||||
</button>
|
</button>
|
||||||
<?php } ?>
|
<?php endif ?>
|
||||||
</legend>
|
</legend>
|
||||||
|
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
|
@ -335,13 +335,13 @@
|
||||||
<fieldset class="col-md-5 personal-info-wrapper">
|
<fieldset class="col-md-5 personal-info-wrapper">
|
||||||
<legend>
|
<legend>
|
||||||
<?php echo $this->lang->line('personal_information'); ?>
|
<?php echo $this->lang->line('personal_information'); ?>
|
||||||
<?php if ($privileges[PRIV_USER_SETTINGS]['edit'] == TRUE) { ?>
|
<?php if ($privileges[PRIV_USER_SETTINGS]['edit'] == TRUE): ?>
|
||||||
<button type="button" class="save-settings btn btn-primary btn-xs"
|
<button type="button" class="save-settings btn btn-primary btn-xs"
|
||||||
title="<?php echo $this->lang->line('save'); ?>">
|
title="<?php echo $this->lang->line('save'); ?>">
|
||||||
<span class="glyphicon glyphicon-floppy-disk"></span>
|
<span class="glyphicon glyphicon-floppy-disk"></span>
|
||||||
<?php echo $this->lang->line('save'); ?>
|
<?php echo $this->lang->line('save'); ?>
|
||||||
</button>
|
</button>
|
||||||
<?php } ?>
|
<?php endif; ?>
|
||||||
</legend>
|
</legend>
|
||||||
|
|
||||||
<input type="hidden" id="user-id" />
|
<input type="hidden" id="user-id" />
|
||||||
|
|
Loading…
Reference in a new issue