Alexander Makarov
e3292c959a
Advanced application template now uses mailer component instead of mail() function
11 years ago
Alexander Makarov
65be184344
Fixes #1324 : added missing @console alias to advanced app
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
marsuboss
11727d52bd
Duplicate
11 years ago
Qiang Xue
83ab0f0655
minor refactoring
11 years ago
Alexander Makarov
ad6411cae2
Fixed LoginForm::getUserByUsername
11 years ago
Alexander Makarov
5795522fc2
Use Yii::$app->user->login result in LoginForm
11 years ago
Alexander Makarov
5b36503ca8
One less SQL query for login sequence in basic and advanced apps
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
Veaceslav Medvedev
03d70b6e7e
Update main.php
11 years ago
Qiang Xue
c8be05665f
Fixes #1122 : removed init from post-install-cmd-script of composer.
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
d3f5d34819
Fixed advanced app error view
11 years ago
Alexander Makarov
927e9dddb4
Refactored View
11 years ago
Qiang Xue
48600b8edd
Fixed typo.
11 years ago
Qiang Xue
83a937990c
moved bootstrap to extension
11 years ago
Qiang Xue
6aa45b34d0
updated dependency.
11 years ago
Qiang Xue
1500f978b0
Fixed dependency of apps
11 years ago
Qiang Xue
3caf59b1bf
fixed extension list file location.
11 years ago
Qiang Xue
e5d5ab5655
updated license information.
11 years ago
Qiang Xue
1d092d1755
Changed the exit status to normal.
11 years ago
Alexander Makarov
91b61692c5
Better alias paths for advanced application
11 years ago
Alexander Mohorev
0d04846c08
php short echo syntax
11 years ago
Alexander Mohorev
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
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
Qiang Xue
8fc489091b
removed InstallHandler.
11 years ago
Alexander Makarov
c2dabfa78e
Adjusted short tags
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
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