-
Notifications
You must be signed in to change notification settings - Fork 985
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0db4c9
commit d0813fc
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -257,9 +257,7 @@ protected function _renderWrappedTemplate($sAction = '', $aViewUrls = array(), $ | |
//// TODO : check what is doing exactly this function. (application/helpers/expressions/em_manager_helper.php) | ||
//// If it's about initialiazing global variables, should be removed and parsed in right controllers. | ||
//// But it seems that it's just useless. | ||
LimeExpressionManager::StartProcessingPage(false, Yii::app()->baseUrl,true); // so can click on syntax highlighting to edit questions | ||
|
||
$oSurvey = $aData['oSurvey'] = Survey::model()->findByPk($aData['surveyid']); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
c-schmitz
Contributor
|
||
LimeExpressionManager::StartProcessingPage(false, Yii::app()->baseUrl); // so can click on syntax highlighting to edit questions | ||
|
||
$this->_titlebar($aData); | ||
|
||
|
@@ -443,7 +441,6 @@ function _showHeaders($aData) | |
* @global string $surveyid | ||
* @global string $setfont | ||
* @global string $imageurl | ||
* @param int $surveyid | ||
* @return string $adminmenu | ||
*/ | ||
public function _showadminmenu() | ||
|
@@ -458,6 +455,7 @@ public function _showadminmenu() | |
} | ||
|
||
// Count active survey | ||
$aData = array(); | ||
$aData['dataForConfigMenu']['activesurveyscount'] = $aData['activesurveyscount'] = Survey::model()->count("active = 'Y'"); | ||
|
||
// Count survey | ||
|
@@ -1100,7 +1098,7 @@ function _surveysummary($aData) | |
|
||
if (!$aSurveyInfo['language']) | ||
{ | ||
$aData['language'] = getLanguageNameFromCode($currentadminlang, false); | ||
$aData['language'] = getLanguageNameFromCode($baselang, false); // TODO: is $baselang correct here? | ||
} | ||
else | ||
{ | ||
|
@@ -1208,7 +1206,7 @@ function _browsemenubar($aData) | |
} | ||
/** | ||
* Load menu bar of user group controller. | ||
* @param int $ugid | ||
* @param array $aData | ||
* @return void | ||
*/ | ||
function _userGroupBar($aData) | ||
|
https://bugs.limesurvey.org/view.php?id=10738