1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

View profile now shows relevant add/remove links

git-svn-id: file:///svn/phpbb/trunk@6462 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2006-10-07 20:11:45 +00:00
parent d7545025c3
commit 32c2ea4339
4 changed files with 23 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ class ucp_zebra
{
global $config, $db, $user, $auth, $template, $phpbb_root_path, $phpEx;
$submit = (isset($_POST['submit']) || isset($_GET['add'])) ? true : false;
$submit = (isset($_POST['submit']) || isset($_GET['add']) || isset($_GET['remove'])) ? true : false;
$s_hidden_fields = '';
$l_mode = strtoupper($mode);
@@ -32,7 +32,7 @@ class ucp_zebra
$var_ary = array(
'usernames' => array(0),
'add' => '',
'add' => '',
);
foreach ($var_ary as $var => $default)