1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Fill news fields with new submitted data.

This commit is contained in:
Cameron
2016-08-15 10:06:44 -07:00
parent a35bde2526
commit 7b6f30e6e4
2 changed files with 42 additions and 2 deletions

View File

@@ -385,7 +385,9 @@ class submitNewsForm extends e_form
for($i = 0; $i <8; $i++)
{
$help = (isset($placeholders[$i])) ? $placeholders[$i] : '';
$text .= "<div class='form-group'>";
$text .= $this->text('submitnews_media['.$i.']', $_POST['submitnews_media'][$i], 255, array('placeholder'=>$help) );
$text .= "</div>";
}
return $text;