getCurrentLocale() 공개 정적인 메소드

Returns current language
public static getCurrentLocale ( ) : string
리턴 string current language
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     $faker = Faker::create();
     // retrieve all the user_ids from DB
     $users = DB::table('users')->pluck('id');
     // create posts for a single user only
     // $users = ['0'=>'34'];
     //echo '<pre>'; print_r($users); echo '</pre>'; exit;
     // retrieve all the taxon_ids from DB
     $taxons = DB::table('blog_taxons')->pluck('id');
     // the following commneted lines add the same user for each post
     //factory(App\Models\Posts\Post::class, 5)->create([
     //    'user_id' => $faker->randomElement($users)
     //]);
     // the following lines add a diferent user for each post
     foreach (range(1, 5) as $index) {
         //the following lines make use of the model factory
         //$post = factory(App\Models\Posts\Post::class)->create([
         //    'user_id' => $faker->randomElement($users)
         //]);
         $post = App\Models\Posts\Post::create(['title' => ucwords(implode(' ', $faker->words(5))), 'is_public' => $faker->boolean, 'identifier' => $faker->slug, 'post_type' => $faker->word, 'content' => implode(' ', $faker->paragraphs(3)), 'content_data' => implode(' ', $faker->paragraphs(3)), 'draft' => implode(' ', $faker->paragraphs(3)), 'producer_name' => $faker->word, 'youtube_code' => $faker->word, 'copyright_holder' => $faker->word, 'reference_link_target' => $faker->word, 'source_of_supply' => $faker->word, 'user_id' => $faker->randomElement($users)]);
         foreach (LaravelLocalization::getSupportedLocales() as $locale => $data) {
             if ($locale != LaravelLocalization::getCurrentLocale()) {
                 $post->translateOrNew($locale);
                 $post->translate($locale)->title = strtoupper($locale) . '::' . ucwords(implode(' ', $faker->words(5)));
                 //$post->translate($locale)->slug         = $faker->slug;
                 $post->translate($locale)->identifier = $faker->slug;
                 $post->translate($locale)->content = implode(' ', $faker->paragraphs(3));
                 $post->translate($locale)->content_data = implode(' ', $faker->paragraphs(3));
                 $post->translate($locale)->draft = implode(' ', $faker->paragraphs(3));
             }
         }
         $post->save();
         if (count($taxons)) {
             $post->taxons()->attach($faker->randomElement($taxons));
         }
     }
 }
예제 #2
1
@extends('layouts.master')

@section('content-header')
    <?php 
$currentLocale = LaravelLocalization::getCurrentLocale();
?>
    <?php 
$formName = $form->getFormContent($currentLocale)->name;
?>
    <h1>
        {{ $formName }} <span>{{ trans('formbuilder::formbuilder.title.edit form') }}</span>
    </h1>
    <ol class="breadcrumb">
        <li><a href="{{ URL::route('dashboard.index') }}"><i class="fa fa-dashboard"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
        <li><a href="{{ URL::route('admin.formbuilder.formbuilder.index') }}">{{ trans('formbuilder::formbuilder.title.form builder') }}</a></li>
        <li class="active">{{ $formName }}</li>
    </ol>
@stop

@section('styles')
    {!! Theme::script('js/vendor/ckeditor/ckeditor.js') !!}
    {!! Theme::style('css/vendor/iCheck/flat/blue.css') !!}
    <style>
        .checkbox label {
            padding-left: 0;
        }
    </style>
	<link href="{{{ Module::asset('formbuilder:css/styles.css') }}}" rel="stylesheet" type="text/css" />
@stop

@section('content')
예제 #3
0
 /**
  * Store a newly created resource in storage.
  *
  * @return Response
  */
 public function store()
 {
     $inputs = Request::all();
     $reglas = array('nombre' => 'required', 'correo' => 'email', 'comentarios' => 'required|max:300');
     $mensajes = array('required' => trans('error.requerido'), 'email' => trans('error.correo'));
     $validar = Validator::make($inputs, $reglas, $mensajes);
     if ($validar->fails()) {
         //return back('#gracias')->withErrors($validar)->withInput();
         return Redirect::to(\LaravelLocalization::getCurrentLocale() . '/' . trans('menu.contacto') . '#about')->withErrors($validar)->withInput();
     } else {
         $contacto = new Contacto();
         $contacto->email = Request::get('correo');
         $contacto->save();
         $contactName = Request::get('nombre');
         $contactEmail = Request::get('correo');
         $contactMessage = Request::get('comentarios');
         $contactAddres = Request::get('direccion');
         $data = array('name' => $contactName, 'email' => $contactEmail, 'description' => $contactMessage, 'addres' => $contactAddres);
         Mail::send('layouts.email', $data, function ($message) use($contactEmail, $contactName) {
             $message->from($contactEmail, $contactName);
             $message->to('*****@*****.**', 'Contacto Fundacion Vive Mejor')->subject('Solicitud vía WEB');
             $message->cc($contactEmail, $contactName);
         });
         return Redirect::to(\LaravelLocalization::getCurrentLocale() . '/' . trans('menu.contacto') . '?gracias#gracias');
     }
 }
예제 #4
0
 public static function seoURL($domain_id, $lang = '')
 {
     $domain = Domain::find($domain_id);
     $clean_chars = function ($string) {
         $string = str_replace(' ', '-', $string);
         // Replaces all spaces with hyphens.
         $string = preg_replace('/[^A-Za-z0-9\\-]/', '', $string);
         // Removes special chars.
         return preg_replace('/-+/', '-', strtolower($string));
         // Replaces multiple hyphens with single one.
     };
     $domain_name = self::formatDiacritics($clean_chars($domain->name));
     if (empty($lang)) {
         $lang = LaravelLocalization::getCurrentLocale();
     }
     return URL::route('domain.details', ['name' => $domain_name, 'id' => $domain->id]);
 }
예제 #5
0
파일: routes.php 프로젝트: noikiy/fullycms
    // rss
    Route::get('/rss', array('as' => 'rss', 'uses' => 'RssController@index'));
    // search
    Route::get('/search', ['as' => 'admin.search', 'uses' => 'SearchController@index']);
    // language
    // Route::get('/set-locale/{language}', array('as' => 'language.set', 'uses' => 'LanguageController@setLocale'));
    // maillist
    Route::get('/save-maillist', array('as' => 'frontend.maillist', 'uses' => 'MaillistController@getMaillist'));
    Route::post('/save-maillist', array('as' => 'frontend.maillist.post', 'uses' => 'MaillistController@postMaillist'));
});
/*
|--------------------------------------------------------------------------
| Backend Routes
|--------------------------------------------------------------------------
*/
Route::group(array('prefix' => LaravelLocalization::getCurrentLocale()), function () {
    Route::group(array('prefix' => '/admin', 'namespace' => 'Admin', 'middleware' => ['before', 'sentinel.auth', 'sentinel.permission']), function () {
        // admin dashboard
        Route::get('/', array('as' => 'admin.dashboard', 'uses' => 'DashboardController@index'));
        // user
        Route::resource('user', 'UserController');
        Route::get('user/{id}/delete', array('as' => 'admin.user.delete', 'uses' => 'UserController@confirmDestroy'))->where('id', '[0-9]+');
        // role
        Route::resource('role', 'RoleController');
        Route::get('role/{id}/delete', array('as' => 'admin.role.delete', 'uses' => 'RoleController@confirmDestroy'))->where('id', '[0-9]+');
        // blog
        Route::resource('article', 'ArticleController', array('before' => 'hasAccess:article'));
        Route::get('article/{id}/delete', array('as' => 'admin.article.delete', 'uses' => 'ArticleController@confirmDestroy'))->where('id', '\\d+');
        // news
        Route::resource('news', 'NewsController', array('before' => 'hasAccess:news'));
        Route::get('news/{id}/delete', array('as' => 'admin.news.delete', 'uses' => 'NewsController@confirmDestroy'))->where('id', '[0-9]+');
예제 #6
0
        Route::post('admin/inquiry/{id}', ['as' => 'admin.inquiry.read', 'uses' => 'InquiryController@reader']);
        Route::get('admin/inquiry/detail/{id}', ['as' => 'admin.inquiry.detail', 'uses' => 'InquiryController@getDetail']);
        Route::get('admin/inquiry/reader/{id}', ['as' => 'admin.inquiry.reader', 'uses' => 'InquiryController@reader']);
        Route::get('admin/inquiry/delete/{id}', ['as' => 'admin.inquiry.del', 'uses' => 'InquiryController@delete']);
        //Recruit
        Route::get('admin/recruit', ['as' => 'admin.recruit.index', 'uses' => 'RecruitController@index']);
        Route::get('admin/recruit/add', ['as' => 'admin.recruit.add', 'uses' => 'RecruitController@getAdd']);
        Route::post('admin/recruit/add', ['as' => 'admin.recruit.add', 'uses' => 'RecruitController@postAdd']);
        Route::get('admin/recruit/edit/{id}', ['as' => 'admin.recruit.edit', 'uses' => 'RecruitController@getEdit']);
        Route::post('admin/recruit/edit/{id}', ['as' => 'admin.recruit.edit', 'uses' => 'RecruitController@postEdit']);
        Route::get('admin/recruit/publish/{id}', ['as' => 'admin.recruit.publish', 'uses' => 'RecruitController@publish']);
        Route::get('admin/recruit/unpublish/{id}', ['as' => 'admin.recruit.unpublish', 'uses' => 'RecruitController@unpublish']);
        Route::get('admin/recruit/delete/{id}', ['as' => 'admin.recruit.del', 'uses' => 'RecruitController@delete']);
    });
});
Route::get('auth/login', function () {
    return redirect()->to('en/auth/login');
});
Route::get('admin/login', function () {
    return redirect()->to('en/auth/login');
});
Route::get('admin', function () {
    return redirect()->to('en/auth/login');
});
Route::get('admin/logout', function () {
    return redirect()->to('en/auth/logout');
});
//prefix locale
Route::get(LaravelLocalization::getCurrentLocale() . '/admin', function () {
    return redirect()->to(LaravelLocalization::getCurrentLocale() . '/auth/login');
});
예제 #7
0
				<div class="input-group">
					<input type="text" class="form-control" placeholder="{{ trans('general.search') }}" 
						   name="search_term" id="serch_term" autocomplete="off" data-route="{{ URL::route('search.post') }}" />
					<div class="input-group-btn">
						<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
					</div>
				</div>
				<div id="search-results" class="col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
				{{ Form::close() }}
				</li>	
			</ul>
			<ul class="nav navbar-nav navbar-right">
				@foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
				<li>
					<a rel="alternate" class="language_bar_chooser <?php 
echo LaravelLocalization::getCurrentLocale() == $localeCode ? 'active' : 'inactive';
?>
" hreflang="{{ $localeCode }}" href="{{LaravelLocalization::getLocalizedURL($localeCode) }}">
						{{{ $properties['native'] }}}
						<img src="{{ URL::asset('assets/img/' . $localeCode . '-flag.png') }}" class="flag" alt="{{ $properties['native'] }}" />
					</a>
				</li>
				@endforeach

				@if(Auth::check())
				<li class="dropdown">
					<a class="dropdown-toggle" data-toggle="dropdown" href="#"> 
						{{ trans('general.hi') }}
						@if( ! empty(Auth::user()->firstname))
						{{ Auth::user()->firstname }} 
						@endif	
예제 #8
0
<!doctype html>
<html lang="ja">
	<link href="{{asset("frontend/common/css/import.css")}}" rel="stylesheet" type="text/css" media="all" />

	<script src="{{asset('/frontend/common/js/jquery.min.js')}}"></script>
	<script src="{{asset('/frontend/common/js/jquery.bxslider.min.js')}}"></script>
	<script src="{{asset('/frontend/common/js/jquery.rollover.js')}}"></script>
	<script src="{{asset('/frontend/common/js/jquery.flatheights.js')}}"></script>
	<script src="{{asset('/frontend/common/js/top.js')}}"></script>
	<script src="{{asset('/frontend/common/js/analytics.js')}}"></script>

@include('frontend/element/header')
<body>
<?php 
$url = LaravelLocalization::getCurrentLocale() . '/inquiry';
?>
{!! Form::open( ['method' => 'post', 'id'=>'frmContact', 'url' => $url]) !!} 	
	<section id="contact">
		<div class="container">
			<header>
				<h2 style="visibility: visible; animation-name: fadeInDown;" class="wow fadeInDown animated">{{trans('common.lbl_inquiry')}}</h2>
				<p style="visibility: visible; animation-delay: 0.1s; animation-name: fadeInUp;" class="wow fadeInUp animated" data-wow-delay="0.1s">{{trans('common.lbl_sub_title')}}
				</p>
			</header>
			<div class="row">
				<div class="formrow">
					<div class="form-group col-md-3 formleft">
						<span>{{trans('common.lbl_inquiry_company')}}</span><span class="icnMust">{{trans('common.icnMust')}}</span>
					</div>
					<div class="form-group col-md-9">
						<input name="company" placeholder="{{trans('common.lbl_inquiry_company')}}" class="form-control" id="company" type="text" value="{{Input::old('company')}}">
예제 #9
0
                                                <td>{{@$lang[$data->language]}}</td>
                                              </tr>
                                              <tr>
                                                <th bgcolor="#DCDCDC" style="text-align:right">{{trans('common.lbl_inquiry_comment')}}</th>
                                                <td><?php 
echo nl2br($data->comment);
?>
</td>
                                              </tr>
                                        </tbody>
                                    </table>
                                <div class="ln_solid"></div>
                                <div class="form-group">
                                    <div class="col-md-3 col-sm-3 col-xs-9 col-md-offset-3">
                                        <button type="button" onclick="location.href ='<?php 
echo url(LaravelLocalization::getCurrentLocale() . '/admin/inquiry/');
?>
'" class="width-45 pull-right btn btn-sm btn-success">
                                        <i class="ace-icon fa fa-arrow-left icon-on-left"></i>
                                            <span class="bigger-110">Back</span>                                            
                                        </button>
                                    </div>
                                </div>
                            {!! Form::close() !!}
                            </div>
                        </div>
                    </div>
                </div>
        </div>

@endsection
예제 #10
0
/**
 * @return mixed
 */
function getLang()
{
    return LaravelLocalization::getCurrentLocale();
}
예제 #11
0
/**
 * @param $model
 * @return mixed
 */
function ma_get_admin_preview_url($model)
{
    $modelName = !is_object($model) ? strtolower($model) : strtolower(str_plural(class_basename($model)));
    $resourcePath = $modelName != 'articles' ? str_plural($modelName) . '/' . $model->slug : $model->slug;
    $path = LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), URL::to($resourcePath));
    return URL::to($path);
}
예제 #12
0
                            @foreach($data as $inquiry)
                                <?php 
if ($inquiry->reader == 1) {
    $flag = 'Unread';
    $class = 'orange';
    $title = trans('common.lbl_inquiry_unread');
} else {
    $flag = 'Read';
    $class = 'silver';
    $title = trans('common.lbl_inquiry_read');
}
?>
                                <tr>
                                    <td class="center">{{$inquiry->id}}</td>                                    
                                    <td><a href="<?php 
echo url(LaravelLocalization::getCurrentLocale() . '/admin/inquiry/detail/' . $inquiry->id);
?>
">{{$inquiry->title}}</a></td>
                                    <td>{{$inquiry->company}}</td>
                                    <td>{{$inquiry->name}}</td>
                                   <!--  @if(LaravelLocalization::getCurrentLocale() == 'ja') -->
                                        <td class="center">{{$inquiry->furigana}}</td>
                                   <!--  @endif -->
                                    <td class="hidden-480 center">
                                        {{$inquiry->address}}
                                    </td>
                                    <td class="hidden-480">{{$inquiry->phone}}</td>
                                    <td>{{$inquiry->email}}</td>
                                    <td class="hidden-480 center">{{@$lang[$inquiry->language]}}</td>
                                    <td class="hidden-480">{{$inquiry->comment}}</td>                                     
                                    <td class="center">
예제 #13
0
파일: routes.php 프로젝트: EvertArnould/idw
        if (LaravelLocalization::getCurrentLocale() == 'en') {
            Route::get('events/{event}', ['as' => 'events.' . $event->route_en, 'uses' => 'Admin\\EventController@getEvent']);
        } elseif (LaravelLocalization::getCurrentLocale() == 'nl') {
            Route::get('evenementen/{event}', ['as' => 'events.' . $event->route_en, 'uses' => 'Admin\\EventController@getEvent']);
        }
    }
    Route::get('events', ['as' => 'events.all', 'uses' => 'Admin\\EventController@ShowGetAllEvents']);
    /*
     * -- PAGE ROUTES --
     */
    foreach (\Idw\Page::all() as $page) {
        if (LaravelLocalization::getCurrentLocale() == 'en') {
            Route::get("/pages/{route}", ['as' => 'pages.' . $page->route_en, 'uses' => 'Admin\\PageController@index']);
        } elseif (LaravelLocalization::getCurrentLocale() == 'nl') {
            Route::get("/paginas/{route}", ['as' => 'pages.' . $page->route_en, 'uses' => 'Admin\\PageController@index']);
        }
    }
    Route::get('pages', ['as' => 'pages.all', 'uses' => 'Admin\\PageController@ShowGetAllPages']);
    /* -- CONTACT PAGE -- */
    if (LaravelLocalization::getCurrentLocale() == 'en') {
        Route::get("/contact", ['as' => 'contact', 'uses' => 'Admin\\PageController@showContact']);
    } elseif (LaravelLocalization::getCurrentLocale() == 'nl') {
        Route::get("/contact", ['as' => 'contact', 'uses' => 'Admin\\PageController@showContact']);
    }
});
/*
 * ----------------------------
 * --- AUTHENTICATED ROUTES ---
 * ----------------------------
*/
require __DIR__ . '/routes/adminRoutes.php';
예제 #14
0
<?php

/*
 |--------------------------------------------------------------------------
 | Application & Route Filters
 |--------------------------------------------------------------------------
 |
 | Below you will find the "before" and "after" events for the application
 | which may be used to do any work before or after a request into your
 | application. Here you may also register your custom route filters.
 |
*/
$locale = ['ro' => ['ro.utf-8', 'ro_RO.UTF-8', 'ro_RO.utf-8', 'ro', 'ro_RO'], 'en' => ['en.utf-8', 'en_US.UTF-8', 'en_US.utf-8', 'en', 'en_US']];
setlocale(LC_TIME, $locale[LaravelLocalization::getCurrentLocale()]);
App::missing(function ($exception) {
    return Response::view('home.index', array('error' => 'Not found'), 404);
});
App::before(function ($request) {
    //
});
App::after(function ($request, $response) {
    //
});
/*
 |--------------------------------------------------------------------------
 | Authentication Filters
 |--------------------------------------------------------------------------
 |
 | The following filters are used to verify that the user of the current
 | session is logged into this application. The "basic" filter easily
 | integrates HTTP Basic authentication for quick, simple checking.
예제 #15
0
<?php

return ['start' => 'Start', 'project-details' => 'Projektdetails', 'your-details' => 'Ihre Angaben', 'supporting-evidence' => 'Antragsunterlagen', 'summary' => 'Zusammenfassung', 'start-project' => 'Ansuchen beginnen', 'save-progress' => 'Fortschritt speichern', 'back' => 'zurück', 'next' => 'weiter', 'submit' => 'Antrag einreichen', 'continue' => 'fortsetzen', 'delete' => 'löschen', 'terms-cond-1' => 'Mit dem Abschicken dieses Formulars stimmen Sie unseren ', 'terms-cond-2' => 'Allgemeinen Geschäftsbedingungen zu.', 'terms-cond-3' => 'Schließen', 'project-title' => 'Projekttitel:', 'short-description' => 'Kurzbeschreibung:', 'main-image' => 'Hauptphoto:', 'secondary-images' => 'Mehr Bilder:', 'full-description' => 'Ausführliche Beschreibung:', 'fundraise-amount' => 'Erforderlicher Förderungsbetrag:', 'child-name' => 'Vorname des betroffenen Kindes:', 'first-name' => 'Ihr Vorname:', 'last-name' => 'Ihr Nachname:', 'email' => 'Ihre E-Mail Adresse:', 'street' => 'Straße / Hausnummer / Stiege / Stock / Tür:', 'postcode' => 'PLZ:', 'city' => 'Ort:', 'country' => 'Land:', 'tel-number' => 'Ihre Telefonnummer:', 'main-documents' => 'Antragsbeilagen:', 'secondary-documents' => 'Zusätzliche Beilagen:', 'images-and-documents' => 'Bilder & Beilagen:', 'place-short-desc' => 'Eine kurze Beschreibung Ihrer Situation. In 180 Zeichen oder weniger.', 'place-full-desc' => 'Hier haben Sie Platz für eine ausführliche Beschreibung Ihres Förderungsprojekts. Schildern Sie Ihre Familiensituation und sagen Sie uns, weshalb und wofür Sie eine Förderung benötigen.', 'place-fundraise-amt' => 'Bitte nennen Sie hier den benötigten Förderungsbetrag. Mindestbetrag  &#8364; 500', 'place-country' => 'Österreich', 'exp-project-title' => 'Bitte geben Sie Ihrem Projekt einen aussagekräftigen Titel und klicken Sie anschließend auf <strong>„Ansuchen beginnen“</strong>.', 'exp-recent-project' => 'Gespeicherte Anträge.', 'exp-no-recent-project-1' => 'Großartig! Sie haben kein unvollständiges Ansuchen.', 'exp-no-recent-project-2' => 'Sie können nun ein neues Ansuchen einreichen', 'exp-main-image-1' => 'Wählen Sie ein Bild zum Hochladen als Hauptfoto für Ihr Projekt.', 'exp-main-image-2' => 'Bitte verwenden Sie ein Foto in guter Qualität,<br>im Format JPEG, PNG, BMP oder TIFF mit den Maßen 1250 x 700 Pixel.', 'exp-main-image-3' => 'Bitte beachten Sie die Maximalgröße von 20 MB.', 'exp-secondary-image' => 'Klicken Sie hier, um weitere Fotos hochzuladen.', 'exp-evidence-1' => 'Um Ihr Ansuchen bei uns einzureichen benötigen wir Beilagen, die den gesundheitlichen Zustand Ihres Kindes, sowie Ihre finanzielle Situation belegen..', 'exp-evidence-2' => 'Als Beilage akzeptieren wir medizinische Befunde und Gutachten, Arztschreiben vom zuständigen Facharzt oder der zuständigen medizinischen Anstalt; Einkommensbescheide, schriftliche Bescheide über den Bezug von erhöhtem Kinderbetreuungsgeld; Bestätigungen von öffentlichen Stellen.', 'exp-evidence-3' => '', 'exp-evidence-4' => 'Bitte laden Sie hier alle benötigten Beilagen hoch, damit einer weiteren Bearbeitung Ihres Antrages nichts im Wege steht.', 'exp-document-label' => 'Mindestens 2 Beilagen sind verpflichtend', 'exp-document-input' => 'Bitte klicken Sie hier um eine Beilage hochzuladen', 'validation-error' => ' Leider enthält Ihr Formular Fehler.', 'project-complete' => 'Dieser Antrag kann nicht mehr bearbeitet werden.', 'save-success' => 'Antrag erfolgreich gespeichert.', 'delete-success' => 'Antrag erfolgreich entfernt.', 'login' => ' Bitte <a href="' . url(LaravelLocalization::getCurrentLocale() . '/' . trans('routes.account/login')) . '">Einloggen</a> oder <a href="' . url(LaravelLocalization::getCurrentLocale() . '/' . trans('routes.account/register')) . '">Registrieren</a> um das Antragsformular zu aktivieren.', 'incomplete' => ' Sie haben derzeit einen unvollständigen Antrag gespeichert. Bitte fahren Sie mit dem gespeicherten Antrag fort, oder löschen Sie diesen.', 'live-project' => ' Sie haben momentan ein Förderungsprojekt live auf unserer Webseite. Sie können erst nach Ablauf einen weieren Antrag stellen.', 'duplicate-name' => ' Leider können Sie das Förderungsprojekt nicht mit diesen Titel benennen da dieser schon vergeben ist', 'pending-project' => ' Sie haben bereits einen Antrag in Bearbeitung.', 'not-owner' => 'Sie haben keinen Zugriff auf dieses Förderungsprojekt', 'not-authenticated' => 'Bitte Einloggen um fortzufahren', 'pending-approval' => 'Pending Approval', 'currently-live' => 'Currently Live', 'tips-heading' => 'Hilfreiche Tipps zur Antragsstellung', 'tip-1-title' => 'Projekttitel', 'tip-1-1' => 'Um Ihre Förderung zu beantragen braucht Ihr Projekt zunächst einen aussagekräftigen Titel. Dieser Projekttitel sollte Ihr Förderungsprojekt in einem kurzen, präzisen Satz eindeutig zusammenfassen und darf eine Maximallänge von 60 Zeichen haben.', 'tip-2-title' => 'Kurzbeschreibung', 'tip-2-1' => 'Die Kurzbeschreibung dient dazu, Ihre Situation bzw. Ihr Projekt in wenigen Sätzen zu beschreiben.', 'tip-2-2' => 'Schildern Sie uns die Beeinträchtigung, unter der Ihr Kind leidet, und geben Sie genau an, für welches Vorhaben Sie finanzielle Unterstützung benötigen. Bitte halten Sie sich an die Maximallänge von 180 Zeichen.', 'tip-3-title' => 'Hauptfoto', 'tip-3-1' => 'Das Hauptfoto ist das Hauptanzeigebild für Ihr Förderungsprojekt und zeigt üblicherweise ein aussagekräftiges Foto Ihres Kindes.', 'tip-3-2' => 'Bitte verwenden Sie hier ein hochauflösendes und qualitativ hochwertiges Bild im Format 768x1024 Pixel.', 'tip-3-3' => '', 'tip-4-title' => 'Ausführliche Beschreibung', 'tip-4-1' => 'Hier haben Sie die Möglichkeit, Ihr Förderungsprojekt im Detail vorzustellen. ', 'tip-4-2' => 'Beschreiben Sie Ihre Situation, weshalb Sie eine Förderung benötigen und für welchen Zweck Sie die Förderungssumme verwenden werden.', 'tip-4-3' => 'Wir empfehlen Ihnen insbesondere zu verdeutlichen, wie eine Förderung Ihrer ganzen Familie zu Gute kommen wird. ', 'tip-5-title' => 'Beilagen und Belege', 'tip-5-1' => 'Um Ihr Ansuchen bei uns einzureichen sind Sie verpflichtet, uns mindestens 2 Beilagen zu übermitteln, welche die gesundheitliche und finanzielle Situation Ihrer Familie belegen.', 'tip-5-2' => 'Als Beilage gelten zum Beispiel medizinische Befunde, Einkommensnachweise oder diverse Bestätigungen von öffentlichen Stellen.', 'tip-5-3' => 'Sie haben die Möglichkeit, hier bis zu 6 Beilagen anzuhängen.'];
예제 #16
0
        //Bids
        Route::get('/mybids', ['as' => 'mybids.index', 'uses' => 'BidController@index']);
        //Watchlist
        Route::get('/watchlist', ['as' => 'watchlist', 'uses' => 'WatchlistController@index']);
        Route::get('/watchlist/items', ['as' => 'watchlist.items', 'uses' => 'WatchlistController@items']);
        Route::get('/watchlist/add/{id}', 'WatchlistController@store');
        //Auth
        Route::get('/auth/login', 'Auth\\AuthController@getLogin');
        Route::get('/auth/logout', 'Auth\\AuthController@getLogout');
        // Registration routes...
        Route::get('/auth/register', 'Auth\\AuthController@getRegister');
    });
});
// Authentication Post
Route::post('/auth/login', ['as' => 'login', 'uses' => 'Auth\\AuthController@postLogin']);
Route::post('/auth/register', 'Auth\\AuthController@postRegister');
//Bids Post
Route::post('/bid/{id}', 'BidController@store');
Route::post('/buynow/{id}', 'BidController@buyNow');
//Myauctions Post
Route::post('/myauctions/store', 'AuctionController@store');
// AUTH FILTER
Route::filter('auth', function () {
    if (Auth::guest()) {
        return Redirect::to(LaravelLocalization::getCurrentLocale() . '/home');
    }
});
Route::get('/getartworks', 'AuctionController@getArtworks');
//Facebook Authentication Routes
Route::get('login/facebook', 'Auth\\AuthController@redirectToProvider');
Route::get('login/facebook/callback', 'Auth\\AuthController@handleProviderCallback');