print "</td>"; TooltipManager::add("#{$vs_id_prefix}_media_{$vs_version}_label", $t_subject->getMediaTag('media', $vs_version), "{$vs_id_prefix}_media_tooltips"); $vn_i++; if ($vn_i > 2) { print "</tr>\n"; $vn_i = 0; } } if ($vn_i > 0) { print "</tr>\n"; } ?> </table> <div class="objectRepresentationMediaDisplayDerivativeHelpText" id="<?php print "{$vs_id_prefix}_derivative_options_help_text"; ?> "> <?php print _t("Use the controls above to replace existing preview images for this representation. If <em>Update with uploaded media</em> is checked then the media you have selected for upload will be used to generate the replacement previews. For PDF and video representations you may alternatively elect to generate new previews from a specific page or frame using the <em>Update using page</em> and <em>Update using frame at timecode</em> options. You can control which preview versions are generated by checking or unchecking options in the <em>Update preview versions</em> section. Note that replacement of preview images will be performed only if the master <em>Modify preview images</em> checkbox is checked. If unchecked the uploaded media will completely replace <strong>all</strong> media and previews associated with this representation."); ?> </div> </div> </div> <?php } ?> </div> </div> <?php print TooltipManager::getLoadHTML("{$vs_id_prefix}_media_tooltips");
<li><a href="http://limerick.ie/learning/">Learning</a></li> <li><a href="http://limerick.ie/kids/">Kids</a></li> <li><a href="http://limerick.ie/homeitems/about/">About</a></li> <li><a href="http://limerick.ie/contact/">Contact</a></li> <li><a href="http://limerick.ie/homeitems/about/disclaimer/">Disclaimer</a></li> <li><a href="http://limerick.ie/homeitems/about/accessibility/">Accessibility</a></li> <li><a href="http://limerick.ie/homeitems/about/privacy/">Privacy</a></li> </ul> <address>Phone: 00353 (0)61 400010 <span>|</span> Fax: 00353 (0)61 400355 <span>|</span> Email: <a href="mailto:webservices@limerickcity.ie">webservices@limerickcity.ie</a></address> <p>© 2009-2011 Limerick City Council</p> </div> <?php print TooltipManager::getLoadHTML(); ?> <div id="caMediaPanel"> <div id="close"><a href="#" onclick="caMediaPanel.hidePanel(); return false;"> </a></div> <div id="caMediaPanelContentArea"> </div> </div> <script type="text/javascript"> /* Set up the "caMediaPanel" panel that will be triggered by links in object detail Note that the actual <div>'s implementing the panel are located here in views/pageFormat/pageFooter.php */ var caMediaPanel; jQuery(document).ready(function() { if (caUI.initPanel) {
<div style="float:right;"> <span id="{fieldNamePrefix}edit_{n}"><?php print urldecode(caNavLink($this->request, caNavIcon($this->request, __CA_NAV_BUTTON_EDIT__, null, null, array('graphicsPath' => $this->getVar('graphicsPath'))), '', 'editor/tour_stops', 'TourStopEditor', 'Edit', array('stop_id' => '{stop_id}'))); ?> </span> <a href="#" class="caDeleteItemButton"><?php print caNavIcon($this->request, __CA_NAV_BUTTON_DEL_BUNDLE__, null, null, array('graphicsPath' => $this->getVar('graphicsPath'))); ?> </a> </div> </td> </tr> </table> </div> <?php print TooltipManager::getLoadHTML('bundle_ca_tour_stops_list'); ?> </textarea> <div class="bundleContainer"> <div class="caItemList"> </div> <div class='button labelInfo caAddItemButton'><a href='#'><?php print caNavIcon($this->request, __CA_NAV_BUTTON_ADD__, null, null, array('graphicsPath' => $this->getVar('graphicsPath'))); ?> <?php print _t("Add stop"); ?> ›</a></div> </div>
<div style="float:right;"> <span id="{fieldNamePrefix}edit_{n}"><?php print urldecode(caNavLink($this->request, caNavIcon($this->request, __CA_NAV_BUTTON_EDIT__, null, array('alt' => _t('Edit unit'), 'title' => _t('Edit unit')), array('graphicsPath' => $this->getVar('graphicsPath'))), '', 'administrate/setup/bundle_mapping_group_editor', 'BundleMappingGroupEditor', 'Edit', array('group_id' => '{group_id}'))); ?> </span> <a href="#" class="caDeleteItemButton"><?php print caNavIcon($this->request, __CA_NAV_BUTTON_DEL_BUNDLE__, null, null, array('graphicsPath' => $this->getVar('graphicsPath'))); ?> </a> </div> </td> </tr> </table> </div> <?php print TooltipManager::getLoadHTML('bundle_ca_bundle_mapping_groups'); ?> </textarea> <div class="bundleContainer"> <div class="caItemList"> </div> <div class='button labelInfo caAddItemButton'><a href='#'><?php print caNavIcon($this->request, __CA_NAV_BUTTON_ADD__, null, null, array('graphicsPath' => $this->getVar('graphicsPath'))); ?> <?php print _t("Add unit"); ?> ›</a></div> </div>
}); jQuery("#{fieldNamePrefix}upload_type_search{n}").click(function() { jQuery("#{fieldNamePrefix}media_{n}").prop('disabled', true); jQuery("#{fieldNamePrefix}media_url_{n}").prop('disabled', true); jQuery("#{fieldNamePrefix}autocomplete{n}").prop('disabled', false); jQuery('#{fieldNamePrefix}detail_editor_{n}').slideUp(250); }); jQuery("input.{fieldNamePrefix}upload_type{n}:checked").click(); }); </script> </div> </div> <?php print TooltipManager::getLoadHTML('bundle_ca_object_representations'); ?> </textarea> <div class="bundleContainer"> <div class="caItemList"> </div> <?php if (!$vb_read_only) { ?> <div class='button labelInfo caAddItemButton'><a href='#'><?php print caNavIcon($this->request, __CA_NAV_BUTTON_ADD__); ?> <?php print $vs_add_label ? $vs_add_label : _t("Add representation") . " ›";
<?php print $t_label->htmlFormElement('other_forenames', null, array('name' => "{fieldNamePrefix}other_forenames_{n}", 'id' => "{fieldNamePrefix}other_forenames_{n}", "value" => "{{other_forenames}}", 'no_tooltips' => false, 'tooltip_namespace' => 'bundle_ca_entity_labels_nonpreferred')); ?> </td> <td colspan="3"><?php print $t_label->htmlFormElement('displayname', null, array('name' => "{fieldNamePrefix}displayname_{n}", 'id' => "{fieldNamePrefix}displayname_{n}", "value" => "{{displayname}}", 'no_tooltips' => false, 'tooltip_namespace' => 'bundle_ca_entity_labels_nonpreferred', 'textAreaTagName' => 'textentry', 'readonly' => $vb_read_only)); ?> <td> <tr> </table> </td> </tr> </table> </div> <?php print TooltipManager::getLoadHTML('bundle_ca_entity_labels_preferred'); ?> </textarea> <div class="bundleContainer"> <div class="caLabelList"> </div> <div class='button labelInfo caAddLabelButton'><a href='#'><?php print caNavIcon($this->request, __CA_NAV_BUTTON_ADD__); ?> <?php print $vs_add_label ? $vs_add_label : _t("Add label"); ?> </a></div> </div>
<div style="float:right;"> <span id="{fieldNamePrefix}edit_{n}"><?php print urldecode(caNavLink($this->request, caNavIcon($this->request, __CA_NAV_BUTTON_EDIT__), '', 'administrate/setup/interface_screen_editor', 'InterfaceScreenEditor', 'Edit', array('screen_id' => '{screen_id}'))); ?> </span> <a href="#" class="caDeleteItemButton"><?php print caNavIcon($this->request, __CA_NAV_BUTTON_DEL_BUNDLE__); ?> </a> </div> </td> </tr> </table> </div> <?php print TooltipManager::getLoadHTML('bundle_ca_editor_ui_screens'); ?> </textarea> <div class="bundleContainer"> <div class="caItemList"> </div> <div class='button labelInfo caAddItemButton'><a href='#'><?php print caNavIcon($this->request, __CA_NAV_BUTTON_ADD__); ?> <?php print _t("Add screen"); ?> ›</a></div> </div>
?> </table> <input type="hidden" name="<?php print $vs_id_prefix; ?> _id{n}" id="<?php print $vs_id_prefix; ?> _id{n}" value="{id}"/> </div> <script type="text/javascript"><?php print 'caGetDefaultFee("' . $vs_id_prefix . '_service_{n}", "' . $vs_id_prefix . '_fee_{n}", "{n}")'; ?> </script> <?php print TooltipManager::getLoadHTML('new_item_list'); ?> </textarea> <div class="bundleContainer"> <div class="caItemList"> </div> <input type="hidden" name="<?php print $vs_id_prefix; ?> BundleList" id="<?php print $vs_id_prefix; ?> BundleList" value=""/> <div style="clear: both; width: 1px; height: 1px;"><!-- empty --></div>
<?php print '<div class="formLabel">' . $t_label->htmlFormElement('locale_id', '^LABEL ^ELEMENT', array('classname' => 'labelLocale', 'id' => "{fieldNamePrefix}locale_id_{n}", 'name' => "{fieldNamePrefix}locale_id_{n}", "value" => "{locale_id}", 'no_tooltips' => false, 'dont_show_null_value' => true, 'hide_select_if_only_one_option' => true, 'WHERE' => array('(dont_use_for_cataloguing = 0)'), 'tooltip_namespace' => 'bundle_ca_list_item_labels_preferred')); ?> <?php print $t_label->htmlFormElement('type_id', "^LABEL ^ELEMENT", array('classname' => 'labelType', 'id' => "{fieldNamePrefix}type_id_{n}", 'name' => "{fieldNamePrefix}type_id_{n}", "value" => "{type_id}", 'no_tooltips' => true, 'list_code' => $this->request->config->get('ca_list_items_preferred_label_type_list'), 'dont_show_null_value' => true, 'hide_select_if_no_options' => true)) . '</div>'; ?> </td> <tr> </table> </td> </tr> </table> </div> <?php print TooltipManager::getLoadHTML('bundle_ca_list_item_labels_preferred'); ?> </textarea> <div class="bundleContainer"> <div class="caLabelList"> </div> <div class="button labelInfo caAddLabelButton"><a href='#'><?php print caNavIcon($this->request, __CA_NAV_BUTTON_ADD__); ?> <?php print $vs_add_label ? $vs_add_label : _t("Add label"); ?> </a></div> </div>