|
@@ 256-259 (lines=4) @@
|
| 253 |
|
// Load the names for guests |
| 254 |
|
foreach ($this->permissions as $permission) |
| 255 |
|
{ |
| 256 |
|
if (isset($this->context[$permission[1]][-1])) |
| 257 |
|
{ |
| 258 |
|
$this->context[$permission[1]][-1]['name'] = $txt['membergroups_guests']; |
| 259 |
|
} |
| 260 |
|
if (isset($this->context[$permission[1]][0])) |
| 261 |
|
{ |
| 262 |
|
$this->context[$permission[1]][0]['name'] = $txt['membergroups_members']; |
|
@@ 260-263 (lines=4) @@
|
| 257 |
|
{ |
| 258 |
|
$this->context[$permission[1]][-1]['name'] = $txt['membergroups_guests']; |
| 259 |
|
} |
| 260 |
|
if (isset($this->context[$permission[1]][0])) |
| 261 |
|
{ |
| 262 |
|
$this->context[$permission[1]][0]['name'] = $txt['membergroups_members']; |
| 263 |
|
} |
| 264 |
|
} |
| 265 |
|
|
| 266 |
|
$context['permissions'] = $this->context; |