--- story.php 2004-06-01 22:17:53.000000000 +1000 +++ /var/www/html/geeklog/public_html/admin/story.php 2004-10-04 16:33:44.000000000 +1000 @@ -397,7 +397,11 @@ $story_templates->set_var('lang_preview', $LANG24[9]); $story_templates->set_var('lang_cancel', $LANG24[10]); $story_templates->set_var('lang_delete', $LANG24[11]); + + PLG_storyVariablesEdit($sid, &$story_templates); $story_templates->parse('output','editor'); + + $display .= $story_templates->finish($story_templates->get_var('output')); $display .= COM_endBlock (COM_getBlockTemplate ('_admin_block', 'footer')); @@ -1099,6 +1103,7 @@ } $unixdate = strtotime("$publish_month/$publish_day/$publish_year $publish_hour:$publish_minute:$publish_second"); submitstory($type,$sid,$uid,$tid,$title,$introtext,$bodytext,$hits,$unixdate,$comments,$featured,$commentcode,$statuscode,$postmode,$frontpage, $draft_flag,$numemails,$owner_id,$group_id,$perm_owner,$perm_group,$perm_members,$perm_anon,$delete,$show_topic_icon); + PLG_storyExtrasSave (); } else { // 'cancel' or no mode at all if (($mode == $LANG24[10]) && !empty ($LANG24[10]) && ($type == 'submission')) {