Update of /cvsroot/phpslash/phpslash-dev/include/modules/story
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29851/phpslash-dev/include/modules/story
Modified Files:
Story_admin.class
Log Message:
story options for New Stories. Add bloggers to user group
Index: Story_admin.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/story/Story_admin.class,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Story_admin.class 19 Oct 2004 15:26:26 -0000 1.6
--- Story_admin.class 23 Oct 2004 17:20:02 -0000 1.7
***************
*** 642,645 ****
--- 642,647 ----
$this->template->set_block("newstory","second_row","second_rows");
$this->template->set_block("newstory","datetimeset_row","datetimeset_rows");
+
+ $temparray = '';
if ($data_source == "array") { /* this is what happens during a preview */
***************
*** 756,762 ****
}
- $options = displayOptions('story', $this->template, "newstory", '');
- $this->template->set_var('OPTIONS', $options);
-
$topic_ary = array();
if(array_key_exists('topic_id_ary', $ary)) {
--- 758,761 ----
***************
*** 924,934 ****
}
}
-
- $temparray = '';
- if(@array_key_exists('story_options', $this->db->Record)) {
- $temparray = unserialize($this->db->Record['story_options']);
- }
-
$this->template->set_var(array(
'ACTION_URL' => "storyAdmin.php",
--- 923,930 ----
}
+ if(@array_key_exists('story_options', $this->db->Record)) {
+ $temparray = unserialize($this->db->Record['story_options']);
+ }
}
$this->template->set_var(array(
'ACTION_URL' => "storyAdmin.php",
|