searchbar and app info removed also from link-shared event display

master
Michał 'rysiek' Woźniak 2014-02-09 22:43:59 +01:00
parent bdfc78202e
commit 468d962ad1
3 changed files with 11 additions and 3 deletions

View File

@ -285,7 +285,6 @@ button.category{margin:0 3px;}
position:fixed;
top:0px;
width:100%;
height:44px;
font-size:90%;
}

View File

@ -160,7 +160,7 @@ if (isset($rootLinkItem)) {
OCP\Util::addStyle('calendar', 'style');
OCP\Util::addStyle('calendar', 'tooltips');
OCP\App::setActiveNavigationEntry('calendar_index');
$tmpl = new OCP\Template('calendar', 'event', 'user');
$tmpl = new OCP\Template('calendar', 'event', 'base');
$tmpl->assign('link_shared_event', $linkItem);
$tmpl->assign('link_shared_event_url', $url);
$tmpl->printPage();

View File

@ -1,5 +1,14 @@
<?php if (isset($_['link_shared_event'])) { ?>
<div id="linksharedinfo"><?php p($l->t('Event')) ?> &quot;<?php p($_['link_shared_event']['item_target'])?>&quot;, <?php p($l->t('shared by'))?>: <?php p($_['link_shared_event']['uid_owner'])?>; <?php p($l->t('download or use in your calendar application:'))?> <a class="download-link" href="<?php echo $_['link_shared_event_url']; ?>&amp;download"><?php p($l->t('Download'))?></a></div>
<header id="linksharedinfo">
<div class="header-right">
<span id="details"><?php p($l->t('shared by %s', array($_['link_shared_event']['uid_owner']))) ?></span>
</div>
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg"
src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="<?php p($theme->getName()); ?>"
/></a>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
<div><?php p($l->t('Event')) ?> &quot;<?php p($_['link_shared_event']['item_target'])?>&quot;; <?php p($l->t('download or use in your calendar application:'))?> <a class="download-link" href="<?php echo $_['link_shared_event_url']; ?>&amp;download"><?php p($l->t('Download'))?></a></div>
</header>
<?php } ?>
<div id="event" class="event <?php if(isset($_['link_shared_event'])): ?>link-shared<?php endif; ?>" title="<?php p($l->t("View an event"));?>">
<?php if (!isset($_['link_shared_event'])): ?>