|
@@ 89-98 (lines=10) @@
|
| 86 |
|
* |
| 87 |
|
* @return \Illuminate\View\View |
| 88 |
|
*/ |
| 89 |
|
public function showGeneralView() |
| 90 |
|
{ |
| 91 |
|
$this->subMenu['general']['active'] = true; |
| 92 |
|
|
| 93 |
|
Session::flash('redirect_to', $this->subMenu['general']['url']); |
| 94 |
|
|
| 95 |
|
return View::make('admin.settings.general') |
| 96 |
|
->withPageTitle(trans('admin.settings.general.general').' - '.trans('admin.admin')) |
| 97 |
|
->withSubMenu($this->subMenu); |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
/** |
| 101 |
|
* Shows the settings localization view. |
|
@@ 105-114 (lines=10) @@
|
| 102 |
|
* |
| 103 |
|
* @return \Illuminate\View\View |
| 104 |
|
*/ |
| 105 |
|
public function showLocalizationView() |
| 106 |
|
{ |
| 107 |
|
$this->subMenu['localization']['active'] = true; |
| 108 |
|
|
| 109 |
|
Session::flash('redirect_to', $this->subMenu['localization']['url']); |
| 110 |
|
|
| 111 |
|
return View::make('admin.settings.localization') |
| 112 |
|
->withPageTitle(trans('admin.settings.localization.localization').' - '.trans('admin.admin')) |
| 113 |
|
->withSubMenu($this->subMenu); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
/** |
| 117 |
|
* Shows the settings theme view. |
|
@@ 121-130 (lines=10) @@
|
| 118 |
|
* |
| 119 |
|
* @return \Illuminate\View\View |
| 120 |
|
*/ |
| 121 |
|
public function showThemeView() |
| 122 |
|
{ |
| 123 |
|
$this->subMenu['theme']['active'] = true; |
| 124 |
|
|
| 125 |
|
Session::flash('redirect_to', $this->subMenu['theme']['url']); |
| 126 |
|
|
| 127 |
|
return View::make('admin.settings.theme') |
| 128 |
|
->withPageTitle(trans('admin.settings.theme.theme').' - '.trans('admin.admin')) |
| 129 |
|
->withSubMenu($this->subMenu); |
| 130 |
|
} |
| 131 |
|
|
| 132 |
|
/** |
| 133 |
|
* Shows the settings timezone view. |
|
@@ 137-146 (lines=10) @@
|
| 134 |
|
* |
| 135 |
|
* @return \Illuminate\View\View |
| 136 |
|
*/ |
| 137 |
|
public function showTimezoneView() |
| 138 |
|
{ |
| 139 |
|
$this->subMenu['timezone']['active'] = true; |
| 140 |
|
|
| 141 |
|
Session::flash('redirect_to', $this->subMenu['timezone']['url']); |
| 142 |
|
|
| 143 |
|
return View::make('admin.settings.timezone') |
| 144 |
|
->withPageTitle(trans('admin.settings.timezone.timezone').' - '.trans('admin.admin')) |
| 145 |
|
->withSubMenu($this->subMenu); |
| 146 |
|
} |
| 147 |
|
|
| 148 |
|
/** |
| 149 |
|
* Shows the settings stylesheet view. |
|
@@ 153-162 (lines=10) @@
|
| 150 |
|
* |
| 151 |
|
* @return \Illuminate\View\View |
| 152 |
|
*/ |
| 153 |
|
public function showStylesheetView() |
| 154 |
|
{ |
| 155 |
|
$this->subMenu['stylesheet']['active'] = true; |
| 156 |
|
|
| 157 |
|
Session::flash('redirect_to', $this->subMenu['stylesheet']['url']); |
| 158 |
|
|
| 159 |
|
return View::make('admin.settings.stylesheet') |
| 160 |
|
->withPageTitle(trans('admin.settings.stylesheet.stylesheet').' - '.trans('admin.admin')) |
| 161 |
|
->withSubMenu($this->subMenu); |
| 162 |
|
} |
| 163 |
|
|
| 164 |
|
/** |
| 165 |
|
* Updates the system settings. |