Skip to content

Commit

Permalink
Issue #4918 Missing LANs.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Dec 14, 2022
1 parent 8e813f8 commit 3f73b9c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions e107_plugins/faqs/faqs.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
}
else
{
$message = FAQ_ADLAN_30;
$message = LAN_REQUIRED_BLANK;
}
$id = $_POST['faq_parent'];
}
Expand All @@ -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;
}
}

Expand Down Expand Up @@ -697,7 +697,7 @@ function add_faq($action, $id, $idx)
<td style='width:70%' class='forumheader3'>".($rw['faq_question'] ? $tp->toHTML($rw['faq_question']) : "[".NWSLAN_42."]")."</td>
<td style='width:30%; text-align:center' class='forumheader3'>
".$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 .= "</td>
</tr>";
Expand Down Expand Up @@ -725,7 +725,7 @@ function add_faq($action, $id, $idx)

$text .= "
<tr>
<td class='forumheader3' style=\"width:20%\">".FAQ_ADLAN_78."</td>
<td class='forumheader3' style=\"width:20%\">".LAN_CATEGORY."</td>
<td class='forumheader3' style=\"width:80%\">";

$text .= "<select style='width:150px' class='tbox' id='faq_parent' name='faq_parent' >";
Expand Down

0 comments on commit 3f73b9c

Please sign in to comment.