Qiang Xue
c7c13a6693
Added concrete http exception classes.
11 years ago
Alexander Makarov
8995c0b0ca
Code style fixes for layouts
11 years ago
Panagiotis Moustafellos
58bd2fb958
Only whitespace removal
11 years ago
Panagiotis Moustafellos
f6a3496e8d
Removed trailing whitespace.. (OCD really kicking in)
11 years ago
Alexander Makarov
408eee75a9
Used full method names when sending email in advanced app
11 years ago
Alexander Makarov
e3292c959a
Advanced application template now uses mailer component instead of mail() function
11 years ago
Qiang Xue
c6318050d9
removed unneeded setting.
11 years ago
Kartik Visweswaran
817cbc175a
Comments cleanup.
...
Cleaned up a few comments ... hope its not my OCD again... :-)
11 years ago
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
11 years ago
Alexander Makarov
4b008ae096
Updated bootstrap to release version including wrappers and views
11 years ago
Qiang Xue
1896dd1707
gii WIP
11 years ago
Qiang Xue
65352e500f
refactored ActiveField.
11 years ago
lancecoder
c884aca466
Update main.php
11 years ago
Alexander Makarov
6040841687
fixed User class namespace in phpdoc
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
11 years ago
Alexander Makarov
edb77393b2
fixes #736
11 years ago
Qiang Xue
27ad7e1fc7
Added Controller::goHome().
11 years ago