update contact admin
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 16 Jul 2014 20:37:29 +0000 (16:37 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 16 Jul 2014 20:37:29 +0000 (16:37 -0400)
for searching in contacts

admin/Contact/contact_setup.inc
admin/Contact/index.phtml

index 943b553..c59784f 100755 (executable)
@@ -460,19 +460,19 @@ $DB_fields[] = array( 'name' => "alt_phone",       'title' => "Alternate Phone",
 $DB_fields[] = array("name" => "fax",           "title" => "Fax",           "type" => "text");
 $DB_fields[] = array("name" => "email",         "title" => "Email",         "type" => "text");
 $DB_fields[] = array("name" => "mail_ok",       "title" => "Mail Ok?",      "type" => "radio");
-$DB_fields[] = array( 'name' => "arrival",         'title' => "Arrival",           'type' => "text");
-$DB_fields[] = array( 'name' => "departure",       'title' => "Departure",         'type' => "text");
-$DB_fields[] = array( 'name' => "golfers",         'title' => "Golfers",           'type' => "text");
-$DB_fields[] = array( 'name' => "nongolfers",      'title' => "Non Golfers",       'type' => "text");
-$DB_fields[] = array( 'name' => "pquote",          'title' => "From Price Quote",  'type' => "radio");
-$DB_fields[] = array( 'name' => "lodging",         'title' => "Lodging",           'type' => "drop",   'drop' => $lodging);
-$DB_fields[] = array( 'name' => "couples",         'title' => "Couples",           'type' => "text");
-$DB_fields[] = array( 'name' => "singles",         'title' => "Singles",           'type' => "text");
-$DB_fields[] = array( 'name' => "bathrooms",       'title' => "Bathrooms",         'type' => "text");
-$DB_fields[] = array( 'name' => "rooms",           'title' => "Rooms",             'type' => "text");
-$DB_fields[] = array( 'name' => "beds",            'title' => "Beds",              'type' => "text");
-$DB_fields[] = array( 'name' => "twinok",          'title' => "Twin Ok",           'type' => "radio");
-$DB_fields[] = array( 'name' => "sleepersofaok",   'title' => "Sleeper Sofa Ok",   'type' => "radio");
+//$DB_fields[] = array( 'name' => "arrival",         'title' => "Arrival",           'type' => "text");
+//$DB_fields[] = array( 'name' => "departure",       'title' => "Departure",         'type' => "text");
+//$DB_fields[] = array( 'name' => "golfers",         'title' => "Golfers",           'type' => "text");
+//$DB_fields[] = array( 'name' => "nongolfers",      'title' => "Non Golfers",       'type' => "text");
+//$DB_fields[] = array( 'name' => "pquote",          'title' => "From Price Quote",  'type' => "radio");
+//$DB_fields[] = array( 'name' => "lodging",         'title' => "Lodging",           'type' => "drop",   'drop' => $lodging);
+//$DB_fields[] = array( 'name' => "couples",         'title' => "Couples",           'type' => "text");
+//$DB_fields[] = array( 'name' => "singles",         'title' => "Singles",           'type' => "text");
+//$DB_fields[] = array( 'name' => "bathrooms",       'title' => "Bathrooms",         'type' => "text");
+//$DB_fields[] = array( 'name' => "rooms",           'title' => "Rooms",             'type' => "text");
+//$DB_fields[] = array( 'name' => "beds",            'title' => "Beds",              'type' => "text");
+//$DB_fields[] = array( 'name' => "twinok",          'title' => "Twin Ok",           'type' => "radio");
+//$DB_fields[] = array( 'name' => "sleepersofaok",   'title' => "Sleeper Sofa Ok",   'type' => "radio");
 $DB_fields[] = array( 'name' => "comments",        'title' => "Comments",          'type' => "textarea");
 $DB_fields[] = array( 'name' => "discover",        'title' => "Discover Big Fore", 'type' => "drop",   'drop' => $discover);
 
index bf718f1..58924fa 100755 (executable)
@@ -144,17 +144,6 @@ GLM_TOOLBOX::html_nav_table($nav,$navWidth);
     <option value="<?php echo $key2?>" <?php echo (strstr($fvalue,$key2))?"selected":""?>><?php echo $value2?>
     <?php }?>
     </select>
-    <br>
-    <label for="in-all"><input type="radio" id="in-all" name="a" onClick="
-    for(var i=0;i<<?php echo count($fields)?>;i++) {
-        this.form.ifields.options[i].selected=1;
-    }
-    ">All</label>
-    <label for="in-none"><input type="radio" id="in-none" name="a" onClick="
-    for(var i=0;i<<?php echo count($fields)?>;i++) {
-        this.form.ifields.options[i].selected=0;
-    }
-    ">None</label>
     </td>
     <td valign=top class="small" nowrap>
       <b>Search Where:</b><br>