summaryrefslogtreecommitdiffstats
path: root/settings/templates/users
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-05-13 15:31:11 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:59 +0200
commitec572607e136e5284991854db13b045632caafe6 (patch)
treebe0974a3291ce9ada171846481b44d4bbac03780 /settings/templates/users
parent7b63c2c0362a54218841d548c2cafb5bc417a0db (diff)
downloadnextcloud-server-ec572607e136e5284991854db13b045632caafe6.tar.gz
nextcloud-server-ec572607e136e5284991854db13b045632caafe6.zip
remove group rename stuff, there is not support in the backends yet. to do for oc8.
Diffstat (limited to 'settings/templates/users')
-rw-r--r--settings/templates/users/part.grouplist.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php
index 466fe956cdc..2a55f8d7b92 100644
--- a/settings/templates/users/part.grouplist.php
+++ b/settings/templates/users/part.grouplist.php
@@ -38,11 +38,6 @@
<li data-gid="<?php p($group['name']) ?>" data-usercount="<?php p($group['usercount']) ?>" class="isgroup">
<a href="#" class="dorename">
<span class="groupname"><?php p($group['name']); ?></span>
- <!-- TODO: backend does not support renaming groups yet
- <img class="svg action rename"
- src="<?php p(image_path('core', 'actions/rename.svg'))?>"
- original-title="<?php p($l->t('Edit'))?>" alt="" />
- -->
</a>
<span class="utils">
<span class="usercount"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></span>
@@ -52,4 +47,4 @@
</span>
</li>
<?php endforeach; ?>
-</ul> \ No newline at end of file
+</ul>
color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<?php
/**
 * @copyright Copyright (c) 2016, ownCloud, Inc.
 *
 * @author Christoph Wurst <christoph@winzerhof-wurst.at>
 * @author John Molakvoæ <skjnldsv@protonmail.com>
 * @author Lukas Reschke <lukas@statuscode.ch>
 * @author Morris Jobke <hey@morrisjobke.de>
 *
 * @license AGPL-3.0
 *
 * This code is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License, version 3,
 * along with this program. If not, see <http://www.gnu.org/licenses/>
 *
 */
// This file is just used to redirect the legacy sharing URLs (< ownCloud 8) to the new ones

$urlGenerator = \OC::$server->getURLGenerator();
$token = isset($_GET['t']) ? $_GET['t'] : '';
$route = isset($_GET['download']) ? 'files_sharing.sharecontroller.downloadShare' : 'files_sharing.sharecontroller.showShare';

if ($token !== '') {
	$protocol = \OC::$server->getRequest()->getHttpProtocol();
	if ($protocol == 'HTTP/1.0') {
		http_response_code(302);
	} else {
		http_response_code(307);
	}
	header('Location: ' . $urlGenerator->linkToRoute($route, ['token' => $token]));
} else {
	http_response_code(404);
	$tmpl = new OCP\Template('', '404', 'guest');
	print_unescaped($tmpl->fetchPage());
}