1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Fixes to submitnews UI frontend (also tagwords notes)

This commit is contained in:
Moc
2013-06-24 19:17:22 +02:00
parent 451e044078
commit 76b8384a71
2 changed files with 12 additions and 3 deletions

View File

@@ -313,7 +313,7 @@ class tagwords
$insert_diff = array_diff($new, $existing);
$count = 0;
// print_a($insert_diff);
return ("Tagword Insert: ".print_a($new,true));
return ("Tagword Insert: ".print_a($new,true)); // FIXME
foreach($insert_diff as $word)
{
@@ -328,7 +328,7 @@ class tagwords
return "a Diff was made";
}
return "<br />".LAN_TAG_3.": ".$count." words.";
return "<br />".LAN_TAG_3.": ".$count." words."; // FIXME
}
/*

View File

@@ -183,8 +183,16 @@ $text .= "
<td style='width:80%' class='forumheader3'>
<input class='tbox' type='text' id='submitnews_title' name='submitnews_title' size='60' value='".$tp->toHTML(vartrue($_POST['submitnews_title']),TRUE,'USER_TITLE')."' maxlength='200' style='width:90%' />
</td>
</tr>";
</tr>
<tr>
<td style='width:20%' class='forumheader3'>".LAN_135."</td>
<td style='width:80%' class='forumheader3'>
".e107::getForm()->bbarea('submitnews_item', $tp->toForm(vartrue($_POST['submitnews_item'])))."
</td>
</tr>
";
/*
if (e_WYSIWYG)
{
$insertjs = "rows='25'";
@@ -210,6 +218,7 @@ if (!e_WYSIWYG)
$text .= "
</td>
</tr>";
*/
if ($pref['subnews_attach'] && $pref['upload_enabled'] && check_class($pref['upload_class']) && FILE_UPLOADS)
{