Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#607 Patches for upcoming.php v 1.82.2.16

open
nobody
5
2013-10-11
2013-10-10
DSJones
No

$Id: upcoming.php,v 1.82.2.16 2013/01/24 21:10:20 cknudsen Exp $
Fix generated html for Private & Confidential entries

diff --git a/upcoming.php b/upcoming.php
index 2ef0500..d1b4363 100644
--- a/upcoming.php
+++ b/upcoming.php
@@ -203,7 +203,7 @@ function print_upcoming_event ( $e, $date ) {
} else {
echo '' . htmlspecialchars ( $e->getName () ) . '';
}
- if ( $display_link && ! empty ( $SERVER_URL ) && ! $private ) {
+ if ( $display_link && ! empty ( $SERVER_URL ) && ! $private && ! $confidential ) {
echo '';
}

@@ -235,7 +235,8 @@ function print_upcoming_event ( $e, $date ) {
}
}

  • echo "\n";
  • if ( $display_link && ! empty ( $SERVER_URL ) && ! $private && ! $confidential )
  • echo "\n";

} //end function

Discussion

  • DSJones
    DSJones
    2013-10-11

    the last bit should be

    -echo "\n";
    +if ( $display_link && ! empty ( $SERVER_URL ) && ! $private && ! $confidential )
    + echo "\n";

     
    Last edit: DSJones 2013-10-11