Пример #1
0
?>
" value="Y"
			<?if(COption::GetOptionString("socialservices", "send_message_to_twitter".$suffix, "N") == 'Y') echo " checked"; elseif(COption::GetOptionString("socialservices", "send_message_to_twitter".$suffix, false) === false && $suffix == '')  echo " checked";?>>
			<?php 
echo str_replace("#hash#", $twitHashInput, GetMessage("socserv_twit_to_buzz"));
?>
		</td>
	</tr>
<?
	foreach($arOptions as $option)
	{
		if(!is_array($option))
			$option = GetMessage("soc_serv_opt_settings_of", array("#SERVICE#"=>$option));
		else
			$option[0] .= $suffix;
		__AdmSettingsDrawRow($module_id, $option);
	}
?>
</table>
<?
endforeach; //foreach($arSiteList as $site)

$siteTabControl->End();
?>
</td></tr>
<?$tabControl->Buttons();?>
	<input type="hidden" name="siteTabControl_active_tab" value="<?php 
echo htmlspecialcharsbx($_REQUEST["siteTabControl_active_tab"]);
?>
">
<?if($_REQUEST["back_url_settings"] <> ''):?>
Пример #2
0
function __AdmSettingsDrawList($module_id, $arParams)
{
    foreach ($arParams as $Option) {
        __AdmSettingsDrawRow($module_id, $Option);
    }
}
Пример #3
0
function ShowParamsHTMLByArray($arParams)
{
	foreach($arParams as $Option)
	{
		if($Option[0] == "templates_visual_editor" && defined("FX_DISABLE_TEMPLATE_EDITOR") && FX_DISABLE_TEMPLATE_EDITOR == true)
			continue;
		__AdmSettingsDrawRow("main", $Option);
	}
}
Пример #4
0
function ShowParamsHTMLByArray($module_id, $arParams)
{
        foreach($arParams as $Option)
        {
                 __AdmSettingsDrawRow($module_id, $Option);
        }
}
Пример #5
0
    ?>
?mid=<?php 
    echo htmlspecialcharsbx($mid);
    ?>
&lang=<?php 
    echo LANGUAGE_ID;
    ?>
" name="wiki_settings">
<?php 
    $tabControl->BeginNextTab();
    __AdmSettingsDrawList('wiki', $arAllOptions);
    if (IsModuleInstalled('socialnetwork')) {
        $socnet_iblock_id = COption::GetOptionString($module_id, 'socnet_iblock_id');
        $socnet_enable = COption::GetOptionString($module_id, 'socnet_enable') == 'Y' && CWikiSocnet::IsEnabledSocnet() ? 'Y' : 'N';
        $tabControl->BeginNextTab();
        __AdmSettingsDrawRow('wiki', array('socnet_enable', GetMessage('WIKI_OPTIONS_SOCNET_ENABLE'), $socnet_enable, array('checkbox')));
        ?>
	<tr>
		<td><?php 
        echo GetMessage('WIKI_OPTIONS_SOCNET_IBLOCK_ID');
        ?>
</td>
		<td><?php 
        echo GetIBlockDropDownList($socnet_iblock_id, 'socnet_iblock_type_id', 'socnet_iblock_id');
        ?>
</td>
	</tr>
	<?php 
        if (IsModuleInstalled('forum')) {
            __AdmSettingsDrawList('wiki', $arForumOptions);
        }
Пример #6
0
function ShowParamsHTMLByArray($arParams)
{
    foreach ($arParams as $Option) {
        __AdmSettingsDrawRow("main", $Option);
    }
}
Пример #7
0
function ShowParamsHTMLByArray($arParams)
{
    foreach ($arParams as $Option) {
        __AdmSettingsDrawRow(ADMIN_MODULE_NAME, $Option);
    }
}
Пример #8
0
function ShowParamsHTMLByarray($arParams)
{
	global $settings_id;
        foreach($arParams as $Option)
                 __AdmSettingsDrawRow($settings_id, $Option);
}