Skip to content

Commit

Permalink
Added yiiwheels.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Apr 23, 2014
1 parent ba7411d commit 39c8271
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 13 deletions.
6 changes: 6 additions & 0 deletions application/controllers/SurveysController.php
Expand Up @@ -23,6 +23,12 @@ public function actionPublicList($lang = null)
));
}

public function actionOrganize($surveyId)
{
Group::model()->with('questions')->findAllByAttributes(array(
'sid' => $surveyId
));
}

/**
* Load and set session vars
Expand Down
4 changes: 2 additions & 2 deletions application/views/admin/authentication/login.php
Expand Up @@ -20,7 +20,7 @@
$info = App()->getPluginManager()->getPluginInfo($plugin);
$possibleAuthMethods[$plugin] = $info['pluginName'];
}
$this->widget('bootstrap.widgets.TbSelect2', array(
$this->widget('WhSelect2', array(
'name' => 'authMethod',
'value' => $selectedAuth,
'data' => $possibleAuthMethods,
Expand Down Expand Up @@ -48,7 +48,7 @@
}
echo CHtml::openTag('li');
echo CHtml::label(gT('Language'), 'loginlang');
$this->widget('bootstrap.widgets.TbSelect2', array(
$this->widget('WhSelect2', array(
'name' => 'loginlang',
'data' => $languageData,
'options' => array(
Expand Down
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -4,6 +4,7 @@
"license" : "GPL-2.0",
"require": {
"crisu83/yiistrap": "dev-bs3",
"2amigos/yiiwheels": "dev-master",
"yiisoft/yii" : "dev-master",
"tecnick.com/tcpdf": "dev-master",
"phpmailer/phpmailer": "dev-master",
Expand Down
112 changes: 101 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 39c8271

Please sign in to comment.