[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.145,1.146

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sun Feb 6 05:57:50 EST 2005


Update of /var/cvs/geeklog-1.3/public_html/admin
In directory www:/tmp/cvs-serv22426/public_html/admin

Modified Files:
	story.php 
Log Message:
Hide 'edit' option for articles in preview (bug #347)


Index: story.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.145
retrieving revision 1.146
diff -C2 -d -r1.145 -r1.146
*** story.php	30 Jan 2005 13:51:10 -0000	1.145
--- story.php	6 Feb 2005 10:57:48 -0000	1.146
***************
*** 133,137 ****
              $display .= $LANG24[41];
              $display .= COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
!             $display .= STORY_renderArticle ($A, 'n');
              COM_accessLog("User {$_USER['username']} tried to illegally edit story $sid.");
              return $display;
--- 133,137 ----
              $display .= $LANG24[41];
              $display .= COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
!             $display .= STORY_renderArticle ($A, 'p');
              COM_accessLog("User {$_USER['username']} tried to illegally edit story $sid.");
              return $display;
***************
*** 288,294 ****
              }
  
!             $display .= STORY_renderArticle ($B, 'n');
          } else {
!             $display .= STORY_renderArticle ($A, 'n');
          }
          $display .= COM_endBlock (COM_getBlockTemplate ('_admin_block', 'footer'));
--- 288,294 ----
              }
  
!             $display .= STORY_renderArticle ($B, 'p');
          } else {
!             $display .= STORY_renderArticle ($A, 'p');
          }
          $display .= COM_endBlock (COM_getBlockTemplate ('_admin_block', 'footer'));




More information about the geeklog-cvs mailing list