[geeklog-cvs] Geeklog-1.x/public_html/admin story.php,1.269,1.270

Michael Jervis mjervis at qs1489.pair.com
Sat Sep 13 03:26:46 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin
In directory qs1489.pair.com:/tmp/cvs-serv74614/public_html/admin

Modified Files:
	story.php 
Log Message:
Issues previewing stories from submissions.

Index: story.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/story.php,v
retrieving revision 1.269
retrieving revision 1.270
diff -C2 -d -r1.269 -r1.270
*** story.php	7 Jun 2008 12:41:44 -0000	1.269
--- story.php	13 Sep 2008 07:26:43 -0000	1.270
***************
*** 383,387 ****
                                     sprintf ($delbutton, ''));
      }
!     if ($mode == 'editsubmission') {
          $story_templates->set_var ('submission_option',
                  '<input type="hidden" name="type" value="submission"' . XHTML . '>');
--- 383,387 ----
                                     sprintf ($delbutton, ''));
      }
!     if (($mode == 'editsubmission') || ($story->type == 'submission')) {
          $story_templates->set_var ('submission_option',
                  '<input type="hidden" name="type" value="submission"' . XHTML . '>');




More information about the geeklog-cvs mailing list