Commit 36079d3d authored by Ganesharatnam's avatar Ganesharatnam
Browse files

Heading fix

parent de64755b
...@@ -59,7 +59,7 @@ function uw_lib_refshelf_render_data() { ...@@ -59,7 +59,7 @@ function uw_lib_refshelf_render_data() {
$qparam = $_GET['cat_id']; $qparam = $_GET['cat_id'];
$links = uw_lib_refshelf_get_links($qparam, "toc_id"); $links = uw_lib_refshelf_get_links($qparam, "toc_id");
if (empty($links)) { if (empty($links)) {
$txt = "<h3>Resources for " . $tit . "</h3><br />"; $txt = "<h2>Resources for " . $tit . "</h2><br />";
$links .= uw_lib_refshelf_get_links($qparam, "resources"); $links .= uw_lib_refshelf_get_links($qparam, "resources");
} }
$_SESSION['toc_links'] = $links; $_SESSION['toc_links'] = $links;
...@@ -73,7 +73,7 @@ function uw_lib_refshelf_render_data() { ...@@ -73,7 +73,7 @@ function uw_lib_refshelf_render_data() {
$content .= $_SESSION['tit']; $content .= $_SESSION['tit'];
$content .= "<div>" . $_SESSION['toc_links'] . "</div><br />"; $content .= "<div>" . $_SESSION['toc_links'] . "</div><br />";
$tit = html_entity_decode($_GET['title']); $tit = html_entity_decode($_GET['title']);
$txt = "<h3>" . $tit . "</h3><br />"; $txt = "<h2>" . $tit . "</h2><br />";
$content .= $txt; $content .= $txt;
$qparam = $_GET['toc_id']; $qparam = $_GET['toc_id'];
$content .= uw_lib_refshelf_get_links($qparam, "resources"); $content .= uw_lib_refshelf_get_links($qparam, "resources");
......
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