817cbc175a
Comments cleanup.
...
Cleaned up a few comments ... hope its not my OCD again... :-)
2013-11-21 15:42:52 +05:30
b979d3b024
Reverted closeButton
...
Reverted name to ```closeButton``` to be in sync with the bootstrap ```Alert``` widget.
2013-11-21 15:36:43 +05:30
62493188a2
Nomenclature and code realignment.
...
1. Renamed closeButton to closeButtonOptions.
2. Generate unique id for each alert box.
3. Moved parent init to the top.
2013-11-21 15:32:07 +05:30
2bff5f80bc
Alert types for flash messages are now configurable.
...
Each flash variable can be mapped to a bootstrap alert type through a configuration array passed to this widget.
2013-11-20 23:15:16 +05:30
8ff4c3d46d
Code & minor bug cleanup.
...
Cleaned up redundant code (and a typo missed earlier).
2013-11-20 22:53:08 +05:30
8a436c4acb
Code cleanup.
...
Removed redundant declarations and checks in the code.
2013-11-20 22:45:49 +05:30
c550628558
CSS Class assignment correction # 2.
...
Ensure previous CSS classes are not appended and reinitialized in the foreach loop.
2013-11-20 22:35:35 +05:30
affa9589dc
CSS Class assignment corrected.
...
Used ```Html::addCssClass``` and ```Html::removeCssClass``` more effectively.
2013-11-20 19:58:25 +05:30
70f41387b6
Update Alert.php to add some refinements and clean up bugs.
...
Added closeButton parameter, assignment of CSS class corrected, and added php doc comments.
2013-11-20 19:39:55 +05:30
1c56edd000
Update Alert.php
2013-11-20 18:39:37 +05:30
8fc77afc63
Update Alert.php to display multiple flash messages for the session.
...
The previous alert widget within the advanced/basic app does not render multiple flash messages. The current implementation allows display of all flash messages assigned through setFlash. Also a validation is done for allowed bootstrap alert types.
2013-11-20 17:50:47 +05:30
7450fc1000
Small edit for consistency with frontend config.
...
Small edit for consistency with /apps/advanced/backend/config/main.php. Sorry, my OCD kicked in.
2013-11-20 09:26:51 +09:00
d2e5f2c507
Fixes #1234 : use dash instead of underscore to separate language and country in locale id.
2013-11-19 16:33:52 -05:00
4c4f7bd708
Move AppAsset from config to assets directory
2013-11-13 18:17:05 +02:00
447bad5a12
Merge pull request #1184 from slavcodev/only-arrays-in-rules
...
Using only arrays in rules instead comma-separated string
2013-11-13 05:37:43 -08:00
75dc290a24
Fixes #1193
2013-11-13 08:31:49 -05:00
f57b3536a2
Fixed apps rules
2013-11-13 11:41:25 +02:00
ecc557ef92
Refactor all models to new rules format
2013-11-12 16:39:23 +02:00
016d796e95
advanced app: go back after login, not home
2013-11-12 11:07:14 +01:00
93dd629411
Fix apps phpDoc and short tags
2013-11-12 06:24:07 +02:00
998cf7e675
updated apps to use the mail component.
2013-11-07 23:01:13 -05:00
f2484fd616
Modified application templates so when trying to log in when already logged in it just redirects to homepage instead of throwing exceptions
2013-11-07 01:19:36 +04:00
927e9dddb4
Refactored View
2013-11-06 22:52:27 +04:00
3caf59b1bf
fixed extension list file location.
2013-11-02 16:04:38 -04:00
0d04846c08
php short echo syntax
2013-10-28 23:57:40 +03:00
9fe0eb6c3f
add sorting icons to gridview sort links in basic and advanced app css
2013-10-25 12:02:09 +02:00
10553b6afc
adjusted the advanced app to use the new yii composer extension installer.
2013-10-22 21:29:42 -04:00
c2dabfa78e
Adjusted short tags
2013-10-20 00:59:56 +04:00
24bc980da4
Replaced "<?php echo" with "<?=" that is always available for PHP 5.4
2013-10-18 14:09:11 +04:00
dfb6e1f404
Convert to short syntax [2].
2013-10-18 12:03:36 +00:00
e1061f19ac
Advanced application template: Delete flash message after it was displayed
2013-09-24 12:07:41 +04:00
bb6d0f1b47
Merge pull request #888 from sergon/patch-5
...
Update passwordResetToken.php
2013-09-18 11:27:52 -07:00
41e2c41002
Update SiteController.php
2013-09-18 22:18:12 +06:00
29394758ba
Update passwordResetToken.php
2013-09-18 22:12:47 +06:00
f5778b6bf0
Advanced application enhancements.
...
- Turned on CSRF validation by default.
- Added access control for login, signup and logout for frontend application.
- Added access control for login, logout and index for backend application.
- YII_ENV is now defined for all applications.
- No trace is writted to logs if debug is turned off.
- Added default error view for frontend and backend.
- In frontend application captcha will always ask for "testme" if YII_ENV is defined as "test".
2013-09-16 02:46:29 +04:00
f877de144b
Removed DebugTarget reference from advanced app template configs
2013-09-04 15:55:32 +04:00
fae8084524
Update alert widget
2013-08-21 11:48:01 +04:00
4b008ae096
Updated bootstrap to release version including wrappers and views
2013-08-21 03:00:13 +04:00
1896dd1707
gii WIP
2013-08-16 07:38:18 -04:00
65352e500f
refactored ActiveField.
2013-08-14 21:17:13 -04:00
c884aca466
Update main.php
2013-08-14 21:07:47 +00:00
6040841687
fixed User class namespace in phpdoc
2013-08-13 02:50:16 +04:00
0596fa82fd
code style fixes
2013-08-13 02:43:47 +04:00
edb77393b2
fixes #736
2013-08-13 01:16:53 +04:00
27ad7e1fc7
Added Controller::goHome().
2013-08-12 13:19:37 -04:00
e3801fbf6b
Upgraded bootstrap to 3.0RC1.
2013-08-08 20:00:48 -04:00
322dc10d22
fixes #687
2013-08-05 12:10:08 +04:00
3d5388ff2b
Reorganized captcha code.
2013-08-03 07:20:39 -04:00
71fae803bc
fixes #684
2013-08-02 17:22:30 +04:00
1e0decf44d
fixes #650
2013-07-29 20:29:55 +04:00