source: spip-zone/_plugins_/fond_espace_prive/fond_espace_prive_pipelines.php @ 97235

Last change on this file since 97235 was 90679, checked in by arno@…, 6 years ago

Nouveau plugin: modifier interface de login, et un peu espace privé

File size: 746 bytes
Line 
1<?php
2
3function fond_espace_prive_insert_head_css($flux) {
4        if ( !$fond = find_in_path(_DIR_IMG."fond_espace_prive.jpg")) $fond = find_in_path("fond_espace_prive.jpg");
5
6        $flux .= "\n<link rel='stylesheet' type='text/css' media='all' href='".find_in_path("fond_espace_login.css")."'>\n";
7        $flux .= "<style>body.page_login{background-image:url(".$fond.")}</style>";
8        return $flux;
9}
10
11
12function fond_espace_prive_header_prive($flux) {
13        if ( !$fond = find_in_path(_DIR_IMG."fond_espace_prive.jpg")) $fond = find_in_path("fond_espace_prive.jpg");
14
15        $flux .= "\n<link rel='stylesheet' type='text/css' media='all' href='".find_in_path("fond_espace_prive.css")."'>\n";
16        $flux .= "<style>body{background-image:url(".$fond.")}</style>";
17        return $flux;
18}
19
Note: See TracBrowser for help on using the repository browser.