本文整理汇总了PHP中twig_safe_filter函数的典型用法代码示例。如果您正苦于以下问题:PHP twig_safe_filter函数的具体用法?PHP twig_safe_filter怎么用?PHP twig_safe_filter使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了twig_safe_filter函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: display
public function display(array $context)
{
// line 1
echo "<div style=\"padding:0px 0px 5px 10px\" class=\"Text\">";
echo twig_safe_filter((isset($context['HelpText']) ? $context['HelpText'] : null));
echo "</div>
<table width=\"100%\" class=\"Panel\">
<tr style=\"";
// line 3
echo twig_safe_filter((isset($context['HideHeaderRow']) ? $context['HideHeaderRow'] : null));
echo "\">
\t<td class=\"Heading2\" colspan=\"2\">";
// line 4
echo twig_safe_filter((isset($context['ShipperId']) ? $context['ShipperId'] : null));
echo " ";
echo getLang("Settings");
echo "</td>
</tr>
";
// line 6
echo twig_safe_filter((isset($context['Properties']) ? $context['Properties'] : null));
echo "
</table>
";
}
示例2: display
public function display(array $context)
{
// line 1
echo "<li id=\"";
echo twig_safe_filter((isset($context['MenuTabId']) ? $context['MenuTabId'] : null));
echo "\" class=\"";
echo twig_safe_filter((isset($context['MenuActive']) ? $context['MenuActive'] : null));
echo "\">
<a class=\"TopMenuItem\" href=\"";
// line 2
echo twig_safe_filter((isset($context['MenuURL']) ? $context['MenuURL'] : null));
echo "\">
<span class=\"CornerLeft\"></span>
<span class=\"MenuImage ";
// line 4
echo twig_safe_filter((isset($context['MenuTabId']) ? $context['MenuTabId'] : null));
echo "\"></span>
<span class=\"MenuText\">";
// line 5
echo twig_safe_filter((isset($context['MenuName']) ? $context['MenuName'] : null));
echo "</span>
<span class=\"Arrow\"></span>
<span class=\"CornerRight\"></span>
</a>
";
// line 10
echo twig_safe_filter((isset($context['SubMenuList']) ? $context['SubMenuList'] : null));
echo "
</li>";
}
示例3: display
public function display(array $context)
{
// line 1
echo "\t\t\t\t\t<tr>
t\t\t\t\t<td class=\"FieldLabel\">
t\t\t\t\t\t ";
// line 3
echo twig_safe_filter((isset($context['CustomFieldLabel']) ? $context['CustomFieldLabel'] : null));
echo ":
t\t\t\t\t</td>
t\t\t\t\t<td>
t\t\t\t\t\t<input type=\"text\" id=\"customFieldName[";
// line 6
echo twig_safe_filter((isset($context['CustomFieldKey']) ? $context['CustomFieldKey'] : null));
echo "]\" name=\"customFieldName[";
echo twig_safe_filter((isset($context['CustomFieldKey']) ? $context['CustomFieldKey'] : null));
echo "]\" class=\"Field200\" value=\"";
echo twig_safe_filter((isset($context['CustomFieldName']) ? $context['CustomFieldName'] : null));
echo "\">
t\t\t\t\t\t<input type=\"text\" id=\"customFieldValue[";
// line 7
echo twig_safe_filter((isset($context['CustomFieldKey']) ? $context['CustomFieldKey'] : null));
echo "]\" name=\"customFieldValue[";
echo twig_safe_filter((isset($context['CustomFieldKey']) ? $context['CustomFieldKey'] : null));
echo "]\" class=\"Field200\" value=\"";
echo twig_safe_filter((isset($context['CustomFieldValue']) ? $context['CustomFieldValue'] : null));
echo "\">
t\t\t\t\t\t<a href=\"#\" onclick=\"return AddCustomField()\"><img src=\"images/addicon.gif\" alt=\"Add\" border=\"0\" /></a>
t\t\t\t\t\t<a href=\"#\" onclick=\"return DelCustomField(this.parentNode.parentNode)\" style=\"display: ";
// line 9
echo twig_safe_filter((isset($context['HideCustomFieldDelete']) ? $context['HideCustomFieldDelete'] : null));
echo ";\"><img src=\"images/delicon.gif\" alt=\"Del\" border=\"0\" /></a>
t\t\t\t\t</td>
t\t\t\t</tr>";
}
示例4: display
public function display(array $context)
{
// line 1
echo "<table class=\"GridPanel SortableGrid\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" id=\"IndexGrid\" style=\"width:100%; margin-top:10px\">
\t<tr>
\t\t<td colspan=\"";
// line 3
echo twig_safe_filter((isset($context['ColSpan']) ? $context['ColSpan'] : null));
echo "\">
\t\t\t<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"width: 100%;\">
\t\t\t\t<td nowrap=\"nowrap\" style=\"padding-bottom: 10px; padding-left: 10px;\">
\t\t\t\t\t";
// line 6
echo twig_safe_filter((isset($context['DataSummary']) ? $context['DataSummary'] : null));
echo "
\t\t\t\t</td>
\t\t\t\t<td align=\"right\" class=\"PagingNav\" style=\"padding:6px 0px 6px 0px; width: 100%;\">
\t\t\t\t\t";
// line 9
echo twig_safe_filter((isset($context['Nav']) ? $context['Nav'] : null));
echo "
\t\t\t\t</td>
\t\t\t</table>
\t\t</td>
\t</tr>
\t";
// line 14
echo twig_safe_filter((isset($context['GridData']) ? $context['GridData'] : null));
echo "
</table>";
}
示例5: display
public function display(array $context)
{
// line 1
echo "<div class=\"formRow\">
\t<label>
\t\t<span class=\"Required FormFieldRequired\" style=\"visibility: ";
// line 3
echo twig_safe_filter((isset($context['FormFieldRequiredVisable']) ? $context['FormFieldRequiredVisable'] : null));
echo "\">*</span>
\t\t<span class=\"FormFieldLabel\">";
// line 4
echo twig_safe_filter((isset($context['FormFieldLabel']) ? $context['FormFieldLabel'] : null));
echo "</span>
\t</label>
\t<div class=\"value\">
\t\t";
// line 7
echo twig_safe_filter((isset($context['FormFieldExtraHidden']) ? $context['FormFieldExtraHidden'] : null));
echo "
\t\t";
// line 8
echo twig_safe_filter((isset($context['FormFieldFieldData']) ? $context['FormFieldFieldData'] : null));
echo "
\t</div>
</div>";
}
示例6: display
public function display(array $context)
{
// line 1
echo "\t\t\t<table class=\"GridPanel SortableGrid\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" id=\"IndexGrid\" style=\"width:100%;\">
t\t<tr class=\"Heading3\">
t\t\t<td align=\"center\"><input type=\"checkbox\" onclick=\"ToggleDeleteBoxes(this.checked)\"></td>
t\t\t<td> </td>
t\t\t<td>
t\t\t\t";
// line 6
echo getLang("BannerName");
echo "
t\t\t\t";
// line 7
echo twig_safe_filter((isset($context['SortLinksName']) ? $context['SortLinksName'] : null));
echo "
t\t\t</td>
t\t\t<td>
t\t\t\t";
// line 10
echo getLang("BannerLocation");
echo "
t\t\t\t";
// line 11
echo twig_safe_filter((isset($context['SortLinksLocation']) ? $context['SortLinksLocation'] : null));
echo "
t\t\t</td>
t\t\t<td>
t\t\t\t";
// line 14
echo getLang("DateCreated");
echo "
t\t\t\t";
// line 15
echo twig_safe_filter((isset($context['SortLinksDate']) ? $context['SortLinksDate'] : null));
echo "
t\t\t</td>
t\t\t<td style=\"width:70px;\">
t\t\t\t";
// line 18
echo getLang("Visible");
echo "
t\t\t\t";
// line 19
echo twig_safe_filter((isset($context['SortLinksStatus']) ? $context['SortLinksStatus'] : null));
echo "
t\t\t</td>
t\t\t<td style=\"width:80px;\">
t\t\t\t";
// line 22
echo getLang("Action");
echo "\t\t\t\t</td>
t\t</tr>
t\t";
// line 25
echo twig_safe_filter((isset($context['BannerGrid']) ? $context['BannerGrid'] : null));
echo "
t</table>";
}
示例7: display
public function display(array $context)
{
// line 1
echo "<tr class=\"";
echo twig_safe_filter((isset($context['ZoneClass']) ? $context['ZoneClass'] : null));
echo "\" onmouseover=\"\$(this).addClass('";
echo twig_safe_filter((isset($context['ZoneClass']) ? $context['ZoneClass'] : null));
echo "Over');\" onmouseout=\"\$(this).removeClass('";
echo twig_safe_filter((isset($context['ZoneClass']) ? $context['ZoneClass'] : null));
echo "Over');\">
\t<td style=\"text-align: center;\"><input type=\"checkbox\" class=\"check\" ";
// line 2
echo twig_safe_filter((isset($context['ZoneDeleteCheckbox']) ? $context['ZoneDeleteCheckbox'] : null));
echo " name=\"zones[]\" value=\"";
echo twig_safe_filter((isset($context['ZoneId']) ? $context['ZoneId'] : null));
echo "\" /></td>
\t<td><img src=\"images/zone.gif\" alt=\"\" /></td>
\t<td>";
// line 4
echo twig_safe_filter((isset($context['ZoneName']) ? $context['ZoneName'] : null));
echo "</td>
\t<td>";
// line 5
echo twig_safe_filter((isset($context['ZoneType']) ? $context['ZoneType'] : null));
echo "</td>
\t<td style=\"text-align: center;\">";
// line 6
echo twig_safe_filter((isset($context['ZoneStatus']) ? $context['ZoneStatus'] : null));
echo "</td>
\t<td>
\t\t<a href=\"index.php?ToDo=editShippingZone&zoneId=";
// line 8
echo twig_safe_filter((isset($context['ZoneId']) ? $context['ZoneId'] : null));
echo "\">";
echo getLang("EditSettings");
echo "</a>
\t\t<a href=\"index.php?ToDo=editShippingZone&zoneId=";
// line 9
echo twig_safe_filter((isset($context['ZoneId']) ? $context['ZoneId'] : null));
echo "&currentTab=1\">";
echo getLang("EditMethods");
echo "</a>
\t\t<a href=\"index.php?ToDo=copyShippingZone&zoneId=";
// line 10
echo twig_safe_filter((isset($context['ZoneId']) ? $context['ZoneId'] : null));
echo "\">";
echo getLang("Copy");
echo "</a>
\t\t<a href=\"index.php?ToDo=deleteShippingZones&zones[]=";
// line 11
echo twig_safe_filter((isset($context['ZoneId']) ? $context['ZoneId'] : null));
echo "\" onclick=\"return ConfirmDeleteZone();\" style=\"";
echo twig_safe_filter((isset($context['HideDeleteZone']) ? $context['HideDeleteZone'] : null));
echo "\">";
echo getLang("Delete");
echo "</a>
\t</td>
</tr>";
}
示例8: display
public function display(array $context)
{
// line 1
echo "<input type=\"text\" ";
echo twig_safe_filter((isset($context['FormFieldDefaultArgs']) ? $context['FormFieldDefaultArgs'] : null));
echo " value=\"";
echo twig_safe_filter((isset($context['FormFieldValue']) ? $context['FormFieldValue'] : null));
echo "\" />";
}
示例9: display
public function display(array $context)
{
// line 1
echo "<tr class=\"GridRow\" onmouseover=\"this.className='GridRowOver'\" onmouseout=\"this.className='GridRow'\" id=\"CustomerAddress";
echo twig_safe_filter((isset($context['AddressId']) ? $context['AddressId'] : null));
echo "\">
\t<td width=\"20\" align=\"center\">
\t\t<input type=\"checkbox\" name=\"addresses[]\" value=\"";
// line 3
echo twig_safe_filter((isset($context['AddressId']) ? $context['AddressId'] : null));
echo "\" /><input type=\"hidden\" name=\"addressDisplayStatus[]\" value=\"display\" />
\t</td>
\t<td style=\"width:15%;\">
\t\t";
// line 6
echo twig_safe_filter((isset($context['FullName']) ? $context['FullName'] : null));
echo "
\t</td>
\t<td style=\"width:10%;\">
\t\t";
// line 9
echo twig_safe_filter((isset($context['Phone']) ? $context['Phone'] : null));
echo "
\t</td>
\t<td style=\"width:55%;\">
\t\t";
// line 12
echo twig_safe_filter((isset($context['StreetAddress']) ? $context['StreetAddress'] : null));
echo "<br />
\t\t";
// line 13
echo twig_safe_filter((isset($context['City']) ? $context['City'] : null));
echo ", ";
echo twig_safe_filter((isset($context['State']) ? $context['State'] : null));
echo " ";
echo twig_safe_filter((isset($context['PostCode']) ? $context['PostCode'] : null));
echo "<br />
\t\t";
// line 14
echo twig_safe_filter((isset($context['Country']) ? $context['Country'] : null));
echo " ";
echo twig_safe_filter((isset($context['CountryImg']) ? $context['CountryImg'] : null));
echo "
\t</td>
\t<td>
\t\t";
// line 17
echo twig_safe_filter((isset($context['EditCustomerLink']) ? $context['EditCustomerLink'] : null));
echo "
\t\t";
// line 18
echo twig_safe_filter((isset($context['DeleteCustomerLink']) ? $context['DeleteCustomerLink'] : null));
echo "
\t</td>
</tr>";
}
示例10: display
public function display(array $context)
{
// line 1
echo "\t<tr class=\"";
echo twig_safe_filter((isset($context['ClassName']) ? $context['ClassName'] : null));
echo "\" onmouseover=\"this.className='";
echo twig_safe_filter((isset($context['ClassName']) ? $context['ClassName'] : null));
echo "Over'\" onmouseout=\"this.className='";
echo twig_safe_filter((isset($context['ClassName']) ? $context['ClassName'] : null));
echo "'\">
\t\t<td width=\"20\" align=\"center\">
\t\t\t<input type=\"checkbox\" name=\"currencies[]\" value=\"";
// line 3
echo twig_safe_filter((isset($context['CurrencyId']) ? $context['CurrencyId'] : null));
echo "\" ";
echo twig_safe_filter((isset($context['DeleteStatus']) ? $context['DeleteStatus'] : null));
echo "/>
\t\t</td>
\t\t<td align=\"center\" style=\"width:18px;\">
\t\t\t<img src='images/tax.gif' />
\t\t</td>
\t\t<td>
\t\t\t";
// line 9
echo twig_safe_filter((isset($context['CurrencyName']) ? $context['CurrencyName'] : null));
echo "
\t\t</td>
\t\t<td>
\t\t\t";
// line 12
echo twig_safe_filter((isset($context['CurrencyCode']) ? $context['CurrencyCode'] : null));
echo "
\t\t</td>
\t\t<td>
\t\t\t<div id=\"currencyexchangerate-";
// line 15
echo twig_safe_filter((isset($context['CurrencyId']) ? $context['CurrencyId'] : null));
echo "\">";
echo twig_safe_filter((isset($context['CurrencyRate']) ? $context['CurrencyRate'] : null));
echo "</div>
\t\t</td>
\t\t<td align=\"center\">
\t\t\t";
// line 18
echo twig_safe_filter((isset($context['Status']) ? $context['Status'] : null));
echo "
\t\t</td>
\t\t<td>
\t\t\t";
// line 21
echo twig_safe_filter((isset($context['CurrencyLinks']) ? $context['CurrencyLinks'] : null));
echo "
\t\t</td>
\t</tr>
";
}
示例11: display
public function display(array $context)
{
// line 1
echo "<tr class=\"GridRow\" onmouseover=\"this.className='GridRowOver'\" onmouseout=\"this.className='GridRow'\">
\t";
// line 2
echo twig_safe_filter((isset($context['RowData']) ? $context['RowData'] : null));
echo "
</tr>";
}
示例12: display
public function display(array $context)
{
// line 1
echo "\t\t\t<table class=\"GridPanel SortableGrid\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" id=\"IndexGrid\" style=\"width:100%;\">
t\t\t<tr align=\"right\">
t\t\t\t<td colspan=\"9\" class=\"PagingNav\" style=\"padding:6px 0px 6px 0px\">
t\t\t\t\t";
// line 4
echo twig_safe_filter((isset($context['Nav']) ? $context['Nav'] : null));
echo "
t\t\t\t</td>
t\t\t</tr>
t\t<tr class=\"Heading3\">
t\t\t<td align=\"center\"><input type=\"checkbox\" onclick=\"ToggleDeleteBoxes(this.checked)\"></td>
t\t\t<td> </td>
t\t\t<td>
t\t\t\t";
// line 11
echo getLang("BrandName");
echo "
t\t\t\t";
// line 12
echo twig_safe_filter((isset($context['SortLinksBrand']) ? $context['SortLinksBrand'] : null));
echo "
t\t\t</td>
t\t\t<td>
t\t\t\t";
// line 15
echo getLang("Products");
echo "
t\t\t\t";
// line 16
echo twig_safe_filter((isset($context['SortLinksProducts']) ? $context['SortLinksProducts'] : null));
echo "
t\t\t</td>
t\t\t<td style=\"width:100px;\">
t\t\t\t";
// line 19
echo getLang("Action");
echo "\t\t\t\t</td>
t\t</tr>
t\t";
// line 22
echo twig_safe_filter((isset($context['BrandGrid']) ? $context['BrandGrid'] : null));
echo "
t\t<tr align=\"right\">
t\t\t<td colspan=\"9\" class=\"PagingNav\" style=\"padding:6px 0px 6px 0px\">
t\t\t\t";
// line 25
echo twig_safe_filter((isset($context['Nav']) ? $context['Nav'] : null));
echo "
t\t\t</td>
t\t</tr>
t</table>";
}
示例13: display
public function display(array $context)
{
// line 1
echo "<select ";
echo twig_safe_filter((isset($context['FormFieldDefaultArgs']) ? $context['FormFieldDefaultArgs'] : null));
echo " size=\"1\">
\t";
// line 2
echo twig_safe_filter((isset($context['FormFieldOptions']) ? $context['FormFieldOptions'] : null));
echo "
</select>";
}
示例14: display
public function display(array $context)
{
// line 1
echo "<tr class=\"GridRow ";
echo twig_safe_filter((isset($context['ParentClass']) ? $context['ParentClass'] : null));
echo "\" id=\"";
echo twig_safe_filter((isset($context['RowId']) ? $context['RowId'] : null));
echo "\">
\t<td style=\"";
// line 2
echo twig_safe_filter((isset($context['NestingIndent']) ? $context['NestingIndent'] : null));
echo "\">
\t\t<a href=\"#\" style=\"outline: none\" onclick=\"this.blur(); EmailTemplates.ExpandDirectory('";
// line 3
echo twig_safe_filter((isset($context['RowId']) ? $context['RowId'] : null));
echo "', '";
echo twig_safe_filter((isset($context['RelativePath']) ? $context['RelativePath'] : null));
echo "'); return false\">
\t\t\t<img src=\"images/plus.gif\" class=\"ExpandImg\" style=\"vertical-align: bottom\" border=\"0\" alt=\"\" />
\t\t</a>
\t\t<img src=\"images/folder.gif\" style=\"vertical-align: bottom; padding-right: 4px\" alt=\"\" />
\t\t";
// line 7
echo twig_safe_filter((isset($context['FileName']) ? $context['FileName'] : null));
echo "
\t</td>
\t<td>";
// line 9
echo twig_safe_filter((isset($context['FileSize']) ? $context['FileSize'] : null));
echo "</td>
\t<td>";
// line 10
echo twig_safe_filter((isset($context['FileDate']) ? $context['FileDate'] : null));
echo "</td>
\t<td> </td>
</tr>
<tr class=\"GridRow\" id=\"Indicator_";
// line 13
echo twig_safe_filter((isset($context['RowId']) ? $context['RowId'] : null));
echo "\" style=\"display: none;\">
\t<td style=\"height: 20px; ";
// line 14
echo twig_safe_filter((isset($context['NestingIndent']) ? $context['NestingIndent'] : null));
echo "\" colspan=\"4\">
\t\t<img src=\"images/ajax-loader.gif\" alt=\"\" style=\"padding-left: 25px; vertical-align: bottom; padding-right: 4px;\" />
\t\t";
// line 16
echo getLang("LoadingPleaseWait");
echo "\t</td>
</tr>";
}
示例15: display
public function display(array $context)
{
// line 1
echo "<input type=\"password\" autocomplete=\"off\" ";
echo twig_safe_filter((isset($context['FormFieldDefaultArgs']) ? $context['FormFieldDefaultArgs'] : null));
echo " value=\"\" />
<div class=\"LittleNotePassword\" style=\"display: ";
// line 2
echo twig_safe_filter((isset($context['FormFieldHidePasswordMsg']) ? $context['FormFieldHidePasswordMsg'] : null));
echo "\">(";
echo getLang("CustomFieldsPasswordMsg");
echo ")</div>
";
}