Example #1
0
<br />
<div>
<form method="post" enctype="multipart/form-data" action="proj_doc_add.php">
<?php 
echo form_security_field('proj_doc_add');
?>
<table class="width75" cellspacing="1">
<tr>
	<td class="form-title">
		<?php 
echo lang_get('upload_file_title');
?>
	</td>
	<td class="right">
		<?php 
print_doc_menu('proj_doc_add_page.php');
?>
	</td>
</tr>
<tr class="row-1">
	<th class="category" width="25%">
		<span class="required">*</span><?php 
echo lang_get('title');
?>
	</th>
	<td width="75%">
		<input type="text" name="title" size="70" maxlength="250" />
	</td>
</tr>
<tr class="row-2">
	<th class="category">
Example #2
0
html_page_top();
?>

<br />
<div>
<form method="post" enctype="multipart/form-data" action="proj_doc_update.php">
<?php echo form_security_field( 'proj_doc_update' ) ?>
<table class="width75" cellspacing="1">
<tr>
	<td class="form-title">
		<input type="hidden" name="file_id" value="<?php echo $f_file_id ?>" />
		<?php echo lang_get( 'upload_file_title' ) ?>
	</td>
	<td class="right">
		<?php print_doc_menu() ?>
	</td>
</tr>
<tr class="row-1">
	<th class="category" width="20%">
		<span class="required">*</span><?php echo lang_get( 'title' ) ?>
	</th>
	<td width="80%">
		<input type="text" name="title" size="70" maxlength="250" value="<?php echo $v_title ?>" />
	</td>
</tr>
<tr class="row-2">
	<th class="category">
		<?php echo lang_get( 'description' ) ?>
	</th>
	<td>
Example #3
0
echo form_security_field('proj_doc_update');
?>
<table class="width75" cellspacing="1">
<tr>
	<td class="form-title">
		<input type="hidden" name="file_id" value="<?php 
echo $f_file_id;
?>
" />
		<?php 
echo lang_get('upload_file_title');
?>
	</td>
	<td class="right">
		<?php 
print_doc_menu();
?>
	</td>
</tr>
<tr class="row-1">
	<th class="category" width="20%">
		<span class="required">*</span><?php 
echo lang_get('title');
?>
	</th>
	<td width="80%">
		<input type="text" name="title" size="70" maxlength="250" value="<?php 
echo $v_title;
?>
" />
	</td>
Example #4
0
					( ut.access_level >= $t_admin ) )
			ORDER BY pt.name ASC, pft.title ASC";
$result = db_query( $query );
$num_files = db_num_rows( $result );

html_page_top( lang_get( 'docs_link' ) );
?>
<br />
<div>
<table class="width100" cellspacing="1">
<tr>
	<td class="form-title">
		<?php echo lang_get( 'project_documentation_title' ) ?>
	</td>
	<td class="right">
		<?php print_doc_menu( 'proj_doc_page.php' ) ?>
	</td>
</tr>
<?php
for ($i=0;$i<$num_files;$i++) {
	$row = db_fetch_array( $result );
	extract( $row, EXTR_PREFIX_ALL, 'v' );
	$v_filesize = number_format( $v_filesize );
	$v_title = string_display( $v_title );
	$v_description = string_display_links( $v_description );
	$v_date_added = date( config_get( 'normal_date_format' ), $v_date_added );

?>
<tr <?php echo helper_alternate_class( $i ) ?>>
	<td>
<?php