本文整理汇总了PHP中TooltipManager::getLoadHTML方法的典型用法代码示例。如果您正苦于以下问题:PHP TooltipManager::getLoadHTML方法的具体用法?PHP TooltipManager::getLoadHTML怎么用?PHP TooltipManager::getLoadHTML使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TooltipManager
的用法示例。
在下文中一共展示了TooltipManager::getLoadHTML方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _t
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");
示例2:
<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) {
示例3: urldecode
<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>
示例4: urldecode
<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>
示例5: caNavIcon
});
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") . " ›";
示例6: array
<?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>
示例7: urldecode
<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>
示例8:
?>
</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>
示例9: array
<?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>