public function get_layoutsAction($interface = false, $style = false)
 {
     if (!$interface || !$style) {
         return Brightery::error404();
     }
     $this->layout = 'ajax';
     $model = new \modules\settings\models\Settings();
     foreach ($model->getAvailableLayouts($interface, $style) as $key => $value) {
         echo "<option value=\"{$key}\">" . $value . "</option>";
     }
 }
 public function deleteAction($id = false)
 {
     $this->permission('delete');
     if (!$id) {
         return Brightery::error404();
     }
     $model = new \modules\settings\models\Settings();
     $model->key = $id;
     if ($model->delete()) {
         Uri_helper::redirect("management/settings");
     }
 }