diff showajax.php @ 1120:b2bca5f6d0ff default tip

Cosmetic cleanup: remove trailing whitespace.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 13 Dec 2020 13:47:13 +0200
parents 0a2117349f46
children
line wrap: on
line diff
--- a/showajax.php	Mon Oct 14 10:54:32 2019 +0300
+++ b/showajax.php	Sun Dec 13 13:47:13 2020 +0200
@@ -11,8 +11,8 @@
 function stPrintCompoEntry($entry, $class, $compo, $title = FALSE)
 {
   echo
-  "  <div class=\"".$class."\">\n"; 
-  
+  "  <div class=\"".$class."\">\n";
+
   if ($title !== FALSE)
   echo
   "    <div class=\"entryTitle\">".$title."</div>\n";
@@ -46,10 +46,10 @@
 
   if ($entry === FALSE && $prev === FALSE)
     echo "<div class=\"compoStarting\">... Is about to start ...</div>";
-  
+
   if ($entry !== FALSE)
     stPrintCompoEntry($entry, "compoNext", $compo, FALSE);
-  
+
   if ($prev !== FALSE)
     stPrintCompoEntry($prev, "compoPrev", $compo, "Previous entry");
 }
@@ -119,7 +119,7 @@
     // Rotation / normal slide show mode
     //
     stSetDisplayVar("activeSlideMode", SMODE_ROTATE);
-    
+
     if (stGetDisplayVar("rotateList") == 0)
     {
       stSetDisplayVar("rotateList", 1);
@@ -142,7 +142,7 @@
         $slides = array();
         foreach ($slideList as $slide)
           $slides[] = $slide;
-        
+
         $index = stGetDisplayVar("rotateListIndex");
         if (count($slides) > $index)
         {
@@ -158,12 +158,12 @@
         // Rotate to next slide
         if (++$index >= count($slides))
           $index = 0;
-        
+
         stSetDisplayVar("rotateListIndex", $index);
       }
     }
     break;
-  
+
   case SMODE_COMPO:
     //
     // Competition mode, is controlled from admin UI, so we donẗ
@@ -232,7 +232,7 @@
             else
               stGuruMeditation();
             break;
-          
+
           case SMODE_COMPO:
             // Competition mode, show entry data
             $compo_id = stGetDisplayVar("compoID");
@@ -259,7 +259,7 @@
             break;
         }
         break;
-      
+
       default:
         stGuruMeditation();
         break;