Skip to content

Commit

Permalink
* finish task #1517.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyidong committed Jul 10, 2013
1 parent 737d05b commit 24b3f2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion module/user/view/login.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<?php echo $lang->donate;?>
<?php if($config->checkVersion):?>
<br />
<iframe id='updater' class='hidden' frameborder='0' scrolling='no' allowtransparency='true' src="http://api.zentao.net/updater-isLatest-<?php echo $config->version;?>-<?php echo $s;?>.html"></iframe>
<iframe id='updater' class='hidden' frameborder='0' scrolling='no' allowtransparency='true' src="http://api.zentao.net/updater-isLatest-<?php echo $config->version;?>-<?php echo $s;?>.html?lang=<?php echo str_replace('-', '_', $this->app->getClientLang())?>"></iframe>
<?php endif;?>
</div>

Expand Down
1 change: 1 addition & 0 deletions module/webapp/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public function setApiRoot()
*/
public function fetchAPI($url)
{
$url .= '?lang=' . str_replace('-', '_', $this->app->getClientLang());
$this->agent->fetch($url);
$result = json_decode($this->agent->results);

Expand Down

0 comments on commit 24b3f2f

Please sign in to comment.