Exemplo n.º 1
0
            ?>
">
					<div class="sf-box select">
						<label for="fld<?php 
            echo ++$forum_page['fld_count'];
            ?>
"><span><?php 
            echo $lang_om_warnings['Instant restriction'];
            ?>
</span></label><br />
						<span class="fld-input"><select id="fld<?php 
            echo $forum_page['fld_count'];
            ?>
" name="restriction">
<?php 
            $restrictions = om_warnings_get_restrictions(true);
            foreach ($restrictions as $restriction => $label) {
                $selected = $cur_warning['restriction'] == $restriction ? ' selected="selected"' : '';
                echo "\t\t\t\t\t\t\t" . '<option value="' . $restriction . '"' . $selected . '>' . forum_htmlencode($label) . '</option>' . "\n";
            }
            ?>
						</select></span>
					</div>
				</div>
<?php 
            ($hook = get_hook('om_warnings_pre_add_level_fieldset_end')) ? eval($hook) : null;
            ?>
			</fieldset>
<?php 
            ($hook = get_hook('om_warnings_add_level_fieldset_end')) ? eval($hook) : null;
            ?>
Exemplo n.º 2
0
?>
">
					<div class="sf-box select">
						<label for="fld<?php 
echo ++$forum_page['fld_count'];
?>
"><span><?php 
echo $lang_om_warnings['Restriction'];
?>
</span></label><br />
						<span class="fld-input"><select id="fld<?php 
echo $forum_page['fld_count'];
?>
" name="restriction">
<?php 
$restrictions = om_warnings_get_restrictions();
foreach ($restrictions as $restriction => $label) {
    echo "\t\t\t\t\t\t\t" . '<option value="' . $restriction . '">' . forum_htmlencode($label) . '</option>' . "\n";
}
?>
						</select></span>
					</div>
				</div>
<?php 
($hook = get_hook('om_warnings_pre_new_level_points')) ? eval($hook) : null;
?>
				<div class="sf-set set<?php 
echo ++$forum_page['item_count'];
?>
">
					<div class="sf-box text">