diff --git a/app/phrases/phrase_edit.php b/app/phrases/phrase_edit.php index 50be202571..04bb99f439 100644 --- a/app/phrases/phrase_edit.php +++ b/app/phrases/phrase_edit.php @@ -265,10 +265,10 @@ $object = new token; $token = $object->create($_SERVER['PHP_SELF']); -//show the header - require_once "resources/header.php"; +//include the header if ($action == 'add') { $document['title'] = $text['title-add_phrase']; } if ($action == 'update') { $document['title'] = $text['title-edit_phrase']; } + require_once "resources/header.php"; //js to control action form input echo "\n"; //show the content - echo "