当前位置: 首页>>代码示例>>PHP>>正文


PHP pprint_address函数代码示例

本文整理汇总了PHP中pprint_address函数的典型用法代码示例。如果您正苦于以下问题:PHP pprint_address函数的具体用法?PHP pprint_address怎么用?PHP pprint_address使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了pprint_address函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: pprint_address

    echo $i;
    ?>
';">
						<?php 
    echo $source_net . $textse;
    ?>
										</td>
										<td class="listr"  id="frd<?php 
    echo $i;
    ?>
" ondblclick="document.location='firewall_nat_1to1_edit.php?id=<?php 
    echo $i;
    ?>
';">
						<?php 
    echo pprint_address($natent['destination']);
    ?>
										</td>
										<td class="listbg"  ondblclick="document.location='firewall_nat_1to1_edit.php?id=<?php 
    echo $i;
    ?>
';">
						<?php 
    echo htmlspecialchars($natent['descr']) . '&nbsp;';
    ?>
										</td>
										<td class="list nowrap" valign="middle">
											<button  name="move_<?php 
    echo $i;
    ?>
_x"
开发者ID:Toudix,项目名称:core,代码行数:31,代码来源:firewall_nat_1to1.php

示例2: pprint_address

						</td>
						<td>
<?php 
    $source_net = pprint_address($natent['source']);
    $source_cidr = strstr($source_net, '/');
    echo $textss . $natent['external'] . $source_cidr . $textse;
    ?>
						</td>
						<td>
<?php 
    echo $textss . $source_net . $textse;
    ?>
						</td>
						<td>
<?php 
    echo $textss . pprint_address($natent['destination']) . $textse;
    ?>
						</td>
						<td>
<?php 
    echo $textss . htmlspecialchars($natent['descr']) . '&nbsp;' . $textse;
    ?>
						</td>

						<td>
							<a class="fa fa-pencil" title="<?php 
    echo gettext("Edit mapping");
    ?>
" href="firewall_nat_1to1_edit.php?id=<?php 
    echo $i;
    ?>
开发者ID:nwholloway,项目名称:pfsense,代码行数:31,代码来源:firewall_nat_1to1.php

示例3: gettext

" data-toggle="popover" data-trigger="hover focus" title="<?php 
            echo gettext('Alias details');
            ?>
" data-content="<?php 
            echo alias_info_popup($alias['dst']);
            ?>
" data-html="true">
									<?php 
            echo htmlspecialchars(pprint_address($filterent['destination']));
            ?>
								</a>
							<?php 
        } else {
            ?>
								<?php 
            echo htmlspecialchars(pprint_address($filterent['destination']));
            ?>
							<?php 
        }
        ?>
						</td>
						<td>
							<?php 
        if (isset($alias['dstport'])) {
            ?>
								<a href="/firewall_aliases_edit.php?id=<?php 
            echo $alias['dstport'];
            ?>
" data-toggle="popover" data-trigger="hover focus" title="<?php 
            echo gettext('Alias details');
            ?>
开发者ID:ajiwo,项目名称:pfsense,代码行数:31,代码来源:firewall_rules.php

示例4: htmlspecialchars

					<input type="hidden" name="rule[]" value="<?php 
    echo $i;
    ?>
" />
<?php 
    if (!$natent['interface']) {
        print htmlspecialchars(convert_friendly_interface_to_friendly_descr("wan"));
    } else {
        print htmlspecialchars(convert_friendly_interface_to_friendly_descr($natent['interface']));
    }
    ?>
				</td>
<?php 
    $source_net = pprint_address($natent['source']);
    $source_cidr = strstr($source_net, '/');
    $destination_net = pprint_address($natent['destination']);
    $destination_cidr = strstr($destination_net, '/');
    ?>
				<td>
					<?php 
    echo $destination_net;
    ?>
				</td>
				<td>
					<?php 
    echo $source_net;
    ?>
				</td>
				<td>
					<?php 
    echo htmlspecialchars($natent['descr']);
开发者ID:michaeleino,项目名称:pfsense,代码行数:31,代码来源:firewall_nat_npt.php

示例5: gettext

        ?>
							<a href="/firewall_aliases_edit.php?id=<?php 
        echo $alias['dst'];
        ?>
" data-toggle="popover" data-trigger="hover focus" title="<?php 
        echo gettext('Alias details');
        ?>
" data-content="<?php 
        echo alias_info_popup($alias['dst']);
        ?>
" data-html="true">
<?php 
    }
    ?>
							<?php 
    echo str_replace('_', ' ', htmlspecialchars(pprint_address($natent['destination'])));
    if (isset($alias['dst'])) {
        ?>
							</a>
<?php 
    }
    ?>
						</td>
						<td>
<?php 
    if (isset($alias['dstport'])) {
        ?>
							<a href="/firewall_aliases_edit.php?id=<?php 
        echo $alias['dstport'];
        ?>
" data-toggle="popover" data-trigger="hover focus" title="<?php 
开发者ID:curtiszimmerman,项目名称:pfsense,代码行数:31,代码来源:firewall_nat.php

示例6: htmlspecialchars

    if (!$natent['interface']) {
        echo htmlspecialchars(convert_friendly_interface_to_friendly_descr("wan"));
    } else {
        echo htmlspecialchars(convert_friendly_interface_to_friendly_descr($natent['interface']));
    }
    echo $textse;
    ?>
						</td>
						<td>
<?php 
    echo $textss . pprint_address($natent['destination']) . $textse;
    ?>
						</td>
						<td>
<?php 
    echo $textss . pprint_address($natent['source']) . $textse;
    ?>
						</td>
						<td>
<?php 
    echo $textss . htmlspecialchars($natent['descr']) . '&nbsp;' . $textse;
    ?>
						</td>
						<td>
							<a class="fa fa-pencil" title="<?php 
    echo gettext("Edit mapping");
    ?>
" href="firewall_nat_npt_edit.php?id=<?php 
    echo $i;
    ?>
"></a>
开发者ID:thiagoc,项目名称:pfsense,代码行数:31,代码来源:firewall_nat_npt.php

示例7: htmlspecialchars

    ?>
                        </a>
                      </td>
                      <td>
                          <?php 
    echo htmlspecialchars(convert_friendly_interface_to_friendly_descr(!empty($natent['interface']) ? $natent['interface'] : "wan"));
    ?>
                      </td>
                      <td>
                          <?php 
    echo pprint_address($natent['destination']);
    ?>
                      </td>
                      <td>
                          <?php 
    echo pprint_address($natent['source']);
    ?>
                      </td>
                      <td>
                          <?php 
    echo $natent['descr'];
    ?>
                      </td>
                      <td>
                        <a type="submit" id="move_<?php 
    echo $i;
    ?>
" name="move_<?php 
    echo $i;
    ?>
_x" data-toggle="tooltip" data-placement="left" title="<?php 
开发者ID:siloportem,项目名称:core,代码行数:31,代码来源:firewall_nat_npt.php


注:本文中的pprint_address函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。