diff msitegen.inc.php @ 675:13ad8e133c22

Rename some functions.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 09 Nov 2014 02:43:34 +0200
parents 3e37a29468bf
children 8104e54bce71
line wrap: on
line diff
--- a/msitegen.inc.php	Sun Nov 09 02:40:54 2014 +0200
+++ b/msitegen.inc.php	Sun Nov 09 02:43:34 2014 +0200
@@ -266,7 +266,7 @@
 }
 
 
-function stGetOptionListStart($id, $indent, $outer, $size = 10, $onChange = "")
+function stGetFormOptionListStart($id, $indent, $outer, $size = 10, $onChange = "")
 {
   return
     ($outer ? $indent."<div id=\"".$id."\">\n" : "").
@@ -276,7 +276,7 @@
 }
 
 
-function stGetOptionListItem($value, $active, $name)
+function stGetFormOptionListItem($value, $active, $name)
 {
   return
     "<option value=\"".$value."\"".
@@ -285,7 +285,7 @@
 }
 
 
-function stGetOptionListEnd($indent, $outer)
+function stGetFormOptionListEnd($indent, $outer)
 {
   return
     $indent."</select>\n".
@@ -293,18 +293,18 @@
 }
 
 
-function stGetOptionListFromArray($id, $indent, $outer, $data, $active, $size = 10, $onChange = "")
+function stGetFormOptionListFromArray($id, $indent, $outer, $data, $active, $size = 10, $onChange = "")
 {
-  $str = stGetOptionListStart($id, $indent, $outer, $size, $onChange);
+  $str = stGetFormOptionListStart($id, $indent, $outer, $size, $onChange);
 
   foreach ($data as $key => $value)
   {
-    $str .= stGetOptionListItem($key,
+    $str .= stGetFormOptionListItem($key,
       ($key == $active),
       is_array($value) ? $value[0] : $value);
   }
 
-  return $str.stGetOptionListEnd($indent, $outer);
+  return $str.stGetFormOptionListEnd($indent, $outer);
 }