<div data-role="page">
<div data-role="header">
<h1><?php echo sprintf(_("Welcome, %s"), $fullname) ?></h1>
- <a rel="external" class="ui-btn-right" href="<?php echo Horde::getServiceLink('logout', 'horde')?>"><?php echo _("Logout")?></a>
+ <?php if (Horde::getServiceLink('logout')): ?>
+ <a href="<?php echo Horde::getServiceLink('logout')->setRaw(false) ?>" rel="external" class="ui-btn-right" data-theme="e" data-icon="delete"><?php echo _("Log out") ?></a>
+ <?php endif ?>
</div>
<div data-role="content">
<ul data-role="listview">
<?php foreach ($links as $key => $val): ?>
- <li class="extlink"><img class="ui-li-icon" src="<?php echo $val[1] ?>"><?php echo $val[0]->link(array('rel' => 'external')) ?><?php echo $key ?></a></li>
+ <li class="extlink"><img class="ui-li-icon" src="<?php echo $val[1] ?>"><?php echo $val[0]->link(array('rel' => 'external')) ?><?php echo $key ?></a></li>
<?php endforeach; ?>
</ul>
</div>
<div id="folders" data-role="page">
<div data-role="header">
- <a href="<?php echo $this->portal ?>" class="ui-btn-left"><?php echo _("Portal")?></a>
+ <a rel="external" href="<?php echo $this->portal ?>"><?php echo _("Portal")?></a>
<h1><?php echo _("Folders") ?></h1>
<?php if ($this->logout): ?>
- <a href="<?php echo $this->logout ?>" rel="external" data-theme="e" data-icon="delete" class="ui-btn-right"><?php echo _("Log out") ?></a>
+ <a href="<?php echo $this->logout ?>" rel="external" data-theme="e" data-icon="delete"><?php echo _("Log out") ?></a>
<?php endif ?>
</div>
<div data-role="content">
<div id="mailbox" data-role="page">
<div data-role="header">
<?php if (!$this->allowFolders): ?>
- <a href="<?php echo $this->portal ?>" class="ui-btn-left"><?php echo _("Portal")?></a>
+ <a rel="external" href="<?php echo $this->portal ?>"><?php echo _("Portal")?></a>
<?php endif ?>
<h1><?php echo _("Inbox") ?></h1>
<?php if ($this->logout): ?>
<div data-role="page" id="dayview">
<div data-role="header">
- <h1><?php echo _("Day")?></h1>
- <a class="ui-btn-left" href="<?php echo $this->portal ?>"><?php echo _("Portal")?></a>
- <a rel="external" class="ui-btn-right" data-icon="delete" href="<?php echo $this->logout?>"><?php echo _("Logout")?></a>
- <div data-role="navbar" class="ui-bar-b">
- <ul>
- <li><a href="#" class="ui-btn-active"><?php echo _("Day")?></a></li>
- <li><a href="#monthview"><?php echo _("Month")?></a></li>
- <li><a href="#overview"><?php echo _("Summary")?></a></li>
- </ul>
- </div>
- <div class="ui-bar-b kronolithDayHeader">
- <a href="#" class="kronolithPrevDay" data-icon="arrow-l" data-iconpos="notext"><?php echo _("Previous")?></a>
- <span class="kronolithDayDate"></span>
- <a href="#" data-icon="arrow-r" data-iconpos="notext" class="kronolithNextDay"><?php echo _("Next")?></a></div>
+ <h1><?php echo _("Day")?></h1>
+ <a rel="external" href="<?php echo $this->portal ?>"><?php echo _("Portal")?></a>
+ <?php if ($this->logout): ?>
+ <a href="<?php echo $this->logout ?>" rel="external" data-theme="e" data-icon="delete"><?php echo _("Log out") ?></a>
+ <?php endif ?>
+ <div data-role="navbar" class="ui-bar-b">
+ <ul>
+ <li><a href="#" class="ui-btn-active"><?php echo _("Day")?></a></li>
+ <li><a href="#monthview"><?php echo _("Month")?></a></li>
+ <li><a href="#overview"><?php echo _("Summary")?></a></li>
+ </ul>
+ </div>
+ <div class="ui-bar-b kronolithDayHeader">
+ <a href="#" class="kronolithPrevDay" data-icon="arrow-l" data-iconpos="notext"><?php echo _("Previous")?></a>
+ <span class="kronolithDayDate"></span>
+ <a href="#" data-icon="arrow-r" data-iconpos="notext" class="kronolithNextDay"><?php echo _("Next")?></a></div>
</div>
<div data-role="content"></div>
<div data-role="footer" data-position="fixed">
</div>
-</div>
\ No newline at end of file
+</div>
<div data-role="header" data-theme="b"><h1><?php echo ("Event")?></h1></div>
<div data-role="content" class="ui-body"></div>
<div data-role="footer"></div>
-</div>
\ No newline at end of file
+</div>
<!-- Month View -->
<div data-role="page" id="monthview" class="monthview">
- <div data-role="header">
- <h1><?php echo _("Month")?></h1>
- <a class="ui-btn-left" href="<?php echo $this->portal?>"><?php echo _("Home")?></a>
- <a rel="external" class="ui-btn-right" data-icon="delete" href="<?php echo $this->logout?>"><?php echo _("Logout")?></a>
- <div data-role="navbar" class="ui-bar-b">
- <ul>
- <li><a href="#dayview"><?php echo _("Day")?></a></li>
- <li><a href="#" class="ui-btn-active"><?php echo _("Month")?></a></li>
- <li><a href="#overview"><?php echo _("Summary")?></a></li>
- </ul>
- </div>
- </div>
- <div data-role="content" class="ui-body" id="monthcontent">
- <div id="kronolithMinical" class="kronolithMinical">
- <table>
- <caption>
- <a href="#" id="kronolithMinicalPrev" title="<?php echo _("Previous month") ?>"><</a>
- <a href="#" id="kronolithMinicalNext" title="<?php echo _("Next month") ?>">></a>
- <span id="kronolithMinicalDate"><?php echo $this->today->format('F Y') ?></span>
- </caption>
- <thead>
- <tr>
- <?php for ($i = $GLOBALS['prefs']->getValue('week_start_monday'), $c = $i + 7; $i < $c; $i++): ?>
- <th title="<?php echo Horde_Nls::getLangInfo(constant('DAY_' . ($i % 7 + 1))) ?>"><?php echo substr(Horde_Nls::getLangInfo(constant('DAY_' . ($i % 7 + 1))), 0, 1) ?></th>
- <?php endfor; ?>
- </tr>
- </thead>
- <tbody><tr><td></td></tr></tbody>
- </table>
+ <div data-role="header">
+ <h1><?php echo _("Month")?></h1>
+ <a rel="external" href="<?php echo $this->portal ?>"><?php echo _("Portal")?></a>
+ <?php if ($this->logout): ?>
+ <a href="<?php echo $this->logout ?>" rel="external" data-theme="e" data-icon="delete"><?php echo _("Log out") ?></a>
+ <?php endif ?>
+ <div data-role="navbar" class="ui-bar-b">
+ <ul>
+ <li><a href="#dayview"><?php echo _("Day")?></a></li>
+ <li><a href="#" class="ui-btn-active"><?php echo _("Month")?></a></li>
+ <li><a href="#overview"><?php echo _("Summary")?></a></li>
+ </ul>
+ </div>
+ </div>
+ <div data-role="content" class="ui-body" id="monthcontent">
+ <div id="kronolithMinical" class="kronolithMinical">
+ <table>
+ <caption>
+ <a href="#" id="kronolithMinicalPrev" title="<?php echo _("Previous month") ?>"><</a>
+ <a href="#" id="kronolithMinicalNext" title="<?php echo _("Next month") ?>">></a>
+ <span id="kronolithMinicalDate"><?php echo $this->today->format('F Y') ?></span>
+ </caption>
+ <thead>
+ <tr>
+ <?php for ($i = $GLOBALS['prefs']->getValue('week_start_monday'), $c = $i + 7; $i < $c; $i++): ?>
+ <th title="<?php echo Horde_Nls::getLangInfo(constant('DAY_' . ($i % 7 + 1))) ?>"><?php echo substr(Horde_Nls::getLangInfo(constant('DAY_' . ($i % 7 + 1))), 0, 1) ?></th>
+ <?php endfor; ?>
+ </tr>
+ </thead>
+ <tbody><tr><td></td></tr></tbody>
+ </table>
+ </div>
</div>
- </div>
<div data-role="footer">
</div>
-</div>
\ No newline at end of file
+</div>
<div data-role="page" id="overview">
<div data-role="header">
- <h1><?php echo _("Summary")?></h1>
- <a class="ui-btn-left" href="<?php echo $this->portal?>"><?php echo _("Home")?></a>
- <a rel="external" class="ui-btn-right" data-icon="delete" href="<?php echo $this->logout?>"><?php echo _("Logout")?></a>
- <div data-role="navbar" class="ui-bar-b">
- <ul>
- <li><a href="#dayview"><?php echo _("Day")?></a></li>
- <li><a href="#monthview"><?php echo _("Month")?></a></li>
- <li><a href="#" class="ui-btn-active"><?php echo _("Summary")?></a></li>
- </ul>
- </div>
+ <h1><?php echo _("Summary")?></h1>
+ <a rel="external" href="<?php echo $this->portal ?>"><?php echo _("Portal")?></a>
+ <?php if ($this->logout): ?>
+ <a href="<?php echo $this->logout ?>" rel="external" data-theme="e" data-icon="delete"><?php echo _("Log out") ?></a>
+ <?php endif ?>
+ <div data-role="navbar" class="ui-bar-b">
+ <ul>
+ <li><a href="#dayview"><?php echo _("Day")?></a></li>
+ <li><a href="#monthview"><?php echo _("Month")?></a></li>
+ <li><a href="#" class="ui-btn-active"><?php echo _("Summary")?></a></li>
+ </ul>
+ </div>
</div>
<div data-role="content" class="ui-body"></div>
<div data-role="footer"></div>
-</div>
\ No newline at end of file
+</div>
<div data-role="header">
<h1>My Tasks</h1>
- <a class="ui-btn-left" href="<?php echo Horde::getServiceLink('portal', 'horde')?>"><?php echo _("Home")?></a>
- <a rel="external" class="ui-btn-right" href="<?php echo Horde::getServiceLink('logout', 'horde')?>"><?php echo _("Logout")?></a>
+ <a rel="external" href="<?php echo Horde::getServiceLink('portal', 'horde')?>"><?php echo _("Portal")?></a>
+ <?php if (Horde::getServiceLink('logout')): ?>
+ <a href="<?php echo Horde::getServiceLink('logout')->setRaw(false) ?>" rel="external" data-theme="e" data-icon="delete"><?php echo _("Log out") ?></a>
+ <?php endif ?>
</div>
<div data-role="content">
<ul data-role="listview">