. #------------------------------ # $Revision: 2643 $ # $Author: al $ # $Date: 2009-06-18 19:06:27 -0400 (Thu, 18 Jun 2009) $ #------------------------------ require_once( 'core.php' ); $t_core_path = config_get( 'core_path' ); require_once( $t_core_path.'news_api.php' ); require_once( $t_core_path.'string_api.php' ); $f_news_id = gpc_get_int( 'news_id' ); $f_action = gpc_get_string( 'action', '' ); # If deleting item redirect to delete script if ( 'delete' == $f_action ) { require_once( 'news_delete.php' ); exit; } # Retrieve news item data and prefix with v_ $row = news_get_row( $f_news_id ); if ( $row ) { extract( $row, EXTR_PREFIX_ALL, 'v' ); } access_ensure_project_level( config_get( 'manage_news_threshold' ), $v_project_id ); $v_headline = string_attribute( $v_headline ); $v_body = string_textarea( $v_body ); html_page_top1( lang_get( 'edit_news_title' ) ); html_page_top2(); ?>
*:
*:
:
:
/>
:
*