HTML->XHTML preparation (still *A LOT* to convert
[mailer.git] / inc / libs / rallye_functions.php
index 08e8cf341bb85762b7863687eec7111e746e4256..c6ad2db0051b3fa74dd5c17d1ae7ffd089e5accb 100644 (file)
@@ -249,14 +249,14 @@ LIMIT 1", array(bigintval($uid), getConfig('ref_payout')), __FILE__, __LINE__);
                $OUT .= "<TR>
   <TD class=\"switch_sw".$SW." bottom2\">&nbsp;&nbsp;".($idx+1).".</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2\">";
                $OUT .= "<TR>
   <TD class=\"switch_sw".$SW." bottom2\">&nbsp;&nbsp;".($idx+1).".</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2\">";
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['uid'][$idx];
                $OUT .= $DATA['uid'][$idx];
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";
                $OUT .= "</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2\">";
                $OUT .= "</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2\">";
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['ref'][$idx];
                $OUT .= $DATA['ref'][$idx];
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";
                $OUT .= "</TD>
 </TR>\n";
                $SW = 3 - $SW;
                $OUT .= "</TD>
 </TR>\n";
                $SW = 3 - $SW;
@@ -623,19 +623,19 @@ function RALLYE_LIST_WINNERS ($rallye, $default=0) {
                $OUT .= "<TR>
   <TD class=\"switch_sw".$SW." bottom2".$ADD."\">&nbsp;&nbsp;".($idx+1).".</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2".$ADD."\">";
                $OUT .= "<TR>
   <TD class=\"switch_sw".$SW." bottom2".$ADD."\">&nbsp;&nbsp;".($idx+1).".</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2".$ADD."\">";
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['uid'][$idx];
                $OUT .= $DATA['uid'][$idx];
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";
                $OUT .= "</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2".$ADD."\">";
                $OUT .= "</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2".$ADD."\">";
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['ref'][$idx];
                $OUT .= $DATA['ref'][$idx];
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";
                $OUT .= "</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2".$ADD."\">";
                $OUT .= "</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2".$ADD."\">";
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['infos'][$idx];
                $OUT .= $DATA['infos'][$idx];
-               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</STRONG>";
+               if (($DATA['uid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";
                $OUT .= "</TD>
 </TR>\n";
                $SW = 3 - $SW;
                $OUT .= "</TD>
 </TR>\n";
                $SW = 3 - $SW;
@@ -717,15 +717,15 @@ function RALLYE_TEMPLATE_SELECTION($name="template", $default="")
        if (!empty($ral[0]))
        {
                // Generate selection box for all found templates
        if (!empty($ral[0]))
        {
                // Generate selection box for all found templates
-               $OUT  = "<SELECT name=\"".$name."\" size=\"1\" class=\"admin_select\">
-  <OPTION value=\"\">".SELECT_NONE."</OPTION>\n";
+               $OUT  = "<select name=\"".$name."\" size=\"1\" class=\"admin_select\">
+  <option value=\"\">".SELECT_NONE."</option>\n";
                foreach ($ral as $rallye)
                {
                foreach ($ral as $rallye)
                {
-                    $OUT .= "  <OPTION value=\"".$rallye."\"";
+                    $OUT .= "  <option value=\"".$rallye."\"";
                        if ($default == $rallye) $OUT .= " selected default";
                        if ($default == $rallye) $OUT .= " selected default";
-                       $OUT .= ">".$rallye."</OPTION>\n";
+                       $OUT .= ">".$rallye."</option>\n";
                }
                }
-               $OUT .= "</SELECT>\n";
+               $OUT .= "</select>\n";
        }
         else
        {
        }
         else
        {
@@ -765,9 +765,9 @@ function RALLYE_GET_REFCOUNT($uid, $old=0) {
                                if ($cnt > 0) break;
                        }
                }
                                if ($cnt > 0) break;
                        }
                }
-               //* DEBUG: */ echo "<PRE>";
+               //* DEBUG: */ echo "<pre>";
                //* DEBUG: */ print_r($cacheArray['refsystem']);
                //* DEBUG: */ print_r($cacheArray['refsystem']);
-               //* DEBUG: */ echo "</PRE>";
+               //* DEBUG: */ echo "</pre>";
                //* DEBUG: */ die();
 
                if ($cnt > 0) {
                //* DEBUG: */ die();
 
                if ($cnt > 0) {