- Ticket #567 -> Enciptar el ID de formulario en el enlace que se manda.

- Traducción al castellano
- Quitar logotipos originales de las cabeceras


git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_FormulariosCalidad/trunk@19 e2c41b2c-0c6f-0149-8b81-50b1a9191bb3
This commit is contained in:
David Arranz 2011-04-11 15:04:44 +00:00
parent 4d1b2205c1
commit ff7326b843
7 changed files with 78 additions and 71 deletions

View File

@ -35,8 +35,8 @@ form.appnitro
padding:0; padding:0;
text-decoration:none; text-decoration:none;
text-indent:-8000px; text-indent:-8000px;
background-image: url('../../../images/machform.gif'); /*background-image: url('../../../images/machform.gif');
background-repeat: no-repeat; background-repeat: no-repeat;*/
} }
#main_body h1 a #main_body h1 a

View File

@ -112,6 +112,7 @@
order by order by
element_position asc"; element_position asc";
$result = do_query($query); $result = do_query($query);
$j=0; $j=0;
while($row = do_fetch_result($result)){ while($row = do_fetch_result($result)){
$element_id = $row['element_id']; $element_id = $row['element_id'];
@ -130,7 +131,6 @@
} }
} }
//populate elements //populate elements
$element[$j] = new stdClass(); $element[$j] = new stdClass();
$element[$j]->title = $row['element_title']; $element[$j]->title = $row['element_title'];
@ -150,6 +150,7 @@
}else{ }else{
$element[$j]->options = ''; $element[$j]->options = '';
} }
$j++; $j++;
} }

View File

@ -327,7 +327,7 @@ EOT;
<div id="form_manager"> <div id="form_manager">
<?php show_message(); ?> <?php show_message(); ?>
<div class="info"> <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" /> Emails de respuesta</h2> <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" /> Notificaciones de respuesta</h2>
<p>Indique a quién se enviará por email las respuestas del formulario</b></p> <p>Indique a quién se enviará por email las respuestas del formulario</b></p>
</div> </div>
<h2 style="font-size: 150%;margin-bottom: 10px;">Mandar notificaciones por email <img src="images/icons/arrow_right.gif" align="absmiddle" /></h2> <h2 style="font-size: 150%;margin-bottom: 10px;">Mandar notificaciones por email <img src="images/icons/arrow_right.gif" align="absmiddle" /></h2>

View File

@ -26,7 +26,7 @@
<?php /*<img src="images/appnitro_logo.png" class="fix_png" id="appnitro_logo" width="179" height="55"/>*/ ?> <?php /*<img src="images/appnitro_logo.png" class="fix_png" id="appnitro_logo" width="179" height="55"/>*/ ?>
<?php if(empty($hide_nav)){ ?> <?php if(empty($hide_nav)){ ?>
<ul id="header_tab"> <ul id="header_tab">
<li><a href="manage_form.php" title="Formularios"><img src="images/manage_forms_active.gif" alt=""></a></li> <li><a href="manage_form.php" title="Formularios"><img src="images/manage_forms_active.gif" alt="Formularios"></a></li>
<li class="lgo"><a href="logout.php" class="lbOn" title="Salir"><img src="images/logout.gif" alt=""></a></li> <li class="lgo"><a href="logout.php" class="lbOn" title="Salir"><img src="images/logout.gif" alt=""></a></li>
</ul> </ul>
<?php } ?> <?php } ?>

View File

@ -186,6 +186,12 @@ EOT;
$span_required = ''; $span_required = '';
$guidelines = ''; $guidelines = '';
if($_GET['id'] != 0){
if(($element->id == 1) && (!empty($_SESSION['email_key']))) {
$element->populated_value['element_'.$element->id]['default_value'] = $_SESSION['email_key'];
}
}
if(!empty($element->is_error)){ if(!empty($element->is_error)){
$error_class = 'class="error"'; $error_class = 'class="error"';
$error_message = "<p class=\"error\">{$element->error_message}</p>"; $error_message = "<p class=\"error\">{$element->error_message}</p>";

View File

@ -466,9 +466,9 @@ EOT;
<td width="9%"><a href="<?php echo "edit_css.php?id={$data['form_id']}"; ?>"><img src="images/icons/colorize_32.gif" /></a></td> <td width="9%"><a href="<?php echo "edit_css.php?id={$data['form_id']}"; ?>"><img src="images/icons/colorize_32.gif" /></a></td>
<td width="9%"><a href="<?php echo "email_settings.php?id={$data['form_id']}"; ?>"><img src="images/icons/mail_forward_32.gif" /></a></td> <td width="9%"><a href="<?php echo "email_settings.php?id={$data['form_id']}"; ?>"><img src="images/icons/mail_forward_32.gif" /></a></td>
<td width="9%"><a href="<?php echo "embed_code.php?id={$data['form_id']}"; ?>"><img src="images/icons/embed_code_32.gif" /></a></td> <td width="9%"><a href="<?php echo "embed_code.php?id={$data['form_id']}"; ?>"><img src="images/icons/embed_code_32.gif" /></a></td>
<td width="9%">&nbsp;</td> <!--<td width="9%"><a href="send_form.php?id=<?php echo $data['form_id']; ?>"><img src="images/icons/mail_forward_32.gif" /></a></td>-->
<td width="9%"><a href="view.php?id=<?php echo $data['form_id']; ?>" target="_blank"><img src="images/icons/view_form_32.gif" /></a></td> <td width="12%"><a href="view.php?id=<?php echo base64_encode($data['form_id']); ?>" target="_blank"><img src="images/icons/view_form_32.gif" /></a></td>
<td width="21%">&nbsp;</td> <td width="18%">&nbsp;</td>
<td width="9%"><a href="<?php echo "manage_form.php?duplicate={$data['form_id']}"; ?>"><img src="images/icons/copy_32.gif" /></a></td> <td width="9%"><a href="<?php echo "manage_form.php?duplicate={$data['form_id']}"; ?>"><img src="images/icons/copy_32.gif" /></a></td>
<td width="6%"><a href="manage_form.php?pageno=<?php echo $pageno; ?>&delete=<?php echo $data['form_id']; ?>" onclick="javascript: return confirm('¿Desea eliminar este formulario y todas las respuestas asociadas?');"><img src="images/icons/cross.gif" /></a></td> <td width="6%"><a href="manage_form.php?pageno=<?php echo $pageno; ?>&delete=<?php echo $data['form_id']; ?>" onclick="javascript: return confirm('¿Desea eliminar este formulario y todas las respuestas asociadas?');"><img src="images/icons/cross.gif" /></a></td>
</tr> </tr>
@ -478,7 +478,7 @@ EOT;
<td nowrap><a href="<?php echo "edit_css.php?id={$data['form_id']}"; ?>">Editar estilo</a></td> <td nowrap><a href="<?php echo "edit_css.php?id={$data['form_id']}"; ?>">Editar estilo</a></td>
<td nowrap><a href="<?php echo "email_settings.php?id={$data['form_id']}"; ?>">Notificaciones</a></td> <td nowrap><a href="<?php echo "email_settings.php?id={$data['form_id']}"; ?>">Notificaciones</a></td>
<td nowrap><a href="<?php echo "embed_code.php?id={$data['form_id']}"; ?>">Código</a></td> <td nowrap><a href="<?php echo "embed_code.php?id={$data['form_id']}"; ?>">Código</a></td>
<td>&nbsp;</td> <!--<td nowrap><a href="<?php echo "send_form.php?id={$data['form_id']}"; ?>">Enviar el formulario</a></td>-->
<td><a href="view.php?id=<?php echo base64_encode($data['form_id']); ?>" target="_blank">Ver formulario</a></td> <td><a href="view.php?id=<?php echo base64_encode($data['form_id']); ?>" target="_blank">Ver formulario</a></td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><a href="<?php echo "manage_form.php?duplicate={$data['form_id']}"; ?>">Duplicar</a></td> <td><a href="<?php echo "manage_form.php?duplicate={$data['form_id']}"; ?>">Duplicar</a></td>

View File

@ -64,8 +64,8 @@ form.appnitro
padding:0; padding:0;
text-decoration:none; text-decoration:none;
text-indent:-8000px; text-indent:-8000px;
background-image: url('../../../images/machform.gif'); /*background-image: url('../../../images/machform.gif');
background-repeat: no-repeat; background-repeat: no-repeat;*/
} }
#main_body h1 a #main_body h1 a