For now, don't use autocomplete for resource adding to attendees.inc -
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 8 Sep 2009 16:43:07 +0000 (12:43 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:50 +0000 (16:53 -0400)
we will need the resource's uid.

kronolith/templates/attendees/attendees.inc

index 3a615bd..d347bd8 100644 (file)
@@ -121,24 +121,9 @@ function switchDateView(view, date)
   </td>
 <?php if ($registry->hasMethod('contacts/search')): ?>
   <td align="center"><?php echo Horde::link('#', '', 'widget', null, 'window.open(\'' . Horde::applicationUrl('contacts.php') . '\', \'contacts\', \'toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes,width=550,height=270,left=100,top=100\'); return false;') . Horde::img('addressbook_browse.png') . '<br />' . _("Address Book") . '</a>' ?></td>
-  <td width="100%">&nbsp;</td>
+  <td width="100%"><?php echo _("resources link") ?></td>
 <?php endif; ?>
  </tr>
-
- <!-- Add Resources -->
-  <tr>
-  <td class="rightAlign">&nbsp;<strong><?php $label = empty($editResource) ? _("Add resources") : _("Edit resources"); echo Horde::highlightAccessKey($label, $ak = Horde::getAccessKey($label)) ?></strong></td>
-  <td>
-   <input type="text" id="newResources" name="newResources" autocomplete="off" size="40" <?php if (!empty($ak)) echo 'accesskey="' . $ak . '" '; if (!empty($editResource)) echo 'value="' . htmlspecialchars($editResource) . '" '; ?>/>
-   <span id="newResources_loading_img" style="display:none;"><?php echo Horde::img('loading.gif', _("Loading...")) ?></span>
-   <div id="newResources_results" class="autocomplete"></div>
-  </td>
-<?php if ($registry->hasMethod('contacts/search')): ?>
-  <td align="center"><?php echo 'link here to open new resource search window?' ?></td>
-  <td width="100%">&nbsp;</td>
-<?php endif; ?>
- </tr>
-
 </table>
 
 <br />