<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../css/reset-fonts.css"> <link rel="stylesheet" type="text/css" href="../css/common.css"> <?php if (LocaleManager::getInstance()->isRtl()) { ?> <link rel="stylesheet" type="text/css" href="../css/common_rtl.css"> <?php } ?> <title>Carpool CMS</title> </head> <body> <div id="bd"> <?php echo View_Navbar::buildNavbar(AuthHandler::isLoggedIn()); echo View_Header::render(_('Carpool CMS')); ?> <div id="content"> <h2><?php echo _('Questions and Answers editor'); ?> </h2> <form id="qaDataForm" action="translations.php" method="post"> <table style="width: 100%" summary="<?php echo _('Edit existing translations'); ?> "> <tr> <th> <span><?php
<?php include "env.php"; include APP_PATH . "/Bootstrap.php"; $contact = null; $ref = Utils::getParam('ref'); if (AuthHandler::isLoggedIn()) { AuthHandler::logout(); info('Contact ' . AuthHandler::getLoggedInUserId() . ' logged out'); GlobalMessage::setGlobalMessage(_('Goodbye!')); } else { warn('User tried to logout without being logged in'); } if ($ref) { // The redirect method is only redirecting to internal pages Utils::redirect($ref); } else { Utils::redirect('index.php'); }