Skip to content

Commit

Permalink
refactor: migrated add and edit category pages to controller (#3257)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Dec 4, 2024
1 parent 29868fa commit 6689217
Show file tree
Hide file tree
Showing 10 changed files with 387 additions and 390 deletions.
102 changes: 0 additions & 102 deletions phpmyfaq/admin/category.add.php

This file was deleted.

139 changes: 0 additions & 139 deletions phpmyfaq/admin/category.edit.php

This file was deleted.

6 changes: 0 additions & 6 deletions phpmyfaq/admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,6 @@
case 'updatecategory':
require 'category.main.php';
break;
case 'addcategory':
require 'category.add.php';
break;
case 'editcategory':
require 'category.edit.php';
break;
case 'translatecategory':
require 'category.translate.php';
break;
Expand Down
2 changes: 1 addition & 1 deletion phpmyfaq/assets/templates/admin/content/category.add.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</h1>
<div class="btn-toolbar mb-2 mb-md-0">
<div class="btn-group mr-2">
<a class="btn btn-sm btn-info" href="?action=showcategory">
<a class="btn btn-info" href="./category">
<i aria-hidden="true" class="bi bi-list"></i> {{ msgCategoryMatrix }}
</a>
</div>
Expand Down
Loading

0 comments on commit 6689217

Please sign in to comment.