2011-04-17 01:29:54 +04:00
|
|
|
<!DOCTYPE html>
|
2013-02-26 01:54:05 +04:00
|
|
|
<html class="ng-csp">
|
2011-03-02 13:56:48 +03:00
|
|
|
<head>
|
2013-02-22 03:21:06 +04:00
|
|
|
<title><?php echo !empty($_['application'])?$_['application'].' | ':'' ?>ownCloud
|
|
|
|
<?php echo !empty($_['user_displayname'])?' ('.$_['user_displayname'].') ':'' ?></title>
|
2011-03-02 13:56:48 +03:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
2013-01-25 18:57:57 +04:00
|
|
|
<meta name="apple-itunes-app" content="app-id=543672169">
|
2013-02-15 02:19:12 +04:00
|
|
|
<link rel="shortcut icon" href="<?php echo image_path('', 'favicon.png'); ?>" />
|
|
|
|
<link rel="apple-touch-icon-precomposed" href="<?php echo image_path('', 'favicon-touch.png'); ?>" />
|
2011-04-16 21:49:18 +04:00
|
|
|
<?php foreach($_['cssfiles'] as $cssfile): ?>
|
2011-03-09 23:57:00 +03:00
|
|
|
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
|
|
|
|
<?php endforeach; ?>
|
2011-04-16 21:49:18 +04:00
|
|
|
<?php foreach($_['jsfiles'] as $jsfile): ?>
|
2011-03-09 23:57:00 +03:00
|
|
|
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
|
|
|
|
<?php endforeach; ?>
|
2011-06-24 20:02:19 +04:00
|
|
|
<?php foreach($_['headers'] as $header): ?>
|
|
|
|
<?php
|
|
|
|
echo '<'.$header['tag'].' ';
|
2012-09-07 17:22:01 +04:00
|
|
|
foreach($header['attributes'] as $name=>$value) {
|
2011-06-24 20:02:19 +04:00
|
|
|
echo "$name='$value' ";
|
|
|
|
};
|
2011-08-20 00:53:07 +04:00
|
|
|
echo '/>';
|
2011-06-24 20:02:19 +04:00
|
|
|
?>
|
|
|
|
<?php endforeach; ?>
|
2011-03-02 13:56:48 +03:00
|
|
|
</head>
|
|
|
|
|
2011-08-09 00:37:27 +04:00
|
|
|
<body id="<?php echo $_['bodyid'];?>">
|
2013-01-11 14:52:07 +04:00
|
|
|
<div id="notification-container">
|
2013-01-11 18:19:53 +04:00
|
|
|
<div id="notification"></div>
|
2013-01-11 14:52:07 +04:00
|
|
|
</div>
|
|
|
|
<header><div id="header">
|
2013-02-15 02:19:12 +04:00
|
|
|
<a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img class="svg"
|
|
|
|
src="<?php echo image_path('', 'logo-wide.svg'); ?>" alt="ownCloud" /></a>
|
2012-10-27 20:58:16 +04:00
|
|
|
|
|
|
|
<ul id="settings" class="svg">
|
|
|
|
<span id="expand">
|
2013-02-26 02:16:03 +04:00
|
|
|
<span id="expandDisplayName"><?php echo $_['user_displayname'] ?></span>
|
2012-10-27 20:58:16 +04:00
|
|
|
<img class="svg" src="<?php echo image_path('', 'actions/caret.svg'); ?>" />
|
|
|
|
</span>
|
2013-02-06 19:03:01 +04:00
|
|
|
<div id="expanddiv">
|
2012-10-27 20:58:16 +04:00
|
|
|
<?php foreach($_['settingsnavigation'] as $entry):?>
|
|
|
|
<li>
|
2013-02-15 02:19:12 +04:00
|
|
|
<a href="<?php echo $entry['href']; ?>" title=""
|
|
|
|
<?php if( $entry["active"] ): ?> class="active"<?php endif; ?>>
|
2013-01-31 23:45:59 +04:00
|
|
|
<img class="svg" alt="" src="<?php echo $entry['icon']; ?>">
|
2012-10-27 20:58:16 +04:00
|
|
|
<?php echo $entry['name'] ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<li>
|
|
|
|
<a id="logout" href="<?php echo link_to('', 'index.php'); ?>?logout=true">
|
2013-02-22 03:21:06 +04:00
|
|
|
<img class="svg" alt="" src="<?php echo image_path('', 'actions/logout.svg'); ?>" />
|
|
|
|
<?php echo $l->t('Log out');?>
|
2012-10-27 20:58:16 +04:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</div>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<form class="searchbox" action="#" method="post">
|
2013-02-15 02:19:12 +04:00
|
|
|
<input id="searchbox" class="svg" type="search" name="query"
|
|
|
|
value="<?php if(isset($_POST['query'])) {echo OC_Util::sanitizeHTML($_POST['query']);};?>"
|
|
|
|
autocomplete="off" x-webkit-speech />
|
2011-08-11 00:56:44 +04:00
|
|
|
</form>
|
2011-08-09 12:30:37 +04:00
|
|
|
</div></header>
|
2011-03-02 13:56:48 +03:00
|
|
|
|
2011-08-09 12:30:37 +04:00
|
|
|
<nav><div id="navigation">
|
2011-08-11 20:59:01 +04:00
|
|
|
<ul id="apps" class="svg">
|
2011-08-08 19:52:29 +04:00
|
|
|
<?php foreach($_['navigation'] as $entry): ?>
|
2012-10-27 01:38:36 +04:00
|
|
|
<li data-id="<?php echo $entry['id']; ?>">
|
2013-02-15 02:19:12 +04:00
|
|
|
<a href="<?php echo $entry['href']; ?>" title=""
|
|
|
|
<?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
|
2013-02-14 13:59:30 +04:00
|
|
|
<img class="icon svg" src="<?php echo $entry['icon']; ?>"/>
|
2012-10-27 01:38:36 +04:00
|
|
|
<?php echo $entry['name']; ?>
|
|
|
|
</a>
|
2011-08-08 19:52:29 +04:00
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
2011-08-09 12:30:37 +04:00
|
|
|
</div></nav>
|
|
|
|
|
2013-01-16 22:38:19 +04:00
|
|
|
<div id="content-wrapper">
|
|
|
|
<div id="content">
|
|
|
|
<?php echo $_['content']; ?>
|
|
|
|
</div>
|
2011-03-02 13:56:48 +03:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|