This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
/
PortalHelloSuccess.php
62 lines (54 loc) · 3.02 KB
/
PortalHelloSuccess.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
// {{{ICINGA_LICENSE_CODE}}}
// -----------------------------------------------------------------------------
// This file is part of icinga-web.
//
// Copyright (c) 2009-2015 Icinga Developer Team.
// All rights reserved.
//
// icinga-web is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// icinga-web is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with icinga-web. If not, see <http://www.gnu.org/licenses/>.
// -----------------------------------------------------------------------------
// {{{ICINGA_LICENSE_CODE}}}
$version_string = AgaviConfig::get('org.icinga.version.release');;
$version_date = AgaviConfig::get('org.icinga.version.releasedate');
$copyright = AgaviConfig::get('org.icinga.version.copyright');
?>
<script type="text/javascript">
Ext.onReady(function () {
var lTitle = _("We're Icinga");
AppKit.util.Dom.makeImage('icinga-welcome-image-home', 'icinga.icinga-logo', { alt: lTitle , style: 'width: 200px' });
AppKit.util.Dom.makeImage('icinga-welcome-image-bugreport', 'icinga.bugreport', { alt: lTitle });
AppKit.util.Dom.makeImage('icinga-welcome-image-support', 'icinga.support', { alt: lTitle });
AppKit.util.Dom.makeImage('icinga-welcome-image-wiki', 'icinga.wiki', { alt: lTitle });
AppKit.util.Dom.makeImage('icinga-welcome-image-docs', 'icinga.docs', { alt: lTitle });
});
</script>
<div class="icinga-cronk-welcome-frame">
<div style="padding: 5px 200px 5px 20px;">
<div style="width: 200px; padding: 5px; margin: 0 0 10px 0">
<a id="icinga-welcome-image-home" href="http://www.icinga.org/" target="_blank"></a>
</div>
<h1>Welcome to <?php echo AgaviConfig::get('core.app_name'); ?> (<?php echo $version_string; ?>)</h1>
<p>Feel free to poke around and don't forget to visit the project homepage to post bug advisories or feature requests.</p>
<p>What are Cronks? Simply put, they are widgets for the Icinga web front end - with a cooler name.</p>
<p>Have fun!</p>
<p><?php echo $tm->_d($version_date, 'date-medium'); ?> - <a href="http://www.icinga.org/"><?php echo $copyright; ?></a></p>
</div>
</div>
<p style="width: 800px; margin: 0 auto;">
<a id="icinga-welcome-image-bugreport" href="https://www.icinga.org/resources/faq/" target="_blank"></a>
<a id="icinga-welcome-image-support" href="https://www.icinga.org/support/" target="_blank"></a>
<a id="icinga-welcome-image-wiki" href="https://wiki.icinga.org/" target="_blank"></a>
<a id="icinga-welcome-image-docs" href="http://docs.icinga.org/" target="_blank"></a>
</p>