diff options
author | Georg Ehrke <developer@georgehrke.com> | 2014-06-05 22:54:27 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2014-06-05 22:54:27 +0200 |
commit | 0fe8f77c1748d167e115680346ae98bba78da38d (patch) | |
tree | a456ff35bb2da1a2778f18ccab1ade63e9aaddda /settings/templates/apps.php | |
parent | fad3bd7fc0c094bd16e07708557cd1a7676889cd (diff) | |
parent | e1beb8c6c38d48eb923ed323dea25110e4bbacfd (diff) | |
download | nextcloud-server-0fe8f77c1748d167e115680346ae98bba78da38d.tar.gz nextcloud-server-0fe8f77c1748d167e115680346ae98bba78da38d.zip |
Merge branch 'master' into update_shipped_apps_from_appstore
Conflicts:
lib/private/app.php
settings/templates/apps.php
Diffstat (limited to 'settings/templates/apps.php')
-rw-r--r-- | settings/templates/apps.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php index e2bc78b07fa..b35eda4350c 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -16,7 +16,7 @@ <?php endif; ?> <?php foreach($_['apps'] as $app):?> - <li <?php if($app['active']) print_unescaped('class="active"')?> data-id="<?php p($app['id']) ?>" + <li <?php if($app['active']) print_unescaped('class="active"')?> data-id="<?php p($app['id']) ?>" data-groups="<?php p($app['groups']) ?>" <?php if ( isset( $app['ocs_id'] ) ) { print_unescaped("data-id-ocs=\"{".OC_Util::sanitizeHTML($app['ocs_id'])."}\""); } ?> data-type="<?php p($app['internal'] ? 'internal' : 'external') ?>" data-installed="1"> <a class="app<?php if(!$app['internal']) p(' externalapp') ?>" @@ -54,6 +54,16 @@ <input class="enable hidden" type="submit" /> <input class="update hidden" type="submit" value="<?php p($l->t('Update')); ?>" /> <input class="uninstall hidden" type="submit" value="<?php p($l->t('Uninstall')); ?>"/> + <br /> + <input class="hidden" type="checkbox" id="groups_enable"/> + <label class="hidden" for="groups_enable"><?php p($l->t('Enable only for specific groups')); ?></label> + <br /> + <select class="hidden" id="group_select" multiple="multiple" title="<?php p($l->t('All')); ?>"> + <?php foreach($_['groups'] as $group):?> + <option value="<?php p($group);?>"><?php p($group); ?></option> + <?php endforeach;?> + </select> + <div class="warning hidden"></div> </div> </div> |