-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9fa9c9e
commit 496a37f
Showing
864 changed files
with
68,974 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
return array( | ||
'detail' => array( | ||
array( | ||
'title' => 'Home', | ||
'link' => URL::to('/'), | ||
'icon' => 'glyphicon-home' | ||
), | ||
array( | ||
'title' => 'Category', | ||
'link' => URL::to('/'), | ||
'icon' => 'glyphicon-align-justify' | ||
), | ||
array( | ||
'title' => 'bookname', | ||
'link' => URL::current(), | ||
'icon' => 'glyphicon-plus-sign' | ||
) | ||
), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
return array( | ||
'category' => array( | ||
'Software', | ||
'Cook', | ||
'Horror', | ||
'Humor', | ||
'Musics', | ||
'Healthy', | ||
'Romance', | ||
'History', | ||
'Thriller', | ||
'Travel', | ||
'Mystery', | ||
'Poetry', | ||
'Religion', | ||
), | ||
) | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
return array( | ||
'en' => 'English', | ||
'mm' => 'Myanmar', | ||
'ygn' => 'Yangon', | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,221 @@ | ||
<?php | ||
/** | ||
* Part of the Sentry package. | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* Licensed under the 3-clause BSD License. | ||
* | ||
* This source file is subject to the 3-clause BSD License that is | ||
* bundled with this package in the LICENSE file. It is also available at | ||
* the following URL: http://www.opensource.org/licenses/BSD-3-Clause | ||
* | ||
* @package Sentry | ||
* @version 2.0.0 | ||
* @author Cartalyst LLC | ||
* @license BSD License (3-clause) | ||
* @copyright (c) 2011 - 2013, Cartalyst LLC | ||
* @link http://cartalyst.com | ||
*/ | ||
|
||
return array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default Authentication Driver | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option controls the authentication driver that will be utilized. | ||
| This drivers manages the retrieval and authentication of the users | ||
| attempting to get access to protected areas of your application. | ||
| | ||
| Supported: "eloquent" (more coming soon). | ||
| | ||
*/ | ||
|
||
'driver' => 'eloquent', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default Hasher | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option allows you to specify the default hasher used by Sentry | ||
| | ||
| Supported: "native", "bcrypt", "sha256", "whirlpool" | ||
| | ||
*/ | ||
|
||
'hasher' => 'native', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Cookie | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Configuration specific to the cookie component of Sentry. | ||
| | ||
*/ | ||
|
||
'cookie' => array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default Cookie Key | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option allows you to specify the default cookie key used by Sentry. | ||
| | ||
| Supported: string | ||
| | ||
*/ | ||
|
||
'key' => 'cartalyst_sentry', | ||
|
||
), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Groups | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Configuration specific to the group management component of Sentry. | ||
| | ||
*/ | ||
|
||
'groups' => array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Model | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "eloquent" driver, we need to know which | ||
| Eloquent models should be used throughout Sentry. | ||
| | ||
*/ | ||
|
||
'model' => 'Cartalyst\Sentry\Groups\Eloquent\Group', | ||
|
||
), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Users | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Configuration specific to the user management component of Sentry. | ||
| | ||
*/ | ||
|
||
'users' => array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Model | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "eloquent" driver, we need to know which | ||
| Eloquent models should be used throughout Sentry. | ||
| | ||
*/ | ||
|
||
'model' => 'Cartalyst\Sentry\Users\Eloquent\User', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Login Attribute | ||
|-------------------------------------------------------------------------- | ||
| | ||
| If you're using the "eloquent" driver and extending the base Eloquent | ||
| model, we allow you to globally override the login attribute without | ||
| even subclassing the model, simply by specifying the attribute below. | ||
| | ||
*/ | ||
|
||
'login_attribute' => 'email', | ||
|
||
), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| User Groups Pivot Table | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "eloquent" driver, you can specify the table name | ||
| for the user groups pivot table. | ||
| | ||
| Default: users_groups | ||
| | ||
*/ | ||
|
||
'user_groups_pivot_table' => 'users_groups', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Throttling | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Throttling is an optional security feature for authentication, which | ||
| enables limiting of login attempts and the suspension & banning of users. | ||
| | ||
*/ | ||
|
||
'throttling' => array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Throttling | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Enable throttling or not. Throttling is where users are only allowed a | ||
| certain number of login attempts before they are suspended. Suspension | ||
| must be removed before a new login attempt is allowed. | ||
| | ||
*/ | ||
|
||
'enabled' => true, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Model | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "eloquent" driver, we need to know which | ||
| Eloquent models should be used throughout Sentry. | ||
| | ||
*/ | ||
|
||
'model' => 'Cartalyst\Sentry\Throttling\Eloquent\Throttle', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Attempts Limit | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "eloquent" driver and extending the base Eloquent model, | ||
| you have the option to globally set the login attempts. | ||
| | ||
| Supported: int | ||
| | ||
*/ | ||
|
||
'attempt_limit' => 5, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Suspension Time | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "eloquent" driver and extending the base Eloquent model, | ||
| you have the option to globally set the suspension time, in minutes. | ||
| | ||
| Supported: int | ||
| | ||
*/ | ||
|
||
'suspension_time' => 15, | ||
|
||
), | ||
|
||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
<?php | ||
|
||
return array( | ||
'dashboard' => array( | ||
array( | ||
'title' => trans('syntara::breadcrumbs.dashboard'), | ||
'link' => URL::current(), | ||
'icon' => 'glyphicon-home' | ||
) | ||
), | ||
'login' => array( | ||
array( | ||
'title' => trans('syntara::breadcrumbs.login'), | ||
'link' => URL::route('getLogin'), | ||
'icon' => 'glyphicon-user' | ||
) | ||
), | ||
'users' => array( | ||
array( | ||
'title' => trans('syntara::breadcrumbs.users'), | ||
'link' => URL::route('listUsers'), | ||
'icon' => 'glyphicon-user' | ||
) | ||
), | ||
'create_user' => array( | ||
array( | ||
'title' => trans('syntara::breadcrumbs.users'), | ||
'link' => URL::route('listUsers'), | ||
'icon' => 'glyphicon-user' | ||
), | ||
array( | ||
'title' => trans('syntara::breadcrumbs.new-user'), | ||
'link' => URL::current(), | ||
'icon' => 'glyphicon-plus-sign' | ||
) | ||
), | ||
'groups' => array( | ||
array( | ||
'title' => trans('syntara::breadcrumbs.groups'), | ||
'link' => URL::route('listGroups'), | ||
'icon' => 'glyphicon-list-alt' | ||
) | ||
), | ||
'create_group' => array( | ||
array( | ||
'title' => trans('syntara::breadcrumbs.groups'), | ||
'link' => URL::route('listGroups'), | ||
'icon' => 'glyphicon-list-alt' | ||
), | ||
array( | ||
'title' => trans('syntara::breadcrumbs.new-group'), | ||
'link' => URL::current(), | ||
'icon' => 'glyphicon-plus-sign' | ||
) | ||
), | ||
'permissions' => array( | ||
array( | ||
'title' => trans('syntara::breadcrumbs.permissions'), | ||
'link' => URL::route('listPermissions'), | ||
'icon' => 'glyphicon-ban-circle' | ||
) | ||
), | ||
'create_permission' => array( | ||
array( | ||
'title' => trans('syntara::breadcrumbs.permissions'), | ||
'link' => URL::route('listPermissions'), | ||
'icon' => 'glyphicon-ban-circle' | ||
), | ||
array( | ||
'title' => trans('syntara::breadcrumbs.new-permission'), | ||
'link' => URL::current(), | ||
'icon' => 'glyphicon-plus-sign' | ||
) | ||
), | ||
'allbooks' => array( | ||
array( | ||
'title' => 'All Books', | ||
'link' => URL::route('book.all'), | ||
'icon' => 'glyphicon-align-justify' | ||
) | ||
), | ||
'editbook' => array( | ||
array( | ||
'title' => 'All Books', | ||
'link' => URL::route('book.all'), | ||
'icon' => 'glyphicon-align-justify' | ||
), | ||
array( | ||
'title' => 'Edit Book', | ||
'link' => URL::current(), | ||
'icon' => 'glyphicon-edit' | ||
) | ||
), | ||
'addbook' => array( | ||
array( | ||
'title' => 'All Books', | ||
'link' => URL::route('book.all'), | ||
'icon' => 'glyphicon-align-justify' | ||
), | ||
array( | ||
'title' => 'Add Book', | ||
'link' => URL::current(), | ||
'icon' => 'glyphicon-plus-sign' | ||
) | ||
), | ||
'add_category' => array( | ||
array( | ||
'title' => 'All Books', | ||
'link' => URL::route('book.all'), | ||
'icon' => 'glyphicon-align-justify' | ||
), | ||
array( | ||
'title' => 'Add Category', | ||
'link' => URL::current(), | ||
'icon' => 'glyphicon-plus-sign' | ||
) | ||
), | ||
); |
Oops, something went wrong.