2011-08-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* operation/incidents/incident_detail.php: Fixed table width in this
        view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-08-24 15:44:40 +00:00
parent b02695dd95
commit 8ced383314
2 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2011-08-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/incidents/incident_detail.php: Fixed table width in this
view.
2011-08-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed the include of

View File

@ -208,7 +208,7 @@ if (isset ($id_inc)) { //If $id_inc is set (when $_GET["id"] is set, not $_GET["
echo '<form name="accion_form" method="POST" action="index.php?sec=incidencias&sec2=operation/incidents/incident&action=insert">';
}
echo '<table cellpadding="4" cellspacing="4" class="databox" width="650px">';
echo '<table cellpadding="4" cellspacing="4" class="databox" width="98%">';
echo '<tr><td class="datos"><b>'.__('Incident').'</b></td><td colspan="3" class="datos">';
if ((check_acl ($config["id_user"], $id_grupo, "IM") == 1) OR ($usuario == $config["id_user"])) {
@ -287,7 +287,7 @@ if ((check_acl ($config["id_user"], $id_grupo, "IM") == 1) OR ($usuario == $conf
html_print_textarea ("descripcion", 15, 80, $texto, 'style="height:200px;" disabled');
}
echo '</td></tr></table><div style="width: 650px; text-align:right;">';
echo '</td></tr></table><div style="width: 98%; text-align:right;">';
// Only if user is the used who opened incident or (s)he is admin
if (isset ($id_inc) AND ((check_acl ($config["id_user"], $id_grupo, "IM") == 1) OR ($usuario == $config["id_user"]))) {
@ -312,8 +312,8 @@ if (isset ($id_inc)) {
echo __('Add note');
echo '</a>';
echo '</div><div>';
echo '<form id="add_note" name="nota" method="POST" action="index.php?sec=incidencias&sec2=operation/incidents/incident_detail&insertar_nota=1&id='.$id_inc.'"><h3>'.__('Add note').'</h3>';
echo '<table cellpadding="4" cellspacing="4" class="databox" width="600px">
echo '<form id="add_note" name="nota" method="POST" action="index.php?sec=incidencias&sec2=operation/incidents/incident_detail&insertar_nota=1&id='.$id_inc.'"><h4>'.__('Add note').'</h4>';
echo '<table cellpadding="4" cellspacing="4" class="databox" width="98%">
<tr><td class="datos2"><textarea name="nota" rows="5" cols="70" style="height: 100px;"></textarea></td>
<td valign="bottom"><input name="addnote" type="submit" class="sub wand" value="'.__('Add').'"></td></tr>
</table></form></div><div>';
@ -323,7 +323,7 @@ if (isset ($id_inc)) {
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->class = "databox";
$table->width = 600;
$table->width = '98%';
$table->data = array ();
$table->head = array ();
@ -343,7 +343,7 @@ if (isset ($id_inc)) {
}
if (!empty ($table->data)) {
echo "<h3>".__('Notes attached to incident').'</h3>';
echo "<h4>".__('Notes attached to incident').'</h4>';
echo '<form method="POST" action="index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id='.$id_inc.'">';
html_print_table ($table);
echo '</form>';
@ -360,7 +360,7 @@ if (isset ($id_inc)) {
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->class = "databox";
$table->width = 650;
$table->width = '98%';
$table->head = array ();
$table->data = array ();
@ -385,7 +385,7 @@ if (isset ($id_inc)) {
}
if (!empty ($table->data)) {
echo "<h3>".__('Attached files')."</h3>";
echo "<h4>".__('Attached files')."</h4>";
echo '<form method="POST" action="index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id='.$id_inc.'">';
html_print_table ($table);
echo '</form>';
@ -407,8 +407,8 @@ if (isset ($id_inc)) {
echo '</a>';
echo '</div>';
echo '<div><form method="post" id="file_control" action="index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id='.$id_inc.'&upload_file=1" enctype="multipart/form-data"><h3>'.__('Add attachment').'</h3>';
echo '<table cellpadding="4" cellspacing="3" class="databox" width="400">
echo '<div><form method="post" id="file_control" action="index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id='.$id_inc.'&upload_file=1" enctype="multipart/form-data"><h4>'.__('Add attachment').'</h4>';
echo '<table cellpadding="4" cellspacing="3" class="databox" width="98%">
<tr><td class="datos">'.__('Filename').'</td><td class="datos"><input type="file" name="userfile" value="userfile" class="sub" size="40" /></td></tr>
<tr><td class="datos2">'.__('Description').'</td><td class="datos2" colspan="3"><input type="text" name="file_description" size="47"></td></tr>
<tr><td colspan="2" style="text-align: right;"> <input type="submit" name="upload" value="'.__('Upload').'" class="sub wand"></td></tr>