コード例 #1
0
ファイル: iblock_list_admin.php プロジェクト: nycmic/bittest
	<tr>
		<td><?echo GetMessage("IBLIST_A_F_DESC")?>:</td>
		<td><input type="text" name="find_intext" value="<?echo htmlspecialcharsex($find_intext)?>" size="30">&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("IBLIST_A_TAGS");
?>
:</td>
		<td>
			<?
			if ($bSearch):
				echo InputTags("find_tags", $find_tags, $arIBlock["SITE_ID"]);
			else:
			?>
				<input type="text" name="find_tags" value="<?echo htmlspecialcharsex($find_tags)?>" size="30">
			<?endif?>
		</td>
	</tr>
	<?

function _ShowGroupPropertyFieldList($name, $property_fields, $values)
{
	if(!is_array($values)) $values = Array();

	$res = "";
	$result = "";
	$bWas = false;
コード例 #2
0
					<td><?php 
    echo GetMessage("PAGE_NEW_TAGS_NAME");
    ?>
</td>
					<td id="bx_page_tags">&nbsp;</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td class="bx-popup-label bx-width30"><?php 
    echo GetMessage("PAGE_NEW_TAGS");
    ?>
:</td>
		<td><?php 
    echo InputTags("pageTags", $pageTags, array($site), 'style="width:90%;"');
    ?>
</td>
	</tr>
<?php 
}
?>

</table>

<?php 
$jsInheritPropIds .= "];";
?>
<input type="hidden" name="save" value="Y" />
<?php 
$popupWindow->EndContent();
コード例 #3
0
" id="CODE_<?php 
                echo $i;
                ?>
" value="<?php 
                echo htmlspecialcharsbx(isset($_POST["CODE_{$i}"]) ? $_POST["CODE_{$i}"] : $arProp["CODE"]);
                ?>
" size="30">:
							<?php 
            }
            ?>
						</td>
						<td>
							<?php 
            $value_ = isset($_POST["VALUE_{$i}"]) ? $_POST["VALUE_{$i}"] : $arProp["VALUE"];
            if ($arProp["CODE"] == $tag_prop_name && $search_exist) {
                echo InputTags("VALUE_" . $i, $value_, array(), 'size="55"', "VALUE_" . $i);
            } else {
                ?>
								<input type="text" name="VALUE_<?php 
                echo $i;
                ?>
" id="VALUE_<?php 
                echo $i;
                ?>
" value="<?php 
                echo htmlspecialcharsbx($value_);
                ?>
" size="60">
							<?php 
            }
            if ($APPLICATION->GetDirProperty($arProp["CODE"], array($site, $path))) {
コード例 #4
0
 if (isset($arElementOps[$f_ID]) && isset($arElementOps[$f_ID]["element_edit_price"])) {
     if (isset($row->arRes['price']) && is_array($row->arRes['price'])) {
         foreach ($row->arRes['price'] as $price_id => $sHTML) {
             $row->AddEditField($price_id, $sHTML);
         }
     }
 }
 $row->AddCheckField("ACTIVE");
 $row->AddInputField("NAME", array('size' => '35'));
 $row->AddViewField("NAME", '<div class="iblock_menu_icon_elements"></div>' . htmlspecialcharsex($row->arRes["NAME"]));
 $row->AddInputField("SORT", array('size' => '3'));
 $row->AddInputField("CODE");
 $row->AddInputField("EXTERNAL_ID");
 if ($boolSubSearch) {
     $row->AddViewField("TAGS", htmlspecialcharsex($row->arRes["TAGS"]));
     $row->AddEditField("TAGS", InputTags("FIELDS[" . $f_ID . "][TAGS]", $row->arRes["TAGS"], $arSubIBlock["SITE_ID"]));
 } else {
     $row->AddInputField("TAGS");
 }
 if ($arWFStatus) {
     $row->AddSelectField("WF_STATUS_ID", $arWFStatus);
     if ($row->arRes['orig']['WF_NEW'] == 'Y' || $row->arRes['WF_STATUS_ID'] == '1') {
         $row->AddViewField("WF_STATUS_ID", htmlspecialcharsex($arWFStatus[$row->arRes['WF_STATUS_ID']]));
     } else {
         $row->AddViewField("WF_STATUS_ID", '<a href="' . $edit_url . '" title="' . GetMessage("IBEL_A_ED_TITLE") . '">' . htmlspecialcharsex($arWFStatus[$row->arRes['WF_STATUS_ID']]) . '</a> / <a href="' . 'iblock_element_edit.php?ID=' . $row->arRes['orig']['ID'] . (!isset($arElementOps[$f_ID]) || !isset($arElementOps[$f_ID]["element_edit_any_wf_status"]) ? '&view=Y' : '') . $sThisSectionUrl . '" title="' . GetMessage("IBEL_A_ED2_TITLE") . '">' . htmlspecialcharsex($arWFStatus[$row->arRes['orig']['WF_STATUS_ID']]) . '</a>');
     }
 }
 if (array_key_exists("PREVIEW_TEXT", $arSelectedFieldsMap)) {
     $sHTML = '<input type="radio" name="FIELDS[' . $f_ID . '][PREVIEW_TEXT_TYPE]" value="text" id="' . $f_ID . 'PREVIEWtext"';
     if ($row->arRes["PREVIEW_TEXT_TYPE"] != "html") {
         $sHTML .= ' checked';
コード例 #5
0
		'<input type="hidden" name="IPROPERTY_TEMPLATES[ELEMENT_DETAIL_PICTURE_FILE_NAME][TEMPLATE]" value="'.$str_IPROPERTY_TEMPLATES["ELEMENT_DETAIL_PICTURE_FILE_NAME"]["TEMPLATE"].'">'
	);
	?>
	<?
	$tabControl->AddSection("SEO_ADDITIONAL", GetMessage("IBLOCK_EL_TAB_MO"));
	$tabControl->BeginCustomField("TAGS", GetMessage("IBLOCK_FIELD_TAGS").":", $arIBlock["FIELDS"]["TAGS"]["IS_REQUIRED"] === "Y");
	?>
		<tr id="tr_TAGS">
			<td><?echo $tabControl->GetCustomLabelHTML()?><br><?echo GetMessage("IBLOCK_ELEMENT_EDIT_TAGS_TIP")?></td>
			<td>
				<?if(CModule::IncludeModule('search')):
					$arLID = array();
					$rsSites = CIBlock::GetSite($IBLOCK_ID);
					while($arSite = $rsSites->Fetch())
						$arLID[] = $arSite["LID"];
					echo InputTags("TAGS", htmlspecialcharsback($str_TAGS), $arLID, 'size="55"');
				else:?>
					<input type="text" size="20" name="TAGS" maxlength="255" value="<?echo $str_TAGS?>">
				<?endif?>
			</td>
		</tr>
	<?
	$tabControl->EndCustomField("TAGS",
		'<input type="hidden" name="TAGS" value="'.$str_TAGS.'">'
	);

	?>

<?if($arShowTabs['sections']):
	$tabControl->BeginNextFormTab();
コード例 #6
0
ファイル: file_property.php プロジェクト: ASDAFF/open_bx
echo GetMessage("PAGE_PROP_TAGS_NAME");
?>
</td>
					<td id="bx_page_tags">&nbsp;</td>
				</tr>
			</table>
		</td>
	</tr>

		<tr>
			<td class="bx-popup-label bx-width30"><?php 
echo GetMessage("PAGE_PROP_TAGS");
?>
:</td>
			<td><?php 
echo InputTags("TAGS", $tagPropertyValue, array($site), 'style="width:90%;"');
?>
</td>
		</tr> 
<?endif?>

</table>
<input type="hidden" name="save" value="Y" />
<?
$popupWindow->EndContent();
$popupWindow->ShowStandardButtons();
?>

<script>
window.BXBlurProperty = function(element, propertyIndex)
{
コード例 #7
0
" id="CODE_<?php 
                    echo $i;
                    ?>
" value="<?php 
                    echo htmlspecialcharsbx(isset($_POST["CODE_{$i}"]) ? $_POST["CODE_{$i}"] : $arProp["CODE"]);
                    ?>
" size="30">:
									<?php 
                }
                ?>
								</td>
								<td>
									<?php 
                $value_ = isset($_POST["VALUE_{$i}"]) ? $_POST["VALUE_{$i}"] : $arProp["VALUE"];
                if ($arProp["CODE"] == $tag_prop_name && $search_exist) {
                    echo InputTags("VALUE_" . $i, $value_, array($documentSite), 'size="55"', "VALUE_" . $i);
                } else {
                    ?>
										<input type="text" name="VALUE_<?php 
                    echo $i;
                    ?>
" id="VALUE_<?php 
                    echo $i;
                    ?>
" value="<?php 
                    echo htmlspecialcharsbx($value_);
                    ?>
" size="60">
									<?php 
                }
                if ($APPLICATION->GetDirProperty($arProp["CODE"], array($site, $path))) {