Overview
Comment:Rename accueil.banniere signal to home.banner
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2b86db45b521e3f4d4712076502f8fbf9bfbaac7ba0dfc4d3dcc575192c5a473
User & Date: bohwaz on 2022-05-13 13:31:10
Other Links: manifest | tags
Context
2022-05-13
13:31
Move admin_url to Template check-in: c011ac38d5 user: bohwaz tags: trunk
13:31
Rename accueil.banniere signal to home.banner check-in: 2b86db45b5 user: bohwaz tags: trunk
12:59
Handle HTML error messages in error page check-in: 77f314fde9 user: bohwaz tags: trunk
Changes

Modified src/www/admin/index.php from [bb797c6a32] to [59ec07f24d].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Garradin;

use Garradin\Web\Web;
use Garradin\Files\Files;
use Garradin\Entities\Files\File;

require_once __DIR__ . '/_inc.php';

$banner = null;
Plugin::fireSignal('accueil.banniere', ['user' => $user, 'session' => $session], $banner);

$homepage = Config::getInstance()->file('admin_homepage');

if ($homepage) {
	$homepage = $homepage->render(ADMIN_URL . 'common/files/preview.php?p=' . File::CONTEXT_DOCUMENTS . '/');
}
else {











|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Garradin;

use Garradin\Web\Web;
use Garradin\Files\Files;
use Garradin\Entities\Files\File;

require_once __DIR__ . '/_inc.php';

$banner = null;
Plugin::fireSignal('home.banner', ['user' => $user, 'session' => $session], $banner);

$homepage = Config::getInstance()->file('admin_homepage');

if ($homepage) {
	$homepage = $homepage->render(ADMIN_URL . 'common/files/preview.php?p=' . File::CONTEXT_DOCUMENTS . '/');
}
else {