<commit_before>{* $Id$ *}
{if !$tsAjax}
	{title help="Users+Management" admpage="login" url="tiki-adminusers.php"}{tr}Admin Users{/tr}{/title}

	<div class="t_navbar margin-bottom-md">
		{if $tiki_p_admin eq 'y'} {* only full admins can manage groups, not tiki_p_admin_users *}
			{button href="tiki-admingroups.php" class="btn btn-default" _icon_name="group" _text="{tr}Admin Groups{/tr}"}
		{/if}
		{if $tiki_p_admin eq 'y'}
			<button class="btn btn-default">
				{permission_link mode=text}
			</button>
		{/if}
		{if isset($userinfo.userId)}
			{button href="?add=1" class="btn btn-default" _text="{tr}Add a New User{/tr}"}
		{/if}
		{if $prefs.feature_invite eq 'y' and $tiki_p_invite eq 'y'}
			{button href="tiki-list_invite.php" class="btn btn-default" _icon_name="thumbs-up" _text="{tr}Invitation List{/tr}"}
		{/if}
	</div>

	{if $prefs.feature_intertiki eq 'y' and ($prefs.feature_intertiki_import_groups eq 'y' or $prefs.feature_intertiki_import_preferences eq 'y')}
		{remarksbox type="warning" title="{tr}Warning{/tr}"}
			{if $prefs.feature_intertiki_import_groups eq 'y'}{tr}Since this Tiki site is in slave mode and imports groups, the master groups will be automatically reimported at each login{/tr}{/if}
			{if $prefs.feature_intertiki_import_preferences eq 'y'}{tr}Since this Tiki site is in slave mode and imports preferences, the master user preferences will be automatically reimported at each login{/tr}{/if}
		{/remarksbox}
	{/if}
	<div id="ajax-feedback" style="display:none"></div>
	{if isset($ajaxfeedback) && $ajaxfeedback eq 'y'}
		<div id="posted-ajax-feedback">
			{include file="utilities/alert.tpl"}
		</div>
	{/if}
	{if $tikifeedback}
		{remarksbox type="feedback" title="{tr}Feedback{/tr}"}
			{section name=n loop=$tikifeedback}
				{tr}{$tikifeedback[n].mes|escape}{/tr}
				<br>
			{/section}
		{/remarksbox}
	{/if}

	{if !empty($added) or !empty($discarded) or !empty($discardlist)}
		{remarksbox type="feedback" title="{tr}Batch Upload Results{/tr}"}
			{tr}Updated users{/tr} {$added}
			{if $discarded != ""}- {tr}Rejected users{/tr} {$discarded}{/if}
			<br>
			<br>
			{if $discardlist != ''}
				<div class="table-responsive">
					<table class="table normal">
						<tr>
							<th>{tr}Username{/tr}</th>
							<th>{tr}Reason{/tr}</th>
						</tr>
						{section name=reject loop=$discardlist}
							<tr class="odd">
								<td class="username">{$discardlist[reject].login}</td>
								<td class="text">{$discardlist[reject].reason}</td>
							</tr>
						{/section}
					</table>
				</div>
			{/if}

			{if $errors}
				<br>
				{section name=ix loop=$errors}
					{$errors[ix]}<br>
				{/section}
			{/if}
		{/remarksbox}
	{/if}
{/if}
{tabset name='tabs_adminuers'}<commit_msg>[FIX] Corrected misspelling in tabset name (was functional but bad image if you need to post the URL, etc.).<commit_after>{* $Id$ *}
{if !$tsAjax}
	{title help="Users+Management" admpage="login" url="tiki-adminusers.php"}{tr}Admin Users{/tr}{/title}

	<div class="t_navbar margin-bottom-md">
		{if $tiki_p_admin eq 'y'} {* only full admins can manage groups, not tiki_p_admin_users *}
			{button href="tiki-admingroups.php" class="btn btn-default" _icon_name="group" _text="{tr}Admin Groups{/tr}"}
		{/if}
		{if $tiki_p_admin eq 'y'}
			<button class="btn btn-default">
				{permission_link mode=text}
			</button>
		{/if}
		{if isset($userinfo.userId)}
			{button href="?add=1" class="btn btn-default" _text="{tr}Add a New User{/tr}"}
		{/if}
		{if $prefs.feature_invite eq 'y' and $tiki_p_invite eq 'y'}
			{button href="tiki-list_invite.php" class="btn btn-default" _icon_name="thumbs-up" _text="{tr}Invitation List{/tr}"}
		{/if}
	</div>

	{if $prefs.feature_intertiki eq 'y' and ($prefs.feature_intertiki_import_groups eq 'y' or $prefs.feature_intertiki_import_preferences eq 'y')}
		{remarksbox type="warning" title="{tr}Warning{/tr}"}
			{if $prefs.feature_intertiki_import_groups eq 'y'}{tr}Since this Tiki site is in slave mode and imports groups, the master groups will be automatically reimported at each login{/tr}{/if}
			{if $prefs.feature_intertiki_import_preferences eq 'y'}{tr}Since this Tiki site is in slave mode and imports preferences, the master user preferences will be automatically reimported at each login{/tr}{/if}
		{/remarksbox}
	{/if}
	<div id="ajax-feedback" style="display:none"></div>
	{if isset($ajaxfeedback) && $ajaxfeedback eq 'y'}
		<div id="posted-ajax-feedback">
			{include file="utilities/alert.tpl"}
		</div>
	{/if}
	{if $tikifeedback}
		{remarksbox type="feedback" title="{tr}Feedback{/tr}"}
			{section name=n loop=$tikifeedback}
				{tr}{$tikifeedback[n].mes|escape}{/tr}
				<br>
			{/section}
		{/remarksbox}
	{/if}

	{if !empty($added) or !empty($discarded) or !empty($discardlist)}
		{remarksbox type="feedback" title="{tr}Batch Upload Results{/tr}"}
			{tr}Updated users{/tr} {$added}
			{if $discarded != ""}- {tr}Rejected users{/tr} {$discarded}{/if}
			<br>
			<br>
			{if $discardlist != ''}
				<div class="table-responsive">
					<table class="table normal">
						<tr>
							<th>{tr}Username{/tr}</th>
							<th>{tr}Reason{/tr}</th>
						</tr>
						{section name=reject loop=$discardlist}
							<tr class="odd">
								<td class="username">{$discardlist[reject].login}</td>
								<td class="text">{$discardlist[reject].reason}</td>
							</tr>
						{/section}
					</table>
				</div>
			{/if}

			{if $errors}
				<br>
				{section name=ix loop=$errors}
					{$errors[ix]}<br>
				{/section}
			{/if}
		{/remarksbox}
	{/if}
{/if}
{tabset name='tabs_adminusers'}
{'fraction_non_alphanumeric': 0.18314162473040976, 'fraction_numerical': 0.0003594536304816679, 'mean_word_length': 4.196078431372549, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5370212', 'n_tokens_mistral': 2422, 'n_tokens_neox': 2106, 'n_words': 465}