Commit de64755b authored by Ganesharatnam's avatar Ganesharatnam
Browse files

heading fix

parent a8ca3907
......@@ -27,7 +27,7 @@ function uw_lib_refshelf_data($param, $url) {
$uri = $url . $param;
$file_headers = @get_headers($uri);
if (!$file_headers || $file_headers[0] == 'HTTP/1.1 404 Not Found') {
drupal_set_message(t('<h2>URL is not available to collect the data</h2>'));
drupal_set_message(t('<h3>URL is not available to collect the data</h3>'));
}
else{
$response = file_get_contents($uri);
......@@ -59,7 +59,7 @@ function uw_lib_refshelf_render_data() {
$qparam = $_GET['cat_id'];
$links = uw_lib_refshelf_get_links($qparam, "toc_id");
if (empty($links)) {
$txt = "<h2>Resources for " . $tit . "</h2><br />";
$txt = "<h3>Resources for " . $tit . "</h3><br />";
$links .= uw_lib_refshelf_get_links($qparam, "resources");
}
$_SESSION['toc_links'] = $links;
......@@ -98,7 +98,7 @@ function uw_lib_refshelf_render_data() {
$links = "";
$txt = '<div><p>Find answers to quick factual questions in the online resources below.</p></div>';
//$txt .= '<div><h3><a href="online-reference-shelf">Browse by category</a></h3><br /></div>';
$txt .= '<div><h3>Browse by category</h3><br /></div>';
$txt .= '<div><h2>Browse by category</h2><br /></div>';
$_SESSION['txt'] = $txt;
$param = 0;
$content .= $txt;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment