summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/uploads/civicrm/templates_c/es_ES/%%85/85C/85C14CBD%%Dashlet.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/crm/wp-content/uploads/civicrm/templates_c/es_ES/%%85/85C/85C14CBD%%Dashlet.tpl.php')
-rw-r--r--www/crm/wp-content/uploads/civicrm/templates_c/es_ES/%%85/85C/85C14CBD%%Dashlet.tpl.php135
1 files changed, 0 insertions, 135 deletions
diff --git a/www/crm/wp-content/uploads/civicrm/templates_c/es_ES/%%85/85C/85C14CBD%%Dashlet.tpl.php b/www/crm/wp-content/uploads/civicrm/templates_c/es_ES/%%85/85C/85C14CBD%%Dashlet.tpl.php
deleted file mode 100644
index e8ca9001..00000000
--- a/www/crm/wp-content/uploads/civicrm/templates_c/es_ES/%%85/85C/85C14CBD%%Dashlet.tpl.php
+++ /dev/null
@@ -1,135 +0,0 @@
-<?php /* Smarty version 2.6.31, created on 2019-08-30 20:23:13
- compiled from CRM/Contact/Page/Dashlet.tpl */ ?>
-<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
-smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'CRM/Contact/Page/Dashlet.tpl', 1, false),array('block', 'crmButton', 'CRM/Contact/Page/Dashlet.tpl', 26, false),array('block', 'ts', 'CRM/Contact/Page/Dashlet.tpl', 26, false),array('function', 'help', 'CRM/Contact/Page/Dashlet.tpl', 29, false),array('function', 'crmURL', 'CRM/Contact/Page/Dashlet.tpl', 99, false),array('function', 'crmKey', 'CRM/Contact/Page/Dashlet.tpl', 101, 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="crm-submit-buttons"><?php $this->_tag_stack[] = array('crmButton', array('p' => "civicrm/dashboard",'q' => "reset=1",'icon' => 'check')); $_block_repeat=true;smarty_block_crmButton($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(); ?>Done<?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_crmButton($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></div>
- <div id="help" style="padding: 1em;">
- <?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(); ?>Available dashboard elements - dashlets - are displayed in the dark gray top bar. Drag and drop dashlets onto the left or right columns below to add them to your dashboard. Changes are automatically saved. Click 'Done' to return to the normal dashboard 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); ?>
- <?php echo smarty_function_help(array('id' => "id-dash_configure",'file' => "CRM/Contact/Page/Dashboard.hlp",'admin' => $this->_tpl_vars['admin']), $this);?>
-
- </div><br/>
- <div class="dashlets-header"><?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(); ?>Available Dashlets<?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>
- <div id="available-dashlets" class="dash-column">
- <?php $_from = $this->_tpl_vars['availableDashlets']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['dashID'] => $this->_tpl_vars['row']):
-?>
- <div class="portlet">
- <div class="portlet-header" id="<?php echo $this->_tpl_vars['dashID']; ?>
-"><?php echo $this->_tpl_vars['row']['label']; ?>
-<?php if ($this->_tpl_vars['admin'] && ! $this->_tpl_vars['row']['is_reserved']): ?>&nbsp;<a class="crm-i fa-times delete-dashlet"></a><?php endif; ?></div>
- </div>
- <?php endforeach; endif; unset($_from); ?>
- </div>
- <br/>
- <div class="clear"></div>
- <div id="dashlets-header-col-0" class="dashlets-header"><?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(); ?>Left Column<?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>
- <div id="dashlets-header-col-1" class="dashlets-header"><?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(); ?>Right Column<?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>
- <div id="existing-dashlets-col-0" class="dash-column">
- <?php $_from = $this->_tpl_vars['contactDashlets']['0']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['dashID'] => $this->_tpl_vars['row']):
-?>
- <div class="portlet">
- <div class="portlet-header" id="<?php echo $this->_tpl_vars['dashID']; ?>
-"><?php echo $this->_tpl_vars['row']['label']; ?>
-<?php if ($this->_tpl_vars['admin'] && ! $this->_tpl_vars['row']['is_reserved']): ?>&nbsp;<a class="crm-i fa-times delete-dashlet"></a><?php endif; ?></div>
- </div>
- <?php endforeach; endif; unset($_from); ?>
- </div>
-
- <div id="existing-dashlets-col-1" class="dash-column">
- <?php $_from = $this->_tpl_vars['contactDashlets']['1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['dashID'] => $this->_tpl_vars['row']):
-?>
- <div class="portlet">
- <div class="portlet-header" id="<?php echo $this->_tpl_vars['dashID']; ?>
-"><?php echo $this->_tpl_vars['row']['label']; ?>
-<?php if ($this->_tpl_vars['admin'] && ! $this->_tpl_vars['row']['is_reserved']): ?>&nbsp;<a class="crm-i fa-times delete-dashlet"></a><?php endif; ?></div>
- </div>
- <?php endforeach; endif; unset($_from); ?>
- </div>
-
- <div class="clear"></div>
-
-<?php echo '
-<script type="text/javascript">
- CRM.$(function($) {
- var currentReSortEvent;
- $(".dash-column").sortable({
- connectWith: \'.dash-column\',
- update: saveSorting
- });
-
- $(".portlet").addClass("ui-widget ui-widget-content ui-helper-clearfix ui-corner-all")
- .find(".portlet-header")
- .addClass("ui-widget-header ui-corner-all")
- .end()
- .find(".portlet-content");
-
- $(".dash-column").disableSelection();
-
- function saveSorting(e, ui) {
- // this is to prevent double post call
- if (!currentReSortEvent || e.originalEvent != currentReSortEvent) {
- currentReSortEvent = e.originalEvent;
-
- // Build a list of params to post to the server.
- var params = {};
-
- // post each columns
- dashletColumns = Array();
-
- // build post params
- $(\'div[id^=existing-dashlets-col-]\').each( function( i ) {
- $(this).find(\'.portlet-header\').each( function( j ) {
- var elementID = this.id;
- var idState = elementID.split(\'-\');
- params[\'columns[\' + i + \'][\' + idState[0] + \']\'] = idState[1];
- });
- });
-
- // post to server
- var postUrl = '; ?>
-"<?php echo CRM_Utils_System::crmURL(array('p' => 'civicrm/ajax/dashboard','h' => 0), $this);?>
-"<?php echo ';
- params[\'op\'] = \'save_columns\';
- params[\'key\'] = '; ?>
-"<?php echo smarty_function_crmKey(array('name' => 'civicrm/ajax/dashboard'), $this);?>
-"<?php echo ';
- CRM.status({}, $.post(postUrl, params));
- }
- }
-
- $(\'.delete-dashlet\').click( function( ) {
- var $dashlet = $(this).closest(\'.portlet-header\');
- CRM.confirm({
- title: '; ?>
-'<?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(); ?>Remove Permanently?<?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 ',
- message: '; ?>
-'<?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(); ?>Do you want to remove this dashlet as an "Available Dashlet", AND delete it from all user dashboards?<?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 '
- })
- .on(\'crmConfirm:yes\', function() {
- var dashletID = $dashlet.attr(\'id\');
- var idState = dashletID.split(\'-\');
-
- // Build a list of params to post to the server.
- var params = {dashlet_id: idState[0]};
-
- // delete dashlet
- var postUrl = '; ?>
-"<?php echo CRM_Utils_System::crmURL(array('p' => 'civicrm/ajax/dashboard','h' => 0), $this);?>
-"<?php echo ';
- params[\'op\'] = \'delete_dashlet\';
- params[\'key\'] = '; ?>
-"<?php echo smarty_function_crmKey(array('name' => 'civicrm/ajax/dashboard'), $this);?>
-"<?php echo ';
- CRM.status({}, $.post(postUrl, params));
- $dashlet.parent().fadeOut(\'fast\', function() {
- $(this).remove();
- });
- });
- });
- });
-</script>
-'; ?>
-
-<?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); ?> \ No newline at end of file