Пример #1
0
            ?>
 StyledTabbedPanel<?php 
        }
        ?>
">
		<div class="clearerleft"> </div>
		<div class="TabPanelInner">
			
		<?php 
    }
}
$tabname = "";
$tabcount = 0;
for ($n = 0; $n < count($fields); $n++) {
    # Should this field be displayed?
    if (is_field_displayed($fields[$n])) {
        if (in_array($fields[$n]['resource_type'], $hide_resource_types)) {
            continue;
        }
        $newtab = false;
        if ($n == 0 && $tabs_on_edit) {
            $newtab = true;
        }
        # draw new tab panel?
        if ($tabs_on_edit && $tabname != $fields[$n]["tab_name"] && $fieldcount > 0) {
            $tabcount++;
            # Also display the custom formatted data $extra at the bottom of this tab panel.
            ?>
<div class="clearerleft"> </div><?php 
            echo $extra;
            ?>
                   </td>
				   </tr>
				   </table>
				   </div>
				   <?php 
    }
    ?>
              
                <div class="clearerleft"> </div>
                </div><!-- End of propose_changes_field_header -->
                
                <?php 
}
for ($n = 0; $n < count($proposefields); $n++) {
    # Should this field be displayed?
    if (is_field_displayed($proposefields[$n])) {
        $fieldcount++;
        display_field($n, $proposefields[$n], false);
    }
}
?>

	<div class="QuestionSubmit">
	<input name="resetform" type="submit" value="<?php 
echo $lang["clearbutton"];
?>
" />&nbsp;
        <?php 
if ($editaccess) {
    ?>
			<input name="submitted" type="hidden" value="true" />