From e802d5204b96d645ec3d40b81b4a8bdc6e0ee675 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 4 Nov 2019 23:31:31 +0100 Subject: refactor: switch to psr-4 autoloading --- app/view/templates/alert.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'app/view/templates/alert.php') diff --git a/app/view/templates/alert.php b/app/view/templates/alert.php index c4a54b1..bab6410 100644 --- a/app/view/templates/alert.php +++ b/app/view/templates/alert.php @@ -7,7 +7,7 @@ $this->start('head'); ?> - ' : '' ?> + ' : '' ?> @@ -28,7 +28,7 @@ $this->stop(); - ' . Config::alerttitle() . '' : '' ?> + ' . Wcms\Config::alerttitle() . '' : '' ?> stop(); if(!$pageexist) { - if(!empty(Config::existnot())) { - echo '

' . Config::existnot() . '

'; + if(!empty(Wcms\Config::existnot())) { + echo '

' . Wcms\Config::existnot() . '

'; } - if(Config::existnotpass() && !$canedit) { + if(Wcms\Config::existnotpass() && !$canedit) { echo $form; } } else { @@ -55,19 +55,19 @@ $this->stop(); switch ($page->secure()) { case 1: - if(!empty(Config::private())) { - echo '

' . Config::private() . '

'; + if(!empty(Wcms\Config::private())) { + echo '

' . Wcms\Config::private() . '

'; } - if(Config::privatepass()) { + if(Wcms\Config::privatepass()) { echo $form; } break; case 2: - if(!empty(Config::notpublished())) { - echo '

' . Config::notpublished() . '

'; + if(!empty(Wcms\Config::notpublished())) { + echo '

' . Wcms\Config::notpublished() . '

'; } - if(Config::notpublishedpass()) { + if(Wcms\Config::notpublishedpass()) { echo $form; } break; @@ -80,9 +80,9 @@ $this->stop(); ?>

⭐ Create

-

+