gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/developer diary.php, 1.8, 1.9 index.php, 1.


From: tperdue
Subject: [Gforge-commits] gforge/www/developer diary.php, 1.8, 1.9 index.php, 1.1.1.2, 1.2 monitor.php, 1.6, 1.7 rate.php, 1.6, 1.7
Date: Fri, 27 Aug 2004 14:11:42 -0500

Update of /cvsroot/gforge/gforge/www/developer
In directory db.perdue.net:/home/tperdue/share/dev.gforge.org/www/developer

Modified Files:
        diary.php index.php monitor.php rate.php 
Log Message:
fixing titles, licenses, exit_assert calls

Index: diary.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/developer/diary.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- diary.php   9 Feb 2003 23:37:20 -0000       1.8
+++ diary.php   27 Aug 2004 19:11:40 -0000      1.9
@@ -1,16 +1,27 @@
 <?php
 /**
-  *
-  * SourceForge Developer's Page
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  * @version   $Id$
-  *
-  */
-
+ * GForge Developer's Diary Page
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ *
+ * @version   $Id$
+ *
+ * This file is part of GForge.
+ *
+ * GForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+ */
 
 require_once('pre.php');
 require_once('vote_function.php');

Index: index.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/developer/index.php,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -d -r1.1.1.2 -r1.2
--- index.php   1 Nov 2001 19:19:15 -0000       1.1.1.2
+++ index.php   27 Aug 2004 19:11:40 -0000      1.2
@@ -1,15 +1,27 @@
 <?php
 /**
-  *
-  * SourceForge Developer's Page
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  * @version   $Id$
-  *
-  */
+ * GForge Developer's Page
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ *
+ * @version   $Id$
+ *
+ * This file is part of GForge.
+ *
+ * GForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+ */
 
 
 /*

Index: monitor.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/developer/monitor.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- monitor.php 21 Jan 2003 08:46:29 -0000      1.6
+++ monitor.php 27 Aug 2004 19:11:40 -0000      1.7
@@ -1,20 +1,36 @@
 <?php
 /**
-  *
-  * SourceForge Developer's Page
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  * @version   $Id$
-  *
-  */
+ * GForge Monitor Diary Page
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ *
+ * @version   $Id$
+ *
+ * This file is part of GForge.
+ *
+ * GForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+ */
 
 
 require_once('pre.php');
 
-if (session_loggedin()) {
+if (!session_loggedin()) {
+
+       exit_not_logged_in();
+
+} else {
        /*
                User obviously has to be logged in to monitor
        */
@@ -67,8 +83,6 @@
                $HTML->footer (array());
        } 
 
-} else {
-       exit_not_logged_in();
 }
 
 ?>

Index: rate.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/developer/rate.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- rate.php    21 Jan 2003 08:48:05 -0000      1.6
+++ rate.php    27 Aug 2004 19:11:40 -0000      1.7
@@ -1,28 +1,43 @@
 <?php
 /**
-  *
-  * SourceForge Developer's Page
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  * @version   $Id$
-  *
-  */
-
+ * GForge rate user page
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ *
+ * @version   $Id$
+ *
+ * This file is part of GForge.
+ *
+ * GForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+ */
 
 require_once('pre.php');
 require_once('vote_function.php');
 
 if (session_loggedin()) {
 
-       $me = session_get_user();
+       exit_not_logged_in();
+
+} else {
+
+       $me =& session_get_user();
        if (!$me->usesRatings()) {
                exit_error(
                        $Language->getText('developer_rate','turned_off_title'),
                        $Language->getText('developer_rate','turned_off_body')
-                       );
+               );
        }
 
        $ruser = $me->getID();
@@ -59,7 +74,6 @@
                        }
                }
        } else {
-               global $G_SESSION;
                
exit_error($Language->getText('general','error'),$Language->getText('developer_rate','cannot_rate_yourself'));
        }
 
@@ -72,8 +86,6 @@
 
        echo $HTML->footer(array());
 
-} else {
-       exit_not_logged_in();
 }
 
 ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]