Navigation Menu

Skip to content

Commit

Permalink
HTML/CSS fixes in proj_doc_page.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed May 20, 2014
1 parent ff20db7 commit 9586340
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions proj_doc_page.php
Expand Up @@ -111,8 +111,10 @@
html_page_top( lang_get( 'docs_link' ) );
?>
<br />
<div>
<table class="width100" cellspacing="1">
<div class="table-container">
<table>
<thead>

<tr>
<td class="form-title">
<?php echo lang_get( 'project_documentation_title' ) ?>
Expand All @@ -121,6 +123,13 @@
<?php print_doc_menu( 'proj_doc_page.php' ) ?>
</td>
</tr>

<tr class="row-category2">
<th><?php echo lang_get( 'filename' ); ?></th>
<th><?php echo lang_get( 'description' ); ?></th>
</tr>
</thead>

<?php
$i = 0;
while( $row = db_fetch_array( $t_result ) ) {
Expand All @@ -134,14 +143,15 @@
?>
<tr>
<td>
<span class="floatleft">
<?php
$t_href = '<a href="file_download.php?file_id='.$v_id.'&amp;type=doc">';
echo $t_href;
print_file_icon( $v_filename );
echo '</a>&#160;' . $t_href . $v_title . '</a> (' . $v_filesize . lang_get( 'word_separator' ) . lang_get( 'bytes' ) . ')';
?>
<br />
<span class="small">
<br />
<span class="small">
<?php
if( $v_project_id == ALL_PROJECTS ) {
echo lang_get( 'all_projects' ) . '<br/>';
Expand All @@ -151,14 +161,19 @@
echo $t_project_name . '<br/>';
}
echo '(' . $v_date_added . ')';
?>
</span>
</span>
<span class="floatright">
<?php
if ( access_has_project_level( config_get( 'upload_project_file_threshold', null, null, $v_project_id ), $v_project_id ) ) {
echo '&#160;';
print_button( 'proj_doc_edit_page.php?file_id='.$v_id, lang_get( 'edit_link' ) );
echo '&#160;';
print_button( 'proj_doc_delete.php?file_id=' . $v_id, lang_get( 'delete_link' ) );
}
?>
</span>
</span>
</td>
<td>
<?php echo $v_description ?>
Expand Down

0 comments on commit 9586340

Please sign in to comment.