本文整理汇总了PHP中smarty_block_ts函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_block_ts函数的具体用法?PHP smarty_block_ts怎么用?PHP smarty_block_ts使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_block_ts函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: function
.on(\'focus\', function() {
if ($(this).attr(\'style\').indexOf(\'14em\') < 0) {
$(this).animate({width: \'14em\'});
}
})
.on(\'blur\', function() {
// Shrink if no input and menu is not open
if (!$(this).val().length && $(this).attr(\'style\').indexOf(\'6em\') < 0 && !$(\'.crm-quickSearchField:visible\', \'#root-menu-div\').length) {
$(this).animate({width: \'6em\'});
}
});
$(\'.crm-hidemenu\').click(function(e) {
$(\'#civicrm-menu\').slideUp();
if ($(\'#crm-notification-container\').length) {
var alert = CRM.alert('; ?>
'<a href="#" id="crm-restore-menu" style="text-align: center; margin-top: -8px;"><?php $this->_tag_stack[] = array('ts', array('escape' => 'js')); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Restore CiviCRM Menu<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a>'<?php echo ', \'\', \'none\', {expires: 10000});
$(\'#crm-restore-menu\')
.button({icons: {primary: \'ui-icon-arrowreturnthick-1-w\'}})
.click(function(e) {
e.preventDefault();
alert.close();
$(\'#civicrm-menu\').slideDown();
})
.parent().css(\'text-align\', \'center\').find(\'.ui-button-text\').css({\'padding-top\': \'4px\', \'padding-bottom\': \'4px\'})
;
}
e.preventDefault();
});
$(\'.crm-quickSearchField\').click(function() {
var label = $(this).text();
var value = $(\'input\', this).val();
示例2: array
?>
<?php
echo '<table><tr class="columnheader"><th>';
echo $this->_tpl_vars['form']['toggleSelect']['html'];
echo '</th>';
if ($this->_tpl_vars['context'] == 'smog') {
echo '<th>';
$this->_tag_stack[] = array('ts', array());
smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat = true);
while ($_block_repeat) {
ob_start();
echo 'Status';
$_block_content = ob_get_contents();
ob_end_clean();
echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat = false);
}
array_pop($this->_tag_stack);
echo '</th>';
}
echo '';
$_from = $this->_tpl_vars['columnHeaders'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['header']) {
echo '<th>';
if ($this->_tpl_vars['header']['sort']) {
echo '';
$this->assign('key', $this->_tpl_vars['header']['sort']);
示例3: array
<input type="text" name="last_name" id="qa_last_name" class="form-text required" maxlength="64" />
</div>
</div>
<div class="form-item">
<div>
<label for="qa_email"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Email:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></label>
</div>
<div>
<input type="email" name="email[1][email]" id="qa_email" class="form-text" maxlength="64" />
</div>
<input type="hidden" name="email[1][location_type_id]" value="<?php echo $this->_tpl_vars['primaryLocationType']; ?>
" />
<input type="hidden" name="email[1][is_primary]" value="1" />
<input type="hidden" name="ct" value="Individual" />
<input type="hidden" name="email_greeting_id" value="<?php echo $this->_tpl_vars['email_greeting_id']; ?>
" />
<input type="hidden" name="postal_greeting_id" value="<?php echo $this->_tpl_vars['postal_greeting_id']; ?>
" />
<input type="hidden" name="addressee_id" value="<?php echo $this->_tpl_vars['addressee_id']; ?>
" />
<input type="hidden" name="qfKey" value="<?php echo smarty_function_crmKey(array('name' => 'CRM_Contact_Form_Contact','addSequence' => 1), $this);?>
" />
</div>
<div class="form-item"><input type="submit" name="_qf_Contact_next" value="<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Save<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>" class="crm-form-submit" /></div>
</form>
</div>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
示例4: echo
</tr>
<tr class="crm-config-backend-form-block-newBaseURL">
<td class="label"><?php echo $this->_tpl_vars['form']['newBaseURL']['label']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['newBaseURL']['html'])) ? $this->_run_mod_handler('crmAddClass', true, $_tmp, 'huge') : smarty_modifier_crmAddClass($_tmp, 'huge')); ?>
<br />
<span class="description"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>This is the URL for your Drupal, Joomla or WordPress site (e.g. http://www.mysite.com/drupal/).<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></span></td>
</tr>
<?php if ($this->_tpl_vars['oldSiteName']): ?>
<tr class="crm-config-backend-form-block-oldSiteName">
<td class="label"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Old Site Name<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td>
<td><?php echo $this->_tpl_vars['oldSiteName']; ?>
</td>
</tr>
<tr class="crm-config-backend-form-block-newSiteName">
<td class="label"><?php echo $this->_tpl_vars['form']['newSiteName']['label']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['newSiteName']['html'])) ? $this->_run_mod_handler('crmAddClass', true, $_tmp, 'huge') : smarty_modifier_crmAddClass($_tmp, 'huge')); ?>
<br />
<span class="description"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>This is the your site name for a multisite install.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></span></td>
</tr>
<?php endif; ?>
</table>
<div><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "CRM/common/formButtons.tpl", 'smarty_include_vars' => array('location' => 'bottom')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?></div>
<div class="spacer"></div>
</div>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
示例5: function
$.extend($.validator.messages, messages);
<?php echo '
var params = {
errorClass: \'crm-inline-error\',
messages: {},
// TODO: remove after resolution of https://github.com/jzaefferer/jquery-validation/pull/1261
ignore: ":hidden, [readonly]"
};
// use civicrm notifications when there are errors
params.invalidHandler = function(form, validator) {
if ($(\'#crm-notification-container\').length) {
$.each(validator.errorList, function(k, error) {
$(error.element).crmError(error.message);
});
} else {
alert('; ?>
"<?php $this->_tag_stack[] = array('ts', array('escape' => 'js')); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Please review and correct the highlighted fields before continuing.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>"<?php echo ');
}
};
CRM.validate = {
_defaults: params,
params: {},
functions: []
};
})(jQuery);
'; ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
示例6: require_once
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'CRM/Form/body.tpl', 1, false),array('block', 'ts', 'CRM/Form/body.tpl', 37, false),)), $this); ?>
<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php if ($this->_tpl_vars['form']['javascript']): ?>
<?php echo $this->_tpl_vars['form']['javascript']; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['form']['hidden']): ?>
<div><?php echo $this->_tpl_vars['form']['hidden']; ?>
</div>
<?php endif; ?>
<?php if (( $this->_tpl_vars['snippet'] !== 'json' ) && ! $this->_tpl_vars['suppressForm'] && count ( $this->_tpl_vars['form']['errors'] ) > 0): ?>
<div class="messages crm-error">
<div class="icon red-icon ui-icon-alert"></div>
<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Please correct the following errors in the form fields below:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
<ul id="errorList">
<?php $_from = $this->_tpl_vars['form']['errors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['errorName'] => $this->_tpl_vars['error']):
?>
<?php if (is_array ( $this->_tpl_vars['error'] )): ?>
<li><?php echo $this->_tpl_vars['error']['label']; ?>
<?php echo $this->_tpl_vars['error']['message']; ?>
</li>
<?php else: ?>
<li><?php echo $this->_tpl_vars['error']; ?>
</li>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</ul>
</div>
示例7: smarty_function_crmNavigationMenu
">
<?php echo smarty_function_crmNavigationMenu(array('is_default' => 1), $this);?>
<?php if (isset ( $this->_tpl_vars['browserPrint'] ) && $this->_tpl_vars['browserPrint']): ?>
<div id="printer-friendly">
<a href="#" onclick="window.print(); return false;" title="<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Print this page.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>">
<div class="ui-icon ui-icon-print"></div>
</a>
</div>
<?php else: ?>
<div id="printer-friendly">
<a href="<?php echo $this->_tpl_vars['printerFriendly']; ?>
" target='_blank' title="<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Printer-friendly view of this page.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>">
<div class="ui-icon ui-icon-print"></div>
</a>
</div>
<?php endif; ?>
<?php $this->_tag_stack[] = array('crmRegion', array('name' => 'page-header')); $_block_repeat=true;smarty_block_crmRegion($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmRegion($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
<div class="clear"></div>
<?php if (isset ( $this->_tpl_vars['localTasks'] ) && $this->_tpl_vars['localTasks']): ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "CRM/common/localNav.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
示例8: require_once
<?php /* Smarty version 2.6.27, created on 2015-08-08 15:04:11
compiled from CRM/common/accesskeys.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'CRM/common/accesskeys.tpl', 1, false),array('block', 'ts', 'CRM/common/accesskeys.tpl', 28, false),array('function', 'help', 'CRM/common/accesskeys.tpl', 28, false),)), $this); ?>
<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php if (! $this->_tpl_vars['urlIsPublic']): ?>
<div class="footer" id="access">
<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Access Keys:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?><?php echo smarty_function_help(array('id' => 'accesskeys','file' => 'CRM/common/accesskeys'), $this);?>
</div>
<?php endif; ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
示例9: url
<?php else: ?><?php echo $this->_tpl_vars['item']['type']; ?>
<?php endif; ?>-icon" style="background: url('<?php echo $this->_tpl_vars['item']['image_url']; ?>
')"></span>
<?php else: ?>
<span class="icon crm-icon <?php echo $this->_tpl_vars['item']['type']; ?>
<?php if ($this->_tpl_vars['item']['subtype']): ?>-subtype<?php endif; ?>-icon"></span>
<?php endif; ?>
<?php if ($this->_tpl_vars['item']['isDeleted']): ?><del><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['item']['title'])) ? $this->_run_mod_handler('mb_truncate', true, $_tmp, 25, "..", true) : smarty_modifier_mb_truncate($_tmp, 25, "..", true)); ?>
<?php if ($this->_tpl_vars['item']['isDeleted']): ?></del><?php endif; ?></a>
<div class="crm-recentview-wrapper">
<a href='<?php echo $this->_tpl_vars['item']['url']; ?>
' class="crm-actions-view"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>View<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a>
<?php if ($this->_tpl_vars['item']['edit_url']): ?><a href='<?php echo $this->_tpl_vars['item']['edit_url']; ?>
' class="crm-actions-edit"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Edit<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a><?php endif; ?>
<?php if ($this->_tpl_vars['item']['delete_url']): ?><a href='<?php echo $this->_tpl_vars['item']['delete_url']; ?>
' class="crm-actions-delete"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Delete<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a><?php endif; ?>
</div>
</li>
<?php endforeach; endif; unset($_from); ?>
</ul>
</div>
<?php echo '
<script type="text/javascript">
CRM.$(function($) {
if ($(\'#crm-recently-viewed\').offset().left > 150) {
$(\'#crm-recently-viewed\').removeClass(\'left\').addClass(\'right\');
}
});
</script>
'; ?>
示例10: if
<?php if (! empty ( $this->_tpl_vars['contactId'] )): ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "CRM/common/contactFooter.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php endif; ?>
<div class="crm-footer" id="civicrm-footer">
<?php echo smarty_function_crmVersion(array('assign' => 'version'), $this);?>
<?php $this->_tag_stack[] = array('ts', array('1' => $this->_tpl_vars['version'])); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Powered by CiviCRM %1.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
<?php if (! empty ( $this->_tpl_vars['security_update'] )): ?>
<span class="status crm-error">
<a href="https://civicrm.org/advisory"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Security update required.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a></span>
<?php elseif (! empty ( $this->_tpl_vars['newer_civicrm_version'] )): ?>
<span class="status"><?php $this->_tag_stack[] = array('ts', array('1' => $this->_tpl_vars['newer_civicrm_version'])); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>A newer version (%1)<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
<a href="https://civicrm.org/download"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>is available for download<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a>.</span>
<?php endif; ?>
<?php $this->_tag_stack[] = array('ts', array('1' => 'http://www.gnu.org/licenses/agpl-3.0.html')); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>CiviCRM is openly available under the <a href='%1'>GNU AGPL License</a>.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?><br/>
<a href="https://civicrm.org/download"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Download CiviCRM.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a>
<a href="http://issues.civicrm.org/jira/browse/CRM?report=com.atlassian.jira.plugin.system.project:roadmap-panel"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>View issues and report bugs.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a>
<?php echo smarty_function_docURL(array('page' => "",'text' => "Online documentation."), $this);?>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "CRM/common/notifications.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
示例11: require_once
<?php /* Smarty version 2.6.27, created on 2015-08-08 15:04:11
compiled from CRM/Block/CreateNew.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'CRM/Block/CreateNew.tpl', 1, false),array('block', 'ts', 'CRM/Block/CreateNew.tpl', 27, false),)), $this); ?>
<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><div class="block-civicrm crm-container">
<div id="crm-create-new-wrapper">
<a id="crm-create-new-link" class="button" href="#"><span><div class="icon ui-icon-arrow-1-se css_right"></div><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Create New<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></span></a>
<div id="crm-create-new-list">
<div class="crm-create-new-list-inner">
<ul>
<?php $_from = $this->_tpl_vars['shortCuts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['short']):
?>
<li><a href="<?php echo $this->_tpl_vars['short']['url']; ?>
" class="crm-<?php echo $this->_tpl_vars['short']['ref']; ?>
"><?php echo $this->_tpl_vars['short']['title']; ?>
</a>
<?php if ($this->_tpl_vars['short']['shortCuts']): ?>
<ul>
<?php $_from = $this->_tpl_vars['short']['shortCuts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['shortCut']):
?>
<li><a href="<?php echo $this->_tpl_vars['shortCut']['url']; ?>
" class="crm-<?php echo $this->_tpl_vars['shortCut']['ref']; ?>
"><?php echo $this->_tpl_vars['shortCut']['title']; ?>
</a></li>
<?php endforeach; endif; unset($_from); ?>
</ul>
<?php endif; ?>
</li>
<?php endforeach; endif; unset($_from); ?>
示例12: require_once
<?php /* Smarty version 2.6.27, created on 2015-08-08 15:04:11
compiled from CRM/common/accesskeys.hlp */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'CRM/common/accesskeys.hlp', 1, false),array('block', 'htxt', 'CRM/common/accesskeys.hlp', 26, false),array('block', 'ts', 'CRM/common/accesskeys.hlp', 27, false),)), $this); ?>
<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php $this->_tag_stack[] = array('htxt', array('id' => "accesskeys-title")); $_block_repeat=true;smarty_block_htxt($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Access Keys<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_htxt($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
<?php $this->_tag_stack[] = array('htxt', array('id' => 'accesskeys')); $_block_repeat=true;smarty_block_htxt($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
<p></p>
<ul>
<li>ALT+SHIFT+E - <em><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Edit Contact (View Contact Summary Page)<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></em></li>
<li>ALT+SHIFT+S - <em><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Save Button<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></em></li>
<li>ALT+SHIFT+N - <em><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Add a new record in each tab (Activities, Tags,..etc)<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></em></li>
</ul>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_htxt($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
示例13: require_once
<?php /* Smarty version 2.6.27, created on 2015-08-08 15:04:11
compiled from CRM/common/notifications.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'CRM/common/notifications.tpl', 1, false),array('block', 'ts', 'CRM/common/notifications.tpl', 3, false),)), $this); ?>
<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><div id="crm-notification-container" style="display:none">
<div id="crm-notification-alert" class="#{type}">
<div class="icon ui-notify-close" title="<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>close<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>"> </div>
<a class="ui-notify-cross ui-notify-close" href="#" title="<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>close<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>">x</a>
<h1>#{title}</h1>
<div class="notify-content">#{text}</div>
</div>
</div>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>