Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into cint
Browse files Browse the repository at this point in the history
Conflicts:
	application/config/version.php
  • Loading branch information
olleharstedt committed Aug 23, 2016
2 parents 676cdb4 + 01f8b38 commit f1641cb
Show file tree
Hide file tree
Showing 21 changed files with 399 additions and 336 deletions.
2 changes: 1 addition & 1 deletion application/config/version.php
Expand Up @@ -12,7 +12,7 @@
*150413
*/

$config['versionnumber'] = "2.50+";
$config['versionnumber'] = "2.50";
$config['dbversionnumber'] = 261;
$config['buildnumber'] = '';
$config['updatable'] = true;
Expand Down
2 changes: 1 addition & 1 deletion application/controllers/AdminController.php
Expand Up @@ -339,7 +339,7 @@ public function _getAdminFooter($url, $explanation, $return = false)

$aData['buildtext'] = "";
if(Yii::app()->getConfig("buildnumber")!="") {
$aData['buildtext']= "Build ".Yii::app()->getConfig("buildnumber");
$aData['buildtext']= "+".Yii::app()->getConfig("buildnumber");
}

//If user is not logged in, don't print the version number information in the footer.
Expand Down
8 changes: 4 additions & 4 deletions application/extensions/AdminFooter/AdminFooter.php
Expand Up @@ -30,16 +30,16 @@ public function run()
$versiontitle = gT('Version');
$buildtext = "";
if(Yii::app()->getConfig("buildnumber")!="") {
$buildtext = "Build ".Yii::app()->getConfig("buildnumber");
}
$buildtext = "+".Yii::app()->getConfig("buildnumber");
}
}

$aData = array(
'versionnumber' => $versionnumber,
'versiontitle' => $versiontitle,
'buildtext' => $buildtext
);

$this->render('footer', $aData);
}
}
2 changes: 1 addition & 1 deletion application/extensions/AdminFooter/views/footer.php
Expand Up @@ -5,5 +5,5 @@
<div style='float:right;'>
<a href='http://donate.limesurvey.org' target="_blank"><img alt='<?php eT("Support this project - Donate to "); ?>LimeSurvey' title='<?php eT("Support this project - Donate to "); ?>LimeSurvey!' src='<?php echo Yii::app()->getConfig('adminimageurl'); ?>donate.png'/></a>
</div>
<div class='subtitle'><a class='subtitle' title='<?php eT("Visit our website!"); ?>' href='http://www.limesurvey.org' target='_blank'>LimeSurvey</a><br /><?php echo $versiontitle . " " . $versionnumber . " " . $buildtext; ?></div>
<div class='subtitle'><a class='subtitle' title='<?php eT("Visit our website!"); ?>' href='http://www.limesurvey.org' target='_blank'>LimeSurvey</a><br /><?php echo $versiontitle . " " . $versionnumber . $buildtext; ?></div>
</div>
2 changes: 1 addition & 1 deletion application/views/admin/super/footer.php
Expand Up @@ -25,7 +25,7 @@

<!-- Lime survey website -->
<div class="col-xs-6 col-md-4 col-lg-6 text-right">
<a title='<?php eT("Visit our website!"); ?>' href='http://www.limesurvey.org' target='_blank'>LimeSurvey</a><br /><?php echo $versiontitle." ".$versionnumber." ".$buildtext;?>
<a title='<?php eT("Visit our website!"); ?>' href='http://www.limesurvey.org' target='_blank'>LimeSurvey</a><br /><?php echo $versiontitle." ".$versionnumber.$buildtext;?>
</div>
</div>
</div>
Expand Down

0 comments on commit f1641cb

Please sign in to comment.