├── .bowerrc ├── .env.example ├── .gitattributes ├── .gitignore ├── .styleci.yml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── TODO.md ├── app ├── Console │ ├── Commands │ │ ├── BorgertUser.php │ │ └── Inspire.php │ └── Kernel.php ├── Events │ └── Event.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── Admin │ │ │ ├── Blog │ │ │ │ ├── CategorysController.php │ │ │ │ ├── CommentsController.php │ │ │ │ └── PostsController.php │ │ │ ├── DashboardController.php │ │ │ ├── Gallerys │ │ │ │ └── GallerysController.php │ │ │ ├── Mailbox │ │ │ │ ├── ArchiveController.php │ │ │ │ ├── DeleteController.php │ │ │ │ ├── InboxController.php │ │ │ │ ├── MessageController.php │ │ │ │ └── TrashController.php │ │ │ ├── Pages │ │ │ │ ├── CategorysController.php │ │ │ │ └── ContentsController.php │ │ │ ├── Products │ │ │ │ ├── CategorysController.php │ │ │ │ └── ContentsController.php │ │ │ ├── Profile │ │ │ │ └── ProfileController.php │ │ │ └── Users │ │ │ │ └── UsersController.php │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── LogoutController.php │ │ │ └── ResetPasswordController.php │ │ ├── Blog │ │ │ ├── BlogController.php │ │ │ ├── CategorieController.php │ │ │ ├── CommentController.php │ │ │ ├── PostController.php │ │ │ ├── SearchController.php │ │ │ └── SitemapController.php │ │ ├── Controller.php │ │ └── Site │ │ │ ├── CompanyController.php │ │ │ └── ContactController.php │ ├── Kernel.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── LangMiddleware.php │ │ ├── RedirectIfAuthenticated.php │ │ └── VerifyCsrfToken.php │ └── Requests │ │ └── Request.php ├── Jobs │ └── Job.php ├── Libraries │ ├── RequestHandler.php │ ├── ResponseHandler.php │ ├── Upload.php │ ├── UploadHandler.php │ └── UploadHandlerOptions.php ├── Models │ └── Admin │ │ ├── Blog │ │ ├── Categorys.php │ │ ├── Comments.php │ │ └── Posts.php │ │ ├── Gallerys │ │ └── Gallerys.php │ │ ├── Mailbox.php │ │ ├── Pages │ │ ├── Categorys.php │ │ └── Contents.php │ │ └── Products │ │ ├── Categorys.php │ │ └── Contents.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Traits │ ├── ImageTrait.php │ └── SeoTrait.php └── User.php ├── artisan ├── bootstrap ├── app.php ├── autoload.php └── cache │ └── .gitignore ├── bower.json ├── composer.json ├── config ├── app.php ├── auth.php ├── borgert.php ├── broadcasting.php ├── cache.php ├── columnsortable.php ├── compile.php ├── database.php ├── filesystems.php ├── hashing.php ├── logging.php ├── mail.php ├── queue.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── factories │ └── ModelFactory.php ├── migrations │ ├── .gitkeep │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2016_06_01_022230_create_blog_category_table.php │ ├── 2016_06_01_022325_create_blog_posts_table.php │ ├── 2016_06_01_022455_create_blog_comments_table.php │ ├── 2016_06_02_001633_create_pages_categorys_table.php │ ├── 2016_06_02_001721_create_pages_contents_table.php │ ├── 2016_06_08_171056_create_products_category_table.php │ ├── 2016_06_08_172543_create_products_contents_table.php │ ├── 2016_06_14_003311_create_gallerys_table.php │ └── 2017_04_20_185507_create_mailbox_table.php └── seeds │ ├── .gitkeep │ └── DatabaseSeeder.php ├── docs ├── en │ ├── installation.md │ ├── libraries.md │ ├── modules.md │ ├── tips.md │ ├── uploads.md │ └── usage.md └── pt-br │ ├── installation.md │ ├── libraries.md │ ├── modules.md │ ├── tips.md │ ├── uploads.md │ └── usage.md ├── gulpfile.js ├── package.json ├── phpunit.phar ├── phpunit.xml ├── public ├── .htaccess ├── assets │ ├── admin │ │ ├── css │ │ │ └── all.css │ │ ├── favicon.ico │ │ ├── img │ │ │ ├── borgert-logo.png │ │ │ ├── borgert-medium.png │ │ │ ├── borgert-navbar.png │ │ │ └── borgert.png │ │ └── js │ │ │ └── all.js │ ├── auth │ │ ├── css │ │ │ └── all.css │ │ └── js │ │ │ └── all.js │ ├── blog │ │ ├── css │ │ │ └── all.css │ │ ├── img │ │ │ └── no-image.jpg │ │ └── js │ │ │ └── all.js │ ├── errors │ │ ├── css │ │ │ └── all.css │ │ └── js │ │ │ └── all.js │ └── site │ │ ├── css │ │ └── all.css │ │ └── js │ │ └── all.js ├── favicon.ico ├── index.php ├── robots.txt └── web.config ├── resources ├── assets │ ├── js │ │ ├── admin │ │ │ └── scripts.js │ │ ├── auth │ │ │ └── scripts.js │ │ ├── blog │ │ │ └── scripts.js │ │ ├── errors │ │ │ └── scripts.js │ │ └── site │ │ │ └── scripts.js │ └── sass │ │ ├── admin │ │ └── styles.scss │ │ ├── auth │ │ └── styles.scss │ │ ├── blog │ │ └── styles.scss │ │ ├── errors │ │ └── styles.scss │ │ └── site │ │ └── styles.scss ├── lang │ ├── en │ │ ├── admin │ │ │ ├── _globals.php │ │ │ ├── blog.php │ │ │ ├── dashboard.php │ │ │ ├── gallerys.php │ │ │ ├── logs.php │ │ │ ├── mailbox.php │ │ │ ├── pages.php │ │ │ ├── products.php │ │ │ ├── profile.php │ │ │ └── users.php │ │ ├── auth.php │ │ ├── blog │ │ │ └── frontend.php │ │ ├── error.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php │ ├── es │ │ ├── admin │ │ │ ├── _globals.php │ │ │ ├── blog.php │ │ │ ├── dashboard.php │ │ │ ├── gallerys.php │ │ │ ├── logs.php │ │ │ ├── mailbox.php │ │ │ ├── pages.php │ │ │ ├── products.php │ │ │ ├── profile.php │ │ │ └── users.php │ │ ├── auth.php │ │ ├── blog │ │ │ └── frontend.php │ │ ├── error.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php │ ├── pt │ │ ├── admin │ │ │ ├── _globals.php │ │ │ ├── blog.php │ │ │ ├── dashboard.php │ │ │ ├── gallerys.php │ │ │ ├── logs.php │ │ │ ├── mailbox.php │ │ │ ├── pages.php │ │ │ ├── products.php │ │ │ ├── profile.php │ │ │ └── users.php │ │ ├── auth.php │ │ ├── blog │ │ │ └── frontend.php │ │ ├── error.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php │ └── zh_cn │ │ ├── admin │ │ ├── _globals.php │ │ ├── blog.php │ │ ├── dashboard.php │ │ ├── gallerys.php │ │ ├── logs.php │ │ ├── mailbox.php │ │ ├── pages.php │ │ ├── products.php │ │ ├── profile.php │ │ └── users.php │ │ ├── auth.php │ │ ├── blog │ │ └── frontend.php │ │ ├── error.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php └── views │ ├── admin │ ├── _inc │ │ ├── alerts.blade.php │ │ ├── fileupload │ │ │ ├── buttons.blade.php │ │ │ ├── download.blade.php │ │ │ ├── empty.blade.php │ │ │ └── upload.blade.php │ │ └── menu.blade.php │ ├── base.blade.php │ ├── blog │ │ ├── base.blade.php │ │ ├── categorys │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ │ ├── comments │ │ │ ├── aproved.blade.php │ │ │ ├── base.blade.php │ │ │ ├── index.blade.php │ │ │ └── reproved.blade.php │ │ └── posts │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ ├── dashboard │ │ └── index.blade.php │ ├── gallerys │ │ ├── base.blade.php │ │ ├── create.blade.php │ │ ├── edit.blade.php │ │ └── index.blade.php │ ├── mailbox │ │ ├── _inc │ │ │ ├── empty.blade.php │ │ │ └── list.blade.php │ │ ├── archive.blade.php │ │ ├── inbox.blade.php │ │ ├── index.blade.php │ │ ├── message.blade.php │ │ └── trash.blade.php │ ├── pages │ │ ├── base.blade.php │ │ ├── categorys │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ │ └── contents │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ ├── products │ │ ├── base.blade.php │ │ ├── categorys │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ │ └── contents │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ ├── profile │ │ ├── index.blade.php │ │ └── profile.blade.php │ └── users │ │ ├── base.blade.php │ │ ├── create.blade.php │ │ ├── edit.blade.php │ │ └── index.blade.php │ ├── auth │ ├── index.blade.php │ ├── login.blade.php │ └── passwords │ │ ├── email.blade.php │ │ └── reset.blade.php │ ├── base.blade.php │ ├── blog │ ├── _inc │ │ ├── alerts.blade.php │ │ ├── categorys.blade.php │ │ ├── footer.blade.php │ │ ├── header.blade.php │ │ └── seo.blade.php │ ├── base.blade.php │ ├── empty.blade.php │ ├── index.blade.php │ ├── post.blade.php │ ├── posts.blade.php │ └── sitemap.blade.php │ ├── errors │ ├── 404.blade.php │ └── 503.blade.php │ ├── site │ └── pages │ │ └── template.blade.php │ └── vendor │ └── laravel-log-viewer │ ├── .gitkeep │ └── log.blade.php ├── routes ├── api.php ├── console.php └── web.php ├── server.php ├── storage ├── app │ ├── .gitignore │ └── public │ │ └── .gitignore ├── framework │ ├── .gitignore │ ├── cache │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ └── views │ │ └── .gitignore └── logs │ └── .gitignore └── tests ├── TestCase.php └── Unit └── User └── UserControllerTest.php /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory":"public/assets/components", 3 | "registry": "https://registry.bower.io" 4 | } -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | APP_ENV=local 2 | APP_DEBUG=true 3 | APP_KEY=SomeRandomString 4 | APP_URL=http://localhost 5 | 6 | LOG_CHANNEL=daily 7 | 8 | DB_CONNECTION=mysql 9 | DB_HOST=127.0.0.1 10 | DB_PORT=3306 11 | DB_DATABASE=homestead 12 | DB_USERNAME=homestead 13 | DB_PASSWORD=secret 14 | 15 | CACHE_DRIVER=file 16 | SESSION_DRIVER=file 17 | QUEUE_DRIVER=sync 18 | 19 | REDIS_HOST=127.0.0.1 20 | REDIS_PASSWORD=null 21 | REDIS_PORT=6379 22 | 23 | MAIL_DRIVER=smtp 24 | MAIL_HOST=smtp.mailtrap.io 25 | MAIL_PORT=2525 26 | MAIL_USERNAME=null 27 | MAIL_PASSWORD=null 28 | MAIL_ENCRYPTION=null 29 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /node_modules 3 | /storage 4 | /public/assets/components 5 | /public/uploads 6 | .env 7 | .idea 8 | composer.lock 9 | package-lock.json -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- 1 | preset: laravel -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | Copyright (c) 2016 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 5 | 6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9 | 10 | 11 | [Back Readme](./README.md). -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- 1 | 2 | ## TODO 3 | 4 | * Dinamic path to upload file in /config/filesystems.php 5 | - Get path in methods upload() 6 | 7 | * Group migrations in database 8 | * Change columns 'content' for 'description' 9 | * Table 'blog_posts' columns seo is not null !? 10 | -------------------------------------------------------------------------------- /app/Console/Commands/BorgertUser.php: -------------------------------------------------------------------------------- 1 | ask('What is your name?'); 40 | $email = $this->ask('What is your email?'); 41 | $password = $this->secret('Create your password?'); 42 | 43 | $user = new User(); 44 | $user->name = $name; 45 | $user->email = $email; 46 | $user->password = \Hash::make($password); 47 | $user->status = 1; 48 | 49 | $user->save(); 50 | 51 | $this->info('The user create with success!'); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /app/Console/Commands/Inspire.php: -------------------------------------------------------------------------------- 1 | comment(PHP_EOL.Inspiring::quote().PHP_EOL); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | Mailbox::where('map', 'INBOX'), 21 | 'archive' => Mailbox::where('map', 'ARCHIVE'), 22 | 'trash' => Mailbox::where('map', 'TRASH'), 23 | ]; 24 | 25 | return view('admin.dashboard.index', $mailbox); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/Http/Controllers/Admin/Mailbox/ArchiveController.php: -------------------------------------------------------------------------------- 1 | mailbox = $mailbox; 22 | } 23 | 24 | public function index() 25 | { 26 | $mailbox = $this->mailbox->where('map', 'ARCHIVE')->orderBy('created_at', 'desc')->paginate(10); 27 | 28 | return view('admin.mailbox.archive', ['mailbox' => $mailbox]); 29 | } 30 | 31 | public function archive($id) 32 | { 33 | $mailbox = $this->mailbox->find($id); 34 | $mailbox->update(['map' => 'ARCHIVE']); 35 | 36 | \Session::flash('success', trans('admin/mailbox.archive.messages.success')); 37 | 38 | return redirect()->route('admin.mailbox.archive'); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/Http/Controllers/Admin/Mailbox/DeleteController.php: -------------------------------------------------------------------------------- 1 | messages)) { 14 | \Session::flash('info', trans('admin/mailbox.destroy.messages.info')); 15 | 16 | return redirect()->route('admin.mailbox.inbox'); 17 | } 18 | 19 | Mailbox::destroy($request->messages); 20 | \Session::flash('success', trans('admin/mailbox.destroy.messages.success')); 21 | 22 | return redirect()->route('admin.mailbox.inbox'); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/Http/Controllers/Admin/Mailbox/InboxController.php: -------------------------------------------------------------------------------- 1 | orderBy('created_at', 'desc')->paginate(10); 13 | 14 | return view('admin.mailbox.inbox', ['mailbox' => $mailbox]); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/Http/Controllers/Admin/Mailbox/MessageController.php: -------------------------------------------------------------------------------- 1 | update(['open' => 1]); 14 | 15 | return view('admin.mailbox.message', ['message' => $message]); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/Http/Controllers/Admin/Mailbox/TrashController.php: -------------------------------------------------------------------------------- 1 | orderBy('created_at', 'desc')->paginate(10); 13 | 14 | return view('admin.mailbox.trash', ['mailbox' => $mailbox]); 15 | } 16 | 17 | public function trash($id) 18 | { 19 | $mailbox = Mailbox::find($id); 20 | $mailbox->update(['map' => 'TRASH']); 21 | 22 | \Session::flash('success', trans('admin/mailbox.trash.messages.success')); 23 | 24 | return redirect()->route('admin.mailbox.trash'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/Http/Controllers/Admin/Profile/ProfileController.php: -------------------------------------------------------------------------------- 1 | \Auth::user()]); 19 | } 20 | 21 | /** 22 | * Update the specified resource in storage. 23 | * 24 | * @param \Illuminate\Http\Request $request 25 | * 26 | * @return \Illuminate\Http\Response 27 | */ 28 | public function password(Request $request) 29 | { 30 | $this->validate($request, [ 31 | 'name' => 'required', 32 | 'email' => 'required', 33 | 'lang' => 'required', 34 | 'password' => 'sometimes|min:6', 35 | 'confirm_password' => 'sometimes|min:6', 36 | ]); 37 | 38 | if ($request->password != $request->confirm_password) { 39 | \Session::flash('success', trans('admin/profile.profile.password.messages.error')); 40 | 41 | return redirect()->route('admin.profile.profile'); 42 | } 43 | 44 | $user = \Auth::user(); 45 | $user->name = $request->name; 46 | $user->email = $request->email; 47 | $user->lang = $request->lang; 48 | 49 | if ($request->password != '') { 50 | $user->password = \Hash::make($request->password); 51 | } 52 | 53 | $user->save(); 54 | \Session::flash('success', trans('admin/profile.profile.password.messages.success')); 55 | 56 | return redirect()->route('admin.profile.profile'); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ForgotPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/LoginController.php: -------------------------------------------------------------------------------- 1 | middleware('guest', ['except' => 'logout']); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/LogoutController.php: -------------------------------------------------------------------------------- 1 | route('auth.login'); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ResetPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/Http/Controllers/Blog/BlogController.php: -------------------------------------------------------------------------------- 1 | page ? $request->page : ''); 17 | $posts = Posts::sortable(['publish_at' => 'desc'])->paginate(10); 18 | 19 | return view('blog.posts', compact('posts', 'page')); 20 | } 21 | 22 | // ------------------------------------------------------------------- 23 | 24 | public function categorys() 25 | { 26 | $categorys = Categorys::where('status', 1)->orderBy('order', 'ASC')->get(); 27 | 28 | return view('blog._inc.categorys', compact('categorys')); 29 | } 30 | 31 | // ------------------------------------------------------------------- 32 | } 33 | -------------------------------------------------------------------------------- /app/Http/Controllers/Blog/CategorieController.php: -------------------------------------------------------------------------------- 1 | page ? $request->page : ''); 17 | $category = Categorys::find($id); 18 | $posts = Posts::categoryId($id)->sortable(['publish_at' => 'desc'])->paginate(10); 19 | 20 | return view('blog.posts', compact('page', 'posts', 'category')); 21 | } 22 | 23 | // ------------------------------------------------------------------- 24 | } 25 | -------------------------------------------------------------------------------- /app/Http/Controllers/Blog/CommentController.php: -------------------------------------------------------------------------------- 1 | $id, 17 | 'name' => $request->name, 18 | 'email' => $request->email, 19 | 'description' => $request->comment, 20 | 'status' => 0, 21 | ]); 22 | 23 | \Session::flash('success', trans('blog/frontend.comments_success')); 24 | 25 | return redirect()->route('blog.post', ['id' => $id, 'title' => $title]); 26 | } 27 | 28 | // ------------------------------------------------------------------- 29 | } 30 | -------------------------------------------------------------------------------- /app/Http/Controllers/Blog/PostController.php: -------------------------------------------------------------------------------- 1 | 1, 'id' => $id])->first(); 16 | 17 | if ($post) { 18 | return view('blog.post', compact('post')); 19 | } 20 | 21 | return view('blog.empty'); 22 | } 23 | 24 | // ------------------------------------------------------------------- 25 | } 26 | -------------------------------------------------------------------------------- /app/Http/Controllers/Blog/SearchController.php: -------------------------------------------------------------------------------- 1 | page ? $request->page : 1); 16 | $term = $request->input('term'); 17 | 18 | $posts = Posts::search($term, null, true)->paginate(10); 19 | 20 | return view('blog.posts', compact('posts', 'term', 'page')); 21 | } 22 | 23 | // ------------------------------------------------------------------- 24 | } 25 | -------------------------------------------------------------------------------- /app/Http/Controllers/Blog/SitemapController.php: -------------------------------------------------------------------------------- 1 | 'asc'])->get(); 16 | $categorys = Categorys::where('status', 1)->get(); 17 | 18 | return response()->view('blog.sitemap', compact('posts', 'categorys'))->header('Content-Type', 'text/xml'); 19 | } 20 | 21 | // ------------------------------------------------------------------- 22 | } 23 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | lang); 24 | } 25 | 26 | return $next($request); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 22 | return redirect('/'); 23 | } 24 | 25 | return $next($request); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | response = $content; 12 | } 13 | 14 | public function get_response() 15 | { 16 | return $this->response; 17 | } 18 | 19 | public function body($str) 20 | { 21 | echo $str; 22 | } 23 | 24 | public function header($str) 25 | { 26 | header($str); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Libraries/Upload.php: -------------------------------------------------------------------------------- 1 | id; 14 | 15 | if (is_numeric($init['id'])) { 16 | $path = $init['id']; 17 | } 18 | 19 | $config = [ 20 | 'script_url' => route($init['route'], $path), 21 | 'upload_dir' => public_path('uploads').'/'.$init['path'].$path.'/', 22 | 'upload_url' => url('/').'/uploads/'.$init['path'].$path.'/', 23 | 'delete_type' => 'GET', 24 | ]; 25 | 26 | // Deletamos a imagem por GET 27 | if (isset($request->file)) { 28 | $file = $init['path'].$path.'/'.$request->file; 29 | if (\Storage::disk('uploads')->has($file)) { 30 | \Storage::disk('uploads')->delete($file); 31 | } 32 | 33 | $thumb = $init['path'].$path.'/thumbnail/'.$request->file; 34 | if (\Storage::disk('uploads')->has($thumb)) { 35 | \Storage::disk('uploads')->delete($thumb); 36 | } 37 | } 38 | 39 | new UploadHandler($config); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/Models/Admin/Blog/Categorys.php: -------------------------------------------------------------------------------- 1 | seo_title)) { 39 | return str_limit($this->seo_title, 70); 40 | } 41 | 42 | return str_limit($this->title, 70); 43 | } 44 | 45 | if ($type === 'description') { 46 | if (! empty($this->seo_description)) { 47 | return str_limit($this->seo_description, 170); 48 | } 49 | 50 | return str_limit($this->summary, 170); 51 | } 52 | 53 | if ($type === 'keywords') { 54 | return $this->seo_keywords; 55 | } 56 | } 57 | 58 | // ---------------------------------------------------------------------------- 59 | } 60 | -------------------------------------------------------------------------------- /app/Models/Admin/Blog/Comments.php: -------------------------------------------------------------------------------- 1 | belongsTo('App\Models\Admin\Blog\Posts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/Models/Admin/Gallerys/Gallerys.php: -------------------------------------------------------------------------------- 1 | [ 37 | 'path' => 'gallerys/', 38 | ], 39 | 'seo' => [ 40 | 'title' => 'title', 41 | 'description' => 'description', 42 | ], 43 | ]; 44 | 45 | // ------------------------------------------------------------------------------- 46 | } 47 | -------------------------------------------------------------------------------- /app/Models/Admin/Mailbox.php: -------------------------------------------------------------------------------- 1 | [ 38 | 'title' => 'title', 39 | 'description' => 'description', 40 | ], 41 | ]; 42 | 43 | // ------------------------------------------------------------------------------- 44 | 45 | public function category() 46 | { 47 | return $this->belongsTo('App\Models\Admin\Pages\Categorys'); 48 | } 49 | 50 | // ------------------------------------------------------------------------------- 51 | } 52 | -------------------------------------------------------------------------------- /app/Models/Admin/Products/Categorys.php: -------------------------------------------------------------------------------- 1 | [ 40 | 'path' => 'products/', 41 | ], 42 | 'seo' => [ 43 | 'title' => 'title', 44 | 'description' => 'description', 45 | ], 46 | ]; 47 | 48 | // ------------------------------------------------------------------------------- 49 | 50 | public function category() 51 | { 52 | return $this->belongsTo('App\Models\Admin\Products\Categorys'); 53 | } 54 | 55 | // ------------------------------------------------------------------------------- 56 | } 57 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | 'App\Policies\ModelPolicy', 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | */ 22 | public function boot() 23 | { 24 | $this->registerPolicies(); 25 | 26 | Passport::routes(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | id === (int) $userId; 22 | }); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'App\Listeners\EventListener', 18 | ], 19 | ]; 20 | 21 | /** 22 | * Register any events for your application. 23 | */ 24 | public function boot() 25 | { 26 | parent::boot(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- 1 | mapApiRoutes(); 33 | 34 | $this->mapWebRoutes(); 35 | } 36 | 37 | /** 38 | * Define the "web" routes for the application. 39 | * 40 | * These routes all receive session state, CSRF protection, etc. 41 | */ 42 | protected function mapWebRoutes() 43 | { 44 | Route::group([ 45 | 'middleware' => 'web', 46 | 'namespace' => $this->namespace, 47 | ], function ($router) { 48 | require base_path('routes/web.php'); 49 | }); 50 | } 51 | 52 | /** 53 | * Define the "api" routes for the application. 54 | * 55 | * These routes are typically stateless. 56 | */ 57 | protected function mapApiRoutes() 58 | { 59 | Route::group([ 60 | 'middleware' => 'api', 61 | 'namespace' => $this->namespace, 62 | 'prefix' => 'api', 63 | ], function ($router) { 64 | require base_path('routes/api.php'); 65 | }); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /app/Traits/ImageTrait.php: -------------------------------------------------------------------------------- 1 | traits['image']['path']) { 12 | return; 13 | } 14 | 15 | $img = collect(\Storage::disk('uploads')->files($this->traits['image']['path'].$this->id.'/'.($thumb ? 'thumbnail/' : '')))->first(); 16 | 17 | return $img ? 'uploads/'.$img : null; 18 | } 19 | 20 | // ------------------------------------------------------------------------------- 21 | 22 | public function images($thumb = false) 23 | { 24 | if (! $this->traits['image']['path']) { 25 | return; 26 | } 27 | 28 | return collect(\Storage::disk('uploads')->files($this->traits['image']['path'].$this->id.'/'.($thumb ? 'thumbnail/' : '')))->all(); 29 | } 30 | 31 | // ------------------------------------------------------------------------------- 32 | } 33 | -------------------------------------------------------------------------------- /app/Traits/SeoTrait.php: -------------------------------------------------------------------------------- 1 | seo_title)) { 15 | return str_limit($this->seo_title, 70); 16 | } 17 | 18 | return str_limit($this->{$this->traits['seo']['title']}, 70); 19 | } 20 | 21 | if ($type === 'description') { 22 | if (! empty($this->seo_description)) { 23 | return str_limit($this->seo_description, 170); 24 | } 25 | 26 | return str_limit($this->{$this->traits['seo']['description']}, 170); 27 | } 28 | 29 | if ($type === 'keywords') { 30 | if (! empty($this->seo_keywords)) { 31 | return $this->seo_keywords; 32 | } 33 | 34 | return; 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/User.php: -------------------------------------------------------------------------------- 1 | make(Illuminate\Contracts\Console\Kernel::class); 32 | 33 | $status = $kernel->handle( 34 | $input = new Symfony\Component\Console\Input\ArgvInput, 35 | new Symfony\Component\Console\Output\ConsoleOutput 36 | ); 37 | 38 | /* 39 | |-------------------------------------------------------------------------- 40 | | Shutdown The Application 41 | |-------------------------------------------------------------------------- 42 | | 43 | | Once Artisan has finished running. We will fire off the shutdown events 44 | | so that any final work may be done by the application before we shut 45 | | down the process. This is the last thing to happen to the request. 46 | | 47 | */ 48 | 49 | $kernel->terminate($input, $status); 50 | 51 | exit($status); 52 | -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- 1 | singleton( 30 | Illuminate\Contracts\Http\Kernel::class, 31 | App\Http\Kernel::class 32 | ); 33 | 34 | $app->singleton( 35 | Illuminate\Contracts\Console\Kernel::class, 36 | App\Console\Kernel::class 37 | ); 38 | 39 | $app->singleton( 40 | Illuminate\Contracts\Debug\ExceptionHandler::class, 41 | App\Exceptions\Handler::class 42 | ); 43 | 44 | /* 45 | |-------------------------------------------------------------------------- 46 | | Return The Application 47 | |-------------------------------------------------------------------------- 48 | | 49 | | This script returns the application instance. The instance is given to 50 | | the calling script so we can separate the building of the instances 51 | | from the actual running of the application and sending responses. 52 | | 53 | */ 54 | 55 | return $app; 56 | -------------------------------------------------------------------------------- /bootstrap/autoload.php: -------------------------------------------------------------------------------- 1 | " 7 | ], 8 | "license": "MIT", 9 | "keywords": [ 10 | "borgert", 11 | "cms", 12 | "laravel", 13 | "admin" 14 | ], 15 | "homepage": "https://github.com/odirleiborgert/borgert-cms", 16 | "private": true, 17 | "ignore": [ 18 | "**/.*", 19 | "node_modules", 20 | "bower_components", 21 | "test", 22 | "tests" 23 | ], 24 | "dependencies": { 25 | "bootstrap": "^4.1.2", 26 | "font-awesome": "fontawesome#^4.7.0", 27 | "metisMenu": "metismenu#^2.7.9", 28 | "jquery": "^3.3.1", 29 | "blueimp-file-upload": "^9.22.0", 30 | "switchery": "^0.8.2", 31 | "summernote": "^0.8.10", 32 | "datetimepicker": "^2.5.20" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "odirleiborgert/borgert-cms", 3 | "description": "Borgert CMS - Laravel Framework.", 4 | "keywords": ["framework", "cms", "borgert", "rocket", "content management system", "open source", "laravel"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "Odirlei Borgert", 9 | "email": "odirleiborgert@gmail.com" 10 | } 11 | ], 12 | "type": "project", 13 | "require": { 14 | "php": ">=7.1.3", 15 | "doctrine/dbal": "^2.6", 16 | "kyslik/column-sortable": "5.6.*", 17 | "laravel/framework": "5.6.*", 18 | "laravel/passport": "^5.0", 19 | "nicolaslopezj/searchable": "^1.10", 20 | "rap2hpoutre/laravel-log-viewer": "^0.11.1", 21 | "thomaswelton/laravel-gravatar": "^1.1" 22 | }, 23 | "require-dev": { 24 | "fzaninotto/faker": "~1.4", 25 | "mockery/mockery": "1.0.*", 26 | "phpunit/phpunit": "~7.0", 27 | "filp/whoops": "~2.0" 28 | }, 29 | "autoload": { 30 | "classmap": [ 31 | "database" 32 | ], 33 | "psr-4": { 34 | "App\\": "app/" 35 | } 36 | }, 37 | "autoload-dev": { 38 | "classmap": [ 39 | "tests/TestCase.php" 40 | ] 41 | }, 42 | "scripts": { 43 | "post-root-package-install": [ 44 | "php -r \"copy('.env.example', '.env');\"" 45 | ], 46 | "post-create-project-cmd": [ 47 | "php artisan key:generate" 48 | ], 49 | "post-install-cmd": [ 50 | "Illuminate\\Foundation\\ComposerScripts::postInstall" 51 | ], 52 | "post-update-cmd": [ 53 | "Illuminate\\Foundation\\ComposerScripts::postUpdate" 54 | ], 55 | "post-autoload-dump": [ 56 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 57 | "@php artisan package:discover" 58 | ] 59 | }, 60 | "config": { 61 | "preferred-install": "dist", 62 | "sort-packages": true, 63 | "optimize-autoloader": true 64 | }, 65 | "minimum-stability": "dev", 66 | "prefer-stable": true 67 | } 68 | -------------------------------------------------------------------------------- /config/borgert.php: -------------------------------------------------------------------------------- 1 | 'Borgert CMS', 12 | 'laravel' => 'Laravel 5.6', 13 | 'version' => '2.0.0', 14 | 'opensource' => 'https://github.com/odirleiborgert/borgert-cms', 15 | 16 | ]; 17 | -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- 1 | env('BROADCAST_DRIVER', 'pusher'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Broadcast Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the broadcast connections that will be used 24 | | to broadcast events to other systems or over websockets. Samples of 25 | | each available type of connection are provided inside this array. 26 | | 27 | */ 28 | 29 | 'connections' => [ 30 | 31 | 'pusher' => [ 32 | 'driver' => 'pusher', 33 | 'key' => env('PUSHER_KEY'), 34 | 'secret' => env('PUSHER_SECRET'), 35 | 'app_id' => env('PUSHER_APP_ID'), 36 | 'options' => [ 37 | 38 | ], 39 | ], 40 | 41 | 'redis' => [ 42 | 'driver' => 'redis', 43 | 'connection' => 'default', 44 | ], 45 | 46 | 'log' => [ 47 | 'driver' => 'log', 48 | ], 49 | 50 | ], 51 | 52 | ]; 53 | -------------------------------------------------------------------------------- /config/columnsortable.php: -------------------------------------------------------------------------------- 1 | [ 9 | 'alpha' => [ 10 | 'rows' => ['description', 'email', 'name', 'slug'], 11 | 'class' => 'fa fa-sort-alpha', 12 | ], 13 | 'amount' => [ 14 | 'rows' => ['amount', 'price'], 15 | 'class' => 'fa fa-sort-amount', 16 | ], 17 | 'numeric' => [ 18 | 'rows' => ['created_at', 'updated_at', 'level', 'id', 'phone_number'], 19 | 'class' => 'fa fa-sort-numeric', 20 | ], 21 | ], 22 | 23 | /* 24 | defines icon set to use when sorted data is none above (alpha nor amount nor numeric) 25 | */ 26 | 'default_icon_set' => 'fa fa-sort', 27 | 28 | /* 29 | icon that shows when generating sortable link while column is not sorted 30 | */ 31 | 'sortable_icon' => 'fa fa-sort', 32 | 33 | /* 34 | suffix class that is appended when ascending order is applied 35 | */ 36 | 'asc_suffix' => '-asc', 37 | 38 | /* 39 | suffix class that is appended when descending order is applied 40 | */ 41 | 'desc_suffix' => '-desc', 42 | 43 | /* 44 | default anchor class, if value is null none is added 45 | */ 46 | 'anchor_class' => null, 47 | 48 | /* 49 | relation - column separator ex: detail.phone_number means relation "detail" and column "phone_number" 50 | */ 51 | 'uri_relation_column_separator' => '.', 52 | 53 | /* 54 | formatting function applied to name of column, use null to turn formatting off 55 | */ 56 | 'formatting_function' => 'ucfirst', 57 | 58 | /* 59 | allow request modification, when default sorting is set but is not in URI (first load) 60 | */ 61 | 'allow_request_modification' => true, 62 | 63 | /* 64 | default order for: $user->sortable(['id']) usage 65 | */ 66 | 'default_order' => 'asc', 67 | 68 | /* 69 | default order for non-sorted columns 70 | */ 71 | 'default_order_unsorted' => 'asc', 72 | 73 | ]; 74 | -------------------------------------------------------------------------------- /config/compile.php: -------------------------------------------------------------------------------- 1 | [ 17 | 18 | ], 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Compiled File Providers 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may list service providers which define a "compiles" function 26 | | that returns additional files that should be compiled, providing an 27 | | easy way to get common files from any packages you are utilizing. 28 | | 29 | */ 30 | 31 | 'providers' => [ 32 | 33 | ], 34 | 35 | ]; 36 | -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- 1 | 'bcrypt', 19 | 20 | ]; 21 | -------------------------------------------------------------------------------- /config/logging.php: -------------------------------------------------------------------------------- 1 | env('LOG_CHANNEL', 'stack'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Log Channels 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure the log channels for your application. Out of 24 | | the box, Laravel uses the Monolog PHP logging library. This gives 25 | | you a variety of powerful log handlers / formatters to utilize. 26 | | 27 | | Available Drivers: "single", "daily", "slack", "syslog", 28 | | "errorlog", "custom", "stack" 29 | | 30 | */ 31 | 32 | 'channels' => [ 33 | 'stack' => [ 34 | 'driver' => 'stack', 35 | 'channels' => ['daily'], 36 | ], 37 | 38 | 'single' => [ 39 | 'driver' => 'single', 40 | 'path' => storage_path('logs/laravel.log'), 41 | 'level' => 'debug', 42 | ], 43 | 44 | 'daily' => [ 45 | 'driver' => 'daily', 46 | 'path' => storage_path('logs/laravel.log'), 47 | 'level' => 'debug', 48 | 'days' => 7, 49 | ], 50 | 51 | 'slack' => [ 52 | 'driver' => 'slack', 53 | 'url' => env('LOG_SLACK_WEBHOOK_URL'), 54 | 'username' => 'Laravel Log', 55 | 'emoji' => ':boom:', 56 | 'level' => 'critical', 57 | ], 58 | 59 | 'syslog' => [ 60 | 'driver' => 'syslog', 61 | 'level' => 'debug', 62 | ], 63 | 64 | 'errorlog' => [ 65 | 'driver' => 'errorlog', 66 | 'level' => 'debug', 67 | ], 68 | ], 69 | 70 | ]; 71 | -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => env('MAILGUN_DOMAIN'), 19 | 'secret' => env('MAILGUN_SECRET'), 20 | ], 21 | 22 | 'ses' => [ 23 | 'key' => env('SES_KEY'), 24 | 'secret' => env('SES_SECRET'), 25 | 'region' => 'us-east-1', 26 | ], 27 | 28 | 'sparkpost' => [ 29 | 'secret' => env('SPARKPOST_SECRET'), 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => App\User::class, 34 | 'key' => env('STRIPE_KEY'), 35 | 'secret' => env('STRIPE_SECRET'), 36 | ], 37 | 38 | ]; 39 | -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- 1 | [ 17 | realpath(base_path('resources/views')), 18 | ], 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Compiled View Path 23 | |-------------------------------------------------------------------------- 24 | | 25 | | This option determines where all the compiled Blade templates will be 26 | | stored for your application. Typically, this is within the storage 27 | | directory. However, as usual, you are free to change this value. 28 | | 29 | */ 30 | 31 | 'compiled' => realpath(storage_path('framework/views')), 32 | 33 | ]; 34 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /database/factories/ModelFactory.php: -------------------------------------------------------------------------------- 1 | define(App\User::class, function (Faker\Generator $faker) { 17 | return [ 18 | 'name' => $faker->name, 19 | 'email' => $faker->safeEmail, 20 | 'password' => Hash::make(str_random(10)), 21 | 'remember_token' => str_random(10), 22 | ]; 23 | }); 24 | -------------------------------------------------------------------------------- /database/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('name'); 18 | $table->string('email')->unique(); 19 | $table->string('password'); 20 | $table->string('lang')->default('en'); 21 | $table->rememberToken(); 22 | $table->integer('status'); 23 | $table->timestamps(); 24 | $table->softDeletes(); 25 | }); 26 | } 27 | 28 | /** 29 | * Reverse the migrations. 30 | * 31 | * @return void 32 | */ 33 | public function down() 34 | { 35 | Schema::drop('users'); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- 1 | string('email')->index(); 17 | $table->string('token')->index(); 18 | $table->timestamp('created_at'); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::drop('password_resets'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2016_06_01_022230_create_blog_category_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('title', 120); 18 | $table->integer('order')->default(0); 19 | $table->integer('status')->default(1); 20 | $table->softDeletes(); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::drop('blog_category'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2016_06_01_022325_create_blog_posts_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('title', 170); 18 | $table->text('summary'); 19 | $table->text('description'); 20 | $table->integer('category_id')->unsigned(); 21 | $table->foreign('category_id')->references('id')->on('blog_category'); 22 | $table->integer('status')->default(1); 23 | $table->string('seo_title', 70)->nullable(); 24 | $table->string('seo_description', 170)->nullable(); 25 | $table->string('seo_keywords')->nullable(); 26 | $table->timestamp('publish_at')->nullable(); 27 | $table->softDeletes(); 28 | $table->timestamps(); 29 | }); 30 | } 31 | 32 | /** 33 | * Reverse the migrations. 34 | * 35 | * @return void 36 | */ 37 | public function down() 38 | { 39 | Schema::drop('blog_posts'); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /database/migrations/2016_06_01_022455_create_blog_comments_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('name', 100); 18 | $table->string('email', 150); 19 | $table->text('description'); 20 | $table->integer('post_id')->unsigned(); 21 | $table->foreign('post_id')->references('id')->on('blog_posts'); 22 | $table->integer('status')->default(1); 23 | $table->softDeletes(); 24 | $table->timestamps(); 25 | }); 26 | } 27 | 28 | /** 29 | * Reverse the migrations. 30 | * 31 | * @return void 32 | */ 33 | public function down() 34 | { 35 | Schema::drop('blog_comments'); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /database/migrations/2016_06_02_001633_create_pages_categorys_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('title', 120); 18 | $table->integer('order')->default(0); 19 | $table->integer('status')->default(1); 20 | $table->softDeletes(); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::drop('pages_categorys'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2016_06_02_001721_create_pages_contents_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('title', 170); 18 | $table->text('description'); 19 | $table->integer('category_id')->unsigned(); 20 | $table->foreign('category_id')->references('id')->on('pages_categorys'); 21 | $table->integer('order')->default(0); 22 | $table->integer('status')->default(1); 23 | $table->string('slug')->default(''); 24 | $table->string('seo_title', 70); 25 | $table->string('seo_description', 170); 26 | $table->string('seo_keywords')->nullable(); 27 | $table->softDeletes(); 28 | $table->timestamps(); 29 | }); 30 | } 31 | 32 | /** 33 | * Reverse the migrations. 34 | * 35 | * @return void 36 | */ 37 | public function down() 38 | { 39 | Schema::drop('pages_contents'); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /database/migrations/2016_06_08_171056_create_products_category_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('title', 120); 18 | $table->integer('order')->default(0); 19 | $table->integer('status')->default(1); 20 | $table->softDeletes(); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::drop('products_categorys'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2016_06_08_172543_create_products_contents_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('title', 170); 18 | $table->text('description'); 19 | $table->integer('category_id')->unsigned(); 20 | $table->foreign('category_id')->references('id')->on('products_categorys'); 21 | $table->string('information_technical')->nullable(); 22 | $table->decimal('price', 15, 2)->nullable(); 23 | $table->decimal('price_per', 15, 2)->nullable(); 24 | $table->string('code')->nullable(); 25 | $table->integer('status')->default(1); 26 | $table->string('seo_title', 70)->nullable(); 27 | $table->string('seo_description', 170)->nullable(); 28 | $table->string('seo_keywords')->nullable(); 29 | $table->softDeletes(); 30 | $table->timestamps(); 31 | }); 32 | } 33 | 34 | /** 35 | * Reverse the migrations. 36 | * 37 | * @return void 38 | */ 39 | public function down() 40 | { 41 | Schema::drop('products_contents'); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /database/migrations/2016_06_14_003311_create_gallerys_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('title', 170); 18 | $table->text('description')->nullable(); 19 | $table->integer('order')->default(0); 20 | $table->integer('status')->default(1); 21 | $table->string('seo_title', 70)->nullable(); 22 | $table->string('seo_description', 170)->nullable(); 23 | $table->string('seo_keywords')->nullable(); 24 | $table->softDeletes(); 25 | $table->timestamps(); 26 | }); 27 | } 28 | 29 | /** 30 | * Reverse the migrations. 31 | * 32 | * @return void 33 | */ 34 | public function down() 35 | { 36 | Schema::drop('gallerys'); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /database/migrations/2017_04_20_185507_create_mailbox_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->string('locale', 40)->default('CONTATO'); 19 | $table->string('name', 130); 20 | $table->string('email', 120); 21 | $table->string('subject', 70); 22 | $table->text('description'); 23 | $table->string('map', 40)->default('INBOX'); 24 | $table->boolean('open')->default(0); 25 | $table->timestamps(); 26 | $table->softDeletes(); 27 | }); 28 | } 29 | 30 | /** 31 | * Reverse the migrations. 32 | * 33 | * @return void 34 | */ 35 | public function down() 36 | { 37 | Schema::dropIfExists('mailbox'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /database/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(UsersTableSeeder::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /docs/en/installation.md: -------------------------------------------------------------------------------- 1 | 2 | # Installation Guide 3 | 4 | #### Step 1: 5 | Install gulp, laravel-elixir, bootstrap-sass and others. 6 | > npm install 7 | 8 | #### Step 2: 9 | Install libraries bower 10 | > bower install 11 | 12 | #### Step 3: 13 | Packagist install the packages using the composer. 14 | > composer install 15 | 16 | #### Step 4: 17 | Set or create `.env` file with your database settings, `.env.example` file can be used as an example. 18 | 19 | #### Step 5: 20 | > php artisan key:generate 21 | 22 | #### Step 6: 23 | > php artisan migrate 24 | 25 | #### Step 7: 26 | Let access to tinker artisan to create the first user to access the CMS. 27 | 28 | > php artisan borgert:user 29 | 30 | OR 31 | 32 | > php artisan tinker 33 | 34 | ```shell 35 | $user = new App\User; 36 | $user->name = 'Your Name'; 37 | $user->email = 'your@email.com'; 38 | $user->password = \Hash::make('YourPassword'); 39 | $user->status = 1; 40 | $user->save(); 41 | ``` 42 | 43 | #### Step 8: 44 | In the console started to listen to gulp our files *.less and *.js that are within the folder `resources/assets/[js,less]` If you have modifications. I remember that in this case I'm just using `less`, can also be used `stylus && sass`. 45 | > gulp watch 46 | 47 | #### Step 9: 48 | In another console we started the server. 49 | > php artisan serve 50 | 51 | #### Step 10: 52 | Visit http://localhost:8000/admin 53 | 54 | 55 | ------------------------------ 56 | 57 | #### You want to join? 58 | - Making a pull request or by creating an [issue] (https://github.com/odirleiborgert/borgert-cms/issues). 59 | 60 | #### Is there a problem in the installation? 61 | Report with a [issue] (https://github.com/odirleiborgert/borgert-cms/issues). -------------------------------------------------------------------------------- /docs/en/libraries.md: -------------------------------------------------------------------------------- 1 | 2 | # Libraries 3 | 4 | ----- 5 | #### PHP Libraries 6 | 7 | * [laravel/laravel](https://github.com/laravel/laravel) - A PHP Framework For Web Artisans 8 | * [thomaswelton/laravel-gravatar](https://github.com/thomaswelton/laravel-gravatar) - Image gravatar 9 | * [kyslik/column-sortable](https://github.com/Kyslik/column-sortable) - Order by column 10 | * [rap2hpoutre/laravel-log-viewer](https://github.com/rap2hpoutre/laravel-log-viewer) - Log viewer 11 | * [nicolaslopezj/searchable](https://github.com/nicolaslopezj/searchable) - Search for blog 12 | 13 | 14 | ----- 15 | #### Javascript Libraries 16 | 17 | * [Bootstrap](http://getbootstrap.com) - Framework CSS 18 | * [Font Awesome](http://http://fontawesome.io/) - Best Icones 19 | * [Jquery](http://jquery.com) - Framework Javascript 20 | * [Metis Menu](https://github.com/onokumus/metisMenu) - Menu toogle 21 | * [Summer Note](https://github.com/summernote/summernote) - Editor text 22 | * [Blueimp - jQuery File Upload](https://github.com/blueimp/jQuery-File-Upload) - Upload files (ajax) 23 | 24 | For new libraries search the site bower.io/search/ and use the following command that will install the folder `public/assets/components/` 25 | 26 | > bower install X_PACKAGE_X --save 27 | 28 | 29 | ------------------------------ 30 | 31 | #### You want to join? 32 | - Making a pull request or by creating an [issue] (https://github.com/odirleiborgert/borgert-cms/issues). 33 | 34 | #### Is there a problem in the installation? 35 | Report with a [issue] (https://github.com/odirleiborgert/borgert-cms/issues). -------------------------------------------------------------------------------- /docs/en/modules.md: -------------------------------------------------------------------------------- 1 | 2 | # Modules 3 | 4 | 1. Blog 5 | * Categorys 6 | * Posts 7 | * Coments 8 | 2. Pages 9 | * Categorys 10 | * Contents 11 | 3. Products 12 | * Categorys 13 | * Contents 14 | 4. Mailbox 15 | * Inbox 16 | * Archive 17 | * Trash 18 | 5. Users 19 | 6. Log Viewer 20 | 21 | 22 | ------------------------------ 23 | 24 | #### You want to join? 25 | - Making a pull request or by creating an [issue] (https://github.com/odirleiborgert/borgert-cms/issues). 26 | 27 | #### Is there a problem in the installation? 28 | Report with a [issue] (https://github.com/odirleiborgert/borgert-cms/issues). -------------------------------------------------------------------------------- /docs/en/tips.md: -------------------------------------------------------------------------------- 1 | 2 | # Tips Deploy 3 | 4 | 5 | ## Services 6 | * [DeployHQ](http://www.deployhq.com) - Free for one project. http://www.deployhq.com 7 | 8 | 9 | 10 | ## Paths 11 | * When to check deploy if the following lists exist on the server. 12 | 13 | ``` 14 | ├── storage/ 15 | | ├── framework/ 16 | | | └── cache/ 17 | | | └── sessions/ 18 | | | └── views 19 | | | 20 | ``` 21 | 22 | ## Rename path `public` to `www` 23 | * https://laracasts.com/discuss/channels/servers/laravel-51-change-name-and-location-of-public-folder/replies/100565 24 | Recalling that to run the server locally you must also change the file `server.php` 25 | 26 | 27 | ------------------------ 28 | 29 | #### You want to join? 30 | - Making a pull request or by creating an [issue] (https://github.com/odirleiborgert/borgert-cms/issues). 31 | 32 | #### Is there a problem in the installation? 33 | Report with a [issue] (https://github.com/odirleiborgert/borgert-cms/issues). 34 | 35 | -------------------------------------------------------------------------------- /docs/pt-br/installation.md: -------------------------------------------------------------------------------- 1 | 2 | # Guia de Instalação 3 | 4 | #### Passo 1: 5 | Instalamos gulp, laravel-elixir, bootstrap-sass e demais pacotes via npm. 6 | > npm install 7 | 8 | #### Passo 2: 9 | Instalamos os plugins utilizados 10 | > bower install 11 | 12 | #### Passo 3: 13 | Instalamos os pacotes do packagist utilizando o composer. 14 | > composer install 15 | 16 | #### Passo 4: 17 | Configure ou crie o arquivo `.env` com suas configurações de banco de dados, o arquivo `.env.example` pode ser usado como exemplo. 18 | 19 | #### Passo 5: 20 | > php artisan key:generate 21 | 22 | #### Passo 6: 23 | > php artisan migrate 24 | 25 | #### Passo 7: 26 | Vamos acessar ao tinker do artisan para criar o primeiro usuário para acessar ao CMS 27 | 28 | > php artisan borgert:user 29 | 30 | Ou 31 | 32 | > php artisan tinker 33 | 34 | ```shell 35 | $user = new App\User; 36 | $user->name = 'Seu Nome'; 37 | $user->email = 'seu@email.com'; 38 | $user->password = \Hash::make('SuaSenha'); 39 | $user->status = 1; 40 | $user->save(); 41 | ``` 42 | 43 | #### Passo 8: 44 | No console iniciamos o gulp para escutar nossos arquivos *.less e *.js que estão dentro da pasta `resources/assets/[js,less]` caso tiver modificações. Lembro que nesse caso estou só utilizando o `less`, também pode ser utilizado `stylus && sass`. 45 | > gulp watch 46 | 47 | #### Passo 9: 48 | Em outro console iniciamos o servidor. 49 | > php artisan serve 50 | 51 | #### Passo 10: 52 | Acessar http://localhost:8000/admin 53 | 54 | 55 | 56 | ------------------------ 57 | 58 | #### Quer participar? 59 | - Fazendo um pull request ou criando uma [issue](https://github.com/odirleiborgert/borgert-cms/issues). 60 | 61 | #### Algum problema na instalação? 62 | Reporte com uma [issue](https://github.com/odirleiborgert/borgert-cms/issues). 63 | 64 | 65 | -------------------------------------------------------------------------------- /docs/pt-br/libraries.md: -------------------------------------------------------------------------------- 1 | 2 | # Libraries 3 | 4 | ----- 5 | #### PHP Libraries 6 | 7 | * [laravel/laravel](https://github.com/laravel/laravel) - A PHP Framework For Web Artisans 8 | * [thomaswelton/laravel-gravatar](https://github.com/thomaswelton/laravel-gravatar) - Image gravatar 9 | * [kyslik/column-sortable](https://github.com/Kyslik/column-sortable) - Ordenação por colunas 10 | * [rap2hpoutre/laravel-log-viewer](https://github.com/rap2hpoutre/laravel-log-viewer) - Visualizador de logs 11 | * [nicolaslopezj/searchable](https://github.com/nicolaslopezj/searchable) - Buscador para blog 12 | 13 | 14 | ----- 15 | #### Javascript Libraries 16 | 17 | * [Bootstrap](http://getbootstrap.com) - Framework CSS 18 | * [Font Awesome](http://http://fontawesome.io/) - Ícones 19 | * [Jquery](http://jquery.com) - Framework Javascript 20 | * [Metis Menu](https://github.com/onokumus/metisMenu) - Menu toogle 21 | * [Summer Note](https://github.com/summernote/summernote) - Editor de texto 22 | * [Blueimp - jQuery File Upload](https://github.com/blueimp/jQuery-File-Upload) - Upload de arquivos (ajax) 23 | 24 | Para novas libraries procure no site bower.io/search/ e utilize o comando abaixo que irá instalar na pasta `public/assets/components/` 25 | `> bower install X_PACKAGE_X --save` 26 | 27 | 28 | ------------------------ 29 | 30 | #### Quer participar? 31 | - Fazendo um pull request ou criando uma [issue](https://github.com/odirleiborgert/borgert-cms/issues). 32 | 33 | #### Algum problema na instalação? 34 | Reporte com uma [issue](https://github.com/odirleiborgert/borgert-cms/issues). 35 | 36 | 37 | -------------------------------------------------------------------------------- /docs/pt-br/modules.md: -------------------------------------------------------------------------------- 1 | 2 | # Modulos 3 | 4 | 1. Blog 5 | * Categorias 6 | * Posts 7 | * Comentários 8 | 2. Páginas 9 | * Categorias 10 | * Conteúdos 11 | 3. Produtos 12 | * Categorias 13 | * Conteúdos 14 | 4. Mailbox 15 | * Caixa de Entrada 16 | * Arquivados 17 | * Lixeira 18 | 5. Usuários 19 | 6. Log Viewer 20 | 21 | 22 | ------------------------ 23 | 24 | #### Quer participar? 25 | - Fazendo um pull request ou criando uma [issue](https://github.com/odirleiborgert/borgert-cms/issues). 26 | 27 | #### Algum problema na instalação? 28 | Reporte com uma [issue](https://github.com/odirleiborgert/borgert-cms/issues). 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /docs/pt-br/tips.md: -------------------------------------------------------------------------------- 1 | 2 | # Dicas para Deploy 3 | 4 | 5 | ## Serviços 6 | * [DeployHQ](http://www.deployhq.com) - Free para 1 projeto. http://www.deployhq.com 7 | 8 | 9 | 10 | ## Pastas 11 | * Quando fizer o deploy cheque se as pastas a seguir existem no servidor. 12 | 13 | ``` 14 | ├── storage/ 15 | | ├── framework/ 16 | | | └── cache/ 17 | | | └── sessions/ 18 | | | └── views 19 | | | 20 | ``` 21 | 22 | ## Renomear a pasta `public` para `www` 23 | * https://laracasts.com/discuss/channels/servers/laravel-51-change-name-and-location-of-public-folder/replies/100565 24 | Lembrando que para rodar o servidor localmente você precisa também alterar o arquivo `server.php` 25 | 26 | 27 | ------------------------ 28 | 29 | #### Quer participar? 30 | - Fazendo um pull request ou criando uma [issue](https://github.com/odirleiborgert/borgert-cms/issues). 31 | 32 | #### Algum problema na instalação? 33 | Reporte com uma [issue](https://github.com/odirleiborgert/borgert-cms/issues). 34 | 35 | 36 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | const elixir = require('laravel-elixir'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Elixir Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks 9 | | for your Laravel application. By default, we are compiling the Sass 10 | | file for our application, as well as publishing vendor resources. 11 | | 12 | */ 13 | 14 | 15 | elixir.config.sourcemaps = false; 16 | 17 | elixir(function(mix) { 18 | 19 | // Auth 20 | mix.sass(['auth/styles.scss'],'public/assets/auth/css/all.css'); 21 | mix.scripts(['auth/scripts.js'], 'public/assets/auth/js/all.js'); 22 | 23 | // Admin 24 | mix.sass(['admin/styles.scss'],'public/assets/admin/css/all.css'); 25 | mix.scripts(['admin/scripts.js'], 'public/assets/admin/js/all.js'); 26 | 27 | // Blog 28 | mix.sass(['blog/styles.scss'],'public/assets/blog/css/all.css'); 29 | mix.scripts(['blog/scripts.js'], 'public/assets/blog/js/all.js'); 30 | 31 | // Site 32 | mix.sass(['site/styles.scss'],'public/assets/site/css/all.css'); 33 | mix.scripts(['site/scripts.js'], 'public/assets/site/js/all.js'); 34 | 35 | // Errors 36 | mix.sass(['errors/styles.scss'],'public/assets/errors/css/all.css'); 37 | mix.scripts(['errors/scripts.js'], 'public/assets/errors/js/all.js'); 38 | 39 | }); 40 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "prod": "gulp --production", 5 | "dev": "gulp watch" 6 | }, 7 | "devDependencies": { 8 | "gulp": "^3.9.1", 9 | "laravel-elixir": "^6.0.0-18" 10 | }, 11 | "dependencies": {} 12 | } 13 | -------------------------------------------------------------------------------- /phpunit.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/phpunit.phar -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | ./tests/ 15 | 16 | 17 | 18 | 19 | app/ 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Redirect Trailing Slashes If Not A Folder... 9 | RewriteCond %{REQUEST_FILENAME} !-d 10 | RewriteRule ^(.*)/$ /$1 [L,R=301] 11 | 12 | # Handle Front Controller... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_FILENAME} !-f 15 | RewriteRule ^ index.php [L] 16 | 17 | # Handle Authorization Header 18 | RewriteCond %{HTTP:Authorization} . 19 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 20 | 21 | -------------------------------------------------------------------------------- /public/assets/admin/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/public/assets/admin/favicon.ico -------------------------------------------------------------------------------- /public/assets/admin/img/borgert-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/public/assets/admin/img/borgert-logo.png -------------------------------------------------------------------------------- /public/assets/admin/img/borgert-medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/public/assets/admin/img/borgert-medium.png -------------------------------------------------------------------------------- /public/assets/admin/img/borgert-navbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/public/assets/admin/img/borgert-navbar.png -------------------------------------------------------------------------------- /public/assets/admin/img/borgert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/public/assets/admin/img/borgert.png -------------------------------------------------------------------------------- /public/assets/admin/js/all.js: -------------------------------------------------------------------------------- 1 | 2 | $(document).ready(function () { 3 | 4 | // -------------------------------------------------------------------------------------- 5 | 6 | /** 7 | * Others plugins 8 | */ 9 | 10 | // Editor summer note 11 | $('.summernote').summernote({ 12 | height: 270, 13 | lang: 'pt-BR' 14 | }); 15 | 16 | // Metis Menu 17 | $('.metismenu').metisMenu(); 18 | 19 | // Switchery 20 | if (document.querySelector('.js-switch') != null) { 21 | new Switchery(document.querySelector('.js-switch'), {color: '#F9D600'}); 22 | } 23 | 24 | // Datetimepicker 25 | $('.datetimepicker').datetimepicker({ 26 | step: 10 27 | }); 28 | 29 | // -------------------------------------------------------------------------------------- 30 | 31 | /** 32 | * Bootstrap 33 | */ 34 | 35 | // Tooltips 36 | $('[data-toggle="tooltip"]').tooltip(); 37 | 38 | // Popover 39 | $('[data-toggle="popover"]').popover(); 40 | 41 | // -------------------------------------------------------------------------------------- 42 | 43 | }); 44 | -------------------------------------------------------------------------------- /public/assets/auth/css/all.css: -------------------------------------------------------------------------------- 1 | /* Global */ 2 | body { 3 | background: #F3F3F4; 4 | color: #273643; 5 | } 6 | 7 | /* Custom */ 8 | h1, h2, h3, h4, h5, h6 { 9 | font-family: "Roboto Condensed", sans-serif; 10 | } 11 | 12 | a { 13 | color: #273643; 14 | outline: none; 15 | } 16 | 17 | a:hover { 18 | color: #000; 19 | } 20 | 21 | /* Buttons */ 22 | .btn-primary, .btn-primary:hover { 23 | background: #273643; 24 | border-color: #273643; 25 | } 26 | 27 | /* Auth */ 28 | .auth { 29 | max-width: 300px; 30 | margin: auto; 31 | font-size: 13px; 32 | } 33 | 34 | /* Buttons */ 35 | .btn { 36 | font-size: 13px; 37 | } 38 | 39 | /* Forms */ 40 | form .form-control { 41 | font-size: 12px; 42 | padding-top: 8px; 43 | padding-bottom: 8px; 44 | box-shadow: none !important; 45 | } 46 | -------------------------------------------------------------------------------- /public/assets/auth/js/all.js: -------------------------------------------------------------------------------- 1 | // scripts -------------------------------------------------------------------------------- /public/assets/blog/css/all.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-size: 13px; 3 | color: #333; 4 | } 5 | 6 | /* Footer */ 7 | footer { 8 | padding: 30px 0; 9 | } 10 | -------------------------------------------------------------------------------- /public/assets/blog/img/no-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/public/assets/blog/img/no-image.jpg -------------------------------------------------------------------------------- /public/assets/blog/js/all.js: -------------------------------------------------------------------------------- 1 | // scripts -------------------------------------------------------------------------------- /public/assets/errors/css/all.css: -------------------------------------------------------------------------------- 1 | /* Global */ 2 | body { 3 | background: #F3F3F4; 4 | color: #273643; 5 | } 6 | 7 | /* Custom */ 8 | h1, h2, h3, h4, h5, h6 { 9 | font-family: "Roboto Condensed", sans-serif; 10 | } 11 | 12 | a { 13 | color: #273643; 14 | outline: none; 15 | } 16 | 17 | a:hover { 18 | color: #000; 19 | } 20 | 21 | /* Buttons */ 22 | .btn-primary, .btn-primary:hover { 23 | background: #273643; 24 | border-color: #273643; 25 | } 26 | -------------------------------------------------------------------------------- /public/assets/errors/js/all.js: -------------------------------------------------------------------------------- 1 | // scripts -------------------------------------------------------------------------------- /public/assets/site/js/all.js: -------------------------------------------------------------------------------- 1 | // scripts -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/public/favicon.ico -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | 9 | /* 10 | |-------------------------------------------------------------------------- 11 | | Register The Auto Loader 12 | |-------------------------------------------------------------------------- 13 | | 14 | | Composer provides a convenient, automatically generated class loader for 15 | | our application. We just need to utilize it! We'll simply require it 16 | | into the script here so that we don't have to worry about manual 17 | | loading any of our classes later on. It feels nice to relax. 18 | | 19 | */ 20 | 21 | require __DIR__.'/../bootstrap/autoload.php'; 22 | 23 | /* 24 | |-------------------------------------------------------------------------- 25 | | Turn On The Lights 26 | |-------------------------------------------------------------------------- 27 | | 28 | | We need to illuminate PHP development, so let us turn on the lights. 29 | | This bootstraps the framework and gets it ready for use, then it 30 | | will load up this application so that we can run it and send 31 | | the responses back to the browser and delight our users. 32 | | 33 | */ 34 | 35 | $app = require_once __DIR__.'/../bootstrap/app.php'; 36 | 37 | /* 38 | |-------------------------------------------------------------------------- 39 | | Run The Application 40 | |-------------------------------------------------------------------------- 41 | | 42 | | Once we have the application, we can handle the incoming request 43 | | through the kernel, and send the associated response back to 44 | | the client's browser allowing them to enjoy the creative 45 | | and wonderful application we have prepared for them. 46 | | 47 | */ 48 | 49 | $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); 50 | 51 | $response = $kernel->handle( 52 | $request = Illuminate\Http\Request::capture() 53 | ); 54 | 55 | $response->send(); 56 | 57 | $kernel->terminate($request, $response); 58 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /public/web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /resources/assets/js/admin/scripts.js: -------------------------------------------------------------------------------- 1 | 2 | $(document).ready(function () { 3 | 4 | // -------------------------------------------------------------------------------------- 5 | 6 | /** 7 | * Others plugins 8 | */ 9 | 10 | // Editor summer note 11 | $('.summernote').summernote({ 12 | height: 270, 13 | lang: 'pt-BR' 14 | }); 15 | 16 | // Metis Menu 17 | $('.metismenu').metisMenu(); 18 | 19 | // Switchery 20 | if (document.querySelector('.js-switch') != null) { 21 | new Switchery(document.querySelector('.js-switch'), {color: '#F9D600'}); 22 | } 23 | 24 | // Datetimepicker 25 | $('.datetimepicker').datetimepicker({ 26 | step: 10 27 | }); 28 | 29 | // -------------------------------------------------------------------------------------- 30 | 31 | /** 32 | * Bootstrap 33 | */ 34 | 35 | // Tooltips 36 | $('[data-toggle="tooltip"]').tooltip(); 37 | 38 | // Popover 39 | $('[data-toggle="popover"]').popover(); 40 | 41 | // -------------------------------------------------------------------------------------- 42 | 43 | }); 44 | -------------------------------------------------------------------------------- /resources/assets/js/auth/scripts.js: -------------------------------------------------------------------------------- 1 | // scripts -------------------------------------------------------------------------------- /resources/assets/js/blog/scripts.js: -------------------------------------------------------------------------------- 1 | // scripts -------------------------------------------------------------------------------- /resources/assets/js/errors/scripts.js: -------------------------------------------------------------------------------- 1 | // scripts -------------------------------------------------------------------------------- /resources/assets/js/site/scripts.js: -------------------------------------------------------------------------------- 1 | // scripts -------------------------------------------------------------------------------- /resources/assets/sass/auth/styles.scss: -------------------------------------------------------------------------------- 1 | 2 | $font-family: 'Roboto Condensed', sans-serif; 3 | $color-primary: #273643; 4 | $color-danger: #F9230E; 5 | 6 | 7 | 8 | /* Global */ 9 | 10 | body { 11 | background: #F3F3F4; 12 | color: $color-primary; 13 | } 14 | 15 | 16 | /* Custom */ 17 | h1, h2, h3, h4, h5, h6 { 18 | font-family: $font-family; 19 | } 20 | a { 21 | color: $color-primary; 22 | outline: none; 23 | } 24 | a:hover { 25 | color: #000; 26 | } 27 | 28 | 29 | /* Buttons */ 30 | .btn-primary, .btn-primary:hover { 31 | background: $color-primary; 32 | border-color: $color-primary; 33 | } 34 | 35 | 36 | /* Auth */ 37 | .auth { 38 | max-width: 300px; 39 | margin: auto; 40 | font-size: 13px; 41 | } 42 | 43 | 44 | /* Buttons */ 45 | .btn { 46 | font-size: 13px; 47 | } 48 | 49 | /* Forms */ 50 | form .form-control { 51 | font-size: 12px; 52 | padding-top: 8px; 53 | padding-bottom: 8px; 54 | -webkit-box-shadow: none !important; 55 | -moz-box-shadow: none !important; 56 | box-shadow: none !important; 57 | } 58 | 59 | -------------------------------------------------------------------------------- /resources/assets/sass/blog/styles.scss: -------------------------------------------------------------------------------- 1 | 2 | body { 3 | font-size: 13px; 4 | color: #333; 5 | } 6 | 7 | 8 | 9 | /* Footer */ 10 | footer { 11 | padding: 30px 0; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /resources/assets/sass/errors/styles.scss: -------------------------------------------------------------------------------- 1 | 2 | $font-family: 'Roboto Condensed', sans-serif; 3 | $color-primary: #273643; 4 | 5 | 6 | 7 | /* Global */ 8 | 9 | body { 10 | background: #F3F3F4; 11 | color: $color-primary; 12 | } 13 | 14 | 15 | /* Custom */ 16 | h1, h2, h3, h4, h5, h6 { 17 | font-family: $font-family; 18 | } 19 | a { 20 | color: $color-primary; 21 | outline: none; 22 | } 23 | a:hover { 24 | color: #000; 25 | } 26 | 27 | 28 | /* Buttons */ 29 | .btn-primary, .btn-primary:hover { 30 | background: $color-primary; 31 | border-color: $color-primary; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /resources/lang/en/admin/dashboard.php: -------------------------------------------------------------------------------- 1 | 'Dashboard', 6 | 7 | 'blog' => [ 8 | 'title' => 'Blog', 9 | 'description' => 'Manage your posts, comments, and create new categories.', 10 | ], 11 | 'pages' => [ 12 | 'title' => 'Pages', 13 | 'description' => 'Create custom pages for your website.', 14 | ], 15 | 'mailbox' => [ 16 | 'title' => 'Mailbox', 17 | 'inbox' => 'Inbox', 18 | 'archive' => 'Archive', 19 | 'trash' => 'Trash', 20 | ], 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/en/admin/gallerys.php: -------------------------------------------------------------------------------- 1 | 'Image Gallery', 6 | 7 | 'index' => [ 8 | 'title' => 'List of image galleries (:total)', 9 | 'is_empty' => 'None of registered images gallery', 10 | ], 11 | 12 | 'create' => [ 13 | 'title' => 'Create Image Gallery', 14 | ], 15 | 16 | 'edit' => [ 17 | 'title' => 'Edit Image Gallery', 18 | ], 19 | 20 | 'store' => [ 21 | 'messages' => [ 22 | 'success' => 'The gallery has been successfully created!', 23 | ], 24 | ], 25 | 26 | 'update' => [ 27 | 'messages' => [ 28 | 'success' => 'The gallery was successfully updated!', 29 | ], 30 | ], 31 | 32 | 'destroy' => [ 33 | 'messages' => [ 34 | 'info' => 'No gallery has been selected.', 35 | 'success' => 'The galleries were successfully removed!', 36 | ], 37 | ], 38 | 39 | ]; 40 | -------------------------------------------------------------------------------- /resources/lang/en/admin/logs.php: -------------------------------------------------------------------------------- 1 | 'Log Viewer', 6 | 7 | 'filter' => [ 8 | 'load' => 'Load', 9 | ], 10 | 11 | 'table' => [ 12 | 'header' => [ 13 | 'level' => 'Level', 14 | 'context' => 'Context', 15 | 'date' => 'Date', 16 | 'content' => 'Content', 17 | ], 18 | ], 19 | 20 | 'file' => [ 21 | 'download' => 'Download file', 22 | 'download_all' => 'Download all files', 23 | 'delete' => 'Delete file', 24 | 'delete_all' => 'Delete all', 25 | 'confirm' => 'Are you sure?', 26 | 'ultra' => 'Log file >50M, please download it', 27 | ], 28 | 29 | ]; 30 | -------------------------------------------------------------------------------- /resources/lang/en/admin/mailbox.php: -------------------------------------------------------------------------------- 1 | 'Mailbox', 6 | 7 | 'is_empty' => 'There is no message.', 8 | 9 | 'inbox' => [ 10 | 'title' => 'Inbox', 11 | ], 12 | 13 | 'archive' => [ 14 | 'title' => 'Archive', 15 | 'messages' => [ 16 | 'success' => 'The message has been moved to "Archived".', 17 | ], 18 | ], 19 | 20 | 'destroy' => [ 21 | 'messages' => [ 22 | 'info' => 'No messages were selected.', 23 | 'success' => 'Messages were successfully removed!', 24 | ], 25 | ], 26 | 27 | 'trash' => [ 28 | 'title' => 'Trash', 29 | 'messages' => [ 30 | 'success' => 'The message has been moved to "Trash".', 31 | ], 32 | ], 33 | 34 | 'message' => [ 35 | 'title' => 'Message', 36 | 'subject' => 'Subject', 37 | 'from' => 'From', 38 | 39 | 'obs' => 'Obs.: The deleted messages will no longer appear in your Mailbox.', 40 | ], 41 | 42 | 'legend' => [ 43 | 'title' => 'Legend', 44 | 'types' => [ 45 | 'contact' => 'Contact', 46 | 'estimate' => 'Estimate', 47 | 'newsletter' => 'Newsletter', 48 | 'products' => 'Products', 49 | 'clients' => 'Clients', 50 | ], 51 | ], 52 | 53 | ]; 54 | -------------------------------------------------------------------------------- /resources/lang/en/admin/pages.php: -------------------------------------------------------------------------------- 1 | 'Pages', 6 | 7 | 'submodule' => [ 8 | 'categorys' => 'Categories', 9 | 'contents' => 'Contents', 10 | ], 11 | 12 | 'categorys' => [ 13 | 'index' => [ 14 | 'title' => 'List of Categories (:total)', 15 | 'is_empty' => 'No category registered', 16 | ], 17 | 18 | 'create' => [ 19 | 'title' => 'Create category', 20 | ], 21 | 22 | 'edit' => [ 23 | 'title' => 'Edit category', 24 | ], 25 | 26 | 'store' => [ 27 | 'messages' => [ 28 | 'success' => 'The category has been created successfully!', 29 | ], 30 | ], 31 | 32 | 'update' => [ 33 | 'messages' => [ 34 | 'success' => 'The category was successfully updated!', 35 | ], 36 | ], 37 | 38 | 'destroy' => [ 39 | 'messages' => [ 40 | 'info' => 'No category was selected.', 41 | 'success' => 'The categories were successfully removed!', 42 | ], 43 | ], 44 | ], 45 | 46 | 'contents' => [ 47 | 'index' => [ 48 | 'title' => 'List of pages (:total)', 49 | 'is_empty' => 'No pages registered', 50 | ], 51 | 52 | 'create' => [ 53 | 'title' => 'Create page', 54 | ], 55 | 56 | 'edit' => [ 57 | 'title' => 'Edit page', 58 | ], 59 | 60 | 'store' => [ 61 | 'messages' => [ 62 | 'success' => 'The content has been created!', 63 | ], 64 | ], 65 | 66 | 'update' => [ 67 | 'messages' => [ 68 | 'success' => 'The content has been updated successfully!', 69 | ], 70 | ], 71 | 72 | 'destroy' => [ 73 | 'messages' => [ 74 | 'info' => 'No content has been selected.', 75 | 'success' => 'The contents were removed successfully!', 76 | ], 77 | ], 78 | ], 79 | 80 | ]; 81 | -------------------------------------------------------------------------------- /resources/lang/en/admin/products.php: -------------------------------------------------------------------------------- 1 | 'Products', 6 | 7 | 'submodule' => [ 8 | 'categorys' => 'Categories', 9 | 'contents' => 'Contents', 10 | ], 11 | 12 | 'categorys' => [ 13 | 'index' => [ 14 | 'title' => 'List of categories (:total)', 15 | 'is_empty' => 'No category registered', 16 | ], 17 | 18 | 'create' => [ 19 | 'title' => 'Create category', 20 | ], 21 | 22 | 'edit' => [ 23 | 'title' => 'Edit category', 24 | ], 25 | 26 | 'store' => [ 27 | 'messages' => [ 28 | 'success' => 'The category has been created successfully!', 29 | ], 30 | ], 31 | 32 | 'update' => [ 33 | 'messages' => [ 34 | 'success' => 'The category was updated successfully!', 35 | ], 36 | ], 37 | 38 | 'destroy' => [ 39 | 'messages' => [ 40 | 'info' => 'No category was selected.', 41 | 'success' => 'The categories were successfully removed!', 42 | ], 43 | ], 44 | ], 45 | 46 | 'contents' => [ 47 | 'index' => [ 48 | 'title' => 'List of products (:total)', 49 | 'is_empty' => 'No products registered', 50 | ], 51 | 52 | 'create' => [ 53 | 'title' => 'Create product', 54 | ], 55 | 56 | 'edit' => [ 57 | 'title' => 'Edit product', 58 | ], 59 | 60 | 'store' => [ 61 | 'messages' => [ 62 | 'success' => 'The product was created!', 63 | ], 64 | ], 65 | 66 | 'update' => [ 67 | 'messages' => [ 68 | 'success' => 'The product has been successfully updated!', 69 | ], 70 | ], 71 | 72 | 'destroy' => [ 73 | 'messages' => [ 74 | 'info' => 'No product was selected.', 75 | 'success' => 'The products have been successfully removed!', 76 | ], 77 | ], 78 | ], 79 | 80 | ]; 81 | -------------------------------------------------------------------------------- /resources/lang/en/admin/profile.php: -------------------------------------------------------------------------------- 1 | 'Profile', 6 | 7 | 'profile' => [ 8 | 9 | 'your_ip' => 'Your IP', 10 | 'last_access' => 'Last access', 11 | 12 | 'password' => [ 13 | 'title' => 'Update Profile', 14 | 'messages' => [ 15 | 'error' => 'The two passwords do not match, retype.', 16 | 'success' => 'Your password has been successfully updated.', 17 | ], 18 | ], 19 | ], 20 | 21 | ]; 22 | -------------------------------------------------------------------------------- /resources/lang/en/admin/users.php: -------------------------------------------------------------------------------- 1 | 'Users', 6 | 7 | 'index' => [ 8 | 'title' => 'List of users (:total)', 9 | 'is_empty' => 'No users registered', 10 | ], 11 | 12 | 'create' => [ 13 | 'title' => 'Create users', 14 | ], 15 | 16 | 'edit' => [ 17 | 'title' => 'Edit users', 18 | ], 19 | 20 | 'store' => [ 21 | 'messages' => [ 22 | 'success' => 'The user has been successfully updated!', 23 | ], 24 | ], 25 | 26 | 'update' => [ 27 | 'messages' => [ 28 | 'success' => 'The user has been successfully updated!', 29 | ], 30 | ], 31 | 32 | 'destroy' => [ 33 | 'messages' => [ 34 | 'info' => 'No user was selected.', 35 | 'warning' => 'You can not delete your own user!', 36 | 'success' => 'The successfully removed users!', 37 | ], 38 | ], 39 | 40 | 'gravatar' => [ 41 | 'title' => 'Gravatar', 42 | 'description' => 'Your Gravatar is an image that follows you from site to site appearing beside your name when you do things like comment or post on a blog. Avatars help identify your posts on blogs and web forums, so why not on any site?', 43 | 'button' => 'Create your gravatar', 44 | ], 45 | 46 | ]; 47 | -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 17 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 18 | 19 | // Login 20 | 'login' => [ 21 | 'welcome' => 'Welcome to Borgert CMS', 22 | 'form' => [ 23 | 'email' => 'E-mail', 24 | 'senha' => 'Password', 25 | 'button' => 'Login', 26 | ], 27 | 'messages' => [ 28 | 'error' => 'Username or password is invalid!', 29 | ], 30 | 'forgot' => 'Forgot your password?', 31 | ], 32 | 33 | // Forget Password 34 | 'forget' => [ 35 | 'title' => 'Forgot my password', 36 | 'form' => [ 37 | 'email' => 'E-mail', 38 | 'button' => 'Send new password', 39 | ], 40 | 'back' => 'Back to Login', 41 | ], 42 | 43 | // E-mail 44 | 'email' => [ 45 | 'password' => [ 46 | 'description' => 'Click here to reset your password:', 47 | ], 48 | ], 49 | 50 | // Reset de senha 51 | 'reset' => [ 52 | 'title' => 'Reset your password', 53 | 'form' => [ 54 | 'email' => 'E-mail', 55 | 'password' => 'Password', 56 | 'password_confirmation' => 'Confirm the Password', 57 | 'button' => 'Redefine password', 58 | ], 59 | ], 60 | 61 | ]; 62 | -------------------------------------------------------------------------------- /resources/lang/en/blog/frontend.php: -------------------------------------------------------------------------------- 1 | 'Blog', 6 | 'search' => 'Search for', 7 | 'search_button' => 'Search', 8 | 'search_no_results' => 'No posts found', 9 | 'search_term' => 'You searched for', 10 | 'comments' => 'Comments', 11 | 'comments_name' => 'Name', 12 | 'comments_email' => 'Mail', 13 | 'comments_comment' => 'Comment', 14 | 'comments_button' => 'Send', 15 | 'comments_nav_comment' => 'Reply', 16 | 'comments_nav_comments' => 'Comments', 17 | 'comments_empty' => 'No comments', 18 | 'comments_success' => 'No comments', 19 | 'copyright' => 'All rights reserved.', 20 | 21 | ]; 22 | -------------------------------------------------------------------------------- /resources/lang/en/error.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'title' => 'Page not found', 18 | 'description' => 'Sorry, the page that you are searching for was not found. Redirect to dashboard.', 19 | 'link' => 'Go to Dashboard', 20 | ], 21 | '503' => [ 22 | 'title' => 'Unavailable service', 23 | 'description' => 'Sorry, but at the moment the service is currently unavailable.', 24 | 'link' => 'Go to Dashboard', 25 | ], 26 | 27 | ]; 28 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Passwords must be at least six characters and match the confirmation.', 17 | 'reset' => 'Your password has been reset!', 18 | 'sent' => 'We have e-mailed your password reset link!', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that e-mail address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/es/admin/dashboard.php: -------------------------------------------------------------------------------- 1 | 'Dashboard', 6 | 7 | 'blog' => [ 8 | 'title' => 'Blog', 9 | 'description' => 'Administra tus Articulos, comentarios, y crea nuevas categorias.', 10 | ], 11 | 'pages' => [ 12 | 'title' => 'Paginas', 13 | 'description' => 'Crea tus propias paginas.', 14 | ], 15 | 'mailbox' => [ 16 | 'title' => 'Mailbox', 17 | 'inbox' => 'Inbox', 18 | 'archive' => 'Archivos', 19 | 'trash' => 'Basura', 20 | ], 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/es/admin/gallerys.php: -------------------------------------------------------------------------------- 1 | 'Galeria', 6 | 7 | 'index' => [ 8 | 'title' => 'Lista de galerias (:total)', 9 | 'is_empty' => 'Sin Galerias', 10 | ], 11 | 12 | 'create' => [ 13 | 'title' => 'Crear Galeria', 14 | ], 15 | 16 | 'edit' => [ 17 | 'title' => 'Editar Galeria', 18 | ], 19 | 20 | 'store' => [ 21 | 'messages' => [ 22 | 'success' => '¡Galeria creada!', 23 | ], 24 | ], 25 | 26 | 'update' => [ 27 | 'messages' => [ 28 | 'success' => '¡Galeria Actualizada!', 29 | ], 30 | ], 31 | 32 | 'destroy' => [ 33 | 'messages' => [ 34 | 'info' => 'Galeria no seleccionada.', 35 | 'success' => '¡Galeria Eliminada!', 36 | ], 37 | ], 38 | 39 | ]; 40 | -------------------------------------------------------------------------------- /resources/lang/es/admin/logs.php: -------------------------------------------------------------------------------- 1 | 'Log Viewer', 6 | 7 | 'filter' => [ 8 | 'load' => 'Carga', 9 | ], 10 | 11 | 'table' => [ 12 | 'header' => [ 13 | 'level' => 'Nivel', 14 | 'context' => 'Contexto', 15 | 'date' => 'Fecha', 16 | 'content' => 'Contenido', 17 | ], 18 | ], 19 | 20 | 'file' => [ 21 | 'download' => 'Descargar archivo', 22 | 'download_all' => 'Descargue todo el archivo', 23 | 'delete' => 'Borrar archivo', 24 | 'delete_all' => 'Borrar todos los archivos', 25 | 'confirm' => 'Estás seguro?', 26 | 'ultra' => 'Archivo de registro >50M, por favor descárgalo', 27 | ], 28 | 29 | ]; 30 | -------------------------------------------------------------------------------- /resources/lang/es/admin/mailbox.php: -------------------------------------------------------------------------------- 1 | 'Mailbox', 6 | 7 | 'is_empty' => 'Sin Mensajes.', 8 | 9 | 'inbox' => [ 10 | 'title' => 'Bandeja de Entrada', 11 | ], 12 | 13 | 'archive' => [ 14 | 'title' => 'Archivados', 15 | 'messages' => [ 16 | 'success' => 'El mensaje se movio a "Archivados".', 17 | ], 18 | ], 19 | 20 | 'destroy' => [ 21 | 'messages' => [ 22 | 'info' => 'Mensaje no seleccionado.', 23 | 'success' => '¡Mensaje Eliminado!', 24 | ], 25 | ], 26 | 27 | 'trash' => [ 28 | 'title' => 'Basura', 29 | 'messages' => [ 30 | 'success' => 'El mensaje se movio a "Basura".', 31 | ], 32 | ], 33 | 34 | 'message' => [ 35 | 'title' => 'Mensaje', 36 | 'subject' => 'Asunto', 37 | 'from' => 'De', 38 | 39 | 'obs' => 'El mensaje eliminado no volvera aparecer en tu Mailbox.', 40 | ], 41 | 42 | 'legend' => [ 43 | 'title' => 'Leyenda', 44 | 'types' => [ 45 | 'contact' => 'Contacto', 46 | 'estimate' => 'Estimado', 47 | 'newsletter' => 'Newsletter', 48 | 'products' => 'Productos', 49 | 'clients' => 'Clientes', 50 | ], 51 | ], 52 | 53 | ]; 54 | -------------------------------------------------------------------------------- /resources/lang/es/admin/pages.php: -------------------------------------------------------------------------------- 1 | 'Paginas', 6 | 7 | 'submodule' => [ 8 | 'categorys' => 'Categorias', 9 | 'contents' => 'Contenidos', 10 | ], 11 | 12 | 'categorys' => [ 13 | 'index' => [ 14 | 'title' => 'Lista de categorias (:total)', 15 | 'is_empty' => 'Sin categorias', 16 | ], 17 | 18 | 'create' => [ 19 | 'title' => 'Crear Categoria', 20 | ], 21 | 22 | 'edit' => [ 23 | 'title' => 'Editar categoria', 24 | ], 25 | 26 | 'store' => [ 27 | 'messages' => [ 28 | 'success' => '¡Categoria creada!', 29 | ], 30 | ], 31 | 32 | 'update' => [ 33 | 'messages' => [ 34 | 'success' => '¡Categoria actualizada!', 35 | ], 36 | ], 37 | 38 | 'destroy' => [ 39 | 'messages' => [ 40 | 'info' => 'Categoria no seleccionada.', 41 | 'success' => '¡Categoria eliminada!', 42 | ], 43 | ], 44 | ], 45 | 46 | 'contents' => [ 47 | 'index' => [ 48 | 'title' => 'Lista de paginas (:total)', 49 | 'is_empty' => 'Sin paginas', 50 | ], 51 | 52 | 'create' => [ 53 | 'title' => 'Crear pagina', 54 | ], 55 | 56 | 'edit' => [ 57 | 'title' => 'Editar pagina', 58 | ], 59 | 60 | 'store' => [ 61 | 'messages' => [ 62 | 'success' => '¡Contenido creado!', 63 | ], 64 | ], 65 | 66 | 'update' => [ 67 | 'messages' => [ 68 | 'success' => '¡Contenido actualizado!', 69 | ], 70 | ], 71 | 72 | 'destroy' => [ 73 | 'messages' => [ 74 | 'info' => 'Contenido no seleccionado.', 75 | 'success' => '¡Contenido eliminado!', 76 | ], 77 | ], 78 | ], 79 | 80 | ]; 81 | -------------------------------------------------------------------------------- /resources/lang/es/admin/products.php: -------------------------------------------------------------------------------- 1 | 'Productos', 6 | 7 | 'submodule' => [ 8 | 'categorys' => 'Categorias', 9 | 'contents' => 'Contenidos', 10 | ], 11 | 12 | 'categorys' => [ 13 | 'index' => [ 14 | 'title' => 'Lista categorias (:total)', 15 | 'is_empty' => 'Sin categorias', 16 | ], 17 | 18 | 'create' => [ 19 | 'title' => 'Crear categoria', 20 | ], 21 | 22 | 'edit' => [ 23 | 'title' => 'Editar categoria', 24 | ], 25 | 26 | 'store' => [ 27 | 'messages' => [ 28 | 'success' => '¡Categoria creada!', 29 | ], 30 | ], 31 | 32 | 'update' => [ 33 | 'messages' => [ 34 | 'success' => '¡Categoria actualizada!', 35 | ], 36 | ], 37 | 38 | 'destroy' => [ 39 | 'messages' => [ 40 | 'info' => 'Categoria no seleccionada.', 41 | 'success' => '¡Categoria eliminada!', 42 | ], 43 | ], 44 | ], 45 | 46 | 'contents' => [ 47 | 'index' => [ 48 | 'title' => 'Lista de productos (:total)', 49 | 'is_empty' => 'Sin productos', 50 | ], 51 | 52 | 'create' => [ 53 | 'title' => 'Crear producto', 54 | ], 55 | 56 | 'edit' => [ 57 | 'title' => 'Editar producto', 58 | ], 59 | 60 | 'store' => [ 61 | 'messages' => [ 62 | 'success' => '¡Producto creado!', 63 | ], 64 | ], 65 | 66 | 'update' => [ 67 | 'messages' => [ 68 | 'success' => '¡Producto actualizado!', 69 | ], 70 | ], 71 | 72 | 'destroy' => [ 73 | 'messages' => [ 74 | 'info' => 'Producto no seleccionado.', 75 | 'success' => '¡Producto Eliminado!', 76 | ], 77 | ], 78 | ], 79 | 80 | ]; 81 | -------------------------------------------------------------------------------- /resources/lang/es/admin/profile.php: -------------------------------------------------------------------------------- 1 | 'Perfil', 6 | 7 | 'profile' => [ 8 | 9 | 'your_ip' => 'Tu IP', 10 | 'last_access' => 'Ultimo Acceso', 11 | 12 | 'password' => [ 13 | 'title' => 'Actializar Perfil', 14 | 'messages' => [ 15 | 'error' => 'Contraseñas no coinciden.', 16 | 'success' => '¡Contraseña Actualizada!', 17 | ], 18 | ], 19 | ], 20 | 21 | ]; 22 | -------------------------------------------------------------------------------- /resources/lang/es/admin/users.php: -------------------------------------------------------------------------------- 1 | 'Usuarios', 6 | 7 | 'index' => [ 8 | 'title' => 'Lista de usuarios (:total)', 9 | 'is_empty' => 'Sin usuarios', 10 | ], 11 | 12 | 'create' => [ 13 | 'title' => 'Crear usuario', 14 | ], 15 | 16 | 'edit' => [ 17 | 'title' => 'Editar usuario', 18 | ], 19 | 20 | 'store' => [ 21 | 'messages' => [ 22 | 'success' => '¡Usuario Creado!', 23 | ], 24 | ], 25 | 26 | 'update' => [ 27 | 'messages' => [ 28 | 'success' => '¡Usuario Actualizado!', 29 | ], 30 | ], 31 | 32 | 'destroy' => [ 33 | 'messages' => [ 34 | 'info' => 'Usuario no seleccionado.', 35 | 'warning' => '¡No puedes eliminarte!', 36 | 'success' => '¡Usuario eliminado!', 37 | ], 38 | ], 39 | 40 | 'gravatar' => [ 41 | 'title' => 'Gravatar', 42 | 'description' => 'tu Gravatar es una imagen que te sigue de sitio a sitio apareciendo antes de tu nombre cuando tu escribes comentarios o creas articulos en un blog. Los avatares ayudan a identificarte en un articulo y en foros, asi que ¿Porque no en un sitio ?', 43 | 'button' => 'Crear tu gavatar', 44 | ], 45 | 46 | ]; 47 | -------------------------------------------------------------------------------- /resources/lang/es/auth.php: -------------------------------------------------------------------------------- 1 | 'Estas credenciales no existen en nuestro registro.', 17 | 'throttle' => 'Demaciados Intentos. Intenta de nuevo :seconds segundos.', 18 | 19 | // Login 20 | 'login' => [ 21 | 'welcome' => 'Bienvenido a Borgert CMS', 22 | 'form' => [ 23 | 'email' => 'E-mail', 24 | 'senha' => 'contraseña', 25 | 'button' => 'Iniciar sesion', 26 | ], 27 | 'messages' => [ 28 | 'error' => 'Usuario or contraseña invalido!', 29 | ], 30 | 'forgot' => '¿Olvidaste tu contraseña?', 31 | ], 32 | 33 | // Forget Password 34 | 'forget' => [ 35 | 'title' => 'Olvide mi contraseña', 36 | 'form' => [ 37 | 'email' => 'E-mail', 38 | 'button' => 'Enviar nueva contraseña', 39 | ], 40 | 'back' => 'Regreso Login', 41 | ], 42 | 43 | // E-mail 44 | 'email' => [ 45 | 'password' => [ 46 | 'description' => 'Haz Click aqui para restaurar contraseña:', 47 | ], 48 | ], 49 | 50 | // Reset de senha 51 | 'reset' => [ 52 | 'title' => 'Restablecer contraseña', 53 | 'form' => [ 54 | 'email' => 'E-mail', 55 | 'password' => 'Contraseña', 56 | 'password_confirmation' => 'Confirmar la contraseña', 57 | 'button' => 'Restablecer contraseña', 58 | ], 59 | ], 60 | 61 | ]; 62 | -------------------------------------------------------------------------------- /resources/lang/es/blog/frontend.php: -------------------------------------------------------------------------------- 1 | 'Blog', 6 | 'search' => 'Buscar', 7 | 'search_button' => 'Buscar', 8 | 'search_no_results' => 'No se han encontrado publicaciones', 9 | 'search_term' => 'Usted ha buscado', 10 | 'comments' => 'Comentarios', 11 | 'comments_name' => 'Nombre', 12 | 'comments_email' => 'E-mail', 13 | 'comments_comment' => 'Comentario', 14 | 'comments_button' => 'Enviar', 15 | 'comments_nav_comment' => 'Revision', 16 | 'comments_nav_comments' => 'Comentarios', 17 | 'comments_empty' => 'No hay comentarios', 18 | 'comments_success' => 'Comentario enviado con éxito', 19 | 'copyright' => 'Todos los derechos reservados.', 20 | 21 | ]; 22 | -------------------------------------------------------------------------------- /resources/lang/es/error.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'title' => 'Pagina no encontrada', 18 | 'description' => 'Disculpe, la pagina que usted esta buscando no fue encontrada. Haz click en el boton para regresar al dashboard.', 19 | 'link' => 'Ir a Dashboard', 20 | ], 21 | '503' => [ 22 | 'title' => 'Servicio no disponible', 23 | 'description' => 'Lo sentimos, pero por el momento el servicio no está disponible actualmente.', 24 | 'link' => 'Ir a Dashboard', 25 | ], 26 | 27 | ]; 28 | -------------------------------------------------------------------------------- /resources/lang/es/pagination.php: -------------------------------------------------------------------------------- 1 | '« Anterior', 17 | 'next' => 'Siguiente »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/es/passwords.php: -------------------------------------------------------------------------------- 1 | 'La contraseña debe ser almenos de seis caracteres.', 17 | 'reset' => '¡Tu contraseña ha sido restaurada!', 18 | 'sent' => '¡Te enviamos un link para restablecer tu contraseña!', 19 | 'token' => 'El token para resablecer contraseña es invalido', 20 | 'user' => 'No podemos encontrar un usuario con esa direccion de correo.', 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/pt/admin/dashboard.php: -------------------------------------------------------------------------------- 1 | 'Dashboard', 6 | 7 | 'blog' => [ 8 | 'title' => 'Blog', 9 | 'description' => 'Gerencie suas postagens, comentários e crie novas categorias.', 10 | ], 11 | 'pages' => [ 12 | 'title' => 'Páginas', 13 | 'description' => 'Crie páginas personalizadas para seu site.', 14 | ], 15 | 'mailbox' => [ 16 | 'title' => 'Mailbox', 17 | 'inbox' => 'Caixa de Entrada', 18 | 'archive' => 'Arquivo', 19 | 'trash' => 'Lixeira', 20 | ], 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/pt/admin/gallerys.php: -------------------------------------------------------------------------------- 1 | 'Galeria de Imagens', 6 | 7 | 'index' => [ 8 | 'title' => 'Lista de galerias de imagens (:total)', 9 | 'is_empty' => 'Nenhuma galeria de imagens cadastrada', 10 | ], 11 | 12 | 'create' => [ 13 | 'title' => 'Criar galeria de imagem', 14 | ], 15 | 16 | 'edit' => [ 17 | 'title' => 'Editar galeria de imagem', 18 | ], 19 | 20 | 'store' => [ 21 | 'messages' => [ 22 | 'success' => 'A galeria foi criada com sucesso!', 23 | ], 24 | ], 25 | 26 | 'update' => [ 27 | 'messages' => [ 28 | 'success' => 'A galeria foi atualizada com sucesso!', 29 | ], 30 | ], 31 | 32 | 'destroy' => [ 33 | 'messages' => [ 34 | 'info' => 'Nenhuma galeria foi selecionado.', 35 | 'success' => 'A(s) galerias(s) foram removida(s) com sucesso!', 36 | ], 37 | ], 38 | 39 | ]; 40 | -------------------------------------------------------------------------------- /resources/lang/pt/admin/logs.php: -------------------------------------------------------------------------------- 1 | 'Log Viewer', 6 | 7 | 'filter' => [ 8 | 'load' => 'Carregar', 9 | ], 10 | 11 | 'table' => [ 12 | 'header' => [ 13 | 'level' => 'Nível', 14 | 'context' => 'Contexto', 15 | 'date' => 'Data', 16 | 'content' => 'Conteúdo', 17 | ], 18 | ], 19 | 20 | 'file' => [ 21 | 'download' => 'Download arquivo', 22 | 'download_all' => 'Download de todos arquivos', 23 | 'delete' => 'Apagar arquivo', 24 | 'delete_all' => 'Apagar todos arquivos', 25 | 'confirm' => 'Você tem certeza?', 26 | 'ultra' => 'Arquivo de Log >50M, faça o download', 27 | ], 28 | 29 | ]; 30 | -------------------------------------------------------------------------------- /resources/lang/pt/admin/mailbox.php: -------------------------------------------------------------------------------- 1 | 'Mailbox', 6 | 7 | 'is_empty' => 'Não existe nenhuma mensagem.', 8 | 9 | 'inbox' => [ 10 | 'title' => 'Caixa de Entrada', 11 | ], 12 | 13 | 'archive' => [ 14 | 'title' => 'Arquivados', 15 | 'messages' => [ 16 | 'success' => 'A mensagem foi movida para "Arquivados".', 17 | ], 18 | ], 19 | 20 | 'destroy' => [ 21 | 'messages' => [ 22 | 'info' => 'Nenhuma mensagem foi selecionado.', 23 | 'success' => 'A(s) mensagen(s) foram removida(s) com sucesso!', 24 | ], 25 | ], 26 | 27 | 'trash' => [ 28 | 'title' => 'Lixeira', 29 | 'messages' => [ 30 | 'success' => 'A mensagem foi movida para "Lixeira".', 31 | ], 32 | ], 33 | 34 | 'message' => [ 35 | 'title' => 'Mensagem', 36 | 'subject' => 'Assunto', 37 | 'from' => 'De', 38 | 39 | 'obs' => 'Obs.: As mensagens excluídas não irão aparecer mais em seu Mailbox.', 40 | ], 41 | 42 | 'legend' => [ 43 | 'title' => 'Legenda', 44 | 'types' => [ 45 | 'contact' => 'Contato', 46 | 'estimate' => 'Orçamento', 47 | 'newsletter' => 'Boletim Informativo', 48 | 'products' => 'Produtos', 49 | 'clients' => 'Clientes', 50 | ], 51 | ], 52 | 53 | ]; 54 | -------------------------------------------------------------------------------- /resources/lang/pt/admin/pages.php: -------------------------------------------------------------------------------- 1 | 'Páginas', 6 | 7 | 'submodule' => [ 8 | 'categorys' => 'Categorias', 9 | 'contents' => 'Conteúdos', 10 | ], 11 | 12 | 'categorys' => [ 13 | 'index' => [ 14 | 'title' => 'Lista de categorias (:total)', 15 | 'is_empty' => 'Nenhuma categoria cadastrada', 16 | ], 17 | 18 | 'create' => [ 19 | 'title' => 'Criar categoria', 20 | ], 21 | 22 | 'edit' => [ 23 | 'title' => 'Editar categoria', 24 | ], 25 | 26 | 'store' => [ 27 | 'messages' => [ 28 | 'success' => 'A categoria foi criada com sucesso!', 29 | ], 30 | ], 31 | 32 | 'update' => [ 33 | 'messages' => [ 34 | 'success' => 'A categoria foi atualizada com sucesso!', 35 | ], 36 | ], 37 | 38 | 'destroy' => [ 39 | 'messages' => [ 40 | 'info' => 'Nenhuma categoria foi selecionada.', 41 | 'success' => 'A(s) categorias(s) foram removida(s) com sucesso!', 42 | ], 43 | ], 44 | ], 45 | 46 | 'contents' => [ 47 | 'index' => [ 48 | 'title' => 'Lista de páginas (:total)', 49 | 'is_empty' => 'Nenhuma página cadastrada', 50 | ], 51 | 52 | 'create' => [ 53 | 'title' => 'Criar página', 54 | ], 55 | 56 | 'edit' => [ 57 | 'title' => 'Editar página', 58 | ], 59 | 60 | 'store' => [ 61 | 'messages' => [ 62 | 'success' => 'O conteúdo foi criado com sucesso!', 63 | ], 64 | ], 65 | 66 | 'update' => [ 67 | 'messages' => [ 68 | 'success' => 'O conteúdo foi atualizado com sucesso!', 69 | ], 70 | ], 71 | 72 | 'destroy' => [ 73 | 'messages' => [ 74 | 'info' => 'Nenhuma conteúdo foi selecionado.', 75 | 'success' => 'O(s) conteúdos(s) foram removido(s) com sucesso!', 76 | ], 77 | ], 78 | ], 79 | 80 | ]; 81 | -------------------------------------------------------------------------------- /resources/lang/pt/admin/products.php: -------------------------------------------------------------------------------- 1 | 'Produtos', 6 | 7 | 'submodule' => [ 8 | 'categorys' => 'Categorias', 9 | 'contents' => 'Conteúdos', 10 | ], 11 | 12 | 'categorys' => [ 13 | 'index' => [ 14 | 'title' => 'Lista de categorias (:total)', 15 | 'is_empty' => 'Nenhuma categoria cadastrada', 16 | ], 17 | 18 | 'create' => [ 19 | 'title' => 'Criar categoria', 20 | ], 21 | 22 | 'edit' => [ 23 | 'title' => 'Editar categoria', 24 | ], 25 | 26 | 'store' => [ 27 | 'messages' => [ 28 | 'success' => 'A categoria foi criada com sucesso!', 29 | ], 30 | ], 31 | 32 | 'update' => [ 33 | 'messages' => [ 34 | 'success' => 'A categoria foi atualizada com sucesso!', 35 | ], 36 | ], 37 | 38 | 'destroy' => [ 39 | 'messages' => [ 40 | 'info' => 'Nenhuma categoria foi selecionada.', 41 | 'success' => 'A(s) categorias(s) foram removida(s) com sucesso!', 42 | ], 43 | ], 44 | ], 45 | 46 | 'contents' => [ 47 | 'index' => [ 48 | 'title' => 'Lista de produtos (:total)', 49 | 'is_empty' => 'Nenhum produto cadastrado', 50 | ], 51 | 52 | 'create' => [ 53 | 'title' => 'Criar produto', 54 | ], 55 | 56 | 'edit' => [ 57 | 'title' => 'Editar produto', 58 | ], 59 | 60 | 'store' => [ 61 | 'messages' => [ 62 | 'success' => 'O produto foi criado com sucesso!', 63 | ], 64 | ], 65 | 66 | 'update' => [ 67 | 'messages' => [ 68 | 'success' => 'O produto foi atualizado com sucesso!', 69 | ], 70 | ], 71 | 72 | 'destroy' => [ 73 | 'messages' => [ 74 | 'info' => 'Nenhuma produto foi selecionado.', 75 | 'success' => 'O(s) produto(s) foram removido(s) com sucesso!', 76 | ], 77 | ], 78 | ], 79 | 80 | ]; 81 | -------------------------------------------------------------------------------- /resources/lang/pt/admin/profile.php: -------------------------------------------------------------------------------- 1 | 'Perfil', 6 | 7 | 'profile' => [ 8 | 9 | 'your_ip' => 'Seu IP', 10 | 'last_access' => 'Último acesso', 11 | 12 | 'password' => [ 13 | 'title' => 'Alterar Senha', 14 | 'messages' => [ 15 | 'error' => 'As duas senhas não são iguais, digite novamente.', 16 | 'success' => 'Sua senha foi atualizada com sucesso.', 17 | ], 18 | ], 19 | ], 20 | 21 | ]; 22 | -------------------------------------------------------------------------------- /resources/lang/pt/admin/users.php: -------------------------------------------------------------------------------- 1 | 'Usuários', 6 | 7 | 'index' => [ 8 | 'title' => 'Lista de usuários (:total)', 9 | 'is_empty' => 'Nenhum usuário cadastrado', 10 | ], 11 | 12 | 'create' => [ 13 | 'title' => 'Criar usuário', 14 | ], 15 | 16 | 'edit' => [ 17 | 'title' => 'Editar usuário', 18 | ], 19 | 20 | 'store' => [ 21 | 'messages' => [ 22 | 'success' => 'O usuário foi atualizado com sucesso!', 23 | ], 24 | ], 25 | 26 | 'update' => [ 27 | 'messages' => [ 28 | 'success' => 'O usuário foi atualizado com sucesso!', 29 | ], 30 | ], 31 | 32 | 'destroy' => [ 33 | 'messages' => [ 34 | 'info' => 'Nenhum usuário foi selecionado.', 35 | 'warning' => 'Você não pode excluir seu próprio usuário!', 36 | 'success' => 'O usuário(s) removido(s) com sucesso!', 37 | ], 38 | ], 39 | 40 | 'gravatar' => [ 41 | 'title' => 'Gravatar', 42 | 'description' => 'Seu Gravatar é uma imagem que segue você de site à site aparecendo ao lado do seu nome quando você faz coisas como um comentário ou post em um blog. Os avatares ajudam a identificar os seus posts em blogs e fóruns na web, então porque não em qualquer site?', 43 | 'button' => 'Crie seu gravatar', 44 | ], 45 | 46 | ]; 47 | -------------------------------------------------------------------------------- /resources/lang/pt/auth.php: -------------------------------------------------------------------------------- 1 | 'Credenciais informadas não correspondem com nossos registros.', 17 | 'throttle' => 'Você realizou muitas tentativas de login. Favor tentar novamente em :seconds segundos.', 18 | 19 | // Login 20 | 'login' => [ 21 | 'welcome' => 'Bem Vindo ao Borgert CMS', 22 | 'form' => [ 23 | 'email' => 'E-mail', 24 | 'senha' => 'Senha', 25 | 'button' => 'Entrar', 26 | ], 27 | 'messages' => [ 28 | 'error' => 'Usuário ou senha inválido!', 29 | ], 30 | 'forgot' => 'Esqueceu sua senha?', 31 | ], 32 | 33 | // Forget Password 34 | 'forget' => [ 35 | 'title' => 'Esqueci minha senha', 36 | 'form' => [ 37 | 'email' => 'E-mail', 38 | 'button' => 'Enviar nova senha', 39 | ], 40 | 'back' => 'Voltar ao Login', 41 | ], 42 | 43 | // E-mail 44 | 'email' => [ 45 | 'password' => [ 46 | 'description' => 'Clique aqui para redefinir sua senha:', 47 | ], 48 | ], 49 | 50 | // Reset de senha 51 | 'reset' => [ 52 | 'title' => 'Redefina sua senha', 53 | 'form' => [ 54 | 'email' => 'E-mail', 55 | 'password' => 'Senha', 56 | 'password_confirmation' => 'Confirme a senha', 57 | 'button' => 'Redefinir senha', 58 | ], 59 | ], 60 | 61 | ]; 62 | -------------------------------------------------------------------------------- /resources/lang/pt/blog/frontend.php: -------------------------------------------------------------------------------- 1 | 'Blog', 6 | 'search' => 'Pesquisar', 7 | 'search_button' => 'Pesquise por', 8 | 'search_no_results' => 'Nenhum post encontrado', 9 | 'search_term' => 'Você procurou por', 10 | 'comments' => 'Comentários', 11 | 'comments_name' => 'Nome', 12 | 'comments_email' => 'E-mail', 13 | 'comments_comment' => 'Comentário', 14 | 'comments_button' => 'Enviar', 15 | 'comments_nav_comment' => 'Comente', 16 | 'comments_nav_comments' => 'Comentários', 17 | 'comments_empty' => 'Nenhum comentário', 18 | 'comments_success' => 'Comentário enviado com sucesso', 19 | 'copyright' => 'Todos os direitos reservados.', 20 | 21 | ]; 22 | -------------------------------------------------------------------------------- /resources/lang/pt/error.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'title' => 'Página não encontrada', 18 | 'description' => 'Desculpe, mas a página que você está procurando não foi encontrada. Tente verificar a URL para erro, em seguida, apertar o botão de atualizar do seu navegador.', 19 | 'link' => 'Ir para o Dashboard', 20 | ], 21 | '503' => [ 22 | 'title' => 'Serviço indisponível', 23 | 'description' => 'Desculpe, mas no momento o serviço encontra-se indisponível.', 24 | 'link' => 'Ir para o Dashboard', 25 | ], 26 | 27 | ]; 28 | -------------------------------------------------------------------------------- /resources/lang/pt/pagination.php: -------------------------------------------------------------------------------- 1 | '« Anterior', 17 | 'next' => 'Próxima »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/pt/passwords.php: -------------------------------------------------------------------------------- 1 | 'A senha deverá conter pelo menos seis carateres e ser igual à confirmação.', 17 | 'reset' => 'Sua senha foi redefinida!', 18 | 'sent' => 'Nós enviamos um link de recuperação de senha por e-mail.', 19 | 'token' => 'Este código de recuperação de senha é inválido.', 20 | 'user' => 'Não conseguimos encontrar nenhum usuário com o endereço de e-mail especificado.', 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/admin/_globals.php: -------------------------------------------------------------------------------- 1 | 'Hello', 7 | 'exit' => '退出', 8 | 9 | // Buttons 10 | 'buttons' => [ 11 | 'back' => '返回', 12 | 'create' => '创建', 13 | 'edit' => '编辑', 14 | 'cancel' => '取消', 15 | 'delete' => '删除', 16 | 'delete_selected' => '删除选项', 17 | 'save' => '保存', 18 | 'aprove' => '认证', 19 | 'reprove' => '再认证', 20 | 'add_image' => '添加图片', 21 | 'add_file' => '添加文件', 22 | 'send' => '发送', 23 | 'send_trash' => '垃圾', 24 | 'archive' => '压缩', 25 | 'view' => '浏览', 26 | ], 27 | 28 | // Tables and lists 29 | 'tables' => [ 30 | 'created_at' => '创建时间', 31 | 'title' => '标题', 32 | 'category' => '分类', 33 | 'contents' => '内容', 34 | 'comments' => '评语', 35 | 'name' => '名称', 36 | 'email' => '电邮', 37 | 'status' => '状态', 38 | 'active' => '激活', 39 | 'inactive' => '待用', 40 | 'not_found' => '没有记录.', 41 | 'publish_at' => '发布时间', 42 | 'order' => '顺序', 43 | ], 44 | 45 | // Forms 46 | 'forms' => [ 47 | 'nav' => [ 48 | 'contents' => '内容', 49 | 'comments' => '评语', 50 | 'images' => '图片', 51 | 'data' => '数据', 52 | 'seo' => 'SEO', 53 | ], 54 | 'title' => '标题', 55 | 'category' => '分类', 56 | 'content' => '内容', 57 | 'summary' => '概要', 58 | 'description' => '描述', 59 | 'keywords' => '关键字', 60 | 'name' => '名称', 61 | 'email' => '电邮', 62 | 'password' => '密码', 63 | 'language' => '语言', 64 | 'confirm_password' => '确认密码', 65 | 'status' => '状态', 66 | 'active' => '激活', 67 | 'inactive' => '待用', 68 | 'limit_characters' => '允许限制 :limit characters', 69 | 'processing' => '处理', 70 | 'publish_at' => '发布时间', 71 | 'order' => '顺序', 72 | 'files_support' => '支持的文件', 73 | 'information_technical' => '信息技术', 74 | 'code' => '代码', 75 | 'price' => '价格', 76 | 'price_per' => '每个价格', 77 | ], 78 | 79 | ]; 80 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/admin/dashboard.php: -------------------------------------------------------------------------------- 1 | '仪表盘', 6 | 7 | 'blog' => [ 8 | 'title' => '博客', 9 | 'description' => '管理您的帖子,评论和创建新分类.', 10 | ], 11 | 'pages' => [ 12 | 'title' => '页面', 13 | 'description' => '为您的网站创建自定义页面.', 14 | ], 15 | 'mailbox' => [ 16 | 'title' => '邮件', 17 | 'inbox' => '收件箱', 18 | 'archive' => '激活', 19 | 'trash' => '垃圾', 20 | ], 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/admin/gallerys.php: -------------------------------------------------------------------------------- 1 | '画廊', 6 | 7 | 'index' => [ 8 | 'title' => '图像画廊列表 (:total)', 9 | 'is_empty' => '没有注册图片库', 10 | ], 11 | 12 | 'create' => [ 13 | 'title' => '创建图库', 14 | ], 15 | 16 | 'edit' => [ 17 | 'title' => '编辑图库', 18 | ], 19 | 20 | 'store' => [ 21 | 'messages' => [ 22 | 'success' => '该画廊已成功创建!', 23 | ], 24 | ], 25 | 26 | 'update' => [ 27 | 'messages' => [ 28 | 'success' => '该画廊已成功更新!', 29 | ], 30 | ], 31 | 32 | 'destroy' => [ 33 | 'messages' => [ 34 | 'info' => '没有选择画廊.', 35 | 'success' => '画廊被成功删除!', 36 | ], 37 | ], 38 | 39 | ]; 40 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/admin/logs.php: -------------------------------------------------------------------------------- 1 | '日志查看器', 6 | 7 | 'filter' => [ 8 | 'load' => '加载', 9 | ], 10 | 11 | 'table' => [ 12 | 'header' => [ 13 | 'level' => '级别', 14 | 'context' => '上下文', 15 | 'date' => '日期', 16 | 'content' => '内容', 17 | ], 18 | ], 19 | 20 | 'file' => [ 21 | 'download' => '下载文件', 22 | 'download_all' => '下載所有文件', 23 | 'delete' => '删除文件', 24 | 'delete_all' => '删除所有', 25 | 'confirm' => '您确定?', 26 | 'ultra' => '日志 >50M, 请下载文件', 27 | ], 28 | 29 | ]; 30 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/admin/mailbox.php: -------------------------------------------------------------------------------- 1 | '邮件箱', 6 | 7 | 'is_empty' => '没有消息.', 8 | 9 | 'inbox' => [ 10 | 'title' => '收件箱', 11 | ], 12 | 13 | 'archive' => [ 14 | 'title' => '激活', 15 | 'messages' => [ 16 | 'success' => '邮件已移至 "激活".', 17 | ], 18 | ], 19 | 20 | 'destroy' => [ 21 | 'messages' => [ 22 | 'info' => '没有选择任何消息.', 23 | 'success' => '消息已成功删除!', 24 | ], 25 | ], 26 | 27 | 'trash' => [ 28 | 'title' => '垃圾', 29 | 'messages' => [ 30 | 'success' => '邮件已移至 "垃圾".', 31 | ], 32 | ], 33 | 34 | 'message' => [ 35 | 'title' => '消息', 36 | 'subject' => '主题', 37 | 'from' => '来自', 38 | 39 | 'obs' => 'Obs.: 已删除的邮件将不再显示在您的邮箱中.', 40 | ], 41 | 42 | 'legend' => [ 43 | 'title' => '说明', 44 | 'types' => [ 45 | 'contact' => '联系', 46 | 'estimate' => '预计', 47 | 'newsletter' => '新闻简报', 48 | 'products' => '产品', 49 | 'clients' => '客户', 50 | ], 51 | ], 52 | 53 | ]; 54 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/admin/pages.php: -------------------------------------------------------------------------------- 1 | '页面', 6 | 7 | 'submodule' => [ 8 | 'categorys' => '分类', 9 | 'contents' => '内容', 10 | ], 11 | 12 | 'categorys' => [ 13 | 'index' => [ 14 | 'title' => '分类列表 (:total)', 15 | 'is_empty' => '没有分类', 16 | ], 17 | 18 | 'create' => [ 19 | 'title' => '创建分类', 20 | ], 21 | 22 | 'edit' => [ 23 | 'title' => '编辑分类', 24 | ], 25 | 26 | 'store' => [ 27 | 'messages' => [ 28 | 'success' => '该分类已成功创建!', 29 | ], 30 | ], 31 | 32 | 'update' => [ 33 | 'messages' => [ 34 | 'success' => '该分类已成功更新!', 35 | ], 36 | ], 37 | 38 | 'destroy' => [ 39 | 'messages' => [ 40 | 'info' => '未选择任何分类.', 41 | 'success' => '这些分类已成功删除!', 42 | ], 43 | ], 44 | ], 45 | 46 | 'contents' => [ 47 | 'index' => [ 48 | 'title' => '别表页 (:total)', 49 | 'is_empty' => '没有页面', 50 | ], 51 | 52 | 'create' => [ 53 | 'title' => '创建页面', 54 | ], 55 | 56 | 'edit' => [ 57 | 'title' => '编辑页面', 58 | ], 59 | 60 | 'store' => [ 61 | 'messages' => [ 62 | 'success' => '内容已创建!', 63 | ], 64 | ], 65 | 66 | 'update' => [ 67 | 'messages' => [ 68 | 'success' => '内容已成功更新!', 69 | ], 70 | ], 71 | 72 | 'destroy' => [ 73 | 'messages' => [ 74 | 'info' => '没有选择任何内容.', 75 | 'success' => '内容已成功删除!', 76 | ], 77 | ], 78 | ], 79 | 80 | ]; 81 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/admin/products.php: -------------------------------------------------------------------------------- 1 | '产品', 6 | 7 | 'submodule' => [ 8 | 'categorys' => '分类', 9 | 'contents' => '内容', 10 | ], 11 | 12 | 'categorys' => [ 13 | 'index' => [ 14 | 'title' => '分类列表 (:total)', 15 | 'is_empty' => '内有分类', 16 | ], 17 | 18 | 'create' => [ 19 | 'title' => '创建分类', 20 | ], 21 | 22 | 'edit' => [ 23 | 'title' => '编辑分类', 24 | ], 25 | 26 | 'store' => [ 27 | 'messages' => [ 28 | 'success' => '该分类已成功创建!', 29 | ], 30 | ], 31 | 32 | 'update' => [ 33 | 'messages' => [ 34 | 'success' => '该分类已成功更新!', 35 | ], 36 | ], 37 | 38 | 'destroy' => [ 39 | 'messages' => [ 40 | 'info' => '未选择任何分类.', 41 | 'success' => '这些分类已成功删除!', 42 | ], 43 | ], 44 | ], 45 | 46 | 'contents' => [ 47 | 'index' => [ 48 | 'title' => '产品清单 (:total)', 49 | 'is_empty' => '没有产品', 50 | ], 51 | 52 | 'create' => [ 53 | 'title' => '创建产品', 54 | ], 55 | 56 | 'edit' => [ 57 | 'title' => '编辑产品', 58 | ], 59 | 60 | 'store' => [ 61 | 'messages' => [ 62 | 'success' => '该产品已创建!', 63 | ], 64 | ], 65 | 66 | 'update' => [ 67 | 'messages' => [ 68 | 'success' => '该产品已成功更新!', 69 | ], 70 | ], 71 | 72 | 'destroy' => [ 73 | 'messages' => [ 74 | 'info' => '没有选择产品.', 75 | 'success' => '产品已成功删除!', 76 | ], 77 | ], 78 | ], 79 | 80 | ]; 81 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/admin/profile.php: -------------------------------------------------------------------------------- 1 | '个人资料', 6 | 7 | 'profile' => [ 8 | 9 | 'your_ip' => '您的 IP', 10 | 'last_access' => '最后来过', 11 | 12 | 'password' => [ 13 | 'title' => '更新个人资料', 14 | 'messages' => [ 15 | 'error' => '这两个密码不匹配,重新输入.', 16 | 'success' => '你的密码已被成功更新.', 17 | ], 18 | ], 19 | ], 20 | 21 | ]; 22 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/admin/users.php: -------------------------------------------------------------------------------- 1 | '用户', 6 | 7 | 'index' => [ 8 | 'title' => '用户列表 (:total)', 9 | 'is_empty' => '没有用户', 10 | ], 11 | 12 | 'create' => [ 13 | 'title' => '创建用户', 14 | ], 15 | 16 | 'edit' => [ 17 | 'title' => '更新用户', 18 | ], 19 | 20 | 'store' => [ 21 | 'messages' => [ 22 | 'success' => '用户已成功保存!', 23 | ], 24 | ], 25 | 26 | 'update' => [ 27 | 'messages' => [ 28 | 'success' => '用户已成功更新!', 29 | ], 30 | ], 31 | 32 | 'destroy' => [ 33 | 'messages' => [ 34 | 'info' => '没有选择用户.', 35 | 'warning' => '您无法删除您自己!', 36 | 'success' => '成功删除了用户!', 37 | ], 38 | ], 39 | 40 | 'gravatar' => [ 41 | 'title' => 'Gravatar', 42 | 'description' => '您的Gravatar是一个图像,当您在博客上发表评论或发布内容时,会在您的名称旁边显示您的网站。 头像有助于在博客和网络论坛上识别您的帖子,为什么不放在任何网站上?', 43 | 'button' => '创建 gravatar', 44 | ], 45 | 46 | ]; 47 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/auth.php: -------------------------------------------------------------------------------- 1 | '这些凭据与我们的记录不符。', 17 | 'throttle' => '登录尝试次数过多。 请再试一次 :秒。', 18 | 19 | // Login 20 | 'login' => [ 21 | 'welcome' => '欢迎使用 Borgert CMS', 22 | 'form' => [ 23 | 'email' => '电邮', 24 | 'senha' => '密码', 25 | 'button' => '登陆', 26 | ], 27 | 'messages' => [ 28 | 'error' => '用户名或密码无效!', 29 | ], 30 | 'forgot' => '忘记密码了吗?', 31 | ], 32 | 33 | // Forget Password 34 | 'forget' => [ 35 | 'title' => '忘了我的密码', 36 | 'form' => [ 37 | 'email' => '电邮', 38 | 'button' => '发送新密码', 39 | ], 40 | 'back' => '返回登陆', 41 | ], 42 | 43 | // E-mail 44 | 'email' => [ 45 | 'password' => [ 46 | 'description' => '点击此处重置密码:', 47 | ], 48 | ], 49 | 50 | // Reset de senha 51 | 'reset' => [ 52 | 'title' => '重置你的密码', 53 | 'form' => [ 54 | 'email' => '电邮', 55 | 'password' => '密码', 56 | 'password_confirmation' => '确认密码', 57 | 'button' => '重新定义密码', 58 | ], 59 | ], 60 | 61 | ]; 62 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/blog/frontend.php: -------------------------------------------------------------------------------- 1 | '博客', 6 | 'search' => '搜索', 7 | 'search_button' => '搜索', 8 | 'search_no_results' => '找不到帖子', 9 | 'search_term' => '你找了', 10 | 'comments' => '關於我', 11 | 'comments_name' => '名', 12 | 'comments_email' => '電子郵件', 13 | 'comments_comment' => '關於我', 14 | 'comments_button' => '發送', 15 | 'comments_nav_comment' => '發表評論', 16 | 'comments_nav_comments' => '關於我', 17 | 'comments_empty' => '沒有評論', 18 | 'comments_success' => '評論已成功提交', 19 | 'copyright' => '版權所有.', 20 | 21 | ]; 22 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/error.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'title' => '找不到网页', 18 | 'description' => '抱歉,找不到您要搜索的页面。 重定向到仪表板。', 19 | 'link' => '转到仪表板', 20 | ], 21 | '503' => [ 22 | 'title' => '服务不可用', 23 | 'description' => '抱歉,目前服务暂时无法使用。', 24 | 'link' => '转到仪表板', 25 | ], 26 | 27 | ]; 28 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/pagination.php: -------------------------------------------------------------------------------- 1 | '« 前页', 17 | 'next' => '下页 »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/zh_cn/passwords.php: -------------------------------------------------------------------------------- 1 | '密码必须至少为六个字符并与确认匹配。', 17 | 'reset' => '您的密码已重置! ', 18 | 'sent' => '我们已通过电子邮件发送您的密码重设链接!', 19 | 'token' => '此密码重置令牌无效。', 20 | 'user' => '我们找不到具有该电子邮件地址的用户。', 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/views/admin/_inc/alerts.blade.php: -------------------------------------------------------------------------------- 1 | @if (count($errors) > 0) 2 |
3 | 4 | 9 |
10 | @endif 11 | 12 | @if(Session::has('info')) 13 |
14 | 15 | {{Session::get('info')}} 16 |
17 | @endif 18 | 19 | @if(Session::has('warning')) 20 |
21 | 22 | {{Session::get('warning')}} 23 |
24 | @endif 25 | 26 | @if(Session::has('success')) 27 |
28 | 29 | {{Session::get('success')}} 30 |
31 | @endif 32 | 33 | @if(Session::has('error')) 34 |
35 | 36 | {{Session::get('error')}} 37 |
38 | @endif -------------------------------------------------------------------------------- /resources/views/admin/_inc/fileupload/buttons.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | 6 | @lang('admin/_globals.buttons.add_file') 7 | 8 | 9 | 10 | @lang('admin/_globals.forms.files_support'): 11 | @if(isset($extensions)) 12 | @foreach($extensions as $extension) 13 | {{ $extension }} 14 | @endforeach 15 | @endif 16 |
17 | 18 |
19 | 20 |
21 |
22 |
23 | 24 |
 
25 |
26 |
27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /resources/views/admin/_inc/fileupload/download.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 40 | -------------------------------------------------------------------------------- /resources/views/admin/_inc/fileupload/empty.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/resources/views/admin/_inc/fileupload/empty.blade.php -------------------------------------------------------------------------------- /resources/views/admin/_inc/fileupload/upload.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 34 | -------------------------------------------------------------------------------- /resources/views/admin/blog/base.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.base') 2 | 3 | @section('content') 4 | 5 |
6 |
7 | @yield('actions') 8 |
9 |

@lang('admin/blog.module') @yield('subtitle')

10 |
11 | 12 | @yield('blog') 13 | 14 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/blog/comments/aproved.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.blog.comments.base') 2 | 3 | @section('title', trans('admin/blog.comments.aproved.title', ['total' => $comments->total()]), @parent) 4 | 5 | @section('comments') 6 | 7 | @section('subtitle', trans('admin/blog.comments.aproved.title', ['total' => $comments->total()])) 8 | 9 | @if ($comments->total() > 0) 10 | 11 | @foreach($comments as $key => $comment) 12 |
13 | 14 | 15 | 16 |
17 | @lang('admin/blog.posts.edit.posted',['name' => $comment->name, 'title' => $comment->post->title]) 18 |
19 | {{ $comment->created_at->diffForHumans() }} 20 |
21 | {{ $comment->description }} 22 |
23 |
24 |
25 |
26 |
27 | @endforeach 28 | 29 | {!! $comments->render() !!} 30 | 31 | @else 32 |
33 | 34 |

@lang('admin/blog.comments.aproved.is_empty')

35 |
36 | @endif 37 | 38 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/blog/comments/base.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.blog.base') 2 | 3 | @section('blog') 4 | 5 |
6 | 13 |
14 | @yield('comments') 15 |
16 |
17 | 18 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/blog/comments/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.blog.comments.base') 2 | 3 | @section('title', trans('admin/blog.comments.index.title', ['total' => $comments->total()]), @parent) 4 | 5 | @section('comments') 6 | 7 | @section('subtitle', trans('admin/blog.comments.index.title', ['total' => $comments->total()])) 8 | 9 | @if ($comments->total() > 0) 10 | 11 | @foreach($comments as $key => $comment) 12 |
13 | 14 | 15 | 16 |
17 | @lang('admin/blog.posts.edit.posted',['name' => $comment->name, 'title' => $comment->post->title])
18 | {{ $comment->created_at->diffForHumans() }} 19 |
20 | {{ $comment->description }} 21 |
22 | @lang('admin/_globals.buttons.aprove') 23 | @lang('admin/_globals.buttons.reprove') 24 |
25 |
26 |
27 |
28 | @endforeach 29 | 30 | {!! $comments->render() !!} 31 | 32 | @else 33 |
34 | 35 |

@lang('admin/blog.comments.index.is_empty')

36 |
37 | @endif 38 | 39 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/blog/comments/reproved.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.blog.comments.base') 2 | 3 | @section('title', trans('admin/blog.comments.reproved.title', ['total' => $comments->total()]), @parent) 4 | 5 | @section('comments') 6 | 7 | @section('subtitle', trans('admin/blog.comments.reproved.title', ['total' => $comments->total()])) 8 | 9 | @if ($comments->total() > 0) 10 | 11 | @foreach($comments as $key => $comment) 12 |
13 | 14 | 15 | 16 |
17 | @lang('admin/blog.posts.edit.posted',['name' => $comment->name, 'title' => $comment->post->title])
18 | {{ $comment->created_at->diffForHumans() }} 19 |
20 | {{ $comment->description }} 21 |
22 |
23 |
24 |
25 |
26 | @endforeach 27 | 28 | {!! $comments->render() !!} 29 | 30 | @else 31 |
32 | 33 |

@lang('admin/blog.comments.reproved.is_empty')

34 |
35 | @endif 36 | 37 | @endsection 38 | 39 | -------------------------------------------------------------------------------- /resources/views/admin/dashboard/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.base') 2 | 3 | @section('title', trans('admin/dashboard.module'), @parent) 4 | 5 | @section('content') 6 | 7 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/gallerys/base.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.base') 2 | 3 | @section('content') 4 | 5 |
6 |
7 | @yield('actions') 8 |
9 |

@lang('admin/gallerys.module') @yield('subtitle')

10 |
11 | 12 | @yield('gallerys') 13 | 14 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/mailbox/_inc/empty.blade.php: -------------------------------------------------------------------------------- 1 | @if ($mailbox->total() == 0) 2 |
3 | 4 |

@lang('admin/mailbox.is_empty')

5 |
6 | @endif -------------------------------------------------------------------------------- /resources/views/admin/mailbox/_inc/list.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @if ($mailbox->total() > 0) 3 | 4 |
5 | 6 | {{ csrf_field() }} 7 | 8 | 9 | 10 | @foreach($mailbox as $item) 11 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | @endforeach 21 | 22 |
13 | 14 | {{ $item->name }}{{ $item->subject }}{{ $item->created_at->diffForHumans() }}
23 | 24 | {!! $mailbox->render() !!} 25 | 26 | 27 | 28 |
29 | 30 | @endif 31 | -------------------------------------------------------------------------------- /resources/views/admin/mailbox/archive.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.mailbox.index') 2 | 3 | @section('title', trans('admin/mailbox.archive.title'), @parent) 4 | 5 | @section('mailbox') 6 | 7 |

@lang('admin/mailbox.archive.title') ({{ $mailbox->total() }})

8 | 9 | @include('admin/mailbox/_inc/empty',['icone'=>'archive']) 10 | 11 | @include('admin/mailbox/_inc/list') 12 | 13 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/mailbox/inbox.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.mailbox.index') 2 | 3 | @section('title', trans('admin/mailbox.inbox.title') , @parent ) 4 | 5 | @section('mailbox') 6 | 7 |

@lang('admin/mailbox.inbox.title') ({{ $mailbox->total() }})

8 | 9 | @include('admin/mailbox/_inc/empty',['icone'=>'inbox']) 10 | 11 | @include('admin/mailbox/_inc/list') 12 | 13 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/mailbox/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.base') 2 | 3 | @section('content') 4 | 5 |
6 |

@lang('admin/mailbox.module')

7 |
8 | 9 |
10 | 17 |
18 | @yield('mailbox') 19 |
20 |
21 | 22 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/mailbox/trash.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.mailbox.index') 2 | 3 | @section('title', trans('admin/mailbox.trash.title'), @parent) 4 | 5 | @section('mailbox') 6 | 7 |

@lang('admin/mailbox.trash.title') ({{ $mailbox->total() }})

8 | 9 | @include('admin/mailbox/_inc/empty',['icone'=>'trash']) 10 | 11 | @include('admin/mailbox/_inc/list') 12 | 13 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/pages/base.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.base') 2 | 3 | @section('content') 4 | 5 |
6 |
7 | @yield('actions') 8 |
9 |

@lang('admin/pages.module') @yield('subtitle')

10 |
11 | 12 | @yield('pages') 13 | 14 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/products/base.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.base') 2 | 3 | @section('content') 4 | 5 |
6 |
7 | @yield('actions') 8 |
9 |

@lang('admin/products.module') @yield('subtitle')

10 |
11 | 12 | @yield('products') 13 | 14 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/profile/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.base') 2 | 3 | @section('content') 4 | 5 | @yield('profile') 6 | 7 | @endsection -------------------------------------------------------------------------------- /resources/views/admin/users/base.blade.php: -------------------------------------------------------------------------------- 1 | @extends('admin.base') 2 | 3 | @section('content') 4 | 5 |
6 |
7 | @yield('actions') 8 |
9 |

@lang('admin/users.module') @yield('subtitle')

10 |
11 | 12 | @yield('users') 13 | 14 | @endsection -------------------------------------------------------------------------------- /resources/views/auth/index.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ config('borgert.name') }} 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
31 |
32 | 33 |
34 | 35 |
36 | 37 |
38 | 39 | @yield('content') 40 | 41 |
42 | 43 |

{{ config('borgert.name') }} {{ date('Y') }}

44 | 45 |
46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /resources/views/auth/login.blade.php: -------------------------------------------------------------------------------- 1 | @extends('auth.index') 2 | 3 | @section('content') 4 | 5 |
6 | 7 |
@lang('auth.login.welcome')
8 | 9 |
10 | @include('admin._inc.alerts') 11 |
12 | 13 |
14 | 15 | {!! csrf_field() !!} 16 | 17 |
18 | 19 | @if ($errors->has('email')) 20 | 21 | {{ $errors->first('email') }} 22 | 23 | @endif 24 |
25 | 26 |
27 | 28 | @if ($errors->has('password')) 29 | 30 | {{ $errors->first('password') }} 31 | 32 | @endif 33 |
34 | 35 | 36 | 37 | @lang('auth.login.forgot') 38 |
39 | 40 |
41 | 42 |
43 | 44 | @endsection 45 | -------------------------------------------------------------------------------- /resources/views/auth/passwords/email.blade.php: -------------------------------------------------------------------------------- 1 | @extends('auth.index') 2 | 3 | @section('content') 4 | 5 |
6 | 7 |
@lang('auth.forget.title')
8 | 9 |
10 | @include('admin._inc.alerts') 11 |
12 | 13 | @if (session('status')) 14 |
15 | {{ session('status') }} 16 |
17 | @endif 18 | 19 |
20 | 21 | {{ csrf_field() }} 22 | 23 |
24 | 25 |
26 | 27 | 28 | 29 |
30 | 31 |

32 | @lang('auth.forget.back') 33 |

34 | 35 |
36 | 37 | @endsection -------------------------------------------------------------------------------- /resources/views/auth/passwords/reset.blade.php: -------------------------------------------------------------------------------- 1 | @extends('auth.index') 2 | 3 | @section('content') 4 | 5 | 6 |
7 | 8 |
@lang('auth.reset.title')
9 | 10 |
11 | 12 | {{ csrf_field() }} 13 | 14 | 15 | 16 |
17 | 18 | @if ($errors->has('email')) 19 | 20 | {{ $errors->first('email') }} 21 | 22 | @endif 23 |
24 | 25 |
26 | 27 | @if ($errors->has('password')) 28 | 29 | {{ $errors->first('password') }} 30 | 31 | @endif 32 |
33 | 34 |
35 | 36 | @if ($errors->has('password_confirmation')) 37 | 38 | {{ $errors->first('password_confirmation') }} 39 | 40 | @endif 41 |
42 | 43 | 44 | 45 |
46 | 47 |
48 | 49 | @endsection 50 | -------------------------------------------------------------------------------- /resources/views/base.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Laravel 5 | 6 | 7 | 8 | 51 | 52 | 53 |
54 |
55 | 56 |

{{ config('borgert.name') }} | Framework {{ config('borgert.laravel') }}

57 | Enter 58 | Blog 59 |
60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /resources/views/blog/_inc/alerts.blade.php: -------------------------------------------------------------------------------- 1 | @if (count($errors) > 0) 2 |
3 | 4 | 9 |
10 | @endif 11 | 12 | @if(Session::has('info')) 13 |
14 | 15 | {{Session::get('info')}} 16 |
17 | @endif 18 | 19 | @if(Session::has('warning')) 20 |
21 | 22 | {{Session::get('warning')}} 23 |
24 | @endif 25 | 26 | @if(Session::has('success')) 27 |
28 | 29 | {{Session::get('success')}} 30 |
31 | @endif 32 | 33 | @if(Session::has('error')) 34 |
35 | 36 | {{Session::get('error')}} 37 |
38 | @endif -------------------------------------------------------------------------------- /resources/views/blog/_inc/categorys.blade.php: -------------------------------------------------------------------------------- 1 | @if(count($categorys) > 0) 2 |
3 | @foreach($categorys as $category) 4 | {{ $category->title }} 5 | @endforeach 6 |
7 | @endif 8 | -------------------------------------------------------------------------------- /resources/views/blog/_inc/footer.blade.php: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /resources/views/blog/_inc/header.blade.php: -------------------------------------------------------------------------------- 1 | 12 |
-------------------------------------------------------------------------------- /resources/views/blog/_inc/seo.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | @if(isset($keywords)) 7 | 8 | @endif 9 | 10 | @if($image) 11 | 12 | @else 13 | 14 | @endif 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | @if($image) 23 | 24 | @else 25 | 26 | @endif 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /resources/views/blog/base.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | @yield('title') | {{ config('borgert.name') }} 9 | 10 | @yield('seo') 11 | 12 | @section('stylesheet') 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | @show 24 | 25 | 26 | 27 | 28 | @yield('content') 29 | 30 | @section('javascrippt') 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | @show 40 | 41 | 42 | -------------------------------------------------------------------------------- /resources/views/blog/empty.blade.php: -------------------------------------------------------------------------------- 1 | @extends('blog.index') 2 | 3 | @section('title', 'Blog') 4 | 5 | @section('blog') 6 | 7 |
8 | 9 |
10 |
11 |
12 |
13 |
14 | 15 |
16 | @lang('blog/frontend.search_no_results') 17 |
18 |
19 |
20 |
21 |
22 | 23 |
24 | 25 | @endsection 26 | -------------------------------------------------------------------------------- /resources/views/blog/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('blog.base') 2 | 3 | @section('content') 4 | 5 | @include('blog/_inc/header') 6 | 7 | @inject('inject', 'App\Http\Controllers\Blog\BlogController') 8 | 9 | @include('blog._inc.alerts') 10 | 11 |
12 |
13 |
14 | @yield('blog') 15 |
16 | 17 |
18 | {!! $inject->categorys() !!} 19 |
20 |
21 |
22 | 23 | @include('blog/_inc/footer') 24 | 25 | @endsection -------------------------------------------------------------------------------- /resources/views/blog/sitemap.blade.php: -------------------------------------------------------------------------------- 1 | '; ?> 2 | 3 | 4 | 5 | @foreach($posts as $post) 6 | 7 | @if($loop->index == 0) 8 | 9 | {{ route('blog.index') }} 10 | {{ $post->publish_at->format('Y-m-d') }} 11 | monthly 12 | 1.0 13 | 14 | @endif 15 | 16 | 17 | {{ route('blog.post',['id'=>$post->id, 'title'=>str_slug($post->title)]) }} 18 | {{ $post->publish_at->format('Y-m-d') }} 19 | weekly 20 | 0.9 21 | 22 | 23 | @endforeach 24 | 25 | @foreach($categorys as $category) 26 | 27 | 28 | {{ route('blog.category', ['id'=>$category->id,'title'=>str_slug($category->title)]) }} 29 | {{ $category->created_at->format('Y-m-d') }} 30 | weekly 31 | 0.8 32 | 33 | 34 | @endforeach 35 | 36 | -------------------------------------------------------------------------------- /resources/views/errors/404.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 404 | {{ config('borgert.name') }} 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 |

404

30 |

@lang('error.404.title')

31 |
@lang('error.404.description')
32 |
33 | @lang('error.404.link') 34 | 38 |
39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /resources/views/errors/503.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 503 | {{ config('borgert.name') }} 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 |

503

30 |

@lang('error.503.title')

31 |
@lang('error.503.description')
32 |
33 | @lang('error.404.link') 34 | 38 |
39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /resources/views/site/pages/template.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{$page->title}} 5 | 6 | 7 | {!!$page->content!!} 8 | 9 | -------------------------------------------------------------------------------- /resources/views/vendor/laravel-log-viewer/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borgert-inc/borgert-cms/d13a93eeff3199356f3547136f44c5229c01512e/resources/views/vendor/laravel-log-viewer/.gitkeep -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | user(); 18 | })->middleware('auth:api'); 19 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 18 | })->describe('Display an inspiring quote'); 19 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | $uri = urldecode( 9 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 10 | ); 11 | 12 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 13 | // built-in PHP web server. This provides a convenient way to test a Laravel 14 | // application without having installed a "real" web server software here. 15 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 16 | return false; 17 | } 18 | 19 | require_once __DIR__.'/public/index.php'; 20 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | make(Illuminate\Contracts\Console\Kernel::class)->bootstrap(); 22 | 23 | return $app; 24 | } 25 | } 26 | --------------------------------------------------------------------------------