Skip to content

Commit aaa393c

Browse files
committed
Source code big reformat
1 parent 4647845 commit aaa393c

136 files changed

Lines changed: 8304 additions & 7703 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vitexsoftware/icinga-editor",
33
"description": "Editor of Icinga Configuration files",
4-
"version": "0.202",
4+
"version": "1.0",
55
"authors": [
66
{
77
"name": "vitex",

debian/changelog

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
icinga-editor (0.202-6) UNRELEASED; urgency=medium
1+
icinga-editor (1.0-1) UNRELEASED; urgency=medium
22

33
[ dvorak ]
44
* Initial release. (Closes: #XXXXXX)
@@ -89,5 +89,8 @@ icinga-editor (0.202-6) UNRELEASED; urgency=medium
8989
* All widgets on on command edit form gives you visual response about
9090
colum value save success.
9191
* Fixings
92+
* Screenshots cropped
93+
* Screenshots cropped
94+
* Screenshots cropped
9295

93-
-- vitex <vitex@developer.kancl.brevnov.czf> Mon, 01 Aug 2016 14:25:44 +0200
96+
-- vitex <vitex@developer.kancl.brevnov.czf> Mon, 01 Aug 2016 20:55:29 +0200

debian/conf/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vitexsoftware/icinga-editor",
33
"description": "Editor of Icinga Configuration files (debianized)",
4-
"version": "1.0",
4+
"version": "1.0.1",
55
"authors": [
66
{
77
"name": "vitex",

debian/lastversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.202
1+
1.0

debian/revison

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6
1+
1

nbproject/project.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
auxiliary.org-netbeans-modules-css-prep.less_2e_configured=true
2+
auxiliary.org-netbeans-modules-css-prep.less_2e_enabled=true
3+
auxiliary.org-netbeans-modules-css-prep.less_2e_mappings=/less:/css
14
auxiliary.org-netbeans-modules-php-phpunit.bootstrap_2e_create_2e_tests=false
25
auxiliary.org-netbeans-modules-php-phpunit.bootstrap_2e_enabled=true
36
auxiliary.org-netbeans-modules-php-phpunit.bootstrap_2e_path=test/bootstrap.php

src/about.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Flexplorer;
44

5-
65
namespace Icinga\Editor;
76

87
/**

src/cfgconfirm.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
namespace Icinga\Editor;
34

45
/**
@@ -12,7 +13,7 @@
1213
require_once 'includes/IEInit.php';
1314

1415
$host_id = $oPage->getRequestValue('host_id', 'int');
15-
$hash = $oPage->getRequestValue('hash');
16+
$hash = $oPage->getRequestValue('hash');
1617

1718
if ($host_id && $hash) {
1819
$host = new Engine\Host($host_id);
@@ -22,19 +23,19 @@
2223
} else {
2324
echo sprintf(_('Chyba potvrzení konfigurace'), $host->getName());
2425
}
25-
echo "\n<br>" . _('Sledovat cestu k hostu') . ":\n";
26+
echo "\n<br>"._('Sledovat cestu k hostu').":\n";
2627

2728
if (isset($_SERVER['REQUEST_SCHEME'])) {
2829
$scheme = $_SERVER['REQUEST_SCHEME'];
2930
} else {
3031
$scheme = 'http';
3132
}
3233

33-
$enterPoint = $scheme . '://' . $_SERVER['SERVER_NAME'] . dirname($_SERVER['REQUEST_URI']) . '/';
34+
$enterPoint = $scheme.'://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['REQUEST_URI']).'/';
3435
$enterPoint = str_replace('\\', '', $enterPoint); //Win Hack
35-
$confirmUrl = $enterPoint . 'watchroute.php?action=parent&host_id=' . $host_id . '&ip=' . $_SERVER['REMOTE_ADDR'];
36+
$confirmUrl = $enterPoint.'watchroute.php?action=parent&host_id='.$host_id.'&ip='.$_SERVER['REMOTE_ADDR'];
3637

37-
echo '<a href="' . $confirmUrl . '"> ' . $confirmUrl . ' </a>';
38+
echo '<a href="'.$confirmUrl.'"> '.$confirmUrl.' </a>';
3839
} else {
3940
die(_('Chybné volání'));
4041
}

src/cfgfile.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
namespace Icinga\Editor;
34

45
/**
@@ -21,7 +22,7 @@
2122

2223
$lines = file($file);
2324
foreach ($lines as $line) {
24-
$oPage->addItem($line . '<br>');
25+
$oPage->addItem($line.'<br>');
2526
}
2627

2728
$oPage->addItem(new UI\PageBottom());

src/classes/DataSource.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,4 +538,5 @@ public function getWhere()
538538
{
539539
return $this->getListingQueryWhere();
540540
}
541-
}
541+
542+
}

0 commit comments

Comments
 (0)