Remove deprecated path symbols

This commit is contained in:
Samuel Georges 2015-02-07 16:20:34 +11:00
parent 68909f1bfe
commit 9d649ebb1e
22 changed files with 31 additions and 28 deletions

View File

@ -10,11 +10,14 @@
[MOVE] /app/config -> /config
[MOVE] /app/storage -> /storage
[CREATE] /storage/framework
[DELETE] /bootstrap/start.php
[DELETE] /bootstrap/autoload.php
[DELETE] /artisan
[SPAWN] /bootstrap/app.php
[SPAWN] /bootstrap/autoload.php
[SPAWN] /artisan
[SPAWN] /storage/cms/*.*
[SPAWN] /storage/framework/*.*
*SPAWN* means to create a file using the git source.

View File

@ -3,7 +3,7 @@
# ===================================
title: backend::lang.access_log.menu_label
list: @/modules/backend/models/accesslog/columns.yaml
list: ~/modules/backend/models/accesslog/columns.yaml
modelClass: Backend\Models\AccessLog
noRecordsMessage: backend::lang.list.no_records
recordsPerPage: 30

View File

@ -2,6 +2,6 @@
# Form Behavior Config
# ===================================
form: @/modules/backend/models/editorpreferences/fields.yaml
form: ~/modules/backend/models/editorpreferences/fields.yaml
modelClass: Backend\Models\EditorPreferences
defaultRedirect: system/mailtemplates

View File

@ -3,7 +3,7 @@
# ===================================
name: backend::lang.user.group.name
form: @/modules/backend/models/usergroup/fields.yaml
form: ~/modules/backend/models/usergroup/fields.yaml
modelClass: Backend\Models\UserGroup
defaultRedirect: backend/usergroups

View File

@ -3,7 +3,7 @@
# ===================================
title: backend::lang.user.group.list_title
list: @/modules/backend/models/usergroup/columns.yaml
list: ~/modules/backend/models/usergroup/columns.yaml
modelClass: Backend\Models\UserGroup
recordUrl: backend/usergroups/update/:id
noRecordsMessage: backend::lang.list.no_records

View File

@ -3,7 +3,7 @@
# ===================================
name: backend::lang.user.name
form: @/modules/backend/models/user/fields.yaml
form: ~/modules/backend/models/user/fields.yaml
modelClass: Backend\Models\User
defaultRedirect: backend/users

View File

@ -3,7 +3,7 @@
# ===================================
title: backend::lang.user.list_title
list: @/modules/backend/models/user/columns.yaml
list: ~/modules/backend/models/user/columns.yaml
modelClass: Backend\Models\User
recordUrl: backend/users/update/:id
noRecordsMessage: backend::lang.list.no_records

View File

@ -11,7 +11,7 @@ use SystemException;
* user:
* label: User
* type: recordfinder
* list: @/plugins/rainlab/user/models/user/columns.yaml
* list: ~/plugins/rainlab/user/models/user/columns.yaml
* prompt: Click the Find button to find a user
* nameFrom: name
* descriptionFrom: email

View File

@ -391,11 +391,11 @@ class Index extends Controller
protected function makeTemplateFormWidget($type, $template)
{
$formConfigs = [
'page' => '@/modules/cms/classes/page/fields.yaml',
'partial' => '@/modules/cms/classes/partial/fields.yaml',
'layout' => '@/modules/cms/classes/layout/fields.yaml',
'content' => '@/modules/cms/classes/content/fields.yaml',
'asset' => '@/modules/cms/classes/asset/fields.yaml',
'page' => '~/modules/cms/classes/page/fields.yaml',
'partial' => '~/modules/cms/classes/partial/fields.yaml',
'layout' => '~/modules/cms/classes/layout/fields.yaml',
'content' => '~/modules/cms/classes/content/fields.yaml',
'asset' => '~/modules/cms/classes/asset/fields.yaml',
];
if (!array_key_exists($type, $formConfigs)) {

View File

@ -318,7 +318,7 @@ class ServiceProvider extends ModuleServiceProvider
BackendMenu::registerContextSidenavPartial(
'October.System',
'system',
'@/modules/system/partials/_system_sidebar.htm'
'~/modules/system/partials/_system_sidebar.htm'
);
}

View File

@ -6,7 +6,7 @@
name: Log
# Model Form Field configuration
form: @/modules/system/models/eventlog/fields.yaml
form: ~/modules/system/models/eventlog/fields.yaml
# Model Class name
modelClass: System\Models\EventLog

View File

@ -3,7 +3,7 @@
# ===================================
title: system::lang.event_log.menu_label
list: @/modules/system/models/eventlog/columns.yaml
list: ~/modules/system/models/eventlog/columns.yaml
modelClass: System\Models\EventLog
recordUrl: system/eventlogs/preview/:id
noRecordsMessage: backend::lang.list.no_records

View File

@ -3,7 +3,7 @@
# ===================================
name: system::lang.mail_templates.layout
form: @/modules/system/models/maillayout/fields.yaml
form: ~/modules/system/models/maillayout/fields.yaml
modelClass: System\Models\MailLayout
defaultRedirect: system/mailtemplates

View File

@ -3,7 +3,7 @@
# ===================================
name: system::lang.mail_templates.template
form: @/modules/system/models/mailtemplate/fields.yaml
form: ~/modules/system/models/mailtemplate/fields.yaml
modelClass: System\Models\MailTemplate
defaultRedirect: system/mailtemplates

View File

@ -3,7 +3,7 @@
# ===================================
title: system::lang.mail_templates.menu_label
list: @/modules/system/models/maillayout/columns.yaml
list: ~/modules/system/models/maillayout/columns.yaml
modelClass: System\Models\MailLayout
recordUrl: system/maillayouts/update/:id
noRecordsMessage: backend::lang.list.no_records

View File

@ -3,7 +3,7 @@
# ===================================
title: system::lang.mail_templates.menu_label
list: @/modules/system/models/mailtemplate/columns.yaml
list: ~/modules/system/models/mailtemplate/columns.yaml
modelClass: System\Models\MailTemplate
recordUrl: system/mailtemplates/update/:id
noRecordsMessage: backend::lang.list.no_records

View File

@ -6,7 +6,7 @@
name: Log
# Model Form Field configuration
form: @/modules/system/models/requestlog/fields.yaml
form: ~/modules/system/models/requestlog/fields.yaml
# Model Class name
modelClass: System\Models\RequestLog

View File

@ -3,7 +3,7 @@
# ===================================
title: system::lang.request_log.menu_label
list: @/modules/system/models/requestlog/columns.yaml
list: ~/modules/system/models/requestlog/columns.yaml
modelClass: System\Models\RequestLog
recordUrl: system/requestlogs/preview/:id
noRecordsMessage: backend::lang.list.no_records

View File

@ -3,7 +3,7 @@
# ===================================
title: system::lang.updates.title
list: @/modules/system/models/pluginversion/columns.yaml
list: ~/modules/system/models/pluginversion/columns.yaml
modelClass: System\Models\PluginVersion
noRecordsMessage: backend::lang.list.no_records

View File

@ -2,7 +2,7 @@
# List Behavior Config
# ===================================
list: @/modules/system/models/pluginversion/columns.yaml
list: ~/modules/system/models/pluginversion/columns.yaml
modelClass: System\Models\PluginVersion
noRecordsMessage: backend::lang.list.no_records
showSetup: false

View File

@ -3,5 +3,5 @@
$mySettingItems = System\Classes\SettingsManager::instance()->listItems('mysettings');
?>
<?= $this->makePartial('@/modules/system/partials/_settings_menu_items.htm', ['items'=>$mySettingItems]); ?>
<?= $this->makePartial('@/modules/system/partials/_settings_menu_items.htm', ['items'=>$systemItems]); ?>
<?= $this->makePartial('~/modules/system/partials/_settings_menu_items.htm', ['items'=>$mySettingItems]); ?>
<?= $this->makePartial('~/modules/system/partials/_settings_menu_items.htm', ['items'=>$systemItems]); ?>

View File

@ -3,7 +3,7 @@
<div class="layout">
<div class="layout-row min-size">
<?= $this->makePartial('@/modules/system/partials/_settings_menu_toolbar.htm') ?>
<?= $this->makePartial('~/modules/system/partials/_settings_menu_toolbar.htm') ?>
</div>
<div class="layout-row">
@ -12,7 +12,7 @@
<div class="layout-absolute">
<div class="control-scrollbar" data-control="scrollbar">
<?= $this->makePartial('@/modules/system/partials/_settings_menu.htm') ?>
<?= $this->makePartial('~/modules/system/partials/_settings_menu.htm') ?>
</div>
</div>