Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor. Fixed title

  • Loading branch information...
commit f851fd3b38a79e5d76a7e2f4048074f44ab1d5ac 1 parent 78a1e14
Sarven Capadisli authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 templates/tool.world-development-indicators.html
8 templates/tool.world-development-indicators.html
View
@@ -3,7 +3,6 @@
?>
<!DOCTYPE HTML>
<html>
-
<?php require_once 'head.world-development-indicators.html'; ?>
<?php
$titleDimensions = '';
@@ -21,8 +20,13 @@
$titleDimensions .= " in " . $this->config['requestQuery']['year'];
}
+ if (isset($this->config['requestQuery']['country']) || isset($this->config['requestQuery']['year'])) {
+ $title = 'View for' . $this->config['data']['worldDevelopmentIndicators'][$this->config['requestQuery']['indicator']] . $titleDimensions . ' &#8212; World Bank Linked Data';
+ } else {
+ $title = 'Tools &#8212; World Bank Linked Data';
+ }
?>
- <title>View for '<?php echo $this->config['data']['worldDevelopmentIndicators'][$this->config['requestQuery']['indicator']] . $titleDimensions; ?>' &#8212; World Bank Linked Data</title>
+ <title><?php echo $title; ?></title>
<meta name="description" content="Tool to display World Development Indicators: <?php echo $this->config['data']['worldDevelopmentIndicators'][$this->config['requestQuery']['indicator']]; ?>"/>
</head>
Please sign in to comment.
Something went wrong with that request. Please try again.