Vergleich admin/modules/user/groups.php - 1.6.7 - 1.6.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: groups.php 5712 2011-12-08 15:53:03Z Tomm $

 * $Id$

 */

// Array of usergroup permission fields and their default values.

 */

// Array of usergroup permission fields and their default values.

Zeile 596Zeile 596
		
$page->output_nav_tabs($sub_tabs, 'group_leaders');


		
$page->output_nav_tabs($sub_tabs, 'group_leaders');


	$form = new Form("index.php?module=user-groups&action=edit_leader&lid={$leader['lid']}'", "post");

	$form = new Form("index.php?module=user-groups&action=edit_leader&lid={$leader['lid']}", "post");

	
$form_container = new FormContainer($lang->edit_group_leader);
$form_container->output_row($lang->username." <em>*</em>", "", $leader['username']);

	
$form_container = new FormContainer($lang->edit_group_leader);
$form_container->output_row($lang->username." <em>*</em>", "", $leader['username']);

Zeile 757Zeile 757
		if(my_strpos($mybb->input['namestyle'], "{username}") === false)
{
$errors[] = $lang->error_missing_namestyle_username;

		if(my_strpos($mybb->input['namestyle'], "{username}") === false)
{
$errors[] = $lang->error_missing_namestyle_username;

 
		}
else
{
if(preg_match("#<((m[^a])|(b[^diloru>])|(s[^aemptu>]))(\s*[^>]*)>#si", $mybb->input['namestyle']))
{
$errors[] = $lang->error_disallowed_namestyle_username;
$mybb->input['namestyle'] = $usergroup['namestyle'];
}

		}

if(!$errors)

		}

if(!$errors)