diff options
-rw-r--r-- | include/dir_fns.php | 1 | ||||
-rw-r--r-- | view/tpl/safesearch.tpl | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php index 7af98bec3..fef58428f 100644 --- a/include/dir_fns.php +++ b/include/dir_fns.php @@ -30,6 +30,7 @@ function dir_safe_mode(&$a) { else $toggle = t('Disable Safe Search'); $o = replace_macros(get_markup_template('safesearch.tpl'), array( + '$safemode' => t('Safe Mode'), '$toggle' => $toggle, )); diff --git a/view/tpl/safesearch.tpl b/view/tpl/safesearch.tpl index 92c3db2a5..e0b2ab538 100644 --- a/view/tpl/safesearch.tpl +++ b/view/tpl/safesearch.tpl @@ -1,2 +1,4 @@ -<h1>Safe Mode</h1> +<div id="directory_safemode" class="widget"> +<h3>{{$safemode}}</h3> <a href="toggle_safesearch">{{$toggle}}</a> +</div> |