changeset 496:924eb55a98b6

Show "competition is starting" type text if no entries are set currently.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 07 Dec 2013 16:29:29 +0200
parents 87d8f05fcf77
children 570120074b3c
files showajax.php
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/showajax.php	Sat Dec 07 16:29:01 2013 +0200
+++ b/showajax.php	Sat Dec 07 16:29:29 2013 +0200
@@ -41,7 +41,12 @@
   echo
   "  <div class=\"compoHeader\">\n".
   "    <img src=\"img/fapsm.png\" /><br />\n".
-  "    <div class=\"compoTitle\">".chentities($compo["name"])." competition</div>\n".
+  "    <div class=\"compoTitle\">".chentities($compo["name"])." competition</div>\n";
+  
+  if ($entry === false && $prev === false)
+    echo "<h1>... Is starting ...</h1>";
+
+  echo
   "  </div>\n";
   
   if ($entry !== false)