diff --git a/plugins/unl_theme/start.php b/plugins/unl_theme/start.php index 5070b4ca9064d46e347ead2e64444c2e6f4b1e09..aefb083c1d301bdbd523dbe280eecc04d2ec45a8 100755 --- a/plugins/unl_theme/start.php +++ b/plugins/unl_theme/start.php @@ -119,7 +119,11 @@ function unl_theme_setup_head($hook, $type, $data) { 'name' => 'viewport', 'content' => 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0', ); - + $data['links'][] = array( + 'id' => 'favicon', + 'rel' => 'shortcut icon', + 'href' => 'https://unlcms.unl.edu/wdn/templates_4.1/includes/icons/favicon.ico', + ); $data['links'][] = array( 'rel' => 'apple-touch-icon', 'href' => elgg_normalize_url('mod/unl_theme/graphics/homescreen.png'), @@ -127,3 +131,6 @@ function unl_theme_setup_head($hook, $type, $data) { return $data; } + + + diff --git a/plugins/unl_theme/views/default/navigation/menu/main.php b/plugins/unl_theme/views/default/navigation/menu/main.php index 771da4622eae7ed097f08c1acb06c4609fcea90b..33bbb7961f950dba38dcc698d46d39ec1945db7e 100644 --- a/plugins/unl_theme/views/default/navigation/menu/main.php +++ b/plugins/unl_theme/views/default/navigation/menu/main.php @@ -49,6 +49,10 @@ if (elgg_is_logged_in()) { echo elgg_echo("admin"); echo "</a></li>"; } + echo "<li>"; + echo "<a href='{$url}action/logout'>"; + echo elgg_echo("logout"); + echo "</a></li>"; echo "</ul></li>"; } else { echo "<li><a href='" . elgg_get_site_url() . "login'>Login</a></li>"; diff --git a/plugins/unl_theme/views/default/navigation/menu/site.php b/plugins/unl_theme/views/default/navigation/menu/site.php index eb7bc6ae6a20731e1e8e79678b5e8750986820c2..a2ce92acce1b4e6c41059aa071c1dbbc05fa63d3 100755 --- a/plugins/unl_theme/views/default/navigation/menu/site.php +++ b/plugins/unl_theme/views/default/navigation/menu/site.php @@ -58,6 +58,10 @@ if (elgg_is_logged_in()) { echo elgg_echo("admin"); echo "</a></li>"; } + echo "<li>"; + echo "<a href='{$url}action/logout'>"; + echo elgg_echo("logout"); + echo "</a></li>"; echo "</ul></li>"; } else { // echo "<li><a href='" . elgg_get_site_url() . "login'>Login</a></li>"; diff --git a/plugins/unl_theme/views/default/page/default.php b/plugins/unl_theme/views/default/page/default.php index 0c6a08be799f0dd70c1e808fcadb458ff203b9aa..1cda2ae12ee905b6a362bc2005d9ddf93aa55ec4 100755 --- a/plugins/unl_theme/views/default/page/default.php +++ b/plugins/unl_theme/views/default/page/default.php @@ -43,6 +43,7 @@ $head = elgg_view('page/elements/head', $vars['head']); $params = array( 'head' => $head, 'body' => $body, + 'title'=> $vars["title"] ); if (isset($vars['body_attrs'])) { diff --git a/plugins/unl_theme/views/default/page/html.php b/plugins/unl_theme/views/default/page/html.php index 6d7fb74c8e7364a172b1b025fd3e1b02780b64ea..a53830053825bcca6e3fc0937538b4d157d60134 100644 --- a/plugins/unl_theme/views/default/page/html.php +++ b/plugins/unl_theme/views/default/page/html.php @@ -36,6 +36,7 @@ $unl_template->breadcrumbs = "<!-- WDN: see glossary item \'breadcrumbs\' --> <u $unl_template->maincontentarea = $vars['body']; $unl_template->titlegraphic ="Planet Red"; $unl_template->pagetitle =""; +$unl_template->doctitle ="<title>UNL | Planet Red | ".$vars["title"]." </title>"; $unl_template->affiliation =""; $unl_template->head = $vars['head'];