[geeklog-cvs] Geeklog-1.x/public_html submit.php,1.121,1.122

Dirk Haun dhaun at qs1489.pair.com
Mon Mar 24 14:36:54 EDT 2008


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

Modified Files:
	submit.php 
Log Message:
Cosmetics


Index: submit.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/submit.php,v
retrieving revision 1.121
retrieving revision 1.122
diff -C2 -d -r1.121 -r1.122
*** submit.php	20 Feb 2008 20:07:58 -0000	1.121
--- submit.php	24 Mar 2008 18:36:52 -0000	1.122
***************
*** 9,13 ****
  // | Let users submit stories and plugin stuff.                                |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2007 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
--- 9,13 ----
  // | Let users submit stories and plugin stuff.                                |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2008 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
***************
*** 35,40 ****
  // $Id$
  
! require_once ('lib-common.php');
! require_once ($_CONF['path_system'] . 'lib-story.php');
  
  // Uncomment the line below if you need to debug the HTTP variables being passed
--- 35,40 ----
  // $Id$
  
! require_once 'lib-common.php';
! require_once $_CONF['path_system'] . 'lib-story.php';
  
  // Uncomment the line below if you need to debug the HTTP variables being passed
***************
*** 80,84 ****
              $loginreq = new Template($_CONF['path_layout'] . 'submit');
              $loginreq->set_file('loginreq', 'submitloginrequired.thtml');
!             $loginreq->set_var( 'xhtml', XHTML );
              $loginreq->set_var('site_url', $_CONF['site_url']);
              $loginreq->set_var('site_admin_url', $_CONF['site_admin_url']);
--- 80,84 ----
              $loginreq = new Template($_CONF['path_layout'] . 'submit');
              $loginreq->set_file('loginreq', 'submitloginrequired.thtml');
!             $loginreq->set_var('xhtml', XHTML);
              $loginreq->set_var('site_url', $_CONF['site_url']);
              $loginreq->set_var('site_admin_url', $_CONF['site_admin_url']);
***************
*** 129,133 ****
          // preview
          $story->loadSubmission();
!             $retval .= COM_startBlock($LANG12[32])
                  . STORY_renderArticle ($story, 'p')
                  . COM_endBlock();
--- 129,133 ----
          // preview
          $story->loadSubmission();
!         $retval .= COM_startBlock($LANG12[32])
                  . STORY_renderArticle ($story, 'p')
                  . COM_endBlock();
***************
*** 162,166 ****
          }
      }
!     $storyform->set_var ( 'xhtml', XHTML );
      $storyform->set_var ('site_url', $_CONF['site_url']);
      $storyform->set_var ('site_admin_url', $_CONF['site_admin_url']);
--- 162,166 ----
          }
      }
!     $storyform->set_var ('xhtml', XHTML);
      $storyform->set_var ('site_url', $_CONF['site_url']);
      $storyform->set_var ('site_admin_url', $_CONF['site_admin_url']);
***************
*** 237,241 ****
          $A['introtext'] = strip_tags ($A['introtext']);
      }
!     $introtext = COM_undoSpecialChars( $story->displayElements('introtext') . '\n' . $story->displayElements('bodytext') );
      $storyauthor = COM_getDisplayName( $story->displayelements('uid') );
      $topic = stripslashes(DB_getItem ($_TABLES['topics'], 'topic',
--- 237,241 ----
          $A['introtext'] = strip_tags ($A['introtext']);
      }
!     $introtext = COM_undoSpecialChars( $story->displayElements('introtext') . "\n" . $story->displayElements('bodytext') );
      $storyauthor = COM_getDisplayName( $story->displayelements('uid') );
      $topic = stripslashes(DB_getItem ($_TABLES['topics'], 'topic',




More information about the geeklog-cvs mailing list