diff --git a/composer.lock b/composer.lock index 66d78664..6460dc2d 100644 --- a/composer.lock +++ b/composer.lock @@ -3,7 +3,7 @@ "This file locks the dependencies of your project to a known state", "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" ], - "hash": "7f0b96f280da85d801a4623e87e3265a", + "hash": "d7f57e455590363c473dcb2a88e3aeb4", "packages": [ { "name": "zendframework/zend-developer-tools", @@ -68,16 +68,16 @@ }, { "name": "zendframework/zendframework", - "version": "2.2.4", + "version": "2.2.5", "source": { "type": "git", "url": "https://github.com/zendframework/zf2.git", - "reference": "5b03d868755c181fc9b5dc56c1f8c26e73ca0bed" + "reference": "4a7cf6a4cf791244e14aa0ca49d1f06916b63202" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zendframework/zf2/zipball/5b03d868755c181fc9b5dc56c1f8c26e73ca0bed", - "reference": "5b03d868755c181fc9b5dc56c1f8c26e73ca0bed", + "url": "https://api.github.com/repos/zendframework/zf2/zipball/4a7cf6a4cf791244e14aa0ca49d1f06916b63202", + "reference": "4a7cf6a4cf791244e14aa0ca49d1f06916b63202", "shasum": "" }, "require": { @@ -138,6 +138,7 @@ }, "require-dev": { "doctrine/annotations": ">=1.0", + "fabpot/php-cs-fixer": "*@dev", "ircmaxell/random-lib": "dev-master", "ircmaxell/security-lib": "dev-master", "ocramius/proxy-manager": "0.4.*", @@ -178,7 +179,7 @@ "framework", "zf2" ], - "time": "2013-08-26 15:09:04" + "time": "2013-10-31 15:48:16" } ], "packages-dev": [ diff --git a/composer.phar b/composer.phar index 42fb2aee..ee79e58c 100755 Binary files a/composer.phar and b/composer.phar differ diff --git a/module/Application/src/Application/Form/LoginForm.php b/module/Application/src/Application/Form/LoginForm.php new file mode 100644 index 00000000..2a32efb5 --- /dev/null +++ b/module/Application/src/Application/Form/LoginForm.php @@ -0,0 +1,31 @@ +setLabel('Username'); + $passwordElement = new Password('password'); + $passwordElement->setLabel('Password'); + $submitElement = new Submit('login'); + $submitElement->setValue('Login'); + $submitElement->setAttribute('class', 'btn'); + + $this->add($usernameElement); + $this->add($passwordElement); + $this->add($submitElement); + + } + +} + \ No newline at end of file diff --git a/module/Application/src/Application/Form/LogoutForm.php b/module/Application/src/Application/Form/LogoutForm.php new file mode 100644 index 00000000..00da64a9 --- /dev/null +++ b/module/Application/src/Application/Form/LogoutForm.php @@ -0,0 +1,22 @@ +setValue('Logout'); + $submitElement->setAttribute('class', 'btn'); + + $this->add($submitElement); + + } +} diff --git a/module/Application/view/application/index/index.phtml b/module/Application/view/application/index/index.phtml index 27e12883..b3d9bbc7 100644 --- a/module/Application/view/application/index/index.phtml +++ b/module/Application/view/application/index/index.phtml @@ -1,44 +1 @@ -
-

translate('Welcome to %sbarbossa%s'), '', '') ?>

-

translate('Congratulations! You have successfully installed %sbarbossa%s. You are currently running barbossa version %s.'), '', '', \Zend\Version\Version::VERSION) ?>

-

translate('Fork barbossa on GitHub') ?> »

-
- -
- -
-
-
-

translate('Follow Development') ?>

-
-
-

translate('Barbossa is under active development. If you are interested in following the development of ZF2, there is a special ZF2 portal on the official Zend Framework website which provides links to the ZF2 %swiki%s, %sdev blog%s, %sissue tracker%s, and much more. This is a great resource for staying up to date with the latest developments!'), '', '', '', '', '', '') ?>

-

translate('ZF2 Development Portal') ?> »

-
-
-
- -
-
-
-

translate('Discover Modules') ?>

-
-
-

translate('The community is working on developing a community site to serve as a repository and gallery for ZF2 modules. The project is available %son GitHub%s. The site is currently live and currently contains a list of some of the modules already available for ZF2.'), '', '') ?>

-

translate('Explore ZF2 Modules') ?> »

-
-
-
- -
-
-
-

translate('Help & Support') ?>

-
-
-

translate('If you need any help or support while developing with ZF2, you may reach us via IRC: %s#zftalk on Freenode%s. We\'d love to hear any questions or feedback you may have regarding the beta releases. Alternatively, you may subscribe and post questions to the %smailing lists%s.'), '', '', '', '') ?>

-

translate('Ping us on IRC') ?> »

-
-
-
-
+ -