phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/class.boadmin_location.php, 1.1.1.7


From: nomail
Subject: [Phpgroupware-cvs] property/class.boadmin_location.php, 1.1.1.7
Date: Tue, 18 May 2004 08:19:43 +0200

Update of /property
Modified Files:
        Branch: 
          class.boadmin_location.php

date: 2004/05/18 06:19:43;  author: sigurdne;  state: Exp;  lines: +0 -34

Log Message:
no message
=====================================================================
Index: property/class.boadmin_location.php
diff -u property/class.boadmin_location.php:1.1.1.6 
property/class.boadmin_location.php:1.1.1.7
--- property/class.boadmin_location.php:1.1.1.6 Thu Apr 29 12:58:49 2004
+++ property/class.boadmin_location.php Tue May 18 06:19:43 2004
@@ -249,39 +249,5 @@
                        return $location_type_list;
                }
 
-               function select_nullable($selected='')
-               {
-                       $nullable[0]['id']= 'True';
-                       $nullable[0]['name']= lang('True');
-                       $nullable[1]['id']= 'False';
-                       $nullable[1]['name']= lang('False');
-
-                       while (is_array($nullable) && list(,$type) = 
each($nullable))
-                       {
-                               $sel_type = '';
-                               if ($type['id']==$selected)
-                               {
-                                       $sel_type = 'selected';
-                               }
-
-                               $nullable_list[] = array
-                               (
-                                       'id'    => $type['id'],
-                                       'name'          => $type['name'],
-                                       'selected'      => $sel_type
-                               );
-                       }
-
-                       for ($i=0;$i<count($nullable_list);$i++)
-                       {
-                               if ($nullable_list[$i]['selected'] != 
'selected')
-                               {
-                                       unset($nullable_list[$i]['selected']);
-                               }
-                       }
-                       return $nullable_list;
-               }
-
-
        }
 ?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]