2011-08-23 03:40:13 +04:00
|
|
|
<?php /**
|
|
|
|
* Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/?>
|
2012-06-25 07:02:01 +04:00
|
|
|
<script type='text/javascript'>
|
|
|
|
var appid = '<?php echo $_['appid']; ?>';
|
|
|
|
</script>
|
2011-08-21 13:14:57 +04:00
|
|
|
<div id="controls">
|
2012-04-21 17:30:58 +04:00
|
|
|
<a class="button" target="_blank" href="http://owncloud.org/dev/writing-apps/"><?php echo $l->t('Add your App');?></a>
|
2011-08-21 13:14:57 +04:00
|
|
|
</div>
|
2011-08-10 14:20:43 +04:00
|
|
|
<ul id="leftcontent">
|
|
|
|
<?php foreach($_['apps'] as $app):?>
|
2011-08-21 13:14:57 +04:00
|
|
|
<li <?php if($app['active']) echo 'class="active"'?> data-id="<?php echo $app['id'] ?>">
|
2012-06-25 07:03:30 +04:00
|
|
|
<a href="?appid=<?php echo $app['id'] ?>"><?php echo htmlentities($app['name']) ?></a>
|
2011-08-21 13:14:57 +04:00
|
|
|
<span class="hidden">
|
2011-09-26 02:19:34 +04:00
|
|
|
<?php OC_JSON::encodedPrint($app,false) ?>
|
2011-08-21 13:14:57 +04:00
|
|
|
</span>
|
2012-04-21 17:30:58 +04:00
|
|
|
<?php if(!$app['internal']) echo '<small class="externalapp">3rd party</small>' ?>
|
2011-08-21 13:14:57 +04:00
|
|
|
</li>
|
2011-08-10 14:20:43 +04:00
|
|
|
<?php endforeach;?>
|
|
|
|
</ul>
|
|
|
|
<div id="rightcontent">
|
2012-04-21 17:30:58 +04:00
|
|
|
<h3><strong><span class="name"><?php echo $l->t('Select an App');?></span></strong><span class="version"></span><small class="externalapp" style="visibility:hidden;"></small></h3>
|
2011-08-10 14:20:43 +04:00
|
|
|
<p class="description"></p>
|
2012-04-21 17:30:58 +04:00
|
|
|
<img src="" class="preview" />
|
2012-06-04 01:48:59 +04:00
|
|
|
<p class="appslink hidden"><a href="#" target="_blank"><?php echo $l->t('See application page at apps.owncloud.com');?></a></p>
|
|
|
|
<p class="license hidden"><span class="licence"></span><?php echo $l->t('-licensed');?> <?php echo $l->t('by');?> <span class="author"></span></p>
|
2011-08-20 07:07:58 +04:00
|
|
|
<input class="enable hidden" type="submit" />
|
2011-08-10 14:20:43 +04:00
|
|
|
</div>
|