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.
|
|
|
|
*/?>
|
2013-01-23 14:21:27 +04:00
|
|
|
<script type="text/javascript" src="<?php echo OC_Helper::linkToRoute('apps_custom');?>?appid=<?php echo $_['appid']; ?>"></script>
|
|
|
|
<script type="text/javascript" src="<?php echo OC_Helper::linkTo('settings/js', 'apps.js');?>"></script>
|
2013-01-22 01:18:42 +04:00
|
|
|
|
2011-08-21 13:14:57 +04:00
|
|
|
<div id="controls">
|
2013-01-21 23:40:23 +04:00
|
|
|
<a class="button" target="_blank" href="http://owncloud.org/dev"><?php echo $l->t('Add your App');?></a>
|
2012-10-08 17:49:48 +04:00
|
|
|
<a class="button" target="_blank" href="http://apps.owncloud.com"><?php echo $l->t('More Apps');?></a>
|
2011-08-21 13:14:57 +04:00
|
|
|
</div>
|
2013-02-04 21:30:49 +04:00
|
|
|
<ul id="leftcontent" class="applist hascontrols">
|
2011-08-10 14:20:43 +04:00
|
|
|
<?php foreach($_['apps'] as $app):?>
|
2012-09-18 17:35:27 +04:00
|
|
|
<li <?php if($app['active']) echo 'class="active"'?> data-id="<?php echo $app['id'] ?>" <?php if ( isset( $app['ocs_id'] ) ) { echo "data-id-ocs=\"{$app['ocs_id']}\""; } ?>
|
2012-08-04 22:12:18 +04:00
|
|
|
data-type="<?php echo $app['internal'] ? 'internal' : 'external' ?>" data-installed="1">
|
|
|
|
<a class="app<?php if(!$app['internal']) echo ' externalapp' ?>" href="?appid=<?php echo $app['id'] ?>"><?php echo htmlentities($app['name']) ?></a>
|
2013-01-30 16:39:53 +04:00
|
|
|
<?php if(!$app['internal']) echo '<small class="'.$app['internalclass'].' list">'.$app['internallabel'].'</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-08-05 03:41:55 +04:00
|
|
|
<div class="appinfo">
|
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>
|
2012-10-08 17:49:48 +04:00
|
|
|
<span class="score"></span>
|
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>
|
2013-01-14 23:30:28 +04:00
|
|
|
<p class="license hidden"><?php echo $l->t('<span class="licence"></span>-licensed by <span class="author"></span>');?></p>
|
2011-08-20 07:07:58 +04:00
|
|
|
<input class="enable hidden" type="submit" />
|
2013-01-21 23:40:23 +04:00
|
|
|
<input class="update hidden" type="submit" value="<?php echo($l->t('Update')); ?>" />
|
2012-08-05 03:41:55 +04:00
|
|
|
</div>
|
2011-08-10 14:20:43 +04:00
|
|
|
</div>
|