当前位置: 首页>>代码示例>>PHP>>正文


PHP acymailing::tooltip方法代码示例

本文整理汇总了PHP中acymailing::tooltip方法的典型用法代码示例。如果您正苦于以下问题:PHP acymailing::tooltip方法的具体用法?PHP acymailing::tooltip怎么用?PHP acymailing::tooltip使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在acymailing的用法示例。


在下文中一共展示了acymailing::tooltip方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

        $text .= '<br/><b>' . JText::_('FROM_ADDRESS') . ' : </b>' . $row->fromemail;
        $text .= '<br/><br/><b>' . JText::_('REPLYTO_NAME') . ' : </b>' . $row->replyname;
        $text .= '<br/><b>' . JText::_('REPLYTO_ADDRESS') . ' : </b>' . $row->replyemail;
        echo acymailing::tooltip($text, '', '', $row->fromname);
    }
    ?>

					</td>
					<td align="center">
						<?php 
    if (!empty($row->name)) {
        $text = '<b>' . JText::_('NAME', true) . ' : </b>' . $row->name;
        $text .= '<br/><b>' . JText::_('USERNAME', true) . ' : </b>' . $row->username;
        $text .= '<br/><b>' . JText::_('EMAIL', true) . ' : </b>' . $row->email;
        $text .= '<br/><b>' . JText::_('ID', true) . ' : </b>' . $row->userid;
        echo acymailing::tooltip($text, $row->name, '', $row->name, 'index.php?option=com_users&task=edit&cid[]=' . $row->userid);
    }
    ?>

					</td>
					<td align="center">
						<span id="<?php 
    echo $publishedid;
    ?>
" class="spanloading"><?php 
    echo $this->toggleClass->toggle($publishedid, (int) $row->published, 'mail');
    ?>
</span>
					</td>
					<td width="1%" align="center">
						<?php 
开发者ID:rlee1962,项目名称:diylegalcenter,代码行数:31,代码来源:listing.php

示例2: 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 (version_compare(JVERSION, '1.6.0', '<')) {
            $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>
				</tr>
			<?php 
    $k = 1 - $k;
    $i++;
}
?>
		</tbody>
开发者ID:bizanto,项目名称:Hooked,代码行数:31,代码来源:listing.php

示例3: empty

            echo $myListId;
            ?>
"/>
						<label for="acylist_<?php 
            echo $myListId;
            ?>
">
						<?php 
            $joomItem = $config->get('itemid', 0);
            $addItem = empty($joomItem) ? '' : '&Itemid=' . $joomItem;
            $archivelink = acymailing::completeLink('archive&listid=' . $allLists[$myListId]->listid . '-' . $allLists[$myListId]->alias . $addItem);
            if ($params->get('overlay', 0)) {
                if (!$params->get('link', 1) or !$allLists[$myListId]->visible) {
                    $archivelink = '';
                }
                echo acymailing::tooltip($allLists[$myListId]->description, $allLists[$myListId]->name, '', $allLists[$myListId]->name, $archivelink);
            } else {
                if ($params->get('link', 1) and $allLists[$myListId]->visible) {
                    echo '<a href="' . $archivelink . '">';
                }
                echo $allLists[$myListId]->name;
                if ($params->get('link', 1) and $allLists[$myListId]->visible) {
                    echo '</a>';
                }
            }
            ?>
						</label>
					</p>
				<?php 
        }
        ?>
开发者ID:bizanto,项目名称:Hooked,代码行数:31,代码来源:tableless.php

示例4: 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){\r\n\t\t\t\t\twindow.document.getElementById(id).className = 'onload';\r\n\t\t\t\t\ttry{\r\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();\r\n\t\t\t\t\t}catch(err){\r\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();\r\n\t\t\t\t\t}\r\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);" ' . $class . ' onclick="joomTogglePicture(\'' . $id . '\',\'' . $newValue . '\',\'' . $table . '\')" title="' . $desc . '">' . $text . '</a>';
     } elseif ($params->mode == 'class') {
         static $classincluded = false;
         if (!$classincluded) {
             $classincluded = true;
             $js = "function joomToggleClass(id,newvalue,table,extra){\r\n\t\t\t\t\tvar mydiv=\$(id); mydiv.innerHTML = ''; mydiv.className = 'onload';\r\n\t\t\t\t\ttry{\r\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();\r\n\t\t\t\t\t}catch(err){\r\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();\r\n\t\t\t\t\t}\r\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 . '\',\'' . urlencode($extra['color']) . '\');" title="' . $desc . '"><div class="' . $params->class[$value] . '" style="background-color:' . $extra['color'] . '">';
         if (!empty($extra['tooltip'])) {
             $return .= acymailing::tooltip($extra['tooltip'], @$extra['tooltiptitle'], '', '&nbsp;&nbsp;&nbsp;&nbsp;');
         }
         $return .= '</div></a>';
         return $return;
     }
 }
开发者ID:bizanto,项目名称:Hooked,代码行数:39,代码来源:toggle.php

示例5:

    ?>

					<td align="center">
						<?php 
    echo acymailing::getDate($row->created);
    ?>

					</td>
					<td align="center">
						<?php 
    if (empty($row->username)) {
        echo $this->joomGroups[(int) $row->gid]->name;
    } else {
        $text = '<b>' . JText::_('USERNAME') . ' : </b>' . $row->username;
        $text .= '<br/><b>' . JText::_('USER_ID') . ' : </b>' . $row->userid;
        echo acymailing::tooltip($text, '', '', $this->joomGroups[(int) $row->gid]->name);
    }
    ?>

					</td>
					<?php 
    if (!empty($this->displayFields['html'])) {
        ?>

					<td align="center">
						<span id="<?php 
        echo $htmlid;
        ?>
" class="loading"><?php 
        echo $this->toggleClass->toggle($htmlid, $row->html, 'subscriber');
        ?>
开发者ID:rlee1962,项目名称:diylegalcenter,代码行数:31,代码来源:listing.php

示例6: strtolower

				<td class="key" >
					<?php 
echo acymailing::tooltip(JText::_('ALLOWED_FILES_DESC'), JText::_('ALLOWED_FILES'), '', JText::_('ALLOWED_FILES'));
?>
				</td>
				<td>
					<input class="inputbox" type="text" name="config[allowedfiles]" size="60" value="<?php 
echo strtolower(str_replace(' ', '', $this->config->get('allowedfiles')));
?>
" />
				</td>
			</tr>
			<tr>
				<td class="key">
					<?php 
echo acymailing::tooltip(JText::_('UPLOAD_FOLDER_DESC'), JText::_('UPLOAD_FOLDER'), '', JText::_('UPLOAD_FOLDER'));
?>
				</td>
				<td>
					<input class="inputbox" type="text" name="config[uploadfolder]" size="60" value="<?php 
echo $this->config->get('uploadfolder');
?>
" />
				</td>
			</tr>
		</table>
	</fieldset>
<?php 
if (acymailing::level(1)) {
}
?>
开发者ID:bizanto,项目名称:Hooked,代码行数:31,代码来源:security.php

示例7: foreach

			<table class="adminlist" cellspacing="1" align="center">
				<tbody>
					<?php 
        $k = 0;
        foreach ($this->lists as $row) {
            if ($row->nbsub > 100) {
                $displayWarning = true;
            }
            ?>
					<tr class="<?php 
            echo "row{$k}";
            ?>
">
						<td>
							<?php 
            echo acymailing::tooltip($row->description, $row->name, 'tooltip.png', $row->name);
            echo ' ( ' . $row->nbsub . ' )';
            ?>
						</td>
					</tr>
					<?php 
            $k = 1 - $k;
        }
        ?>
				</tbody>
			</table>
		</fieldset>
		<?php 
        if (!empty($this->values->alreadySent)) {
            acymailing::display(JText::sprintf('ALREADY_SENT', $this->values->alreadySent) . '<br/>' . JText::_('REMOVE_ALREADY_SENT') . '<br/>' . JHTML::_('select.booleanlist', "onlynew", '', 1, JText::_('JOOMEXT_YES'), JText::_('SEND_TO_ALL')), 'warning');
        } elseif ($displayWarning) {
开发者ID:bizanto,项目名称:Hooked,代码行数:31,代码来源:sendconfirm.php

示例8:

			<tr>
				<td class="key">
				<?php 
echo acymailing::tooltip(JText::_('REDIRECTION_CONFIRM_DESC'), JText::_('REDIRECTION_CONFIRM'), '', JText::_('REDIRECTION_CONFIRM'));
?>

				</td>
				<td>
					<input class="inputbox" type="text" id="confirm_redirect" name="config[confirm_redirect]" size="60" value="<?php 
echo $this->config->get('confirm_redirect');
?>
">
				</td>
			</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]" size="60" value="<?php 
echo $this->config->get('unsub_redirect');
?>
">
				</td>
			</tr>
		</table>
	</fieldset>
</div>
开发者ID:rlee1962,项目名称:diylegalcenter,代码行数:31,代码来源:subscription.php

示例9: strip_tags

					</td>
					<td align="center">
						<a target="_blank" href="<?php 
    echo strip_tags($row->url);
    ?>
"><?php 
    echo $row->urlname;
    ?>
</a>
					</td>
					<td align="center">
						<?php 
    $text = '<b>' . JText::_('NAME', true) . ' : </b>' . $row->name;
    $text .= '<br/><b>' . JText::_('EMAIL', true) . ' : </b>' . $row->email;
    $text .= '<br/><b>' . JText::_('ID', true) . ' : </b>' . $row->subid;
    echo acymailing::tooltip($text, $row->email, '', $row->email);
    ?>

					</td>
					<td align="center">
						<?php 
    echo $row->click;
    ?>

					</td>
				</tr>
			<?php 
    $k = 1 - $k;
}
?>
开发者ID:rlee1962,项目名称:diylegalcenter,代码行数:30,代码来源:detaillisting.php

示例10:

    ?>
					</td>
					<td align="center">
					<?php 
    echo acymailing::getDate($row->senddate);
    ?>
					</td>
					<td align="center">
					<?php 
    $link = ($row->type == 'followup' ? 'followup' : 'newsletter') . '&task=edit&cid[]=' . $row->mailid;
    echo acymailing::tooltip('ID : ' . $row->mailid, $row->subject, 'tooltip.png', $row->subject, acymailing::completeLink($link));
    ?>
					</td>
					<td align="center">
					<?php 
    echo acymailing::tooltip(JText::_('ACY_NAME') . ' : ' . $row->name . '<br/>' . JText::_('ACY_ID') . ' : ' . $row->subid, $row->email, 'tooltip.png', $row->email, acymailing::completeLink('subscriber&task=edit&cid[]=' . $row->subid));
    ?>
					</td>
					<td align="center">
						<?php 
    echo $row->priority;
    ?>
					</td>
					<td align="center">
						<?php 
    echo $row->try;
    ?>
					</td>
					<td align="center">
						<?php 
    echo $this->toggleClass->delete($id, $row->subid . '_' . $row->mailid, 'queue');
开发者ID:bizanto,项目名称:Hooked,代码行数:31,代码来源:listing.php

示例11:

        ?>
">
								<td align="center">
								<?php 
        echo $i + 1;
        ?>
								</td>
								<td align="center">
									<?php 
        echo acymailing::getDate($row->senddate);
        ?>
								</td>
								<td align="center">
									<?php 
        $text = '<b>' . JText::_('ACY_ID') . ' : </b>' . $row->mailid;
        echo acymailing::tooltip($text, $row->subject, '', $row->subject);
        ?>
								</td>
								<td align="center">
									<?php 
        echo $row->priority;
        ?>
								</td>
								<td align="center">
									<?php 
        echo $row->priority;
        ?>
								</td>
								<td align="center">
									<?php 
        echo $this->toggleClass->delete($id, $row->subid . '_' . $row->mailid, 'queue');
开发者ID:bizanto,项目名称:Hooked,代码行数:31,代码来源:form.php

示例12:

					<td>
						<?php 
    echo $row->name;
    ?>
					</td>
					<td>
						<?php 
    echo $row->email;
    ?>
					</td>
					<td align="center">
						<?php 
    if (!empty($row->userid)) {
        $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);
    }
    ?>
					</td>
					<td align="center">
						<?php 
    echo $row->subid;
    ?>
					</td>
				</tr>
			<?php 
    $k = 1 - $k;
}
?>
		</tbody>
	</table>
开发者ID:bizanto,项目名称:Hooked,代码行数:31,代码来源:choose.php

示例13: 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">
							<span id="<?php 
        echo $publishedid;
        ?>
" class="loading"><?php 
        echo $this->toggleClass->toggle($publishedid, (int) $row->published, 'filter');
        ?>
</span>
					</td>
					<td align="center">
						<?php 
        echo $this->toggleClass->delete($id, $row->filid . '_' . $row->filid, 'filter', true);
        ?>
开发者ID:bizanto,项目名称:Hooked,代码行数:31,代码来源:form.php

示例14: explode

    $i = 0;
    $selectedLists = explode(',', JRequest::getString('listids'));
    foreach ($this->lists as $row) {
        ?>
				<tr class="<?php 
        echo "row{$k}";
        ?>
">
					<td>
						<?php 
        echo '<div class="roundsubscrib rounddisp" style="background-color:' . $row->color . '"></div>';
        ?>
						<?php 
        $text = '<b>' . JText::_('ACY_ID') . ' : </b>' . $row->listid;
        $text .= '<br/>' . $row->description;
        echo acymailing::tooltip($text, $row->name, 'tooltip.png', $row->name);
        ?>
					</td>
					<td align="center" nowrap="nowrap">
						<?php 
        echo JHTML::_('select.booleanlist', "data[listmail][" . $row->listid . "]", '', (bool) ($row->mailid or empty($row->mailid) and empty($this->mail->mailid) and $filter_list == $row->listid or empty($this->mail->mailid) and count($this->lists) == 1 or in_array($row->listid, $selectedLists)), JText::_('JOOMEXT_YES'), JText::_('JOOMEXT_NO'));
        ?>
					</td>
				</tr>
		<?php 
        $k = 1 - $k;
        $i++;
    }
    if (count($this->lists) > 3) {
        ?>
			<tr><td></td><td align="center" nowrap="nowrap">
开发者ID:bizanto,项目名称:Hooked,代码行数:31,代码来源:param.form.php

示例15:

		</tr>
		<tr>
			<td class="key" >
			<?php 
echo acymailing::tooltip(JText::_('FE_MODIFICATION_DESC'), JText::_('FE_MODIFICATION'), '', JText::_('FE_MODIFICATION'));
?>

			</td>
			<td>
				<?php 
echo JHTML::_('select.booleanlist', "config[frontend_modif]", '', $this->config->get('frontend_modif', 1));
?>

			</td>
		</tr>
		<tr>
			<td class="key" >
			<?php 
echo acymailing::tooltip(JText::_('FE_MODIFICATION_SENT_DESC'), JText::_('FE_MODIFICATION_SENT'), '', JText::_('FE_MODIFICATION_SENT'));
?>

			</td>
			<td>
				<?php 
echo JHTML::_('select.booleanlist', "config[frontend_modif_sent]", '', $this->config->get('frontend_modif_sent', 1));
?>

			</td>
		</tr>
	</table>
</fieldset>
开发者ID:rlee1962,项目名称:diylegalcenter,代码行数:31,代码来源:interface_enterprise.php


注:本文中的acymailing::tooltip方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。