diff --git a/e107_plugins/faqs/faqs.php b/e107_plugins/faqs/faqs.php index bdeee5ab5b..90e3c96c21 100644 --- a/e107_plugins/faqs/faqs.php +++ b/e107_plugins/faqs/faqs.php @@ -89,7 +89,7 @@ } else { - $message = FAQ_ADLAN_30; + $message = LAN_REQUIRED_BLANK; } $id = $_POST['faq_parent']; } @@ -103,13 +103,13 @@ $sql->update("faqs", "faq_parent='".intval($_POST['faq_parent'])."', faq_question ='$faq_question', faq_answer='$data', faq_comment='".$_POST['faq_comment']."' WHERE faq_id='".$idx."' "); - $message = FAQ_ADLAN_29; + $message = LAN_UPDATED; unset($faq_question, $data); } else { - $message = FAQ_ADLAN_30; + $message = LAN_REQUIRED_BLANK; } } @@ -697,7 +697,7 @@ function add_faq($action, $id, $idx) ".($rw['faq_question'] ? $tp->toHTML($rw['faq_question']) : "[".NWSLAN_42."]")." - ".$rs->form_button("submit", "entry_edit_{$rw['faq_id']}", FAQ_ADLAN_45, "onclick=\"document.location='".e_SELF."?edit.".$id.".".$rw['faq_id'].".'\""); + ".$rs->form_button("submit", "entry_edit_{$rw['faq_id']}", LAN_EDIT, "onclick=\"document.location='".e_SELF."?edit.".$id.".".$rw['faq_id'].".'\""); // $text .= $rs -> form_button("submit", "entry_delete", FAQ_ADLAN_50, "onclick=\"document.location='".e_SELF."?delentry.$id.$pfaq_id'\"")." $text .= " "; @@ -725,7 +725,7 @@ function add_faq($action, $id, $idx) $text .= " - ".FAQ_ADLAN_78." + ".LAN_CATEGORY." "; $text .= "