includes/template.php
changeset 978 ed84b24b8e07
parent 971 bc8f3ab74e5e
child 1003 28e2f75d66fd
--- a/includes/template.php	Wed May 13 09:49:36 2009 -0400
+++ b/includes/template.php	Thu May 14 11:34:24 2009 -0400
@@ -2925,8 +2925,9 @@
     $tb = '';
     // Get the "article" button text (depends on namespace)
     if(defined('IN_ENANO_INSTALL') && is_object($lang)) $ns = $lang->get('meta_btn_article');
+    else if ( isset($GLOBALS['article_btn']) ) $ns = $GLOBALS['article_btn'];
     else $ns = 'system error page';
-    $t = str_replace('{FLAGS}', 'onclick="return false;" title="Hey! A button that doesn\'t do anything. Clever..." accesskey="a"', $tplvars['toolbar_button']);
+    $t = str_replace('{FLAGS}', 'onclick="return false;" class="current" title="Hey! A button that doesn\'t do anything. Clever..." accesskey="a"', $tplvars['toolbar_button']);
     $t = str_replace('{HREF}', '#', $t);
     $t = str_replace('{TEXT}', $ns, $t);
     $tb .= $t;