return $ret;
}
//
-function IMG_CODE ($code, $TYPE, $DATA, $uid)
+function IMG_CODE ($code, $type, $DATA, $uid)
{
- return "<IMG border=\"0\" alt=\"Code\" src=\"".URL."/mailid_top.php?uid=".$uid."&".$TYPE."=".$DATA."&mode=img&code=".$code."\">";
+ return "<IMG border=\"0\" alt=\"Code\" src=\"".URL."/mailid_top.php?uid=".$uid."&".$type."=".$DATA."&mode=img&code=".$code."\">";
}
//
function TRANSLATE_STATUS($status)
$array = $dummy;
}
//
-function ADD_SELECTION($TYPE, $DEFAULT, $PREFIX="", $id="0")
+function ADD_SELECTION($type, $DEFAULT, $PREFIX="", $id="0")
{
global $MONTH_DESCR; $OUT = "";
- if ($TYPE == "yn")
+ if ($type == "yn")
{
// This is a yes/no selection only!
if ($id > 0) $PREFIX .= "[".$id."]";
{
// Begin with regular selection box here
if (!empty($PREFIX)) $PREFIX .= "_";
- $TYPE2 = $TYPE;
- if ($id > 0) $TYPE2 .= "[".$id."]";
- $OUT .= " <SELECT name=\"".strtolower($PREFIX.$TYPE2)."\" class=\"register_select\" size=\"1\">\n";
+ $type2 = $type;
+ if ($id > 0) $type2 .= "[".$id."]";
+ $OUT .= " <SELECT name=\"".strtolower($PREFIX.$type2)."\" class=\"register_select\" size=\"1\">\n";
}
- switch ($TYPE)
+ switch ($type)
{
case "day": // Day
for ($idx = 1; $idx < 32; $idx++)