mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
rename the page template modal.php to none.php because it can be used for more than modals
This commit is contained in:
parent
8384ba833a
commit
64a2f2022b
9 changed files with 30 additions and 30 deletions
|
@ -16,8 +16,8 @@
|
|||
function load_page(&$a) {
|
||||
if(isset($_GET["mode"]) AND ($_GET["mode"] == "minimal")) {
|
||||
require "view/theme/frio/minimal.php";
|
||||
} elseif((isset($_GET["mode"]) AND ($_GET["mode"] == "modal"))) {
|
||||
require "view/theme/frio/modal.php";
|
||||
} elseif((isset($_GET["mode"]) AND ($_GET["mode"] == "none"))) {
|
||||
require "view/theme/frio/none.php";
|
||||
} else {
|
||||
$template = 'view/theme/' . current_theme() . '/'
|
||||
. ((x($a->page,'template')) ? $a->page['template'] : 'default' ) . '.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue