Skip to content

Commit 1c7e8ba

Browse files
committed
Update license information in files.
1 parent 514266d commit 1c7e8ba

13 files changed

+144
-135
lines changed
Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
<?php
2-
$helper = new \Bootstrap\View\Helper\BootstrapHtmlHelper ($this) ;
3-
echo $helper->alert (h($message), 'danger', $params) ;
2+
/**
3+
*
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
8+
*
9+
* https://opensource.org/licenses/mit-license.php
10+
*
11+
*
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
14+
*/
15+
16+
$helper = new \Bootstrap\View\Helper\BootstrapHtmlHelper ($this) ;
17+
echo $helper->alert (h($message), 'danger', $params) ;
18+
419
?>
Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
<?php
2-
$helper = new \Bootstrap\View\Helper\BootstrapHtmlHelper ($this) ;
3-
echo $helper->alert (h($message), 'info', $params) ;
2+
/**
3+
*
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
8+
*
9+
* https://opensource.org/licenses/mit-license.php
10+
*
11+
*
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
14+
*/
15+
16+
$helper = new \Bootstrap\View\Helper\BootstrapHtmlHelper ($this) ;
17+
echo $helper->alert (h($message), 'info', $params) ;
18+
419
?>
Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
<?php
2-
$helper = new \Bootstrap\View\Helper\BootstrapHtmlHelper ($this) ;
3-
echo $helper->alert (h($message), 'success', $params) ;
2+
/**
3+
*
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
8+
*
9+
* https://opensource.org/licenses/mit-license.php
10+
*
11+
*
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
14+
*/
15+
16+
$helper = new \Bootstrap\View\Helper\BootstrapHtmlHelper ($this) ;
17+
echo $helper->alert (h($message), 'success', $params) ;
18+
419
?>
Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
<?php
2-
$helper = new \Bootstrap\View\Helper\BootstrapHtmlHelper ($this) ;
3-
echo $helper->alert (h($message), 'warning', $params) ;
2+
/**
3+
*
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
8+
*
9+
* https://opensource.org/licenses/mit-license.php
10+
*
11+
*
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
14+
*/
15+
16+
$helper = new \Bootstrap\View\Helper\BootstrapHtmlHelper ($this) ;
17+
echo $helper->alert (h($message), 'warning', $params) ;
18+
419
?>

src/View/BootstrapStringTemplate.php

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
<?php
2+
/**
3+
*
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
8+
*
9+
* https://opensource.org/licenses/mit-license.php
10+
*
11+
*
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
14+
*/
215
namespace Bootstrap\View;
316

417
use Cake\View\StringTemplate;
@@ -66,7 +79,7 @@ public function format($name, array $data)
6679
}
6780
$replace = [];
6881
foreach ($placeholders as $placeholder) {
69-
$replacement = isset($data[$placeholder]) ? $data[$placeholder] : null;
82+
$replacement = isset($data[$placeholder]) ? $data[$placeholder] : null;
7083
if (is_array($replacement)) {
7184
$replacement = implode('', $replacement);
7285
}
@@ -75,4 +88,4 @@ public function format($name, array $data)
7588
return vsprintf($template, $replace);
7689
}
7790

78-
};
91+
};

src/View/Helper/BootstrapFlashHelper.php

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
<?php
2-
32
/**
4-
* Bootstrap Flash Helper
5-
*
63
*
7-
* PHP 5
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
88
*
9-
* Licensed under the Apache License, Version 2.0 (the "License");
10-
* you may not use this file except in compliance with the License.
11-
* You may obtain a copy of the License at
9+
* https://opensource.org/licenses/mit-license.php
1210
*
13-
* http://www.apache.org/licenses/LICENSE-2.0
1411
*
15-
*
16-
* @copyright Copyright (c) Mikaël Capelle (http://mikael-capelle.fr)
17-
* @link http://mikael-capelle.fr
18-
* @package app.View.Helper
19-
* @since Apache v2
20-
* @license http://www.apache.org/licenses/LICENSE-2.0
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
2114
*/
22-
2315
namespace Bootstrap\View\Helper;
2416

2517
use Cake\View\Helper\FlashHelper;

src/View/Helper/BootstrapFormHelper.php

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
<?php
2-
32
/**
4-
* Bootstrap Form Helper
5-
*
63
*
7-
* PHP 5
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
88
*
9-
* Licensed under the Apache License, Version 2.0 (the "License");
10-
* you may not use this file except in compliance with the License.
11-
* You may obtain a copy of the License at
9+
* https://opensource.org/licenses/mit-license.php
1210
*
13-
* http://www.apache.org/licenses/LICENSE-2.0
1411
*
15-
*
16-
* @copyright Copyright (c) Mikaël Capelle (http://mikael-capelle.fr)
17-
* @link http://mikael-capelle.fr
18-
* @package app.View.Helper
19-
* @since Apache v2
20-
* @license http://www.apache.org/licenses/LICENSE-2.0
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
2114
*/
22-
2315
namespace Bootstrap\View\Helper;
2416

2517
use Cake\View\Helper\FormHelper;

src/View/Helper/BootstrapHtmlHelper.php

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
<?php
2-
32
/**
4-
* Bootstrap Html Helper
5-
*
63
*
7-
* PHP 5
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
88
*
9-
* Licensed under the Apache License, Version 2.0 (the "License");
10-
* you may not use this file except in compliance with the License.
11-
* You may obtain a copy of the License at
9+
* https://opensource.org/licenses/mit-license.php
1210
*
13-
* http://www.apache.org/licenses/LICENSE-2.0
1411
*
15-
*
16-
* @copyright Copyright (c) Mikaël Capelle (http://mikael-capelle.fr)
17-
* @link http://mikael-capelle.fr
18-
* @package app.View.Helper
19-
* @since Apache v2
20-
* @license http://www.apache.org/licenses/LICENSE-2.0
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
2114
*/
22-
2315
namespace Bootstrap\View\Helper;
2416

2517
use Cake\View\Helper\HtmlHelper;

src/View/Helper/BootstrapModalHelper.php

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
<?php
2-
32
/**
4-
* Bootstrap Modal Helper
5-
*
63
*
7-
* PHP 5
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
88
*
9-
* Licensed under the Apache License, Version 2.0 (the "License");
10-
* you may not use this file except in compliance with the License.
11-
* You may obtain a copy of the License at
9+
* https://opensource.org/licenses/mit-license.php
1210
*
13-
* http://www.apache.org/licenses/LICENSE-2.0
1411
*
15-
*
16-
* @copyright Copyright (c) Mikaël Capelle (http://mikael-capelle.fr)
17-
* @link http://mikael-capelle.fr
18-
* @package app.View.Helper
19-
* @since Apache v2
20-
* @license http://www.apache.org/licenses/LICENSE-2.0
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
2114
*/
22-
2315
namespace Bootstrap\View\Helper;
2416

2517
use Cake\View\Helper;

src/View/Helper/BootstrapNavbarHelper.php

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
<?php
2-
32
/**
4-
* Bootstrap Navbar Helper
5-
*
63
*
7-
* PHP 5
4+
* Licensed under The MIT License
5+
* For full copyright and license information, please see the LICENSE file
6+
* Redistributions of files must retain the above copyright notice.
7+
* You may obtain a copy of the License at
88
*
9-
* Licensed under the Apache License, Version 2.0 (the "License");
10-
* you may not use this file except in compliance with the License.
11-
* You may obtain a copy of the License at
9+
* https://opensource.org/licenses/mit-license.php
1210
*
13-
* http://www.apache.org/licenses/LICENSE-2.0
1411
*
15-
*
16-
* @copyright Copyright (c) Mikaël Capelle (http://mikael-capelle.fr)
17-
* @link http://mikael-capelle.fr
18-
* @package app.View.Helper
19-
* @since Apache v2
20-
* @license http://www.apache.org/licenses/LICENSE-2.0
12+
* @copyright Copyright (c) Mikaël Capelle (https://typename.fr)
13+
* @license https://opensource.org/licenses/mit-license.php MIT License
2114
*/
22-
2315
namespace Bootstrap\View\Helper;
2416

2517
use Cake\View\Helper ;

0 commit comments

Comments
 (0)