You should have received a copy of the GNU General Public License
along with GLPI; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file:
// ----------------------------------------------------------------------
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
checkRight("config", 'r');
if (isset($_POST['id']) && $_POST['id'] > 0) {
    if (!isset($_REQUEST['glpi_tab'])) {
        exit;
    }
    $translation = new NotificationTemplateTranslation();
    $translation->getFromDB($_POST['id']);
    switch ($_REQUEST['glpi_tab']) {
        case 12:
            Log::showForItem($translation);
            break;
        default:
            if (!Plugin::displayAction($translation, $_REQUEST['glpi_tab'])) {
            }
    }
}
ajaxFooter();