NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/web/inc/header.inc.php

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

header.inc.php on main
Author Date Commit Line Code
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
tinect almost 7 years ago cc1bf5d

deliver CSS and JS as external request

Full commit hash
cc1bf5d4263bf80c190fe6c01ca2f16c3d66ee47
Author
tinect <[email protected]>
Date
almost 7 years ago
Selected line
2
Open commit View diff
2
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
3
// CSS
Open commit View diff
3 // CSS
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
4
if (preg_match("/mailbox/i", $_SERVER['REQUEST_URI'])) {
Open commit View diff
4 if (preg_match("/mailbox/i", $_SERVER['REQUEST_URI'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
5
  $css_minifier->add('/web/css/site/mailbox.css');
Open commit View diff
5 $css_minifier->add('/web/css/site/mailbox.css');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
6
}
Open commit View diff
6 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
7
if (preg_match("/admin/i", $_SERVER['REQUEST_URI'])) {
Open commit View diff
7 if (preg_match("/admin/i", $_SERVER['REQUEST_URI'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
8
  $css_minifier->add('/web/css/site/admin.css');
Open commit View diff
8 $css_minifier->add('/web/css/site/admin.css');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
9
}
Open commit View diff
9 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
10
if (preg_match("/user/i", $_SERVER['REQUEST_URI'])) {
Open commit View diff
10 if (preg_match("/user/i", $_SERVER['REQUEST_URI'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
11
  $css_minifier->add('/web/css/site/user.css');
Open commit View diff
11 $css_minifier->add('/web/css/site/user.css');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
12
}
Open commit View diff
12 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
13
if (preg_match("/edit/i", $_SERVER['REQUEST_URI'])) {
Open commit View diff
13 if (preg_match("/edit/i", $_SERVER['REQUEST_URI'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
14
  $css_minifier->add('/web/css/site/edit.css');
Open commit View diff
14 $css_minifier->add('/web/css/site/edit.css');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
15
}
Open commit View diff
15 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
16
if (preg_match("/(quarantine|qhandler)/i", $_SERVER['REQUEST_URI'])) {
Open commit View diff
16 if (preg_match("/(quarantine|qhandler)/i", $_SERVER['REQUEST_URI'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
17
  $css_minifier->add('/web/css/site/quarantine.css');
Open commit View diff
17 $css_minifier->add('/web/css/site/quarantine.css');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
18
}
Open commit View diff
18 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
19
if (preg_match("/debug/i", $_SERVER['REQUEST_URI'])) {
Open commit View diff
19 if (preg_match("/debug/i", $_SERVER['REQUEST_URI'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
20
  $css_minifier->add('/web/css/site/debug.css');
Open commit View diff
20 $css_minifier->add('/web/css/site/debug.css');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
21
}
Open commit View diff
21 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
22
if ($_SERVER['REQUEST_URI'] == '/') {
Open commit View diff
22 if ($_SERVER['REQUEST_URI'] == '/') {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
23
  $css_minifier->add('/web/css/site/index.css');
Open commit View diff
23 $css_minifier->add('/web/css/site/index.css');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
24
}
Open commit View diff
24 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
25
Open commit View diff
25
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
26
$hash = $css_minifier->getDataHash();
Open commit View diff
26 $hash = $css_minifier->getDataHash();
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
27
$CSSPath = '/tmp/' . $hash . '.css';
Open commit View diff
27 $CSSPath = '/tmp/' . $hash . '.css';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
28
if(!file_exists($CSSPath)) {
Open commit View diff
28 if(!file_exists($CSSPath)) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
29
  $css_minifier->minify($CSSPath);
Open commit View diff
29 $css_minifier->minify($CSSPath);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
30
  cleanupCSS($hash);
Open commit View diff
30 cleanupCSS($hash);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
31
}
Open commit View diff
31 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
32
Open commit View diff
32
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
33
$mailcow_apps_processed = $MAILCOW_APPS;
Open commit View diff
33 $mailcow_apps_processed = $MAILCOW_APPS;
FreddleSpl0it over 3 years ago 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
34
$app_links = customize('get', 'app_links');
Open commit View diff
34 $app_links = customize('get', 'app_links');
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
35
$app_links_processed = $app_links;
Open commit View diff
35 $app_links_processed = $app_links;
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
36
$hide_mailcow_apps = true;
Open commit View diff
36 $hide_mailcow_apps = true;
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
37
for ($i = 0; $i < count($mailcow_apps_processed); $i++) {
Open commit View diff
37 for ($i = 0; $i < count($mailcow_apps_processed); $i++) {
FreddleSpl0it over 3 years ago 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
38
  if ($hide_mailcow_apps && !$mailcow_apps_processed[$i]['hide']){
Open commit View diff
38 if ($hide_mailcow_apps && !$mailcow_apps_processed[$i]['hide']){
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
39
    $hide_mailcow_apps = false;
Open commit View diff
39 $hide_mailcow_apps = false;
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
40
  }
Open commit View diff
40 }
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
41
  if (!empty($_SESSION['mailcow_cc_username'])){
Open commit View diff
41 if (!empty($_SESSION['mailcow_cc_username'])){
FreddleSpl0it over 1 year ago 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
42
    if ($app_links_processed[$i]['user_link']) {
Open commit View diff
42 if ($app_links_processed[$i]['user_link']) {
same change 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
43
      $mailcow_apps_processed[$i]['user_link'] = str_replace('%u', $_SESSION['mailcow_cc_username'], $mailcow_apps_processed[$i]['user_link']);
Open commit View diff
43 $mailcow_apps_processed[$i]['user_link'] = str_replace('%u', $_SESSION['mailcow_cc_username'], $mailcow_apps_processed[$i]['user_link']);
same change 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
44
    } else {
Open commit View diff
44 } else {
same change 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
45
      $mailcow_apps_processed[$i]['user_link'] = $mailcow_apps_processed[$i]['link'];
Open commit View diff
45 $mailcow_apps_processed[$i]['user_link'] = $mailcow_apps_processed[$i]['link'];
same change 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
46
    }
Open commit View diff
46 }
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
47
  }
Open commit View diff
47 }
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
48
}
Open commit View diff
48 }
FreddleSpl0it over 3 years ago 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
49
if ($app_links_processed){
Open commit View diff
49 if ($app_links_processed){
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
50
  for ($i = 0; $i < count($app_links_processed); $i++) {
Open commit View diff
50 for ($i = 0; $i < count($app_links_processed); $i++) {
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
51
    $key = array_key_first($app_links_processed[$i]);
Open commit View diff
51 $key = array_key_first($app_links_processed[$i]);
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
52
    if ($hide_mailcow_apps && !$app_links_processed[$i][$key]['hide']){
Open commit View diff
52 if ($hide_mailcow_apps && !$app_links_processed[$i][$key]['hide']){
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
53
      $hide_mailcow_apps = false;
Open commit View diff
53 $hide_mailcow_apps = false;
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
54
    }
Open commit View diff
54 }
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
55
    if (!empty($_SESSION['mailcow_cc_username'])){
Open commit View diff
55 if (!empty($_SESSION['mailcow_cc_username'])){
FreddleSpl0it over 1 year ago 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
56
      if ($app_links_processed[$i][$key]['user_link']) {
Open commit View diff
56 if ($app_links_processed[$i][$key]['user_link']) {
same change 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
57
        $app_links_processed[$i][$key]['user_link'] = str_replace('%u', $_SESSION['mailcow_cc_username'], $app_links_processed[$i][$key]['user_link']);
Open commit View diff
57 $app_links_processed[$i][$key]['user_link'] = str_replace('%u', $_SESSION['mailcow_cc_username'], $app_links_processed[$i][$key]['user_link']);
same change 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
58
      } else {
Open commit View diff
58 } else {
same change 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
59
        $app_links_processed[$i][$key]['user_link'] = $app_links_processed[$i][$key]['link'];
Open commit View diff
59 $app_links_processed[$i][$key]['user_link'] = $app_links_processed[$i][$key]['link'];
same change 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
60
      }
Open commit View diff
60 }
FreddleSpl0it over 3 years ago 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
61
    }
Open commit View diff
61 }
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
62
  }
Open commit View diff
62 }
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
63
}
Open commit View diff
63 }
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
64
Open commit View diff
64
Patrik Kernstock 10 months ago 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
65
// Workaround to get text with <br> straight to twig.
Open commit View diff
65 // Workaround to get text with <br> straight to twig.
same change 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
66
// Using "nl2br" doesn't work with Twig as it would escape everything by default.
Open commit View diff
66 // Using "nl2br" doesn't work with Twig as it would escape everything by default.
same change 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
67
if (isset($UI_TEXTS["ui_footer"])) {
Open commit View diff
67 if (isset($UI_TEXTS["ui_footer"])) {
same change 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
68
  $UI_TEXTS["ui_footer"] = nl2br($UI_TEXTS["ui_footer"]);
Open commit View diff
68 $UI_TEXTS["ui_footer"] = nl2br($UI_TEXTS["ui_footer"]);
same change 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
69
}
Open commit View diff
69 }
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
70
Open commit View diff
70
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
71
$globalVariables = [
Open commit View diff
71 $globalVariables = [
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
72
  'mailcow_hostname' => getenv('MAILCOW_HOSTNAME'),
Open commit View diff
72 'mailcow_hostname' => getenv('MAILCOW_HOSTNAME'),
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
73
  'mailcow_locale' => @$_SESSION['mailcow_locale'],
Open commit View diff
73 'mailcow_locale' => @$_SESSION['mailcow_locale'],
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
74
  'mailcow_cc_role' => @$_SESSION['mailcow_cc_role'],
Open commit View diff
74 'mailcow_cc_role' => @$_SESSION['mailcow_cc_role'],
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
75
  'mailcow_cc_username' => @$_SESSION['mailcow_cc_username'],
Open commit View diff
75 'mailcow_cc_username' => @$_SESSION['mailcow_cc_username'],
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
76
  'is_master' => preg_match('/y|yes/i', getenv('MASTER')),
Open commit View diff
76 'is_master' => preg_match('/y|yes/i', getenv('MASTER')),
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
77
  'dual_login' => @$_SESSION['dual-login'],
Open commit View diff
77 'dual_login' => @$_SESSION['dual-login'],
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
78
  'ui_texts' => $UI_TEXTS,
Open commit View diff
78 'ui_texts' => $UI_TEXTS,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
79
  'css_path' => '/cache/'.basename($CSSPath),
Open commit View diff
79 'css_path' => '/cache/'.basename($CSSPath),
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
80
  'logo' => customize('get', 'main_logo'),
Open commit View diff
80 'logo' => customize('get', 'main_logo'),
Kristian Feldsam almost 3 years ago 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
81
  'logo_dark' => customize('get', 'main_logo_dark'),
Open commit View diff
81 'logo_dark' => customize('get', 'main_logo_dark'),
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
82
  'available_languages' => $AVAILABLE_LANGUAGES,
Open commit View diff
82 'available_languages' => $AVAILABLE_LANGUAGES,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
83
  'lang' => $lang,
Open commit View diff
83 'lang' => $lang,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
84
  'skip_sogo' => (getenv('SKIP_SOGO') == 'y'),
Open commit View diff
84 'skip_sogo' => (getenv('SKIP_SOGO') == 'y'),
andryyy over 4 years ago f01de1a

[Web] Disable SSO button when admin login is disabled, fixes #4297

Full commit hash
f01de1a5c064808f11760aa1daf0dedc3bb46fda
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
85
  'allow_admin_email_login' => (getenv('ALLOW_ADMIN_EMAIL_LOGIN') == 'n'),
Open commit View diff
85 'allow_admin_email_login' => (getenv('ALLOW_ADMIN_EMAIL_LOGIN') == 'n'),
FreddleSpl0it over 3 years ago 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
86
  'hide_mailcow_apps' => $hide_mailcow_apps,
Open commit View diff
86 'hide_mailcow_apps' => $hide_mailcow_apps,
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
87
  'mailcow_apps' => $MAILCOW_APPS,
Open commit View diff
87 'mailcow_apps' => $MAILCOW_APPS,
FreddleSpl0it over 3 years ago 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
88
  'mailcow_apps_processed' => $mailcow_apps_processed,
Open commit View diff
88 'mailcow_apps_processed' => $mailcow_apps_processed,
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
89
  'app_links' => $app_links,
Open commit View diff
89 'app_links' => $app_links,
same change 6e35574

[Web] add app hide option

Full commit hash
6e35574c721971216aa10da1ba6ace663ad4ca13
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
90
  'app_links_processed' => $app_links_processed,
Open commit View diff
90 'app_links_processed' => $app_links_processed,
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
91
  'is_root_uri' => (parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) == '/'),
Open commit View diff
91 'is_root_uri' => (parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) == '/'),
FreddleSpl0it 4 months ago 8c039f6

Improve template URI escaping and parameter handling

Full commit hash
8c039f694fe3cd7a736249b4e017def1414c47e9
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
92
  'uri' => parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?: '/',
Open commit View diff
92 'uri' => parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?: '/',
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
93
];
Open commit View diff
93 ];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
94
Open commit View diff
94
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
95
foreach ($globalVariables as $globalVariableName => $globalVariableValue) {
Open commit View diff
95 foreach ($globalVariables as $globalVariableName => $globalVariableValue) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
96
  $twig->addGlobal($globalVariableName, $globalVariableValue);
Open commit View diff
96 $twig->addGlobal($globalVariableName, $globalVariableValue);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
97
}
Open commit View diff
97 }