Exemplo n.º 1
0
<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("FFAN_ACTIVE"), GetMessage("FFAN_GROUP_ID")));
$oFilter->Begin();
?>
	<tr>
		<td><b><?php 
echo GetMessage("FFAN_SITE_ID");
?>
:</b></td>
		<td>
			<?php 
echo CSite::SelectBox("filter_site_id", $filter_site_id, "(" . GetMessage("FFAN_ALL") . ")");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("FFAN_ACTIVE");
?>
:</td>
		<td>
			<select name="filter_active">
				<option value=""><?php 
echo htmlspecialcharsex("(" . GetMessage("FFAN_ALL") . ")");
?>
</option>
				<option value="Y"<?php 
Exemplo n.º 2
0
		</tr>
<?
		$tabControl->EndCustomField("EXTERNAL_AUTH_ID", '<input type="hidden" name="EXTERNAL_AUTH_ID" value="'.$str_EXTERNAL_AUTH_ID.'">');

	endif;
endif;
?>
<?
if($USER->CanDoOperation('view_subordinate_users') || $USER->CanDoOperation('view_all_users')):
	$tabControl->BeginCustomField("LID", GetMessage("MAIN_DEFAULT_SITE"));
?>
	<tr>
		<td><?echo $tabControl->GetCustomLabelHTML()?></td>
		<?if(!$canSelfEdit) $dis = " disabled"?>
		<td><?php 
echo CSite::SelectBox("LID", $str_LID, "", "", $dis);
?>
</td>
	</tr>
<?
	$tabControl->EndCustomField("LID", '<input type="hidden" name="LID" value="'.$str_LID.'">');

	$tabControl->AddCheckBoxField("user_info_event", GetMessage('INFO_FOR_USER'), false, "Y", ($user_info_event=="Y"), (!$canSelfEdit? array("disabled"):array()));
endif;

if(CTimeZone::Enabled())
{
	$tabControl->AddSection("USER_TIME_ZONE", GetMessage("user_edit_time_zones"));
	$tabControl->AddDropDownField("AUTO_TIME_ZONE", GetMessage("user_edit_time_zones_auto"), false, array(""=>GetMessage("user_edit_time_zones_auto_def"), "Y"=>GetMessage("user_edit_time_zones_auto_yes"), "N"=>GetMessage("user_edit_time_zones_auto_no")), $str_AUTO_TIME_ZONE, array('onchange="this.form.TIME_ZONE.disabled=(this.value != \'N\')"'));
	$tabControl->AddDropDownField("TIME_ZONE", GetMessage("user_edit_time_zones_zones"), false, CTimeZone::GetZones(), $str_TIME_ZONE, ($str_AUTO_TIME_ZONE<>"N"? array('disabled') : array()));
}
Exemplo n.º 3
0
    }
    ?>
	<?php 
}
?>

	<?php 
if (CSite::IsDistinctDocRoots()) {
    ?>
	<tr class="adm-detail-required-field">
		<td><?php 
    echo GetMessage("FLOW_EDIT_SITE");
    ?>
</td>
		<td><?php 
    echo CSite::SelectBox("SITE_ID", $str_SITE_ID);
    ?>
</td>
	</tr>
	<?php 
}
?>
	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("FLOW_FULL_FILENAME");
?>
</td>
		<td>
			<input type="text" id="FILENAME" name="FILENAME" size="30"  maxlength="255" value="<?php 
echo $str_FILENAME;
?>
Exemplo n.º 4
0
?>
</td>
	</tr>
	<tr valign="top" class="heading">
		<td colspan="2"><?php 
echo GetMessage("STAT_CONDITIONS");
?>
</td>
	</tr>
	<tr valign="top">
		<td align="right"><?php 
echo GetMessage("STAT_SITE");
?>
:</td>
		<td><?php 
echo CSite::SelectBox("SITE_ID", $str_SITE_ID, GetMessage("MAIN_ALL"));
?>
</td>
	</tr>
	<tr valign="top">
		<td align="right"><?php 
echo GetMessage("STAT_MASK");
?>
</td>
		<td><input  type="text" name="MASK_1" size="3" maxlength="3" value="<?php 
echo $str_MASK_1;
?>
">&nbsp;<input  type="text" name="MASK_2" size="3" maxlength="3" value="<?php 
echo $str_MASK_2;
?>
">&nbsp;<input  type="text" name="MASK_3" size="3" maxlength="3" value="<?php 
Exemplo n.º 5
0
    echo CSite::SelectBox("FILTER_MASKS[{$i}][SITE_ID]", $arMask["SITE_ID"], GetMessage("MAIN_ALL"), "");
    ?>
<br>
			</td></tr>
		<?php 
}
?>
		<?php 
if (!$bVarsFromForm) {
    ?>
			<tr class="security-addable-row"><td nowrap style="padding-bottom: 3px;">
				<input type="text" size="45" name="FILTER_MASKS[n0][MASK]" value="">&nbsp;<?php 
    echo GetMessage("SEC_FILTER_SITE");
    ?>
&nbsp;<?php 
    echo CSite::SelectBox("FILTER_MASKS[n0][SITE_ID]", "", GetMessage("MAIN_ALL"), "");
    ?>
<br>
			</td></tr>
		<?php 
}
?>
			<tr><td>
				<br><input type="button" id="add-button" value="<?php 
echo GetMessage("SEC_FILTER_ADD");
?>
">
			</td></tr>
		</table>
	</td>
</tr>
Exemplo n.º 6
0
?>
<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("SONET_FILTER_SUBJECT_ID"), GetMessage("SONET_GROUP_NAME"), GetMessage("SONET_OWNER_USER"), GetMessage("SONET_OWNER_ID")));
$oFilter->Begin();
?>
	<tr>
		<td><?php 
echo GetMessage("SONET_FILTER_SITE_ID");
?>
</td>
		<td><?php 
echo CSite::SelectBox("filter_site_id", $filter_site_id, GetMessage("SONET_SPT_ALL"));
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SONET_FILTER_SUBJECT_ID");
?>
:</td>
		<td>
			<select name="filter_subject_id">
				<option value="NOT_REF"><?php 
echo htmlspecialcharsex(GetMessage("SONET_SPT_ALL"));
?>
</option>
				<?php 
Exemplo n.º 7
0
</label><br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php 
    echo CSite::SelectBox("SITE_MESSAGE_LINK_E_SITE", $SITE_MESSAGE_LINK_E_SITE, "", "", $SITE_MESSAGE_LINK != "E" ? 'disabled' : '');
    ?>
<br>
			<input type="radio"<?php 
    if ($SITE_MESSAGE_LINK == "C") {
        echo " checked";
    }
    ?>
 name="SITE_MESSAGE_LINK" id="SITE_MESSAGE_LINK_c" value="C" onClick="if(this.checked){document.bform.SITE_MESSAGE_LINK_E_SITE.disabled=true; document.bform.SITE_MESSAGE_LINK_C_SITE.disabled=false}"><label for="SITE_MESSAGE_LINK_c"> <?php 
    echo GetMessage("MAIN_SITE_CREATE_MESS_TEPL_COPY");
    ?>
</label><br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php 
    echo CSite::SelectBox("SITE_MESSAGE_LINK_C_SITE", $SITE_MESSAGE_LINK_C_SITE, "", "", $SITE_MESSAGE_LINK != "C" ? 'disabled' : '');
    ?>
<br />

		</td>
	</tr>
	<?php 
}
?>
	<?php 
ConditionJS();
?>
	<tr class="heading">
		<td colspan="2"><?php 
echo GetMessage("MAIN_SITE_EDIT_TEMPLATE");
?>
Exemplo n.º 8
0
?>
<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("SAP1_ACTIVE")));
$oFilter->Begin();
?>
	<tr>
		<td><?php 
echo GetMessage("SAP1_SITE1");
?>
</td>
		<td><?php 
echo CSite::SelectBox("filter_site_id", $filter_site_id, GetMessage("SAP1_ALL"));
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SAP1_ACTIVE1");
?>
</td>
		<td>
			<select name="filter_active">
				<option value=""><?php 
echo htmlspecialcharsex(GetMessage("SAP1_ALL"));
?>
</option>
				<option value="Y"<?php 
Exemplo n.º 9
0
echo BeginNote();
if(defined("FX_UTF"))
	echo GetMessage("MAIN_TEMPLATE_LOAD_WARN_UTF");
else
	echo GetMessage("MAIN_TEMPLATE_LOAD_WARN_NON_UTF");
echo EndNote();
?></td>
	</tr>
	<tr>
		<td><?echo GetMessage("MAIN_TEMPLATE_LOAD_ID")?></td>
		<td><input type="text" name="ID" Id="ID" size="20" maxlength="255" value="<? echo $str_ID?>"></td>
	</tr>
	<tr>
		<td><?echo GetMessage("MAIN_TEMPLATE_LOAD_SITE_ID")?></td>
		<td><?php 
echo CSite::SelectBox("SITE_ID", $str_SITE_ID, GetMessage("MAIN_TEMPLATE_LOAD_SITE_ID_N"));
?>
</td>
	</tr>
	<tr>
		<td><?echo GetMessage("MAIN_TEMPLATE_LOAD_GOTO_EDIT")?></td>
		<td><input type="checkbox" name="goto_edit" value="Y"></td>
	</tr>
<?
$tabControl->Buttons();
?>
	<input type="hidden" name="action" value="import">
	<input <?if(!$isAdmin) echo "disabled" ?> type="submit" name="import" value="<?echo GetMessage("MAIN_TEMPLATE_LOAD_SUBMIT")?>" class="adm-btn-save">
<?
$tabControl->End();
?>
Exemplo n.º 10
0
?">
		<?php 
$arFindFields = array(GetMessage("STORE_SITE_ID"));
$entityId = "CAT_STORE";
$USER_FIELD_MANAGER->AddFindFields($entityId, $arFindFields);
$oFilter = new CAdminFilter($sTableID . "_filter", $arFindFields);
$oFilter->Begin();
?>
		<tr>
			<td><?php 
echo GetMessage("STORE_SITE_ID");
?>
:</td>
			<td>
				<?php 
echo CSite::SelectBox("filter_site_id", $filter_site_id, "(" . GetMessage("STORE_SITE_ID") . ")");
?>
			</td>
		</tr>
		<?php 
$USER_FIELD_MANAGER->AdminListShowFilter($entityId);
?>
		<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage(), "form" => "find_form"));
$oFilter->End();
?>
	</form>


<?php 
$lAdmin->DisplayList();
Exemplo n.º 11
0
				for (var i = 0; i < arSitesArray.length; i++)
				{
					if (arSitesArray[i] == val)
					{
						currency = arCurrenciesArray[i];
						break;
					}
				}

				document.getElementById('DIV_PAID_SUM_CURRENCY').innerHTML = currency;
				document.getElementById('DIV_PENDING_SUM_CURRENCY').innerHTML = currency;
			}
			//-->
			</script>
			<?php 
echo CSite::SelectBox("SITE_ID", $str_SITE_ID, "", "OnChangeSite(this[this.selectedIndex].value)");
?>
		</td>
	</tr>
	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("SAE_USER");
?>
</td>
		<td>
			<?php 
$userName = "";
if ($str_USER_ID > 0) {
    $dbUser = CUser::GetByID($str_USER_ID);
    if ($arUser = $dbUser->Fetch()) {
        $userName = "******"tablebodylink\" title=\"" . GetMessage("SAE_PROFILE") . "\" href=\"/bitrix/admin/user_edit.php?lang=" . LANGUAGE_ID . "&ID=" . $str_USER_ID . "\">" . $str_USER_ID . "</a>] (" . htmlspecialcharsex($arUser["LOGIN"]) . ") " . htmlspecialcharsex($arUser["NAME"]) . " " . htmlspecialcharsex($arUser["LAST_NAME"]);
Exemplo n.º 12
0
		</tr>
<?
		$tabControl->EndCustomField("EXTERNAL_AUTH_ID", '<input type="hidden" name="EXTERNAL_AUTH_ID" value="'.$str_EXTERNAL_AUTH_ID.'">');

	endif;
endif;
?>
<?
if($USER->CanDoOperation('view_subordinate_users') || $USER->CanDoOperation('view_all_users')):
	$tabControl->BeginCustomField("LID", GetMessage("MAIN_DEFAULT_SITE"));
?>
	<tr>
		<td><?echo $tabControl->GetCustomLabelHTML()?></td>
		<?if(!$canSelfEdit) $dis = " disabled"?>
		<td><?php 
echo CSite::SelectBox("LID", $str_LID, "", "", "style=\"width:220px\"" . $dis);
?>
</td>
	</tr>
<?
	$tabControl->EndCustomField("LID", '<input type="hidden" name="LID" value="'.$str_LID.'">');

	$params = array('id="bx_user_info_event"');
	if(!$canSelfEdit || $str_EXTERNAL_AUTH_ID <> '')
	{
		$params[] = "disabled";
	}
	$tabControl->AddCheckBoxField("user_info_event", GetMessage('INFO_FOR_USER'), false, "Y", ($_REQUEST["user_info_event"]=="Y"), $params);
endif;

if(CTimeZone::Enabled())
Exemplo n.º 13
0
				GetMessage("CAT_DOC_TYPE"),
				GetMessage("CAT_DOC_DATE"),
				GetMessage("CAT_DOC_CONTRACTOR"),
				GetMessage("CAT_DOC_STATUS"),
			)
		);

		$oFilter->Begin();
		?>
		<tr>
			<td><?php 
echo GetMessage("CAT_DOC_SITE_ID");
?>
:</td>
			<td>
				<?echo CSite::SelectBox("filter_site_id", $filter_site_id, "(".GetMessage("CAT_DOC_SITE_ID").")"); ?>
			</td>
		</tr>
		<tr>
			<td><?php 
echo GetMessage("CAT_DOC_TYPE");
?>
:</td>
			<td>
				<select name="filter_doc_type">
					<option value=""><?php 
echo htmlspecialcharsex("(" . GetMessage("CAT_DOC_TYPE") . ")");
?>
</option>

					<?
Exemplo n.º 14
0
			"FRAME_MASK" => htmlspecialcharsbx($ar["FRAME_MASK"]),
		);
}
?>
<tr>
	<td class="adm-detail-valign-top" width="40%"><?echo GetMessage("SEC_FRAME_MASKS")?></td>
	<td width="60%">
	<table cellpadding="0" cellspacing="0" border="0" class="nopadding" width="100%" id="tbFRAME_MASKS">
		<?foreach($arMasks as $i => $arMask):?>
			<tr><td nowrap style="padding-bottom: 3px;">
				<input type="text" size="45" name="FRAME_MASKS[<?echo $i?>][MASK]" value="<?echo $arMask["FRAME_MASK"]?>">&nbsp;<?echo GetMessage("SEC_FRAME_SITE")?>&nbsp;<?echo CSite::SelectBox("FRAME_MASKS[$i][SITE_ID]", $arMask["SITE_ID"], GetMessage("MAIN_ALL"), "");?><br>
			</td></tr>
		<?endforeach;?>
		<?if(!$bVarsFromForm):?>
			<tr><td nowrap style="padding-bottom: 3px;">
				<input type="text" size="45" name="FRAME_MASKS[n0][MASK]" value="">&nbsp;<?echo GetMessage("SEC_FRAME_SITE")?>&nbsp;<?echo CSite::SelectBox("FRAME_MASKS[n0][SITE_ID]", "", GetMessage("MAIN_ALL"), "");?><br>
			</td></tr>
		<?endif;?>
			<tr><td>
				<br><input type="button" value="<?echo GetMessage("SEC_FRAME_ADD")?>" onClick="addNewRow('tbFRAME_MASKS')">
			</td></tr>
		</table>
	</td>
</tr>
<?
$tabControl->Buttons(
	array(
		"disabled"=>(!$canWrite),
		"back_url"=>$_GET["return_url"]? $_GET["return_url"]: "security_iprule_list.php?lang=".LANG,
	)
);
Exemplo n.º 15
0
?>
" size="47"><?php 
echo ShowExactMatchCheckbox("find_modified_user_id");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("FLOW_LIST_SITE");
?>
:</td>
	<td><?php 
echo CSite::SelectBox("find_site_id", $find_site_id, GetMessage("FLOW_LIST_SITE_ALL"));
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("FLOW_F_FILENAME");
?>
:</td>
	<td><input type="text" name="find_filename" value="<?php 
echo htmlspecialcharsbx($find_filename);
?>
" size="47"><?php 
echo ShowExactMatchCheckbox("find_filename");
?>
&nbsp;<?php