diff --git a/include/layout.inc b/include/layout.inc index 7b67e37a0..e70b6ab1f 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -186,7 +186,10 @@ function site_footer($config = array()) { global $LAST_UPDATED, $PAGE_COLUMNS; - $stats = (have_stats() ? "\n stats |" : ""); + $stats = (have_stats() ? "\n stats |" : ""); + $viewsource = (isset($_SERVER['BASE_PAGE']) ? + "show source |" : + ""); $provider_url = mirror_provider_url(); $provider_name = mirror_provider(); $mirror_text = (is_official_mirror() ? @@ -203,7 +206,7 @@ function site_footer($config = array()) {$layout_helper}
- show source | + $viewsource credits |$stats sitemap | contact |