本文整理汇总了PHP中acymailing_tooltip函数的典型用法代码示例。如果您正苦于以下问题:PHP acymailing_tooltip函数的具体用法?PHP acymailing_tooltip怎么用?PHP acymailing_tooltip使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了acymailing_tooltip函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: toggle
function toggle($id, $value, $table, $extra = null)
{
$column = substr($id, 0, strpos($id, '_'));
$params = $this->_getToggle($column, $table);
$newValue = $params->values[$value];
if ($params->mode == 'pictures') {
static $pictureincluded = false;
if (!$pictureincluded) {
$pictureincluded = true;
$js = "function joomTogglePicture(id,newvalue,table){\n\t\t\t\t\twindow.document.getElementById(id).className = 'onload';\n\t\t\t\t\ttry{\n\t\t\t\t\t\tnew Ajax('index.php?option=com_acymailing&tmpl=component&ctrl=toggle&task='+id+'&value='+newvalue+'&table='+table,{ method: 'get', update: \$(id), onComplete: function() {\twindow.document.getElementById(id).className = 'loading'; }}).request();\n\t\t\t\t\t}catch(err){\n\t\t\t\t\t\tnew Request({url:'index.php?option=com_acymailing&tmpl=component&ctrl=toggle&task='+id+'&value='+newvalue+'&table='+table,method: 'get', onComplete: function(response) { \$(id).innerHTML = response; window.document.getElementById(id).className = 'loading'; }}).send();\n\t\t\t\t\t}\n\t\t\t\t}";
$doc = JFactory::getDocument();
$doc->addScriptDeclaration($js);
}
$desc = empty($params->description[$value]) ? '' : $params->description[$value];
if (empty($params->pictures)) {
$text = ' ';
$class = 'class="' . $params->aclass[$value] . '"';
} else {
$text = '<img src="' . $params->pictures[$value] . '"/>';
$class = '';
}
return '<a href="javascript:void(0);" style="font-style: normal;" ' . $class . ' onclick="joomTogglePicture(\'' . $id . '\',\'' . $newValue . '\',\'' . $table . '\')" title="' . str_replace('"', '\\"', $desc) . '">' . $text . '</a>';
} elseif ($params->mode == 'class') {
static $classincluded = false;
if (!$classincluded) {
$classincluded = true;
$js = "function joomToggleClass(id,newvalue,table,extra){\n\t\t\t\t\tvar mydiv=\$(id); mydiv.innerHTML = ''; mydiv.className = 'onload';\n\t\t\t\t\ttry{\n\t\t\t\t\t\tnew Ajax('index.php?option=com_acymailing&tmpl=component&ctrl=toggle&task='+id+'&value='+newvalue+'&table='+table+'&extra[color]='+extra,{ method: 'get', update: \$(id), onComplete: function() {\twindow.document.getElementById(id).className = 'loading'; }}).request();\n\t\t\t\t\t}catch(err){\n\t\t\t\t\t\tnew Request({url:'index.php?option=com_acymailing&tmpl=component&ctrl=toggle&task='+id+'&value='+newvalue+'&table='+table+'&extra[color]='+extra,method: 'get', onComplete: function(response) { \$(id).innerHTML = response; window.document.getElementById(id).className = 'loading'; }}).send();\n\t\t\t\t\t}\n\t\t\t\t\t}";
$doc = JFactory::getDocument();
$doc->addScriptDeclaration($js);
}
$desc = empty($params->description[$value]) ? '' : $params->description[$value];
$return = '<a href="javascript:void(0);" onclick="joomToggleClass(\'' . $id . '\',\'' . $newValue . '\',\'' . $table . '\',\'' . htmlspecialchars(urlencode($extra['color']), ENT_COMPAT, 'UTF-8') . '\');" title="' . str_replace('"', '\\"', $desc) . '"><div class="' . $params->class[$value] . '" style="background-color:' . htmlspecialchars($extra['color'], ENT_COMPAT, 'UTF-8') . ';border-color:' . htmlspecialchars($extra['color'], ENT_COMPAT, 'UTF-8') . '">';
if (!empty($extra['tooltip'])) {
$return .= acymailing_tooltip($extra['tooltip'], @$extra['tooltiptitle'], '', ' ');
}
$return .= '</div></a>';
return $return;
}
}
示例2: acymailing_tooltip
echo $this->elements->indexFollow;
?>
</td>
</tr>
</table>
</div>
<div class="onelineblockoptions">
<span class="acyblocktitle"><?php
echo JText::_('UNSUB_PAGE');
?>
</span>
<table class="acymailing_table" cellspacing="1">
<tr>
<td class="acykey">
<?php
echo acymailing_tooltip(str_replace('UNSUB_INTRO', JText::_('UNSUB_INTRO'), $this->config->get('unsub_intro', 'UNSUB_INTRO')), JText::_('UNSUB_INTRODUCTION'), '', JText::_('UNSUB_INTRODUCTION'));
?>
</td>
<td>
<textarea style="width:300px;" rows="5" name="config[unsub_intro]"><?php
echo $this->config->get('unsub_intro', 'UNSUB_INTRO');
?>
</textarea>
</td>
</tr>
<tr>
<td class="acykey">
<?php
echo JText::_('UNSUB_DISP_CHOICE');
?>
</td>
示例3: array
if (!empty($this->lists)) {
$k = 0;
$listids = array();
foreach ($this->lists as $row) {
$listids[] = $row->listid;
?>
<tr class="<?php
echo "row{$k}";
?>
">
<td>
<?php
if (!$row->published) {
echo '<a href="index.php?option=com_acymailing&ctrl=list&task=edit&listid=' . $row->listid . '" title="' . JText::_('LIST_PUBLISH', true) . '"><img style="margin:0px;" src="' . ACYMAILING_IMAGES . 'warning.png" alt="Warning" /></a> ';
}
echo acymailing_tooltip($row->description, $row->name, '', $row->name);
echo ' ( ' . JText::sprintf('SELECTED_USERS', $row->nbsub) . ' )';
echo '<div class="roundsubscrib rounddisp" style="background-color:' . $row->color . '"></div>';
?>
</td>
</tr>
<?php
$k = 1 - $k;
}
} else {
?>
<tr>
<td>
<?php
echo JText::_('EMAIL_AFFECT');
?>
示例4: foreach
<?php
$k = 0;
foreach ($this->filters as $row) {
$publishedid = 'published_' . $row->filid;
$id = 'filter_' . $row->filid;
?>
<tr class="<?php
echo "row{$k}";
?>
" id="<?php
echo $id;
?>
">
<td>
<?php
echo acymailing_tooltip($row->description, $row->name, '', $row->name, acymailing_completeLink('filter&task=edit&filid=' . $row->filid));
?>
</td>
<td align="center" style="text-align:center">
<span id="<?php
echo $publishedid;
?>
" class="loading"><?php
echo $this->toggleClass->toggle($publishedid, (int) $row->published, 'filter');
?>
</span>
</td>
<td align="center" style="text-align:center">
<?php
echo $this->toggleClass->delete($id, $row->filid . '_' . $row->filid, 'filter', true);
?>
示例5: acymailing_tooltip
<tr>
<td class="acykey">
<?php
echo acymailing_tooltip(JText::_('DATABASE_MAINTENANCE_DESC') . '<br />' . JText::_('DATABASE_MAINTENANCE_DESC2'), JText::_('DELETE_DETAILED_STATS'), '', JText::_('DELETE_DETAILED_STATS'));
?>
</td>
<td>
<?php
echo $this->elements->delete_stats;
?>
</td>
</tr>
<tr>
<td class="acykey">
<?php
echo acymailing_tooltip(JText::_('DATABASE_MAINTENANCE_DESC') . '<br />' . JText::_('DATABASE_MAINTENANCE_DESC2'), JText::_('DELETE_HISTORY'), '', JText::_('DELETE_HISTORY'));
?>
</td>
<td>
<?php
echo $this->elements->delete_history;
?>
</td>
</tr>
<?php
}
?>
<tr>
<td class="acykey">
<?php
echo JText::_('DATABASE_INTEGRITY');
示例6: acymailing_getDate
?>
">
<td align="center" style="text-align:center">
<?php
echo $i + 1;
?>
</td>
<td>
<?php
echo acymailing_getDate($row->senddate);
?>
</td>
<td>
<?php
$text = '<b>' . JText::_('ACY_ID') . ' : </b>' . $row->mailid;
echo acymailing_tooltip($text, $row->subject, '', $row->subject);
?>
</td>
<td align="center" style="text-align:center" >
<?php
echo $row->priority;
?>
</td>
<td align="center" style="text-align:center" >
<?php
echo $row->try;
?>
</td>
<td align="center" style="text-align:center" >
<?php
echo $this->toggleClass->delete($id, $row->subid . '_' . $row->mailid, 'queue');
示例7: acymailing_tooltip
</tr>
<tr>
<td class="key">
<?php
echo acymailing_tooltip(JText::_('REDIRECTION_UNSUB_DESC'), JText::_('REDIRECTION_UNSUB'), '', JText::_('REDIRECTION_UNSUB'));
?>
</td>
<td>
<input class="inputbox" type="text" id="unsub_redirect" name="config[unsub_redirect]" style="width:250px" value="<?php
echo $this->escape($this->config->get('unsub_redirect'));
?>
">
</td>
</tr>
<tr>
<td class="key">
<?php
echo acymailing_tooltip(JText::_('REDIRECTION_MODULE_DESC'), JText::_('REDIRECTION_MODULE'), '', JText::_('REDIRECTION_MODULE'));
?>
</td>
<td>
<input class="inputbox" type="text" id="module_redirect" name="config[module_redirect]" style="width:250px" value="<?php
echo $this->escape($this->config->get('module_redirect'));
?>
">
</td>
</tr>
</table>
</fieldset>
</div>
示例8: acymailing_tooltip
?>
" onclick="applyZoo(<?php
echo $row->id . ",'row{$k}'";
?>
);" style="cursor: pointer;">
<td><?php
$text = '<b>' . JText::_('ALIAS', true) . ': </b>' . $row->alias;
echo acymailing_tooltip($text, $row->name, '', $row->name);
?>
</td>
<td><?php
if (!empty($row->name)) {
$text = '<b>' . JText::_('PLG_ZLFRAMEWORK_NAME', true) . ' : </b>' . $row->author;
$text .= '<br/><b>' . JText::_('USERNAME', true) . ' : </b>' . $row->username;
$text .= '<br/><b>' . JText::_('ID', true) . ' : </b>' . $row->created_by;
echo acymailing_tooltip($text, $row->author, '', $row->author);
}
?>
</td>
<td align="center">
<?php
echo $row->id;
?>
<input type="hidden" name="itemlayout<?php
echo $row->id;
?>
" id="itemlayout<?php
echo $row->id;
?>
" value=""/>
<input type="hidden" name="itemonlinelayout<?php
示例9: acymailing_tooltip
<td class="key">
<?php
echo acymailing_tooltip(JText::_('NEWS_PRIORITY_DESC'), JText::_('NEWS_PRIORITY'), '', JText::_('NEWS_PRIORITY'));
?>
</td>
<td>
<input class="inputbox" type="text" name="config[priority_newsletter]" style="width:50px" value="<?php
echo intval($this->config->get('priority_newsletter', 3));
?>
">
</td>
</tr>
<tr>
<td class="key">
<?php
echo acymailing_tooltip(JText::_('FOLLOW_PRIORITY_DESC'), JText::_('FOLLOW_PRIORITY'), '', JText::_('FOLLOW_PRIORITY'));
?>
</td>
<td>
<input class="inputbox" type="text" name="config[priority_followup]" style="width:50px" value="<?php
echo intval($this->config->get('priority_followup', 2));
?>
">
</td>
</tr>
</table>
</fieldset>
<?php
}
?>
</div>
示例10: acymailing_getDate
echo acymailing_getDate($row->senddate);
?>
</td>
<td>
<a class="modal" href="<?php
echo acymailing_completeLink('queue&task=preview&mailid=' . $row->mailid . '&subid=' . $row->subid, true);
?>
" rel="{handler: 'iframe', size: {x: 800, y: 590}}">
<?php
echo acymailing_dispSearch($row->subject, $this->pageInfo->search);
?>
</a>
</td>
<td>
<?php
echo acymailing_tooltip(JText::_('ACY_NAME') . ' : ' . $row->name . '<br />' . JText::_('ACY_ID') . ' : ' . $row->subid, $row->email, 'tooltip.png', $row->name . ' ( ' . $row->email . ' )', acymailing_completeLink('subscriber&task=edit&subid=' . $row->subid));
?>
</td>
<td align="center" style="text-align:center">
<?php
echo $row->priority;
?>
</td>
<td align="center" style="text-align:center">
<?php
echo $row->try;
?>
</td>
<td align="center" style="text-align:center">
<?php
echo $this->toggleClass->delete($id, $row->subid . '_' . $row->mailid, 'queue');
示例11: dirname
</table>
</td>
</tr></table>
</fieldset>
<?php
if (acymailing_level(3)) {
include dirname(__FILE__) . DS . 'interface_enterprise.php';
}
?>
<fieldset class="adminform">
<legend><?php
echo JText::_('FOOTER');
?>
</legend>
<table class="admintable" cellspacing="1">
<tr>
<td class="key" >
<?php
echo acymailing_tooltip(JText::_('SHOW_FOOTER_DESC'), JText::_('SHOW_FOOTER'), '', JText::_('SHOW_FOOTER'));
?>
</td>
<td>
<?php
echo $this->elements->show_footer;
?>
</td>
</tr>
</table>
</fieldset>
</div>
示例12: acymailing_tooltip
$ctrl = 'followup';
} else {
$ctrl = 'newsletter';
}
echo acymailing_tooltip($text, $row->subject, '', $row->subject, acymailing_completeLink($ctrl . '&task=preview&mailid=' . $row->mailid));
?>
</td>
<?php
}
?>
<td>
<?php
$text = '<b>' . JText::_('ACY_NAME') . ' : </b>' . $row->name;
$text .= '<br /><b>' . JText::_('ACY_ID') . ' : </b>' . $row->subid;
$link = $tmpl ? '' : acymailing_completeLink('subscriber&task=edit&subid=' . $row->subid);
echo acymailing_tooltip($text, $row->email, '', $row->name . ' ( ' . $row->email . ' )', $link);
?>
</td>
<td align="center" style="text-align:center" >
<?php
echo $row->html ? JText::_('HTML') : JText::_('JOOMEXT_TEXT');
?>
</td>
<td align="center" style="text-align:center" >
<?php
echo $row->open;
?>
</td>
<td align="center" style="text-align:center" >
<?php
if (!empty($row->opendate)) {
示例13: getFormatOption
function getFormatOption($plugin, $default = 'TOP_LEFT', $singleElement = true, $function = 'updateTag')
{
$contentformat = array('TOP_LEFT' => '-208', 'TOP_RIGHT' => '-260', 'TITLE_IMG' => '0', 'TITLE_IMG_RIGHT' => '-52', 'CENTER_IMG' => '-104', 'TOP_IMG' => '-156', 'COL_LEFT' => '-312', 'COL_RIGHT' => '-364');
$name = $singleElement ? 'contentformat' : 'contentformatauto';
$result = '<input type="hidden" name="' . $name . '" id="' . $name . '" value="' . $default . '" size="1"/>';
$result .= '<span id="' . $name . 'button" class="btn acybuttonformat" style="margin: 0px 10px 0px 0px; background-position: ' . $contentformat[$default] . 'px -6px;height:34px;" onclick="togglediv' . $name . '();"></span>';
$result .= '<div id="' . $name . 'div" class="formatbox" style="display:none;">';
$reset = '';
if (file_exists(ACYMAILING_MEDIA . 'plugins')) {
jimport('joomla.filesystem.folder');
$files = JFolder::files(ACYMAILING_MEDIA . 'plugins', '^' . $plugin);
foreach ($files as $oneFile) {
$reset .= "document.getElementById('" . $name . $oneFile . "').style.backgroundPosition = '-480px -5px';document.getElementById('" . $name . $oneFile . "').style.boxShadow = 'inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)';";
$result .= '<span id="' . $name . $oneFile . '" class="btn acybuttonformat" style="background-position: -480px -5px;height:34px;" onclick="selectFormat' . $name . '(\'' . $oneFile . '\',\'' . $oneFile . '\',true);"></span>' . substr($oneFile, 0, strlen($oneFile) - 4) . '<br/>';
}
$result .= '<br />';
}
foreach ($contentformat as $value => $position) {
$reset .= "document.getElementById('" . $name . $value . "').style.backgroundPosition = '" . $position . "px -10px';document.getElementById('" . $name . $value . "').style.boxShadow = 'inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)';";
$result .= '<span id="' . $name . $value . '" class="btn acybuttonformat" style="background-position: ' . $position . 'px ' . ($value == $default ? -64 : -10) . 'px;" onclick="selectFormat' . $name . '(\'' . $value . '\',\'' . $position . '\',false);"></span>';
}
$result .= '<br />';
if (!$singleElement) {
$result .= '<br /><input type="hidden" id="' . $name . 'invert" value="0"/>';
$result .= '<span id="' . $name . 'invertbutton" class="btn acybuttonformat" style="background-position:-415px -8px;width:58px;height:30px;" onclick="toggleInvert' . $name . '();"></span>' . acymailing_tooltip('Alternatively display the image on the left and right', 'Alternate', '', 'Alternate');
}
$result .= '<span class="btn acyokbutton acybuttonformat" onclick="togglediv' . $name . '();">' . JText::_('ACY_CLOSE') . '</span>';
$result .= '</div>';
ob_start();
?>
<script type="text/javascript">
<!--
function togglediv<?php
echo $name;
?>
(){
var divelement = document.getElementById('<?php
echo $name;
?>
div');
if(divelement.style.display == 'none') divelement.style.display = '';
else divelement.style.display = 'none';
}
<?php
if (!$singleElement) {
?>
function toggleInvert<?php
echo $name;
?>
() {
var invertElement = document.getElementById('<?php
echo $name;
?>
invert');
var posy = '8';
var shadow = 'inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)';
if(invertElement.value == 0){
posy = '60';
shadow = 'inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)';
}
invertElement.value = 1-invertElement.value;
document.getElementById('<?php
echo $name;
?>
invertbutton').style.backgroundPosition = '-415px -'+posy+'px';
document.getElementById('<?php
echo $name;
?>
invertbutton').style.boxShadow = shadow;
<?php
echo $function;
?>
();
}
<?php
}
?>
function selectFormat<?php
echo $name;
?>
(format, position, custom){
<?php
echo $reset;
?>
var prosy = '64';
var newVal = format;
if(custom){
position = '-480';
prosy = '58';
newVal = '<?php
echo $default;
?>
| template:'+format;
}
document.getElementById('<?php
echo $name;
?>
').value = newVal;
document.getElementById('<?php
//.........这里部分代码省略.........
示例14: elseif
?>
</span>
</td>
<td align="center">
<?php
if (!empty($row->userid)) {
if (file_exists(ACYMAILING_ROOT . 'components' . DS . 'com_comprofiler' . DS . 'comprofiler.php')) {
$editLink = 'index.php?option=com_comprofiler&task=edit&cid[]=';
} elseif (!ACYMAILING_J16) {
$editLink = 'index.php?option=com_users&task=edit&cid[]=';
} else {
$editLink = 'index.php?option=com_users&task=user.edit&id=';
}
$text = JText::_('ACY_USERNAME') . ' : <b>' . $row->username;
$text .= '</b><br/>' . JText::_('USER_ID') . ' : <b>' . $row->userid . '</b>';
echo acymailing_tooltip($text, $row->username, '', $row->userid, $editLink . $row->userid);
}
?>
</td>
<td align="center">
<?php
echo $row->subid;
?>
</td>
<?php
}
?>
</tr>
<?php
$k = 1 - $k;
$i++;
示例15: array
?>
</td>
<td>
<?php
$lists = array();
$lists[] = JHTML::_('select.option', 'Leads', 'Leads');
$lists[] = JHTML::_('select.option', 'Contacts', 'Contacts');
$lists[] = JHTML::_('select.option', 'Vendors', 'Vendors');
echo JHTML::_('select.genericlist', $lists, "zoho_list", 'class="inputbox" size="1"', 'value', 'text', $value['zoho_list']);
?>
</td>
</tr>
<tr id="trzohocv">
<td class="key" >
<?php
echo acymailing_tooltip(JText::_('CUSTOM_VIEW_DESC'), JText::_('CUSTOM_VIEW'), '', JText::_('CUSTOM_VIEW'));
?>
</td>
<td>
<input class="inputbox" type="text" name="zoho_cv" size="35" value="<?php
echo $this->escape($this->config->get('zoho_cv'));
?>
">
</td>
</tr>
</table>
</fieldset>
<fieldset class="adminform">
<legend><?php
echo JText::_('FIELD');