mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 20:28:28 +01:00
Update submitnews.php
Add lang codes.
This commit is contained in:
parent
c10a261d15
commit
ad7a5507fe
@ -307,10 +307,10 @@ class submitNews
|
||||
submitnews_media text NOT NULL,
|
||||
*/
|
||||
$fields = array();
|
||||
$fields['submitnews_keywords'] = array('title'=>"Keywords", 'type'=>'tags');
|
||||
$fields['submitnews_summary'] = array('title'=>'Summary', 'type'=>'text', 'writeParms'=>array('maxlength'=>255, 'size'=>'xxlarge'));
|
||||
$fields['submitnews_description'] = array('title'=>'Meta Description', 'type'=>'textarea','writeParms'=>array('placeholder'=>'Used by Facebook etc.'));
|
||||
$fields['submitnews_media'] = array('title'=>'Media URLs', 'type'=>'method', 'method'=>'submitNewsForm::submitnews_media');
|
||||
$fields['submitnews_keywords'] = array('title'=>SUBNEWSLAN_9, 'type'=>'tags');
|
||||
$fields['submitnews_summary'] = array('title'=>SUBNEWSLAN_10, 'type'=>'text', 'writeParms'=>array('maxlength'=>255, 'size'=>'xxlarge'));
|
||||
$fields['submitnews_description'] = array('title'=>SUBNEWSLAN_11, 'type'=>'textarea','writeParms'=>array('placeholder'=>SUBNEWSLAN_12));
|
||||
$fields['submitnews_media'] = array('title'=>SUBNEWSLAN_13, 'type'=>'method', 'method'=>'submitNewsForm::submitnews_media');
|
||||
|
||||
|
||||
foreach($fields as $key=>$fld)
|
||||
@ -411,4 +411,4 @@ require_once(FOOTERF);
|
||||
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user