1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/agendav_ynh.git synced 2024-09-03 20:36:12 +02:00
agendav_ynh/sources/web/application/views/preferences_page.php
2014-01-07 17:53:08 +01:00

44 lines
1.2 KiB
PHP

<div class="page-header">
<h1><?php echo $this->i18n->_('labels', 'preferences')?></h1>
</div>
<?php
$img_return = array(
'src' => 'img/button-icons/arrow_left.png',
'alt' => $this->i18n->_('labels', 'return'),
'title' => $this->i18n->_('labels', 'return'),
);
$img_save = array(
'src' => 'img/button-icons/ok.png',
'alt' => $this->i18n->_('labels', 'save'),
'title' => $this->i18n->_('labels', 'save'),
);
?>
<div id="prefs_buttons">
<button id="return_button"><?php echo img($img_return)
. ' ' . $this->i18n->_('labels', 'return')?></button>
<button id="save_button"><?php echo img($img_save)
. ' ' . $this->i18n->_('labels', 'save')?></button>
</div>
<div id="prefs_tabs">
<ul>
<li><a href="#tabs-calendars"><?php echo $this->i18n->_('labels',
'calendars')?></a></li>
</ul>
<?php echo form_open('prefs/save', array('id' => 'prefs_form')); ?>
<div id="tabs-calendars">
<?php $this->load->view('preferences_calendars', array(
'calendar_list' => $calendar_list,
'calendar_ids_and_dn' => $calendar_ids_and_dn,
'default_calendar' => $default_calendar,
'hidden_calendars' => $hidden_calendars)); ?>
</div>
<?php echo form_close(); ?>
</div>