2011-08-22 23:40:13 +00: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 03:02:01 +00:00
|
|
|
<script type='text/javascript'>
|
|
|
|
var appid = '<?php echo $_['appid']; ?>';
|
|
|
|
</script>
|
2011-08-21 09:14:57 +00:00
|
|
|
<div id="controls">
|
2012-08-04 18:34:57 +00:00
|
|
|
<a class="button" target="_blank" href="http://owncloud.org/dev/apps/getting-started/"><?php echo $l->t('Add your App');?></a>
|
2011-08-21 09:14:57 +00:00
|
|
|
</div>
|
2012-08-04 23:41:55 +00:00
|
|
|
<ul id="leftcontent" class="applist">
|
2011-08-10 10:20:43 +00:00
|
|
|
<?php foreach($_['apps'] as $app):?>
|
2012-09-18 13:35:27 +00: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 18:12:18 +00: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>
|
2012-08-30 20:17:54 +00:00
|
|
|
<script type="application/javascript">
|
|
|
|
appData_<?php echo $app['id'] ?>=<?php OC_JSON::encodedPrint($app,false) ?>;
|
|
|
|
</script>
|
2012-08-04 18:12:18 +00:00
|
|
|
<?php if(!$app['internal']) echo '<small class="externalapp list">3rd party</small>' ?>
|
2011-08-21 09:14:57 +00:00
|
|
|
</li>
|
2011-08-10 10:20:43 +00:00
|
|
|
<?php endforeach;?>
|
|
|
|
</ul>
|
|
|
|
<div id="rightcontent">
|
2012-08-04 23:41:55 +00:00
|
|
|
<div class="appinfo">
|
2012-04-21 13:30:58 +00: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 10:20:43 +00:00
|
|
|
<p class="description"></p>
|
2012-04-21 13:30:58 +00:00
|
|
|
<img src="" class="preview" />
|
2012-06-03 21:48:59 +00:00
|
|
|
<p class="appslink hidden"><a href="#" target="_blank"><?php echo $l->t('See application page at apps.owncloud.com');?></a></p>
|
2012-09-04 21:49:43 +00:00
|
|
|
<p class="license hidden"><?php echo $l->t('<span class="licence"></span>-licensed by <span class="author"></span>');?></p>
|
2011-08-20 03:07:58 +00:00
|
|
|
<input class="enable hidden" type="submit" />
|
2012-08-04 23:41:55 +00:00
|
|
|
</div>
|
2011-08-10 10:20:43 +00:00
|
|
|
</div>
|