<th class="category"><?php 
echo lang_get('custom_field_default_value');
?>
</th>
		</tr><?php 
$t_custom_fields = custom_field_get_ids();
foreach ($t_custom_fields as $t_field_id) {
    $t_desc = custom_field_get_definition($t_field_id);
    ?>
		<tr>
			<td>
				<a href="manage_custom_field_edit_page.php?field_id=<?php 
    echo $t_field_id;
    ?>
"><?php 
    echo custom_field_get_display_name($t_desc['name']);
    ?>
</a>
			</td>
			<td><?php 
    echo count(custom_field_get_project_ids($t_field_id));
    ?>
</td>
			<td><?php 
    echo get_enum_element('custom_field_type', $t_desc['type']);
    ?>
</td>
			<td><?php 
    echo string_display($t_desc['possible_values']);
    ?>
</td>
Example #2
0
        ?>
</th>
				<th><?php 
        echo lang_get('actions');
        ?>
</th>
			</tr>
		</thead>
		<tbody>
<?php 
        foreach ($t_custom_fields as $t_field_id) {
            $t_desc = custom_field_get_definition($t_field_id);
            ?>
			<tr>
				<td><?php 
            echo '<a href="manage_custom_field_edit_page.php?field_id=' . $t_field_id . '">' . custom_field_get_display_name($t_desc['name']) . '</a>';
            ?>
</td>
				<td class="center">
					<form method="post" action="manage_proj_custom_field_update.php">
						<fieldset>
							<?php 
            echo form_security_field('manage_proj_custom_field_update');
            ?>
							<input type="hidden" name="project_id" value="<?php 
            echo $f_project_id;
            ?>
" />
							<input type="hidden" name="field_id" value="<?php 
            echo $t_field_id;
            ?>