a8fe9298e37a3df6880344d875c7ae6335118934
bernd Index-Blöcke werden jetzt v...

bernd authored 12 years ago

1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

2) /*
3) This file belongs to the Webinterface of schokokeks.org Hosting
4) 
Bernd Wurst Lizenzinfos in eigenes Modu...

Bernd Wurst authored 10 years ago

5) Written 2008-2014 by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

6)   Bernd Wurst <bernd@schokokeks.org>
7)   Hanno Böck <hanno@schokokeks.org>
8) 
9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10) 
11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
12) http://creativecommons.org/publicdomain/zero/1.0/
13) 
14) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
15) */
bernd Index-Blöcke werden jetzt v...

bernd authored 12 years ago

16) 
17) if ($_SESSION['role'] & ROLE_SYSTEMUSER) {
18)   $shortcuts[] = array( 'section' => 'Webserver', 
19)                         'weight'  => 30, 
20)                         'file'    => 'vhosts', 
21)                         'icon'    => 'webserver.png', 
Bernd Wurst Auch shortcut-Link "Website...

Bernd Wurst authored 11 years ago

22)                         'title'   => 'Websites verwalten',
bernd Index-Blöcke werden jetzt v...

bernd authored 12 years ago

23)                         'alert'   => NULL );
24) }
25) if ($_SESSION['role'] & ROLE_SYSTEMUSER) {
26)   $alert = '';
27)   include_once('modules/vhosts/include/certs.php');
28)   $certs = user_certs();
29)   if (count($certs) > 0)
30)   {
31)     $num_expired = 0;
32)     $num_warn = 0;
33)     foreach ($certs as $c)
34)     {
Bernd Wurst Warnung über bald ablaufend...

Bernd Wurst authored 8 years ago

35)       if (cert_is_letsencrypt($c['id'])) {
36)         continue;
37)       }