本文整理汇总了PHP中caGetThemeGraphic函数的典型用法代码示例。如果您正苦于以下问题:PHP caGetThemeGraphic函数的具体用法?PHP caGetThemeGraphic怎么用?PHP caGetThemeGraphic使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了caGetThemeGraphic函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: caClientServicesFormatMessageSummary
/**
* Formats communication for display in messages list
*
* @param RequestHTTP $po_request
* @param array $pa_data
* @param array $pa_options
* viewContentDivID =
* additionalMessages =
* isAdditionalMessage =
*
* @return string
*/
function caClientServicesFormatMessageSummary($po_request, $pa_data, $pa_options = null)
{
$vb_is_additional_message = (bool) (isset($pa_options['isAdditionalMessage']) && $pa_options['isAdditionalMessage']);
$vb_is_unread = !(bool) $pa_data['read_on'];
$vs_unread_class = $vb_is_unread ? "caClientCommunicationsMessageSummaryUnread" : "";
if ($pa_data['source'] == __CA_COMMERCE_COMMUNICATION_SOURCE_INSTITUTION__) {
$vb_is_unread = false;
$vs_unread_class = '';
}
// institution-sent messages are never unread in Providence
if ($vb_is_additional_message) {
$vs_class = $vb_is_unread ? "caClientCommunicationsAdditionalMessageSummary caClientCommunicationsMessageSummaryUnread" : "caClientCommunicationsAdditionalMessageSummary";
$vs_buf = "<div class='{$vs_class}' id='caClientCommunicationsMessage_" . $pa_data['communication_id'] . "'>";
} else {
$vs_class = $vb_is_unread ? "caClientCommunicationsMessageSummary caClientCommunicationsMessageSummaryUnread" : "caClientCommunicationsMessageSummary";
$vs_buf = "<div class='{$vs_class}'>";
}
$vs_buf .= "<div class='caClientCommunicationsMessageSummaryContainer' id='caClientCommunicationsMessage_" . $pa_data['communication_id'] . "'>";
$vs_buf .= "<div class='caClientCommunicationsViewMessageIcon'>+</div>";
TooltipManager::add(".caClientCommunicationsViewMessageIcon", _t("View entire message and associated media"));
$vs_buf .= "<div class='caClientCommunicationsMessageSummaryFrom {$vs_unread_class}'><span class='caClientCommunicationsMessageSummaryHeading'>" . _t("From") . ":</span> " . caClientServicesGetSenderName($pa_data);
$vs_buf .= $vb_is_unread ? ' ' . caGetThemeGraphic($po_request, 'icons/envelope.gif') : "";
$vs_buf .= "</div>";
$vs_buf .= "<div class='caClientCommunicationsMessageSummaryDate {$vs_unread_class}'><span class='caClientCommunicationsMessageSummaryHeading'>" . _t("Date") . ":</span> " . caGetLocalizedDate($pa_data['created_on'], array('dateFormat' => 'delimited')) . "</div>";
$vs_buf .= "<div class='caClientCommunicationsMessageSummarySubject {$vs_unread_class}'><span class='caClientCommunicationsMessageSummaryHeading'>" . _t("Subject") . ":</span> " . $pa_data['subject'] . "</div>";
$vs_buf .= "<div class='caClientCommunicationsMessageSummaryText'>" . (mb_strlen($pa_data['message']) > 100 ? mb_substr($pa_data['message'], 0, 100) . "..." : $pa_data['message']) . "</div>";
$vn_num_additional_messages = is_array($pa_options['additionalMessages']) ? sizeof($pa_options['additionalMessages']) : 0;
// are there orders linked to this thread?
if ($vn_num_orders = sizeof($va_order_ids = ca_commerce_orders::getOrderIDsForTransaction($pa_data['transaction_id']))) {
$vs_buf .= "<div class='caClientCommunicationsMessageSummaryThreadButton'>" . caNavLink($po_request, ($vn_num_orders == 1 ? _t('%1 order', $vn_num_orders) : _t('%1 orders', $vn_num_orders)) . " ›", 'button', 'client', 'Orders', 'Index', array('transaction_id' => $pa_data['transaction_id'])) . "</div>\n";
}
if ($vn_num_additional_messages) {
$vs_buf .= "<div class='caClientCommunicationsMessageSummaryThreadButton' id='caClientCommunicationsMessageAdditionalCount" . $pa_data['communication_id'] . "'><a href='#' onclick='jQuery(\"#caClientCommunicationsMessageAdditional" . $pa_data['communication_id'] . "\").slideToggle(250, function(){ if(jQuery(\"#caClientCommunicationsMessageViewThread" . $pa_data['communication_id'] . "\").html() == \"" . _t("view thread") . " ›\") {jQuery(\"#caClientCommunicationsMessageViewThread" . $pa_data['communication_id'] . "\").html(\"" . _t("hide thread") . " ›\")}else{jQuery(\"#caClientCommunicationsMessageViewThread" . $pa_data['communication_id'] . "\").html(\"" . _t("view thread") . " ›\")}}); return false;' id='caClientCommunicationsMessageViewThread" . $pa_data['communication_id'] . "' class='button'>" . _t("view thread") . " ›</a></div>\n";
}
$vs_buf .= "</div>";
if ($vn_num_additional_messages) {
$vs_buf .= "<div class='caClientCommunicationsMessageAdditional' id='caClientCommunicationsMessageAdditional" . $pa_data['communication_id'] . "'>";
$pa_additional_options = $pa_options;
unset($pa_additional_options['additionalMessages']);
$pa_additional_options['isAdditionalMessage'] = true;
foreach ($pa_options['additionalMessages'] as $va_additional_message) {
$vs_buf .= caClientServicesFormatMessageSummary($po_request, $va_additional_message, $pa_additional_options);
}
$vs_buf .= "</div>";
}
$vs_buf .= "</div>\n";
return $vs_buf;
}
示例2: caNavLink
?>
</li>
<li class="blue<?php
print $this->request->getController() == "Contact" ? ' active' : '';
?>
" id="navContact"><?php
print caNavLink($this->request, _t("Contact") . "<div class='bottomBorder'></div>", "", "", "Contact", "Form");
?>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- end container -->
</nav>
<?php
} else {
?>
<div class="navbar">
<div class='loginLogo'><?php
print caNavLink($this->request, caGetThemeGraphic($this->request, 'steelcase_logo_black.png'), "", "", "", "");
?>
</div>
</div>
<?php
}
?>
<div class="container">
<div id="pageArea" <?php
print caGetPageCSSClasses();
?>
>
示例3: caBusyIndicatorIcon
/**
* Returns HTML <img> tag displaying spinning "I'm doing something" icon
*/
function caBusyIndicatorIcon($po_request, $pa_attributes = null)
{
if (!is_array($pa_attributes)) {
$pa_attributes = array();
}
if (!isset($pa_attributes['alt'])) {
$pa_attributes['alt'] = $vs_img_name;
}
return caGetThemeGraphic($po_request, 'indicator.gif', $pa_attributes);
}
示例4: function
/*
Pagination initialization
*/
$('.jcarousel-pagination')
.on('jcarouselpagination:active', 'a', function() {
$(this).addClass('active');
})
.on('jcarouselpagination:inactive', 'a', function() {
$(this).removeClass('active');
})
.jcarouselPagination({
// Options go here
});
});
</script>
<?php
}
?>
<div class="container"><div class="container"><div class="row">
<div class="col-sm-3 subintro"><?php
print caGetThemeGraphic($this->request, "cjflogo_int.png", array("width" => 200));
?>
</div>
<div class="col-sm-9 subintro">The Cincinnati Judaica Fund is dedicated to the preservation and use of historic Judaica for educational purposes. </div>
</div><!-- end row --></div><!-- end container --></div><!-- end container -->
</div><!-- end subhomeslide -->
<?php
print $this->render("Front/toc_html.php");
?>
</div> <!--end container subhomebody-->
示例5: sizeof
?>
,
sidebar: <?php
print sizeof($va_sections) > 0 && !isset($va_display_options['no_overlay']) ? "true" : "false";
?>
,
closeButton: '<?php
print (bool) $this->request->getParameter('overlay', pInteger) ? addslashes(caGetThemeGraphic($this->request, 'buttons/x.png', array('alt' => _t('Close')))) : '';
?>
',
editButton: '<?php
print addslashes(caGetThemeGraphic($this->request, 'buttons/arrow_grey_right.gif', array('alt' => _t('View'))));
?>
',
<?php
if (caObjectsDisplayDownloadLink($this->request)) {
?>
downloadButton: '<?php
print addslashes(caGetThemeGraphic($this->request, 'buttons/download.png', array('alt' => _t('Download'))));
?>
'
<?php
} else {
?>
downloadButton: null
<?php
}
?>
});
});
</script>
示例6: ecosystems
<H1>About the Fossil Tracks Collection</H1>
<div class="row">
<div class="col-sm-8 col-md-8 col-lg-8">
<div style="padding-left:20px;">
<p>The University of Colorado Fossil Tracks Collection is comprised of a remarkable range of fossil footprints that show exceptional temporal, taxonomic, and geographic breadth. The collection includes approximately 3,000 original or replica specimens of footprints and trackways from 24 countries and five continents. It also includes more than 1,650 full size acetate footprint and trackway tracings. While some large specimens represent a single footprint, others are slabs that include dozens, or even hundreds of footprints. Most of the specimens are from the Mesozoic, when large extinct dinosaurs dominated ancient ecosystems (~252 to 66 million years old). However, the collection also includes nearly two hundred Paleozoic specimens (tracks from 400 to 252 million years old) plus more than 250 specimens from the Cenozoic (~66 million years to the present). Dinosaur tracks make up over half of the collection--including roughly 40% non-avian dinosaur tracks and 10% bird tracks. Crocodylomorphs and pterosaurs are also well-represented, and tracks from arthropods, turtles, rodents, hominins, and other mammals round out the collection.</p>
<p>Although the University of Colorado Museum of Natural History had a small number of fossil tracks before 2012, the present collection was largely built through the efforts of one man, Martin Lockley. Professor Lockley spent his career at the University of Colorado Denver, studying footprints and building one of the world’s most diverse and extensive collections of fossil tracks. Much of Professor Lockley’s research has focused on numerous track sites in the Rocky Mountain region. However, he has also examined fossil footprints and collaborated with colleagues at far-flung sites all over the world. This research has led to the publication of more than 400 research papers on fossil tracks.</p>
<p>Professor Lockley has worked for many years with Dr. Karen Houck to organize and document the tremendous amount of information associated with the fossil footprints they have collected. In 2000, they opened the Dinosaur Tracks Museum to the public, and visitors enjoyed educational exhibits of fossil tracks installed in the basement of St. Cajetan’s church on the University of Colorado Denver campus. This Museum remained open to the public from 2000 to 2012. Professor Lockley retired from his professorship in 2010, and the remarkable collection of fossil footprints he built was moved to the University of Colorado Museum of Natural History in Boulder Colorado. Fortunately, Martin Lockley is still continuing his research on fossil footprints at the University of Colorado Denver.</p>
<p>For more information about the University of Colorado Fossil Tracks Collection and fossil footprint research, see the online exhibit Fossil footprints through geologic time.</p>
<p class="text-center">
<?php
print caNavLink($this->request, _t("Browse Fossil Tracks"), "btn btn-default", "", "Browse", "tracks");
?>
</p>
</div>
</div>
<div class="col-sm-4 col-md-4 col-lg-4 text-center">
<p class="text-center">
<?php
print caGetThemeGraphic($this->request, 'tracksLockley.jpg');
?>
<br/><small>Martin Lockley investigating fossil bird tracks<br/>in Colorado in 2008</small>
</p>
<p class="text-center">
<?php
print caGetThemeGraphic($this->request, 'tracks2.jpg');
?>
<br/><small>Martin Lockley and Karen Houck pointing to a<br/><i>Stegosaurus</i> at the UC Denver DinosaurTracks Museum</small>
</p>
</div>
</div>
示例7: caGetPageCSSClasses
<map name="CUHeader" id="CUHeader">
<area shape="rect" coords="5,4,291,21" href="http://www.colorado.edu/" target="outlink" alt="University of Colorado at Boulder"/>
<area shape="rect" coords="963,4,995,21" href="http://www.colorado.edu/" target="outlink" alt="CU-Home" />
<area shape="rect" coords="1002,4,1041,21" href="http://www.colorado.edu/search/" target="outlink" alt="CU-Search" />
<area shape="rect" coords="1050,4,1086,21" href="http://www.colorado.edu/atoz/" target="outlink" alt="CU-A to Z" />
<area shape="rect" coords="1092,4,1115,21" href="http://www.colorado.edu/campusmap/" target="outlink" alt="Campus Map" />
</map>
</div><!-- end topbar -->
<div id="pageArea" <?php
print caGetPageCSSClasses();
?>
>
<div id="nav">
<div id="headerLogo">
<?php
print caNavLink($this->request, caGetThemeGraphic($this->request, 'CU_MNH_small.png'), "", "", "", "");
?>
</div>
<?php
if ($this->request->getController() == "Front" && $this->request->getAction() == "Index") {
print "<p>Choose a collection:</p>";
print caNavLink($this->request, _t("Fossil Eggshells"), "", "", "Front", "FossilEggshellCollection") . "<div class='navDivide'></div>";
print caNavLink($this->request, _t("Fossil Tracks"), "", "", "Front", "FossilTracksCollection") . "<div class='navDivide'></div>";
print caNavLink($this->request, _t("Fossil Vertebrates"), "", "", "Front", "FossilVertebrateCollection") . "<div class='navDivide'></div>";
} else {
?>
<div id="header">
<?php
switch ($ps_subsite) {
case "eggshell":
print _t("Fossil Eggshell Collection");
示例8: caNavLink
<nav class="navbar navbar-default yamm" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle navbar-toggle-user" data-toggle="collapse" data-target="#user-navbar-toggle">
<span class="sr-only">User Options</span>
<span class="glyphicon glyphicon-user"></span>
</button>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-main-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<?php
print caNavLink($this->request, caGetThemeGraphic($this->request, 'ca_nav_logo300.png'), "navbar-brand", "", "", "");
?>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<!-- bs-user-navbar-collapse is the user menu that shows up in the toggle menu - hidden at larger size -->
<div class="collapse navbar-collapse" id="user-navbar-toggle">
<ul class="nav navbar-nav">
<?php
print $vs_user_links;
?>
</ul>
</div>
<div class="collapse navbar-collapse" id="bs-main-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right" id="user-navbar">
<li class="dropdown" style="position:relative;">
示例9: caGetMediaDisplayInfo
</div><!-- end caMediaOverlayRepThumbs -->
<?php
}
?>
<!-- Controls - only for media overlay -->
<div class="caMediaOverlayControls">
<div class='close'><a href="#" onclick="caMediaPanel.hidePanel(); return false;" title="close"> </a></div>
<?php
if (caObjectsDisplayDownloadLink($this->request) && $this->request->user->canDoAction('can_download_media')) {
?>
<div class='download'>
<?php
# -- get version to download configured in media_display.conf
$va_download_display_info = caGetMediaDisplayInfo('download', $t_rep->getMediaInfo('media', 'INPUT', 'MIMETYPE'));
$vs_download_version = $va_download_display_info['display_version'];
print caNavLink($this->request, caGetThemeGraphic($this->request, 'buttons/downloadWhite.png', array('title' => _t("Download Media"))), '', '', 'Detail', 'DownloadRepresentation', array('representation_id' => $t_rep->getPrimaryKey(), "object_id" => $t_object->getPrimaryKey(), "download" => 1, "version" => $vs_download_version));
?>
</div>
<?php
}
?>
<div class='objectInfo'>
<?php
$vs_label = $t_object->getLabelForDisplay();
print mb_strlen($vs_label) > 150 ? mb_substr($vs_label, 0, 150) . "..." : $vs_label;
?>
</div>
<div class='repNav'>
<?php
示例10: caNavLink
});
</script>
</head>
<body>
<nav class="navbar navbar-default yamm" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-main-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<?php
print caNavLink($this->request, caGetThemeGraphic($this->request, 'pbc_logo.jpg'), "navbar-brand", "", "", "");
print "<span class='banner'>Radio Pakistan</span>";
print "<hr>";
?>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-main-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown" style="position:relative;">
<a href="#" class="dropdown-toggle icon" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span></a>
<ul class="dropdown-menu">
<?php
if ($this->request->isLoggedIn()) {
print '<li role="presentation" class="dropdown-header">' . trim($this->request->user->get("fname") . " " . $this->request->user->get("lname")) . ', ' . $this->request->user->get("email") . '</li>';
print '<li class="divider"></li>';
示例11: caGetThemeGraphic
?>
</li>
<li><?php
print caGetThemeGraphic($this->request, 'vertebrateSlideShow/vertSlide3.jpg');
?>
</li>
<li><?php
print caGetThemeGraphic($this->request, 'vertebrateSlideShow/vertSlide4.jpg');
?>
</li>
<li><?php
print caGetThemeGraphic($this->request, 'vertebrateSlideShow/vertSlide5.jpg');
?>
</li>
<li><?php
print caGetThemeGraphic($this->request, 'vertebrateSlideShow/vertSlide6.jpg');
?>
</li>
</ul>
</div><!-- end jcarousel -->
</div><!-- end jcarousel-wrapper -->
<script type='text/javascript'>
jQuery(document).ready(function() {
/*
Carousel initialization
*/
$('.jcarousel')
.jcarousel({
animation: {
duration: 0 // make changing image immediately
},
示例12: caGetThemeGraphicURL
print AssetLoadManager::getLoadHTML($this->request);
?>
<link rel="icon" href="<?php
print caGetThemeGraphicURL($this->request, 'favicon.jpg');
?>
">
<title><?php
print $this->request->config->get('html_page_title');
?>
</title>
</head>
<body>
<div id="headerWrapper">
<div id="hpLogo">
<?php
print '<a href="/">' . caGetThemeGraphic($this->request, 'MF_logo.jpg', array('width' => '150px', 'height' => '112px')) . "</a>";
?>
</div>
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown">
示例13: caGetThemeGraphic
</div> <!--end shadow container-->
<!--<ul class="list-inline pull-right social">
<li><i class="fa fa-twitter"></i></li>
<li><i class="fa fa-facebook-square"></i></li>
<li><i class="fa fa-youtube-play"></i></li>
</ul>-->
<!--<div class="row">-->
<div class="container footercontainer">
<div class="row">
<div class="col-sm-4">
<a href="#" style="float:left;"><?php
print caGetThemeGraphic($this->request, 'chhefooter.png');
?>
</a>
<a href="#" style="float:left;"><?php
print caGetThemeGraphic($this->request, 'cjffooter.png');
?>
</a>
</div>
<div class="col-sm-8 text-right">
Cincinnati Judaica Fund| 8401 Montgomery Road | Cincinnati, OH 45236 | 513-241-5748<br />
Center for Holocaust and Humanity Education | 8401 Montgomery Road | Cincinnati, OH 45236 | 513-487-3055
</div>
</div>
<div><small>powered by <a href="http://www.collectiveaccess.org">CollectiveAccess 2014</a></small></div>
</div><!--end footer container-->
<div id="caMediaPanel">
<div id="caMediaPanelContentArea">
示例14: SEM
<p>
The Karl Hirsh Eggshell Collection represents decades of work on fossil and modern eggshell by University of Colorado Museum of Natural History researcher Karl Hirsh. Karl collected eggshells from all over the world. He spent time in the field, collecting Mesozoic and Cenozoic specimens in North America, Germany, England, Spain and Portugal. He also added to the temporal and taxonomic breadth of the collection by developing numerous collaborations with other researchers interested in fossil eggs, and obtaining donations from zoos, museums, and universities. All of this work resulted in a collection that is unique not only in its size, but in the geologic time and geographic extent represented by the fossil material. Amniote eggshell fossils in this collection date back to the Late Triassic, and have been collected from every continent except Antarctica. Upon Karl’s death in 1996, his fossil and modern eggshell collections, along with his research notes, were donated to the paleontology section of the University of Colorado Museum of Natural History.
</p>
<p>
In addition to the eggshell fossils, the collection includes specimen photos, locality data, thin sections, thin section photos, SEM (Scanning Electron Microscope) negatives, SEM stubs, radiographic images, and geochemical data, as well as Karl's personal research notes and correspondence. The images provided with specimens in the Collection section of this online database come from Karl’s data notebooks, which contain his photographs, measurements, notes, and sketches associated with each specimen he studied.
</p>
<p>
For more information about the Karl Hirsch Eggshell Collection at the University of Colorado Museum of Natural History and amniote eggshell research, see the online exhibit <a href="http://www.ucmp.berkeley.edu/science/eggshell/index.php">Fossil Eggshell: Fragments from the Past</a>.
</p>
<p class="text-center">
<?php
print caGetThemeGraphic($this->request, 'Karl_1987_HEC457.jpg');
?>
</p>
</div>
</div>
<div class="col-sm-4 col-md-4 col-lg-4 text-center">
<p class="text-center">
<?php
print caGetThemeGraphic($this->request, 'Karl_1986_CO.jpg');
?>
</p>
<p class="text-center">
<?php
print caNavLink($this->request, _t("Browse the Collection"), "btn btn-default", "", "Browse", "eggshell");
?>
</p>
</div>
</div>
示例15: caGetThemeGraphic
<div class="row">
<div class="col-sm-8">
<H3>
About The Cincinnati Judaica Fund
</H3>
<p>
The Cincinnati Judaica Fund was established in 2005 as part of an ongoing effort to collect, preserve, and make available for education and research purposes historic Judaica from throughout the world.
</p>
<p>
The Cincinnati Judaica Fund was established with two main purposes,
<ol>
<li>To preserve historic Judaica for future generations, and</li>
<li>To use is continually expanding collection to educate both Jews and non-Jews regarding the Jewish religion and Jewish culture, with its various layers of history, memory, and identity.</li>
</ol>
</p>
<p>
The Cincinnati Judaica Fund works to obtain items and records from Jewish organizations, the papers of rabbis and other individuals in American Jewish history, and personal items and histories that relate to the Jewish religion or experience.
</p>
</div>
<div class="col-sm-4 text-center">
<br/><br/><?php
print caGetThemeGraphic($this->request, "cjflogo_int.png");
?>
</div>
</div><!-- end row -->