?>
</td>
			<td width="78%" class="vtable">
				<input name="descr" type="text" class="formfld unknown" id="descr" size="52" maxlength="52" value="<?php 
echo htmlspecialchars($pconfig['descr']);
?>
" />
				<br />
				<span class="vexpl"><?php 
echo gettext("You may enter a description here for your reference.");
?>
</span>
			</td>
		</tr>
<?php 
if (!isset($id) || !($a_filter[$id] && firewall_check_for_advanced_options($a_filter[$id]) != "")) {
    ?>
		<tr>
			<td width="22%" valign="top">&nbsp;</td>
			<td width="78%">
				&nbsp;<br />&nbsp;
				<input name="Submit" type="submit" class="formbtn" value="<?php 
    echo gettext("Save");
    ?>
" />
				<input type="button" class="formbtn" value="<?php 
    echo gettext("Cancel");
    ?>
" onclick="window.location.href='<?php 
    echo $referer;
    ?>
Esempio n. 2
0
        echo $i;
        ?>
">
								<i class="fa fa-<?php 
        echo $iconfn;
        ?>
" title="<?php 
        echo gettext("click to toggle enabled/disabled status");
        ?>
"></i>
							</a>
	<?php 
        if ($filterent['quick'] == 'yes') {
            print '<i class="fa fa-forward text-success" title="' . gettext("&quot;Quick&quot; rule. Applied immediately on match.") . '" style="cursor: pointer;"></i>';
        }
        $isadvset = firewall_check_for_advanced_options($filterent);
        if ($isadvset) {
            print '<i class="fa fa-cog" title="' . gettext("advanced setting") . ': ' . $isadvset . '"></i>';
        }
        if (isset($filterent['log'])) {
            print '<i class="fa fa-tasks" title="' . gettext("traffic is logged") . '" style="cursor: pointer;"></i>';
        }
        ?>
						</td>
	<?php 
        $alias = rule_columns_with_alias($filterent['source']['address'], pprint_port($filterent['source']['port']), $filterent['destination']['address'], pprint_port($filterent['destination']['port']));
        //build Schedule popup box
        $a_schedules =& $config['schedules']['schedule'];
        $schedule_span_begin = "";
        $schedule_span_end = "";
        $sched_caption_escaped = "";