Project

General

Profile

Revision 077e4de7

ID077e4de7489b5ceb6478a9386f61293bac14c26e
Parent 0ec9e450
Child ad6689da

Added by Francois POIROTTE about 7 years ago

Prise en compte conventions de codage

Change-Id: I74d6ea904e099519e7d2b08f0586696470514280
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/2367
Tested-by: Build system <>
Reviewed-by: Francois POIROTTE <>

View differences:

src/front/menu.php
5 5
        DIRECTORY_SEPARATOR . "includes.php");
6 6

  
7 7
if (PluginVigiloMenu::canView()) {
8
    Html::header(__('Vigilo', 'vigilo'), $_SERVER["PHP_SELF"], "plugins",
9
                    "PluginVigiloMenu", "menu");
8
    Html::header(
9
        __('Vigilo', 'vigilo'),
10
        $_SERVER["PHP_SELF"],
11
        "plugins",
12
        "PluginVigiloMenu",
13
        "menu"
14
    );
10 15

  
11 16
    $res = null;
12 17
    $pipes = array();
......
18 23
        );
19 24
        $cmd = "/usr/bin/sudo -n /usr/bin/vigiconf deploy -f --debug";
20 25
        $res = proc_open($cmd, $fds, $pipes);
21
        if (!is_resource($res))
26
        if (!is_resource($res)) {
22 27
            $res = false;
28
        }
23 29
    }
24 30
    PluginVigiloMenu::displayMenu($res, $pipes);
25 31
} else {
......
27 33
}
28 34

  
29 35
Html::footer();
30

  

Also available in: Unified diff