Kartik Visweswaran
b979d3b024
Reverted closeButton
...
Reverted name to ```closeButton``` to be in sync with the bootstrap ```Alert``` widget.
11 years ago
Kartik Visweswaran
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.
11 years ago
Kartik Visweswaran
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.
11 years ago
Kartik Visweswaran
8ff4c3d46d
Code & minor bug cleanup.
...
Cleaned up redundant code (and a typo missed earlier).
11 years ago
Kartik Visweswaran
8a436c4acb
Code cleanup.
...
Removed redundant declarations and checks in the code.
11 years ago
Kartik Visweswaran
c550628558
CSS Class assignment correction # 2.
...
Ensure previous CSS classes are not appended and reinitialized in the foreach loop.
11 years ago
Kartik Visweswaran
affa9589dc
CSS Class assignment corrected.
...
Used ```Html::addCssClass``` and ```Html::removeCssClass``` more effectively.
11 years ago
Kartik Visweswaran
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.
11 years ago
Kartik Visweswaran
1c56edd000
Update Alert.php
11 years ago
Kartik Visweswaran
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.
11 years ago
kumorig
7450fc1000
Small edit for consistency with frontend config.
...
Small edit for consistency with /apps/advanced/backend/config/main.php. Sorry, my OCD kicked in.
11 years ago
Qiang Xue
d2e5f2c507
Fixes #1234 : use dash instead of underscore to separate language and country in locale id.
11 years ago
slavcodev
4c4f7bd708
Move AppAsset from config to assets directory
11 years ago
Qiang Xue
75dc290a24
Fixes #1193
11 years ago
slavcodev
f57b3536a2
Fixed apps rules
11 years ago
slavcodev
ecc557ef92
Refactor all models to new rules format
11 years ago
Carsten Brandt
016d796e95
advanced app: go back after login, not home
11 years ago
slavcodev
93dd629411
Fix apps phpDoc and short tags
11 years ago
Qiang Xue
998cf7e675
updated apps to use the mail component.
11 years ago
Alexander Makarov
f2484fd616
Modified application templates so when trying to log in when already logged in it just redirects to homepage instead of throwing exceptions
11 years ago
Alexander Makarov
927e9dddb4
Refactored View
11 years ago
Qiang Xue
3caf59b1bf
fixed extension list file location.
11 years ago
Alexander Mohorev
0d04846c08
php short echo syntax
11 years ago
Carsten Brandt
9fe0eb6c3f
add sorting icons to gridview sort links in basic and advanced app css
11 years ago
Qiang Xue
10553b6afc
adjusted the advanced app to use the new yii composer extension installer.
11 years ago
Alexander Makarov
c2dabfa78e
Adjusted short tags
11 years ago
Alexander Makarov
24bc980da4
Replaced "<?php echo" with "<?=" that is always available for PHP 5.4
11 years ago
Yakir Sitbon
dfb6e1f404
Convert to short syntax [2].
11 years ago
Alexander Makarov
e1061f19ac
Advanced application template: Delete flash message after it was displayed
11 years ago
gsd
41e2c41002
Update SiteController.php
11 years ago
gsd
29394758ba
Update passwordResetToken.php
11 years ago
Alexander Makarov
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".
11 years ago
Alexander Makarov
f877de144b
Removed DebugTarget reference from advanced app template configs
11 years ago
Roman Revin
fae8084524
Update alert widget
12 years ago
Alexander Makarov
4b008ae096
Updated bootstrap to release version including wrappers and views
12 years ago
Qiang Xue
1896dd1707
gii WIP
12 years ago
Qiang Xue
65352e500f
refactored ActiveField.
12 years ago
lancecoder
c884aca466
Update main.php
12 years ago
Alexander Makarov
6040841687
fixed User class namespace in phpdoc
12 years ago
Alexander Makarov
0596fa82fd
code style fixes
12 years ago
Alexander Makarov
edb77393b2
fixes #736
12 years ago
Qiang Xue
27ad7e1fc7
Added Controller::goHome().
12 years ago
Qiang Xue
e3801fbf6b
Upgraded bootstrap to 3.0RC1.
12 years ago
Alexander Makarov
322dc10d22
fixes #687
12 years ago
Qiang Xue
3d5388ff2b
Reorganized captcha code.
12 years ago
Alexander Makarov
71fae803bc
fixes #684
12 years ago
Alexander Makarov
1e0decf44d
fixes #650
12 years ago
Qiang Xue
3bef7365f1
Fixes #624 : renamed www to web.
12 years ago
Qiang Xue
3d10cb1852
Changed default value of Logger::traceLevel.
12 years ago
Alexander Makarov
42397df054
fixed code style
12 years ago