- Traducción al castellano
- Desencriptar javascript machform.js git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_FormulariosCalidad/trunk@4 e2c41b2c-0c6f-0149-8b81-50b1a9191bb3
This commit is contained in:
parent
d57fbb3e19
commit
b1f116da50
@ -44,14 +44,14 @@
|
||||
do_query("insert into `ap_column_preferences`(form_id,element_name,position) values('{$form_id}','{$element_name}','{$position}')");
|
||||
}
|
||||
|
||||
$_SESSION['AP_SUCCESS']['title'] = 'Success';
|
||||
$_SESSION['AP_SUCCESS']['desc'] = 'Columns preference successfully saved.';
|
||||
$_SESSION['AP_SUCCESS']['title'] = 'Completado';
|
||||
$_SESSION['AP_SUCCESS']['desc'] = 'Se han guardado las preferencias de las columnas.';
|
||||
|
||||
header("Location: manage_entries.php?id={$form_id}");
|
||||
exit;
|
||||
}else{
|
||||
$_SESSION['AP_ERROR']['title'] = 'An error occured while saving';
|
||||
$_SESSION['AP_ERROR']['desc'] = 'Please select at least one column.';
|
||||
$_SESSION['AP_ERROR']['title'] = 'Ha ocurrido un error mientras se guardaban las preferencias';
|
||||
$_SESSION['AP_ERROR']['desc'] = 'Por favor, seleccione al menos una columna.';
|
||||
}
|
||||
}
|
||||
|
||||
@ -81,9 +81,9 @@
|
||||
$query = "select element_id,element_title,element_type,element_constraint from `ap_form_elements` where form_id='$form_id' and element_type != 'section' order by element_position asc";
|
||||
$result = do_query($query);
|
||||
|
||||
$column_name_lookup['date_created'] = 'Date Created';
|
||||
$column_name_lookup['date_updated'] = 'Date Updated';
|
||||
$column_name_lookup['ip_address'] = 'IP Address';
|
||||
$column_name_lookup['date_created'] = 'Fecha de alta';
|
||||
$column_name_lookup['date_updated'] = 'Fecha de modificación';
|
||||
$column_name_lookup['ip_address'] = 'Dirección IP';
|
||||
|
||||
while($row = do_fetch_result($result)){
|
||||
$element_type = $row['element_type'];
|
||||
@ -97,12 +97,12 @@
|
||||
$row['element_title'] = htmlspecialchars($row['element_title']);
|
||||
|
||||
if('address' == $element_type){ //address has 6 fields
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Street Address';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = 'Address Line 2';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_3'] = 'City';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_4'] = 'State/Province/Region';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_5'] = 'Zip/Postal Code';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_6'] = 'Country';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Dirección';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = 'Dirección (línea 2)';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_3'] = 'Ciudad';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_4'] = 'Provincia/Región/Estado';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_5'] = 'Codigo postal';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_6'] = 'País';
|
||||
|
||||
$column_type_lookup['element_'.$row['element_id'].'_1'] = $row['element_type'];
|
||||
$column_type_lookup['element_'.$row['element_id'].'_2'] = $row['element_type'];
|
||||
@ -112,17 +112,17 @@
|
||||
$column_type_lookup['element_'.$row['element_id'].'_6'] = $row['element_type'];
|
||||
|
||||
}elseif ('simple_name' == $element_type){ //simple name has 2 fields
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - First';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = $row['element_title'].' - Last';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Primer nombre';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = $row['element_title'].' - Segundo nombre';
|
||||
|
||||
$column_type_lookup['element_'.$row['element_id'].'_1'] = $row['element_type'];
|
||||
$column_type_lookup['element_'.$row['element_id'].'_2'] = $row['element_type'];
|
||||
|
||||
}elseif ('name' == $element_type){ //name has 4 fields
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Title';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = $row['element_title'].' - First';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_3'] = $row['element_title'].' - Last';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_4'] = $row['element_title'].' - Suffix';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Título';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = $row['element_title'].' - Primer nombre';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_3'] = $row['element_title'].' - Segundo nombre';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_4'] = $row['element_title'].' - Sufijo';
|
||||
|
||||
$column_type_lookup['element_'.$row['element_id'].'_1'] = $row['element_type'];
|
||||
$column_type_lookup['element_'.$row['element_id'].'_2'] = $row['element_type'];
|
||||
@ -220,8 +220,8 @@ EOT;
|
||||
<div id="form_manager">
|
||||
<?php show_message(); ?>
|
||||
<div class="info">
|
||||
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> <a class="breadcrumb" href="manage_entries.php?id=<?php echo $form_id; ?>">Entries</a> <img src="images/icons/resultset_next.gif" align="bottom" /> Choose Columns</h2>
|
||||
<p>Specify which columns are displayed in Entries table</p>
|
||||
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> <a class="breadcrumb" href="manage_entries.php?id=<?php echo $form_id; ?>">Respuestas</a> <img src="images/icons/resultset_next.gif" align="bottom" /> Seleccionar columnas</h2>
|
||||
<p>Indique las columnas que se visualizarán en la lista de respuestas</p>
|
||||
</div>
|
||||
|
||||
|
||||
@ -232,7 +232,7 @@ EOT;
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" style="border-right: none" class="cp_checkbox"><input type="checkbox" id="col_select" name="col_select" value="1" onclick="toggle_select()" /></th>
|
||||
<th scope="col" style="border-right: none">Choose columns to be displayed:</th>
|
||||
<th scope="col" style="border-right: none">Seleccione las columnas a visualizar:</th>
|
||||
<th scope="col" class="cp_small"> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -273,7 +273,7 @@ EOT;
|
||||
</table><br />
|
||||
<input type="hidden" name="id" value="<?php echo $form_id; ?>" />
|
||||
<input type="hidden" name="total_col" value="<?php echo --$i; ?>" />
|
||||
<input id="saveForm" class="button_text" type="submit" name="submit" value="Save Changes" />
|
||||
<input id="saveForm" class="button_text" type="submit" name="submit" value="Guardar los cambios" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ THIS FILE MUST BE RENAMED config.php BEFORE STARTING INSTALLATION
|
||||
*/
|
||||
|
||||
/** MySQL settings **/
|
||||
define('DB_NAME', 'matchform'); //The name of your database. Note that this database must exist before running installer.php
|
||||
define('DB_NAME', 'mathform'); //The name of your database. Note that this database must exist before running installer.php
|
||||
define('DB_USER', 'matchform'); //Your database username
|
||||
define('DB_PASSWORD', '123456'); //Your database users password
|
||||
define('DB_HOST', 'localhost'); //The hostname for your database
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
$form->name = 'Formulario sin título';
|
||||
$form->description = 'Haga click aquí para indicar una breve descripción.';
|
||||
$form->redirect = '';
|
||||
$form->success_message = 'Gracias. Sus respuestas se han enviado correctamente';
|
||||
$form->success_message = 'Gracias. Sus respuestas se han enviado correctamente.';
|
||||
$form->password = '';
|
||||
$form->frame_height = 0;
|
||||
$form->unique_ip = 0;
|
||||
@ -164,7 +164,7 @@
|
||||
|
||||
|
||||
$header_data =<<<EOT
|
||||
<script type="text/javascript" src="js/base.js"></script>
|
||||
<script type="text/javascript" src="js/base.js"></script>
|
||||
<script type="text/javascript" src="js/machform.js"></script>
|
||||
EOT;
|
||||
|
||||
@ -184,7 +184,7 @@ EOT;
|
||||
|
||||
<div id="div_button" class="buttons <?php if(empty($element)){ echo ' hide'; } ?>">
|
||||
<a href="#" id="form_save_button" class="positive">
|
||||
<img src="images/icons/filesave.gif" alt=""> Guardar formulario</a>
|
||||
<img src="images/icons/filesave.gif" alt=""> Guardar el formulario</a>
|
||||
</div>
|
||||
</form>
|
||||
<div id="debug_box"></div>
|
||||
@ -193,7 +193,7 @@ EOT;
|
||||
|
||||
<div id="sidebar">
|
||||
<ul id="tabs" class="add_field_tab">
|
||||
<li id="add_field_tab"><a href="javascript:display_fields(0);" title="Add a Field">Añadir un campo</a></li>
|
||||
<li id="add_field_tab"><a href="javascript:display_fields(0);" title="Add a Field">Añadir un campo nuevo</a></li>
|
||||
<li id="field_prop_tab"><a href="javascript:display_field_properties();" title="Field Properties">Propiedades del campo</a></li>
|
||||
<li id="form_prop_tab"><a href="javascript:display_form_properties();" title="Form Properties">Propiedades del formulario</a></li>
|
||||
</ul>
|
||||
@ -262,7 +262,7 @@ Tipo de campo
|
||||
<option value="date">Fecha</option>
|
||||
<option value="time">Hora</option>
|
||||
<option value="phone">Teléfono</option>
|
||||
<option value="money">Preci</option>
|
||||
<option value="money">Precio</option>
|
||||
<option value="url">Sitio web</option>
|
||||
<option value="email">Email</option>
|
||||
<option value="address">Dirección</option>
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
$current_dir = '';
|
||||
}
|
||||
|
||||
$_SESSION['AP_LOGIN_ERROR'] = 'Sorry, you must be logged in to do that.';
|
||||
$_SESSION['AP_LOGIN_ERROR'] = 'Debe iniciar sesión para continuar.';
|
||||
header("Location: http{$ssl_suffix}://".$_SERVER['HTTP_HOST'].$current_dir.'/index.php?from='.base64_encode($_SERVER['REQUEST_URI']));
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -728,7 +728,7 @@ fieldset .desc { color: rgb(34, 34, 34) ! important; }
|
||||
}
|
||||
input[disabled], select[disabled] { color: rgb(102, 102, 102) ! important; }
|
||||
#add_elements { padding: 15px; clear: both; }
|
||||
#add_elements[id] { margin: 25px 0pt 0pt; position: fixed; }
|
||||
#add_elements[id] { margin: 40px 0pt 0pt; position: fixed; }
|
||||
#element_buttons ul { float: left; list-style-type: none; list-style-image: none; list-style-position: outside; }
|
||||
#first_column li { margin: 5px 5px 5px 0pt; text-align:right; padding: 0px }
|
||||
#second_column li { margin: 5px 0pt 5px 5px; text-align:right; padding: 0px}
|
||||
|
||||
3973
js/machform.js
3973
js/machform.js
File diff suppressed because one or more lines are too long
@ -30,8 +30,8 @@
|
||||
//do deletion
|
||||
delete_entries($form_id,$entries_id);
|
||||
|
||||
$_SESSION['AP_SUCCESS']['title'] = 'Deletion Success';
|
||||
$_SESSION['AP_SUCCESS']['desc'] = 'Selected entries have been deleted.';
|
||||
$_SESSION['AP_SUCCESS']['title'] = 'Respuestas eliminadas';
|
||||
$_SESSION['AP_SUCCESS']['desc'] = 'Las respuestas seleccionas se han eliminado.';
|
||||
}
|
||||
|
||||
header("Location: manage_entries.php?id={$form_id}&pageno={$_REQUEST['pageno']}");
|
||||
@ -49,8 +49,8 @@
|
||||
mkdir(UPLOAD_DIR."/form_{$form_id}/files",0777);
|
||||
umask($old_mask);
|
||||
|
||||
$_SESSION['AP_SUCCESS']['title'] = 'Deletion Success';
|
||||
$_SESSION['AP_SUCCESS']['desc'] = 'All entries have been deleted.';
|
||||
$_SESSION['AP_SUCCESS']['title'] = 'Respuestas eliminadas';
|
||||
$_SESSION['AP_SUCCESS']['desc'] = 'Todas las respuestas se han eliminado.';
|
||||
|
||||
header("Location: manage_entries.php?id={$form_id}");
|
||||
exit;
|
||||
@ -135,12 +135,12 @@
|
||||
$row['element_title'] = htmlspecialchars($row['element_title']);
|
||||
|
||||
if('address' == $element_type){ //address has 6 fields
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Street Address';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = 'Address Line 2';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_3'] = 'City';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_4'] = 'State/Province/Region';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_5'] = 'Zip/Postal Code';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_6'] = 'Country';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Dirección';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = 'Dirección (línea 2)';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_3'] = 'Ciudad';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_4'] = 'Provincia/Región/Estado';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_5'] = 'Código postal';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_6'] = 'País';
|
||||
|
||||
$column_type_lookup['element_'.$row['element_id'].'_1'] = $row['element_type'];
|
||||
$column_type_lookup['element_'.$row['element_id'].'_2'] = $row['element_type'];
|
||||
@ -150,17 +150,17 @@
|
||||
$column_type_lookup['element_'.$row['element_id'].'_6'] = $row['element_type'];
|
||||
|
||||
}elseif ('simple_name' == $element_type){ //simple name has 2 fields
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - First';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = $row['element_title'].' - Last';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Primer nombre';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = $row['element_title'].' - Segundo nombre';
|
||||
|
||||
$column_type_lookup['element_'.$row['element_id'].'_1'] = $row['element_type'];
|
||||
$column_type_lookup['element_'.$row['element_id'].'_2'] = $row['element_type'];
|
||||
|
||||
}elseif ('name' == $element_type){ //name has 4 fields
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Title';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = $row['element_title'].' - First';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_3'] = $row['element_title'].' - Last';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_4'] = $row['element_title'].' - Suffix';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_1'] = $row['element_title'].' - Título';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_2'] = $row['element_title'].' - Primer nombre';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_3'] = $row['element_title'].' - Segundo nombre';
|
||||
$column_name_lookup['element_'.$row['element_id'].'_4'] = $row['element_title'].' - Sufijo';
|
||||
|
||||
$column_type_lookup['element_'.$row['element_id'].'_1'] = $row['element_type'];
|
||||
$column_type_lookup['element_'.$row['element_id'].'_2'] = $row['element_type'];
|
||||
@ -200,9 +200,9 @@
|
||||
//set column properties for basic fields
|
||||
$column_name_lookup['id'] = '<input type="checkbox" id="col_select" name="col_select" value="1" onclick="toggle_select()" />';
|
||||
$column_name_lookup['row_num'] = '#';
|
||||
$column_name_lookup['date_created'] = 'Date Created';
|
||||
$column_name_lookup['date_updated'] = 'Date Updated';
|
||||
$column_name_lookup['ip_address'] = 'IP Address';
|
||||
$column_name_lookup['date_created'] = 'Fecha de alta';
|
||||
$column_name_lookup['date_updated'] = 'Fecha de modificación';
|
||||
$column_name_lookup['ip_address'] = 'Dirección IP';
|
||||
|
||||
$column_type_lookup['id'] = 'number';
|
||||
$column_type_lookup['row_num'] = 'number';
|
||||
@ -396,10 +396,10 @@ EOT;
|
||||
<?php show_message(); ?>
|
||||
<div class="info">
|
||||
<?php if(!empty($form_data)){ ?>
|
||||
<div class="export">Export all entries: <a href="export_entries.php?id=<?php echo $form_id; ?>&type=xls"><img src="images/icons/page_excel.gif" align="absmiddle"/> Excel File</a><a href="export_entries.php?id=<?php echo $form_id; ?>&type=csv"><img src="images/icons/page_white_code.gif" align="absmiddle"/> CSV File</a></div>
|
||||
<div class="export">Exportar todas las respuestas a: <a href="export_entries.php?id=<?php echo $form_id; ?>&type=xls"><img src="images/icons/page_excel.gif" align="absmiddle"/> Fichero Excel</a><a href="export_entries.php?id=<?php echo $form_id; ?>&type=csv"><img src="images/icons/page_white_code.gif" align="absmiddle"/> Fichero CSV</a></div>
|
||||
<?php } ?>
|
||||
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> Entries</h2>
|
||||
<p>Edit and manage your form entries</p>
|
||||
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> Respuestas</h2>
|
||||
<p>Revisar y gestionar las respuestas de los formularios</p>
|
||||
</div>
|
||||
|
||||
<?php if(!empty($form_data)){ ?>
|
||||
@ -407,11 +407,11 @@ EOT;
|
||||
<form id="form_manage_entries" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
|
||||
<div style="width: 100%; overflow:hidden; margin-bottom: 5px">
|
||||
<div style="float: left;padding-bottom: 5px;padding-left: 8px"><img src="images/icons/arrow_turn_left.gif" align="absmiddle"/>
|
||||
<input name="submit_del_selected" type="submit" id="submit_del_selected" value="Delete Selected" onclick="return confirm('Are you sure you want to delete the selected entries?');" /> or
|
||||
<input name="submit_del_all" type="submit" id="submit_del_all" value="Delete All Entries" onclick="return confirm('Are you sure you want to delete all your form entries?');"/>
|
||||
<input name="submit_del_selected" type="submit" id="submit_del_selected" value="Eliminar respuestas seleccionadas" onclick="return confirm('¿Está seguro de eliminar las respuestas seleccionadas?');" /> o
|
||||
<input name="submit_del_all" type="submit" id="submit_del_all" value="Eliminar todas las respuestas" onclick="return confirm('¿Está seguro de eliminar todas las respuestas?');"/>
|
||||
</div>
|
||||
<div id="me_choose_col" style="padding-top: 5px">
|
||||
<img src="images/icons/show_table_column.gif" style="margin-top: -2px" align="absmiddle"/> <a href="columns_preference.php?id=<?php echo $form_id; ?>">Choose Columns</a>
|
||||
<img src="images/icons/show_table_column.gif" style="margin-top: -2px" align="absmiddle"/> <a href="columns_preference.php?id=<?php echo $form_id; ?>">Seleccionar columnas</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -471,7 +471,7 @@ EOT;
|
||||
</div>
|
||||
|
||||
<?php }else{
|
||||
echo "<div style=\"height: 200px; text-align: center;padding-top: 70px\"><h2 style=\"font-size: 155%\">This form doesn't have any entry yet.</h2></div>";
|
||||
echo "<div style=\"height: 200px; text-align: center;padding-top: 70px\"><h2 style=\"font-size: 155%\">Este formulario todavía no tiene respuestas.</h2></div>";
|
||||
}
|
||||
?>
|
||||
|
||||
@ -614,7 +614,7 @@ EOT;
|
||||
//next we inform the user of his current position in the sequence of available pages
|
||||
?>
|
||||
<div class="footer">
|
||||
Viewing <b><?php echo $first_row_number.'</b>-<b>'.$last_row_number; ?></b> of <b><?php echo $numrows; ?></b> entries
|
||||
Mostrando <b><?php echo $first_row_number.'</b>-<b>'.$last_row_number; ?></b> de <b><?php echo $numrows; ?></b> respuestas
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
@ -31,8 +31,8 @@
|
||||
|
||||
delete_entries($form_id,array($entry_id));
|
||||
|
||||
$_SESSION['AP_SUCCESS']['title'] = 'Entry deleted';
|
||||
$_SESSION['AP_SUCCESS']['desc'] = "Entry #{$entry_id} has been deleted.";
|
||||
$_SESSION['AP_SUCCESS']['title'] = 'Respuesta eliminada';
|
||||
$_SESSION['AP_SUCCESS']['desc'] = "La respuesta #{$entry_id} se ha eliminado.";
|
||||
|
||||
$ssl_suffix = get_ssl_suffix();
|
||||
header("Location: http{$ssl_suffix}://".$_SERVER['HTTP_HOST'].get_dirname($_SERVER['PHP_SELF'])."/manage_entries.php?id={$form_id}");
|
||||
@ -116,8 +116,8 @@ EOT;
|
||||
<div id="form_manager">
|
||||
<?php show_message(); ?>
|
||||
<div class="info">
|
||||
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> <a id="ve_a_entries" class="breadcrumb" href="manage_entries.php?id=<?php echo $form_id; ?>">Entries</a> <img id="ve_a_next" src="images/icons/resultset_next.gif" align="bottom" /> #<?php echo $entry_id; ?> </h2>
|
||||
<p>Viewing entry #<?php echo $entry_id; ?></p>
|
||||
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> <a id="ve_a_entries" class="breadcrumb" href="manage_entries.php?id=<?php echo $form_id; ?>">Respuestas</a> <img id="ve_a_next" src="images/icons/resultset_next.gif" align="bottom" /> #<?php echo $entry_id; ?> </h2>
|
||||
<p>Mostrando la respuesta #<?php echo $entry_id; ?></p>
|
||||
</div>
|
||||
|
||||
|
||||
@ -150,20 +150,20 @@ EOT;
|
||||
<table id="ve_table_info" width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 85%;color: #444; font-weight: bold"><img src="images/icons/date.gif"/> Entry Info</td>
|
||||
<td style="font-size: 85%;color: #444; font-weight: bold"><img src="images/icons/date.gif"/> Información de la respuesta</td>
|
||||
<td > </td>
|
||||
</tr>
|
||||
|
||||
<tr class="alt">
|
||||
<td width="40%"><strong>Date Created </strong></td>
|
||||
<td width="40%"><strong>Fecha de alta </strong></td>
|
||||
<td width="60%"><?php echo $date_created; ?></td>
|
||||
</tr> <tr >
|
||||
<td ><strong>Date Updated </strong></td>
|
||||
<td ><strong>Fecha de modificación </strong></td>
|
||||
|
||||
<td><?php echo $date_updated; ?></td>
|
||||
</tr>
|
||||
<tr class="alt">
|
||||
<td ><strong>IP Address </strong></td>
|
||||
<td ><strong>Dirección IP </strong></td>
|
||||
<td><?php echo $ip_address; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -184,34 +184,34 @@ EOT;
|
||||
<?php
|
||||
if(empty($img_new)){
|
||||
?>
|
||||
<a href="view_entry.php?<?php echo "form_id={$form_id}&id={$newest_entry_id}"; ?>" alt="Newest"><img src="images/icons/nav_start<?php echo $img_new; ?>.gif" title="Newest"/></a>
|
||||
<a href="view_entry.php?<?php echo "form_id={$form_id}&id={$newer_entry_id}"; ?>" alt="Newer"><img src="images/icons/nav_prev<?php echo $img_new; ?>.gif" title="Newer"/></a>
|
||||
<a href="view_entry.php?<?php echo "form_id={$form_id}&id={$newest_entry_id}"; ?>" alt="Primera"><img src="images/icons/nav_start<?php echo $img_new; ?>.gif" title="Primera"/></a>
|
||||
<a href="view_entry.php?<?php echo "form_id={$form_id}&id={$newer_entry_id}"; ?>" alt="Anterior"><img src="images/icons/nav_prev<?php echo $img_new; ?>.gif" title="Anterior"/></a>
|
||||
|
||||
<?php }else{ ?>
|
||||
|
||||
<img src="images/icons/nav_start<?php echo $img_new; ?>.gif" title="Newest"/>
|
||||
<img src="images/icons/nav_prev<?php echo $img_new; ?>.gif" title="Newer"/>
|
||||
<img src="images/icons/nav_start<?php echo $img_new; ?>.gif" title="Primera"/>
|
||||
<img src="images/icons/nav_prev<?php echo $img_new; ?>.gif" title="Anterior"/>
|
||||
|
||||
<?php }
|
||||
|
||||
if(empty($img_old)){
|
||||
?>
|
||||
|
||||
<a href="view_entry.php?<?php echo "form_id={$form_id}&id={$older_entry_id}"; ?>" alt="Older"><img src="images/icons/nav_next<?php echo $img_old; ?>.gif" title="Older"/></a>
|
||||
<a href="view_entry.php?<?php echo "form_id={$form_id}&id={$oldest_entry_id}"; ?>" alt="Oldest"><img src="images/icons/nav_end<?php echo $img_old; ?>.gif" title="Oldest"/></a>
|
||||
<a href="view_entry.php?<?php echo "form_id={$form_id}&id={$older_entry_id}"; ?>" alt="Siguiente"><img src="images/icons/nav_next<?php echo $img_old; ?>.gif" title="Siguiente"/></a>
|
||||
<a href="view_entry.php?<?php echo "form_id={$form_id}&id={$oldest_entry_id}"; ?>" alt="Última"><img src="images/icons/nav_end<?php echo $img_old; ?>.gif" title="Última"/></a>
|
||||
|
||||
<?php } else { ?>
|
||||
<img src="images/icons/nav_next<?php echo $img_old; ?>.gif" title="Older"/>
|
||||
<img src="images/icons/nav_end<?php echo $img_old; ?>.gif" title="Oldest"/>
|
||||
<img src="images/icons/nav_next<?php echo $img_old; ?>.gif" title="Siguiente"/>
|
||||
<img src="images/icons/nav_end<?php echo $img_old; ?>.gif" title="Última"/>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div style="font-size: 85%;color: #444;margin-top: 25px;padding-bottom: 5px; font-weight: bold">Entry Options</div>
|
||||
<div style="font-size: 85%;color: #444;margin-top: 25px;padding-bottom: 5px; font-weight: bold">Opciones</div>
|
||||
<div id="ve_action">
|
||||
<ul style="list-style-type: none;padding: 10px">
|
||||
<li><img src="images/icons/kate.gif" align="absmiddle"/> <a href="edit_entry.php?form_id=<?php echo $form_id; ?>&id=<?php echo $entry_id; ?>" class="big_dotted_link">Edit</a></li>
|
||||
<li><img src="images/icons/fileprint.gif" align="absmiddle"/> <a href="javascript:window.print()" class="big_dotted_link">Print</a></li>
|
||||
<li><img src="images/icons/kate.gif" align="absmiddle"/> <a href="edit_entry.php?form_id=<?php echo $form_id; ?>&id=<?php echo $entry_id; ?>" class="big_dotted_link">Modificar</a></li>
|
||||
<li><img src="images/icons/fileprint.gif" align="absmiddle"/> <a href="javascript:window.print()" class="big_dotted_link">Imprimir</a></li>
|
||||
<li><img src="images/icons/mail_generic2.gif" align="absmiddle"/> <a id="email_entry" href="javascript: email_entry(<?php echo $form_id.','.$entry_id; ?>);" class="big_dotted_link">Email</a></li>
|
||||
<li><img src="images/icons/cross_22.gif" align="absmiddle"/> <a onclick="return confirm('Are you sure you want to delete this entry?');" href="view_entry.php?form_id=<?php echo $form_id; ?>&id=<?php echo $entry_id; ?>&delete=1" class="big_dotted_link">Delete</a></li>
|
||||
<li><img src="images/icons/cross_22.gif" align="absmiddle"/> <a onclick="return confirm('¿Desea eliminar esta respuesta?');" href="view_entry.php?form_id=<?php echo $form_id; ?>&id=<?php echo $entry_id; ?>&delete=1" class="big_dotted_link">Eliminar</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user