Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Commit 65257fe

Browse files
committed
Merge branch 'hotfix/343'
Close #343
2 parents 89c54dd + 78a8ead commit 65257fe

File tree

9 files changed

+36
-38
lines changed

9 files changed

+36
-38
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2005-2015, Zend Technologies USA, Inc.
1+
Copyright (c) 2005-2016, Zend Technologies USA, Inc.
22

33
All rights reserved.
44

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ project and you should be ready to go! It should look something like below:
122122

123123
```apache
124124
<VirtualHost *:80>
125-
ServerName zf2-app.localhost
126-
DocumentRoot /path/to/zf2-app/public
127-
<Directory /path/to/zf2-app/public>
125+
ServerName zfapp.localhost
126+
DocumentRoot /path/to/zfapp/public
127+
<Directory /path/to/zfapp/public>
128128
DirectoryIndex index.php
129129
AllowOverride All
130130
Order allow,deny
@@ -150,14 +150,14 @@ http {
150150
```
151151

152152

153-
Create a virtual host configuration file for your project under `/path/to/nginx/sites-enabled/zf2-app.localhost.conf`
153+
Create a virtual host configuration file for your project under `/path/to/nginx/sites-enabled/zfapp.localhost.conf`
154154
it should look something like below:
155155

156156
```nginx
157157
server {
158158
listen 80;
159-
server_name zf2-app.localhost;
160-
root /path/to/zf2-app/public;
159+
server_name zfapp.localhost;
160+
root /path/to/zfapp/public;
161161
162162
location / {
163163
index index.php;
@@ -167,7 +167,7 @@ server {
167167
location @php {
168168
# Pass the PHP requests to FastCGI server (php-fpm) on 127.0.0.1:9000
169169
fastcgi_pass 127.0.0.1:9000;
170-
fastcgi_param SCRIPT_FILENAME /path/to/zf2-app/public/index.php;
170+
fastcgi_param SCRIPT_FILENAME /path/to/zfapp/public/index.php;
171171
include fastcgi_params;
172172
}
173173
}

config/application.config.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
/**
33
* If you need an environment-specific system or application configuration,
44
* there is an example in the documentation
5-
* @see http://framework.zend.com/manual/current/en/tutorials/config.advanced.html#environment-specific-system-configuration
6-
* @see http://framework.zend.com/manual/current/en/tutorials/config.advanced.html#environment-specific-application-configuration
5+
* @see https://docs.zendframework.com/tutorials/advanced-config/#environment-specific-system-configuration
6+
* @see https://docs.zendframework.com/tutorials/advanced-config/#environment-specific-application-configuration
77
*/
88
return [
99
// Retrieve list of modules used in this application.
@@ -53,7 +53,7 @@
5353
],
5454

5555
// Used to create an own service manager. May contain one or more child arrays.
56-
//'service_listener_options' => [
56+
// 'service_listener_options' => [
5757
// [
5858
// 'service_manager' => $stringServiceManagerName,
5959
// 'config_key' => $stringConfigKey,
@@ -62,7 +62,7 @@
6262
// ],
6363
// ],
6464

65-
// Initial configuration with which to seed the ServiceManager.
66-
// Should be compatible with Zend\ServiceManager\Config.
67-
// 'service_manager' => [],
65+
// Initial configuration with which to seed the ServiceManager.
66+
// Should be compatible with Zend\ServiceManager\Config.
67+
// 'service_manager' => [],
6868
];

module/Application/config/module.config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
'options' => [
3030
'route' => '/application[/:action]',
3131
'defaults' => [
32-
'controller' => Controller\IndexController::class,
33-
'action' => 'index',
32+
'controller' => Controller\IndexController::class,
33+
'action' => 'index',
3434
],
3535
],
3636
],

module/Application/view/application/index/index.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
Zend Framework is under active development. If you are
2525
interested in following the development of ZF, you can check
2626
<a href="http://framework.zend.com/blog/">ZF dev blog</a>,
27-
and <a href="https://github.com/issues?utf8=%E2%9C%93&q=is:issue+org:zendframework">ZF issue tracker</a>
27+
and <a href="https://github.com/issues?utf8=%E2%9C%93&amp;q=is:issue+org:zendframework">ZF issue tracker</a>
2828
(link requires a GitHub account). This is a great resource
2929
for staying up to date with the latest developments!
3030
</p>

module/Application/view/layout/layout.phtml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212

1313
<!-- Le styles -->
1414
<?= $this->headLink(['rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/img/favicon.ico'])
15-
->prependStylesheet($this->basePath('css/style.css'))
16-
->prependStylesheet($this->basePath('css/bootstrap-theme.min.css'))
17-
->prependStylesheet($this->basePath('css/bootstrap.min.css'))
15+
->prependStylesheet($this->basePath('css/bootstrap.min.css'))
16+
->prependStylesheet($this->basePath('css/bootstrap-theme.min.css'))
17+
->prependStylesheet($this->basePath('css/style.css'))
1818
?>
1919

2020
<!-- Scripts -->
2121
<?= $this->headScript()
22-
->prependFile($this->basePath('js/bootstrap.min.js'))
2322
->prependFile($this->basePath('js/jquery-2.2.4.min.js'))
23+
->prependFile($this->basePath('js/bootstrap.min.js'))
2424
?>
2525
</head>
2626
<body>
@@ -32,8 +32,8 @@
3232
<span class="icon-bar"></span>
3333
<span class="icon-bar"></span>
3434
</button>
35-
<a class="navbar-brand" href="<?php echo $this->url('home') ?>">
36-
<img src="<?= $this->basePath('img/zf-logo.png') ?>" alt="Zend Framework <?= \Application\Module::VERSION ?>"/>&nbsp;Skeleton Application
35+
<a class="navbar-brand" href="<?= $this->url('home') ?>">
36+
<img src="<?= $this->basePath('img/zf-logo-mark.svg') ?>" height="28" alt="Zend Framework <?= \Application\Module::VERSION ?>"/>&nbsp;Skeleton Application
3737
</a>
3838
</div>
3939
<div class="collapse navbar-collapse">
@@ -44,7 +44,7 @@
4444
</div>
4545
</nav>
4646
<div class="container">
47-
<?= $this->content; ?>
47+
<?= $this->content ?>
4848
<hr>
4949
<footer>
5050
<p>&copy; 2005 - <?= date('Y') ?> by Zend Technologies Ltd. All rights reserved.</p>

public/css/style.css

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,26 @@ body {
88
}
99

1010
.btn-success {
11-
background-color: #57a900;
12-
background-image: -moz-linear-gradient(top, #70d900, #57a900);
13-
background-image: -ms-linear-gradient(top, #70d900, #57a900);
14-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70d900), to(#57a900));
15-
background-image: -webkit-linear-gradient(top, #70d900, #57a900);
16-
background-image: -o-linear-gradient(top, #70d900, #57a900);
17-
background-image: linear-gradient(top, #70d900, #57a900);
18-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#70d900', endColorstr='#57a900', GradientType=0);
11+
background-color: #57a900;
12+
background-image: -moz-linear-gradient(top, #70d900, #57a900);
13+
background-image: -ms-linear-gradient(top, #70d900, #57a900);
14+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70d900), to(#57a900));
15+
background-image: -webkit-linear-gradient(top, #70d900, #57a900);
16+
background-image: -o-linear-gradient(top, #70d900, #57a900);
17+
background-image: linear-gradient(top, #70d900, #57a900);
18+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#70d900', endColorstr='#57a900', GradientType=0);
1919
}
2020

2121
.btn-success:hover,
2222
.btn-success:active,
2323
.btn-success.active,
2424
.btn-success.disabled,
2525
.btn-success[disabled] {
26-
background-color: #57a900;
27-
}
28-
29-
.btn-success:active, .btn-success.active {
30-
background-color: #57a900;
26+
background-color: #57a900;
3127
}
3228

3329
div.container a.navbar-brand > img {
3430
display: inline;
3531
margin-right: 4px;
36-
}
32+
margin-top: -2px;
33+
}

public/img/zf-logo-mark.svg

Lines changed: 1 addition & 0 deletions
Loading

public/img/zf-logo.png

-600 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)