當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。