2006-12-02 04:36:16 +00:00
< ? php
/*
2009-11-17 11:13:05 +00:00
* e107 website system
*
2009-11-18 01:06:08 +00:00
* Copyright ( C ) 2008 - 2009 e107 Inc ( e107 . org )
2009-11-17 11:13:05 +00:00
* Released under the terms and conditions of the
* GNU General Public License ( http :// www . gnu . org / licenses / gpl . txt )
*
*
*
* $Source : / cvs_backup / e107_0 . 8 / e107_languages / English / admin / help / newspost . php , v $
2010-02-10 18:18:01 +00:00
* $Revision $
* $Date $
* $Author $
2009-11-17 11:13:05 +00:00
*/
2006-12-02 04:36:16 +00:00
if ( ! defined ( 'e107_INIT' )) { exit ; }
$caption = " Newspost Help " ;
2016-02-13 12:57:34 -08:00
$action = varset ( $_GET [ 'action' ]);
2008-06-16 21:10:14 +00:00
switch ( $action )
{
case 'create' :
$text = " <b>General</b><br />
2006-12-02 04:36:16 +00:00
Body will be displayed on the main page ; extended will be readable by clicking a 'Read More' link .
< br />
< br />
< b > Show title only </ b >
< br />
Enable this to show the news title only on front page , with clickable link to full story .
< br />< br />
< b > Activation </ b >
< br />
If you set a start and / or end date your news item will only be displayed between these dates .
" ;
2008-06-16 21:10:14 +00:00
break ;
case 'cat' :
$text = " You can separate your news items into different categories, and allow visitors to display only the news items in those categories. <br /><br />Upload your news icon images into either " . e_THEME . " -yourtheme-/images/ or themes/shared/newsicons/. " ;
break ;
case 'pref' :
$text = ' Set various news - related options < br />< br />
< b > News Category Columns </ b >< br />
Requires theme support to be selectable < br />< br />
< b > News posts to display per page </ b >< br />
For the main news page ; displays items in unextended format .< br />< br />
< b > News posts to display in archive </ b >< br />
Sets the number of news posts which are displayed as title only on each news page ( included in the previous total ) .< br />< br />
< b > Enable WYSIWYG editor </ b >< br />
Requires that users who can submit news can also post HTML .
' ;
break ;
case 'list' :
default :
$text = ' List of all news items . To edit or delete , click on one of the icons in the \ ' options\ ' column . To view the item , click
on the title . ' ;
}
2006-12-02 04:36:16 +00:00
$ns -> tablerender ( $caption , $text );