Merge branch 'master' of ascarion.org:daniel/dumbo

Este commit está contenido en:
2013-12-03 21:56:08 +01:00
Se han modificado 2 ficheros con 2 adiciones y 2 borrados

Ver fichero

@@ -146,7 +146,7 @@ Route::post('login', function() {
$userdata = array( $userdata = array(
'name' => Input::get('user'), 'name' => Input::get('user'),
'password' => Input::get('password')); 'password' => Input::get('password'));
if(Auth::attempt($userdata)) { if(Auth::attempt($userdata, true)) {
return Redirect::intended('/'); return Redirect::intended('/');
} else { } else {
echo "Login gescheitert."; echo "Login gescheitert.";

Ver fichero

@@ -27,7 +27,7 @@
<div class="panel-body"> <div class="panel-body">
<img src="{{$nimage}}" class="pull-left thumbnail" style="max-height: 100px; margin-right: 15px;"> <img src="{{$nimage}}" class="pull-left thumbnail" style="max-height: 100px; margin-right: 15px;">
<h4>{{is_object($nextfilm) ? $nextfilm->name : "Steht nicht fest"}}</h4> <h4>{{is_object($nextfilm) ? $nextfilm->name : "Steht nicht fest"}}</h4>
@if(is_object($nextfilm)) <a href='{{ url('mark-read/' . $nextfilm->id) }}' class='btn btn-success btn-xs'>Gesehen</a> @if(is_object($nextfilm) && !is_null(Auth::user()) && Auth::user()->admin) <a href='{{ url('mark-read/' . $nextfilm->id) }}' class='btn btn-success btn-xs'>Gesehen</a>
@endif @endif
</div> </div>