本文整理汇总了PHP中InputTags函数的典型用法代码示例。如果您正苦于以下问题:PHP InputTags函数的具体用法?PHP InputTags怎么用?PHP InputTags使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了InputTags函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GetMessage
<tr>
<td><?echo GetMessage("IBLIST_A_F_DESC")?>:</td>
<td><input type="text" name="find_intext" value="<?echo htmlspecialcharsex($find_intext)?>" size="30"> <?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: GetMessage
<td><?php
echo GetMessage("PAGE_NEW_TAGS_NAME");
?>
</td>
<td id="bx_page_tags"> </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: GetMessage
'<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();
示例4: GetMessage
echo GetMessage("PAGE_PROP_TAGS_NAME");
?>
</td>
<td id="bx_page_tags"> </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)
{
示例5: htmlspecialcharsbx
" 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))) {