. */ if (!defined('txpinterface')) { die('txpinterface is undefined.'); } class classic_theme extends \Textpattern\Admin\Theme { function html_head() { $out[] = ''; $out[] = ''; $out[] = ''; $out[] = ''; return join(n, $out); } function header() { global $txp_user; $out[] = '
'; $out[] = hed('Textpattern', 1, ' class="txp-branding"'); $out[] = hed(htmlspecialchars(get_pref('sitename')), 2, ' class="txp-accessibility"'); $out[] = navPop(1); $out[] = '
'; if ($txp_user) { if (!$this->is_popup) { $out[] = ''; } } return join(n, $out); } function footer() { global $txp_user; $out[] = href('Textpattern CMS'.sp.span(gTxt('opens_external_link'), array('class' => 'ui-icon ui-icon-extlink')), 'https://textpattern.com', array( 'class' => 'mothership', 'rel' => 'external noopener', 'target' => '_blank', )). n.'('.txp_version.')'. n.span('·', array('role' => 'separator')). n.gTxt('logged_in_as'). n.span(txpspecialchars($txp_user), array('class' => 'txp-username')). n.span('·', array('role' => 'separator')). n.href(gTxt('logout'), 'index.php?logout=1', array( 'class' => 'txp-logout', 'onclick' => 'return verify(\''.gTxt('are_you_sure').'\')', )); return join(n, $out); } }