Add files via upload
This commit is contained in:
committed by
GitHub
parent
85c8313c1a
commit
a67e7b9c23
@ -105,7 +105,9 @@ class formAddManager extends Form{
|
||||
$html='';
|
||||
for($i = 0; $i < count($users); $i++){
|
||||
$html .= '
|
||||
<input type="radio" name="id" value='.$ids[$i].' > <label> '.$ids[$i].', '.$usernames[$i].', '.$usernames[$key].'
|
||||
<input type="radio" class="content-input" name="id" value="'.$ids[$i].'" id="'.$ids[$i].'"><label class="efe" for="'.$ids[$i].'"> '.$ids[$i].', '.$usernames[$i].
|
||||
', '.$usernames[$key].
|
||||
'
|
||||
</label>
|
||||
';
|
||||
}
|
||||
@ -129,7 +131,7 @@ class formAddManager extends Form{
|
||||
$html = '';
|
||||
for($i = 0; $i < count($cinemas); $i++){
|
||||
$html.= '
|
||||
<input type="radio" name="idcinema" value='.$ids[$i].' > <label> '.$ids[$i].', '.$names[$i].'
|
||||
<input type="radio" class="content-input" name="idcinema" value="'.$ids[$i].'" id="'.$ids[$i].'"><label class="efe" for="'.$ids[$i].'"> '.$ids[$i].', '.$names[$i].'
|
||||
</label>
|
||||
';
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ class formDeleteCinema extends Form{
|
||||
$htmlErroresGlobales = self::generaListaErroresGlobales($errores);
|
||||
$errorId = self::createMensajeError($errores, 'id', 'span', array('class' => 'error'));
|
||||
|
||||
$html = '<div class="column side"></div>
|
||||
$html = '
|
||||
<fieldset id = "cinema_form"><pre>'.$htmlErroresGlobales.'</pre>
|
||||
<legend>¿Estás seguro de que quieres eliminar este cine?</legend>
|
||||
<input type="hidden" name="id" value='.$_POST['id'].'/><pre>'.$errorId.'</pre>
|
||||
@ -28,8 +28,7 @@ class formDeleteCinema extends Form{
|
||||
<div class="actions">
|
||||
<input type="submit" id="submit" value="Eliminar" name="delete_cinema" class="primary" />
|
||||
<input type="submit" id="submit" value="Cancelar" class="primary" />
|
||||
</div>
|
||||
</div> ';
|
||||
</div>';
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
@ -23,9 +23,9 @@ class formEditManager extends Form{
|
||||
$errorId = self::createMensajeError($errores, 'id', 'span', array('class' => 'error'));
|
||||
$errorIdCinema = self::createMensajeError($errores, 'idcinema', 'span', array('class' => 'error'));
|
||||
|
||||
$html = '<div class="row">
|
||||
$html = '
|
||||
<h1>EDITAR GERENTE ID:'.$_POST['id'].'</h1>
|
||||
<fieldset id="film_form"><pre>'.$htmlErroresGlobales.'</pre>
|
||||
<fieldset><pre>'.$htmlErroresGlobales.'</pre>
|
||||
<legend>Selecciona cine.</legend><pre>'.$errorIdCinema.'</pre>
|
||||
<input type="hidden" name="id" value='.$_POST['id'].'/><pre>'.$errorId.'</pre>'
|
||||
.$this->showCinemas().
|
||||
@ -34,7 +34,6 @@ class formEditManager extends Form{
|
||||
<input type="submit" id="submit" value="Seleccionar" name="edit_manager" class="primary" />
|
||||
<input type="reset" id="reset" value="Borrar" />
|
||||
</div>
|
||||
</div>
|
||||
</div>';
|
||||
|
||||
return $html;
|
||||
@ -100,7 +99,7 @@ class formEditManager extends Form{
|
||||
$html = '';
|
||||
for($i = 0; $i < count($cinemas); $i++){
|
||||
$html.= '
|
||||
<input type="radio" name="idcinema" value='.$ids[$i].' > <label> '.$ids[$i].', '.$names[$i].'
|
||||
<input type="radio" class="content-input" name="idcinema" value="'.$ids[$i].'" id="'.$ids[$i].'"><label class="efe" for="'.$ids[$i].'"> '.$ids[$i].', '.$names[$i].'
|
||||
</label>
|
||||
';
|
||||
}
|
||||
|
@ -29,8 +29,7 @@ class formEditPromotion extends Form{
|
||||
$errorImg = self::createMensajeError($errores, 'img', 'span', array('class' => 'error'));
|
||||
|
||||
$html = '<div class="row">
|
||||
<fieldset id="promotion_form"><pre>'.$htmlErroresGlobales.'</pre>
|
||||
<fieldset id="film_form">
|
||||
<fieldset id="film_form"><pre>'.$htmlErroresGlobales.'</pre>
|
||||
<legend>Datos de promocion</legend>
|
||||
<input type="hidden" name="id" value='.$_POST['id'].'/>
|
||||
<input type="text" name="tittle" id="tittle"value="'.$_POST['tittle'].'"required/><pre>'.$errorTittle.'</pre>
|
||||
|
Reference in New Issue
Block a user