nextcloud/settings/templates/apps.php

26 lines
1018 B
PHP
Raw Normal View History

<?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.
*/?>
2011-08-21 13:14:57 +04:00
<div id="controls">
<a class="button" target="_blank" href="http://owncloud.org/contribute/writing-apps/"><?php echo $l->t('Add your application');?></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'] ?>">
<?php echo $app['name'] ?>
<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>
</li>
2011-08-10 14:20:43 +04:00
<?php endforeach;?>
</ul>
<div id="rightcontent">
2011-08-10 18:46:54 +04:00
<h3><strong><span class="name"><?php echo $l->t('Select an App');?></span></strong><span class="version"></span></h3>
2011-08-10 14:20:43 +04:00
<p class="description"></p>
2011-08-10 18:46:54 +04:00
<p class="hidden"><span class="licence"></span><?php echo $l->t('-licensed');?> <?php echo $l->t('by');?> <span class="author"></span></p>
<input class="enable hidden" type="submit" />
2011-08-10 14:20:43 +04:00
</div>