本文整理汇总了PHP中IPSLib::locationHasHooks方法的典型用法代码示例。如果您正苦于以下问题:PHP IPSLib::locationHasHooks方法的具体用法?PHP IPSLib::locationHasHooks怎么用?PHP IPSLib::locationHasHooks使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IPSLib
的用法示例。
在下文中一共展示了IPSLib::locationHasHooks方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: hookRecentTopics
function hookRecentTopics($topics)
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_boards', $this->_funcHooks['hookRecentTopics'])) {
$count_5d1f1880cd6bb8001382df2bcf87e64a = is_array($this->functionData['hookRecentTopics']) ? count($this->functionData['hookRecentTopics']) : 0;
$this->functionData['hookRecentTopics'][$count_5d1f1880cd6bb8001382df2bcf87e64a]['topics'] = $topics;
}
$IPBHTML .= "" . (is_array($topics) && count($topics) ? "\n<div class='ipsSideBlock clearfix'>\n\t<h3>{$this->lang->words['recently_added_topics']}</h3>\n\t<div class='_sbcollapsable'>\n\t\t<ul class='ipsList_withminiphoto'>\n\t\t" . $this->__f__2d5fb08b1e33f0c2ec3ed40a555c4a33($topics) . "\t\t</ul>\n\t</div>\n</div>\n" : "") . "";
return $IPBHTML;
}
示例2: chatUnbanModcp
function chatUnbanModcp($member)
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_ipchat', $this->_funcHooks['chatUnbanModcp'])) {
$count_518139623dacf73bd598856168ecea88 = is_array($this->functionData['chatUnbanModcp']) ? count($this->functionData['chatUnbanModcp']) : 0;
$this->functionData['chatUnbanModcp'][$count_518139623dacf73bd598856168ecea88]['member'] = $member;
}
$IPBHTML .= "<!--no data in this master skin-->";
return $IPBHTML;
}
示例3: hookRecentTopics
function hookRecentTopics($topics)
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_boards', $this->_funcHooks['hookRecentTopics'])) {
$count_dcd0a89d16bb6462582d94eac5bc5d6e = is_array($this->functionData['hookRecentTopics']) ? count($this->functionData['hookRecentTopics']) : 0;
$this->functionData['hookRecentTopics'][$count_dcd0a89d16bb6462582d94eac5bc5d6e]['topics'] = $topics;
}
$IPBHTML .= "" . (is_array($topics) && count($topics) ? "\n<div class='ipsSideBlock clearfix'>\n\t<h3>{$this->lang->words['recently_added_topics']}</h3>\n\t<div class='_sbcollapsable'>\n\t\t<ul class='ipsList_withminiphoto'>\n\t\t" . $this->__f__2dc75b46300276564bc5eb930983e9a4($topics) . "\t\t</ul>\n\t</div>\n</div>\n" : "") . "";
return $IPBHTML;
}
示例4: postFormTemplate
function postFormTemplate($formData = array(), $form = array())
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_post', $this->_funcHooks['postFormTemplate'])) {
$count_2c2528d2e5cd8796ee4b6cb71861eced = is_array($this->functionData['postFormTemplate']) ? count($this->functionData['postFormTemplate']) : 0;
$this->functionData['postFormTemplate'][$count_2c2528d2e5cd8796ee4b6cb71861eced]['formData'] = $formData;
$this->functionData['postFormTemplate'][$count_2c2528d2e5cd8796ee4b6cb71861eced]['form'] = $form;
}
$IPBHTML .= "<postingForm>\r\n\t\t\t\t" . (($formData['formType'] == 'new' or $formData['formType'] == 'edit') ? "" . ($formData['tagBox'] ? "\r\n{$formData['tagBox']}\r\n\t\t\t\t\t" : "") . "" : "") . "\r\n\t<submitURL><![CDATA[{$this->settings['base_url']}]]></submitURL>\r\n\t<st>{$this->request['st']}</st>\r\n\t<app>forums</app>\r\n\t<module>post</module>\r\n\t<section>post</section>\r\n\t<do>{$form['doCode']}</do>\r\n\t<s>{$this->member->session_id}</s>\r\n\t<p>{$form['p']}</p>\r\n\t<t>{$form['t']}</t>\r\n\t<f>{$form['f']}</f>\r\n\t<parent_id>{$form['parent']}</parent_id>\r\n\t<attach_post_key>{$form['attach_post_key']}</attach_post_key>\r\n\t<auth_key>{$this->member->form_hash}</auth_key>\r\n\t<removeattachid>0</removeattachid>\r\n\t<return>{$this->request['return']}</return>\r\n\t<_from>{$this->request['_from']}</_from>\r\n\t{$formData['editor']}\r\n</postingForm>";
return $IPBHTML;
}
示例5: membersVkontakteConnect
function membersVkontakteConnect($isConnected, $userData)
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_vkontakte', $this->_funcHooks['membersVkontakteConnect'])) {
$count_9d5fe27045acb2d683dbd4ff035e517f = is_array($this->functionData['membersVkontakteConnect']) ? count($this->functionData['membersVkontakteConnect']) : 0;
$this->functionData['membersVkontakteConnect'][$count_9d5fe27045acb2d683dbd4ff035e517f]['isConnected'] = $isConnected;
$this->functionData['membersVkontakteConnect'][$count_9d5fe27045acb2d683dbd4ff035e517f]['userData'] = $userData;
}
$IPBHTML .= "<!--no data in this master skin-->";
return $IPBHTML;
}
示例6: viewReport
function viewReport($options = array(), $reports = array(), $comments = array())
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_reports', $this->_funcHooks['viewReport'])) {
$count_f41f8ca4098ca32b9d011215ae6fdab7 = is_array($this->functionData['viewReport']) ? count($this->functionData['viewReport']) : 0;
$this->functionData['viewReport'][$count_f41f8ca4098ca32b9d011215ae6fdab7]['options'] = $options;
$this->functionData['viewReport'][$count_f41f8ca4098ca32b9d011215ae6fdab7]['reports'] = $reports;
$this->functionData['viewReport'][$count_f41f8ca4098ca32b9d011215ae6fdab7]['comments'] = $comments;
}
$IPBHTML .= "<!--no data in this master skin-->";
return $IPBHTML;
}
示例7: whoPosted
function whoPosted($tid = 0, $title = "", $rows = array())
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_stats', $this->_funcHooks['whoPosted'])) {
$count_ba2436f1de4ae57a56c21b72fea9b4b6 = is_array($this->functionData['whoPosted']) ? count($this->functionData['whoPosted']) : 0;
$this->functionData['whoPosted'][$count_ba2436f1de4ae57a56c21b72fea9b4b6]['tid'] = $tid;
$this->functionData['whoPosted'][$count_ba2436f1de4ae57a56c21b72fea9b4b6]['title'] = $title;
$this->functionData['whoPosted'][$count_ba2436f1de4ae57a56c21b72fea9b4b6]['rows'] = $rows;
}
$IPBHTML .= "<!-- NoData -->";
return $IPBHTML;
}
示例8: whoPosted
function whoPosted($tid = 0, $title = "", $rows = array())
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_stats', $this->_funcHooks['whoPosted'])) {
$count_9b88a7a413d2e8ba792fbd7326a002cf = is_array($this->functionData['whoPosted']) ? count($this->functionData['whoPosted']) : 0;
$this->functionData['whoPosted'][$count_9b88a7a413d2e8ba792fbd7326a002cf]['tid'] = $tid;
$this->functionData['whoPosted'][$count_9b88a7a413d2e8ba792fbd7326a002cf]['title'] = $title;
$this->functionData['whoPosted'][$count_9b88a7a413d2e8ba792fbd7326a002cf]['rows'] = $rows;
}
$IPBHTML .= "<!-- NoData -->";
return $IPBHTML;
}
示例9: showOnlineList
function showOnlineList($rows, $links = "", $defaults = array())
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_online', $this->_funcHooks['showOnlineList'])) {
$count_0b677153ae344fe51a3fcc7421521b04 = is_array($this->functionData['showOnlineList']) ? count($this->functionData['showOnlineList']) : 0;
$this->functionData['showOnlineList'][$count_0b677153ae344fe51a3fcc7421521b04]['rows'] = $rows;
$this->functionData['showOnlineList'][$count_0b677153ae344fe51a3fcc7421521b04]['links'] = $links;
$this->functionData['showOnlineList'][$count_0b677153ae344fe51a3fcc7421521b04]['defaults'] = $defaults;
}
$IPBHTML .= "<!-- NoData -->";
return $IPBHTML;
}
示例10: viewReport
function viewReport($options = array(), $reports = array(), $comments = array())
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_reports', $this->_funcHooks['viewReport'])) {
$count_9f7295789e6b0d24c7830c5ef739c1e8 = is_array($this->functionData['viewReport']) ? count($this->functionData['viewReport']) : 0;
$this->functionData['viewReport'][$count_9f7295789e6b0d24c7830c5ef739c1e8]['options'] = $options;
$this->functionData['viewReport'][$count_9f7295789e6b0d24c7830c5ef739c1e8]['reports'] = $reports;
$this->functionData['viewReport'][$count_9f7295789e6b0d24c7830c5ef739c1e8]['comments'] = $comments;
}
$IPBHTML .= "" . $this->registry->getClass('output')->addJSModule("reports", "0") . "\n<div class='message'>\n\t{$this->lang->words['report_about_intro']} " . ($options['class'] == 'messages' ? "{$this->lang->words['report_about_pm']} {$options['title']}\n\t\t" . (in_array($this->memberData['member_group_id'], explode(',', $this->registry->getClass('reportLibrary')->plugins['messages']->_extra['plugi_messages_add'])) ? "\n\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&module=reports&section=reports&do=showMessage&topicID={$options['topicID']}", "public", ''), "", "") . "'>{$this->lang->words['report_join_pm']}</a>\n\t\t" : "") . "" : "\n\t\t<a href=\"{$options['url']}\" title=\"{$this->lang->words['report_view_reported']}\">{$options['title']}</a>\n\t") . "\n</div>\n<br />\n<div class='topic_controls'>\n\t<ul class='topic_buttons'>\n\t\t" . ($this->memberData['g_access_cp'] ? "<li><a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&module=reports&section=reports&do=process&report_ids[{$options['rid']}]={$options['rid']}&newstatus=d&k={$this->member->form_hash}", "public", ''), "", "") . "' title='{$this->lang->words['delete_report']}' data-confirmaction=\"true\"><img src='{$this->settings['img_url']}/delete.png' alt='' id='delete_report' /> {$this->lang->words['delete_report']}</a></li>" : "") . "\n\t\t<li><a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&module=reports&section=reports&do=process&report_ids[{$options['rid']}]={$options['rid']}&newstatus=2&k={$this->member->form_hash}", "public", ''), "", "") . "' title='{$this->lang->words['change_current_status']}' class='ipbmenu' id='change_status'>{$options['status_icon']} {$this->lang->words['current_status']} <strong>{$options['status_text']}</strong></a></li>\n\t</ul>\n</div>\n" . (is_array($options['statuses']) && count($options['statuses']) ? "\n\t<ul class='ipbmenu_content' id='change_status_menucontent'>\n\t\t" . $this->__f__60f64337895fd95fc5ed3733f1fd0f08($options, $reports, $comments) . "\t</ul>\n" : "") . "\n<br />\n<div class='topic hfeed'>\n<h2 class='maintitle'>{$this->lang->words['reports_h2']}</h2>\n<div class='generic_bar'></div>\n" . ((is_array($reports) and count($reports)) ? "\n\t" . $this->__f__f5b216073eeb67aa50d46802b83084a7($options, $reports, $comments) . "" : "") . "\n</div>\n<br /><hr /><br />\n<div class='ipsBox'>\n\t<div class='ipsBox_container ipsPad'>\n\t\t<h2 class='ipsType_subtitle'>{$comments['count']} {$this->lang->words['comments_h2']}</h2>\n\t\t<div>\n\t\t\t{$comments['html']}\n\t\t</div>\n\t</div>\n</div>\n" . (!$this->settings['disable_lightbox'] ? "\n" . (method_exists($this->registry->getClass('output')->getTemplate('global'), 'include_lightbox') ? $this->registry->getClass('output')->getTemplate('global')->include_lightbox() : '') . "\n" : "") . "\n" . (method_exists($this->registry->getClass('output')->getTemplate('global'), 'include_highlighter') ? $this->registry->getClass('output')->getTemplate('global')->include_highlighter(1) : '') . "";
return $IPBHTML;
}
示例11: emoticonPopUpList
function emoticonPopUpList($editor_id, $rows, $legacy_editor = false)
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_legends', $this->_funcHooks['emoticonPopUpList'])) {
$count_2550c309b81a03fccbcacbaff1c6c766 = is_array($this->functionData['emoticonPopUpList']) ? count($this->functionData['emoticonPopUpList']) : 0;
$this->functionData['emoticonPopUpList'][$count_2550c309b81a03fccbcacbaff1c6c766]['editor_id'] = $editor_id;
$this->functionData['emoticonPopUpList'][$count_2550c309b81a03fccbcacbaff1c6c766]['rows'] = $rows;
$this->functionData['emoticonPopUpList'][$count_2550c309b81a03fccbcacbaff1c6c766]['legacy_editor'] = $legacy_editor;
}
$IPBHTML .= "<!-- NoData -->";
return $IPBHTML;
}
示例12: showOnlineList
function showOnlineList($rows, $links = "", $defaults = array())
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_online', $this->_funcHooks['showOnlineList'])) {
$count_a17e815ce48f47a0780a3d1b8732d90d = is_array($this->functionData['showOnlineList']) ? count($this->functionData['showOnlineList']) : 0;
$this->functionData['showOnlineList'][$count_a17e815ce48f47a0780a3d1b8732d90d]['rows'] = $rows;
$this->functionData['showOnlineList'][$count_a17e815ce48f47a0780a3d1b8732d90d]['links'] = $links;
$this->functionData['showOnlineList'][$count_a17e815ce48f47a0780a3d1b8732d90d]['defaults'] = $defaults;
}
$IPBHTML .= "<!-- NoData -->";
return $IPBHTML;
}
示例13: emoticonPopUpList
function emoticonPopUpList($editor_id, $rows, $legacy_editor = false)
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_legends', $this->_funcHooks['emoticonPopUpList'])) {
$count_0d1d64c8a1ecfbaf3af85cdab1f71f2e = is_array($this->functionData['emoticonPopUpList']) ? count($this->functionData['emoticonPopUpList']) : 0;
$this->functionData['emoticonPopUpList'][$count_0d1d64c8a1ecfbaf3af85cdab1f71f2e]['editor_id'] = $editor_id;
$this->functionData['emoticonPopUpList'][$count_0d1d64c8a1ecfbaf3af85cdab1f71f2e]['rows'] = $rows;
$this->functionData['emoticonPopUpList'][$count_0d1d64c8a1ecfbaf3af85cdab1f71f2e]['legacy_editor'] = $legacy_editor;
}
$IPBHTML .= "<!-- NoData -->";
return $IPBHTML;
}
示例14: viewReport
function viewReport($options = array(), $reports = array(), $comments = array())
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_reports', $this->_funcHooks['viewReport'])) {
$count_60fa91a7d9f77e7cbbd3aaf39de3c4de = is_array($this->functionData['viewReport']) ? count($this->functionData['viewReport']) : 0;
$this->functionData['viewReport'][$count_60fa91a7d9f77e7cbbd3aaf39de3c4de]['options'] = $options;
$this->functionData['viewReport'][$count_60fa91a7d9f77e7cbbd3aaf39de3c4de]['reports'] = $reports;
$this->functionData['viewReport'][$count_60fa91a7d9f77e7cbbd3aaf39de3c4de]['comments'] = $comments;
}
$IPBHTML .= "<!--no data in this master skin-->";
return $IPBHTML;
}
示例15: showLogInForm
function showLogInForm($message = "", $referer = "", $extra_form = "", $login_methods = array())
{
$IPBHTML = "";
if (IPSLib::locationHasHooks('skin_login', $this->_funcHooks['showLogInForm'])) {
$count_da97d043f869cb0c51e20a13847a5e8e = is_array($this->functionData['showLogInForm']) ? count($this->functionData['showLogInForm']) : 0;
$this->functionData['showLogInForm'][$count_da97d043f869cb0c51e20a13847a5e8e]['message'] = $message;
$this->functionData['showLogInForm'][$count_da97d043f869cb0c51e20a13847a5e8e]['referer'] = $referer;
$this->functionData['showLogInForm'][$count_da97d043f869cb0c51e20a13847a5e8e]['extra_form'] = $extra_form;
$this->functionData['showLogInForm'][$count_da97d043f869cb0c51e20a13847a5e8e]['login_methods'] = $login_methods;
}
$IPBHTML .= "<form action=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&module=global&section=login&do=process", "public", ''), "", "") . "\" method=\"post\" id='login'>\n<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />\n\t" . ($referer ? "\n\t\t<input type=\"hidden\" name=\"referer\" value=\"{$referer}\" />\n\t" : "") . "\n\t<h2>{$this->lang->words['log_in']}</h2>\n\t\t<div class='ipsForm_vertical'>\n\t\t\n\t\t\n\t\t" . ($this->request['show'] == 'live' && in_array('live', $login_methods) ? "\n\t\t\t<div class='ipsField'>\n\t\t\t\t<label class='ipsField_title'>" . $this->registry->getClass('output')->getReplacement("live_small") . " {$this->lang->words['sign_in_winlive']}</label>\n\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&module=global&section=login&do=process&use_live=1&auth_key={$this->member->form_hash}", "public", ''), "", "") . "'>" . $this->registry->getClass('output')->getReplacement("live_large") . "</a> <a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&module=global&section=login&do=process&use_live=1&auth_key={$this->member->form_hash}", "public", ''), "", "") . "'>{$this->lang->words['signin_with_live']}</a>\n\t\t\t</div>\n\t\t" : "<div class='ipsField'>\n\t\t\t\t<label for='ips_username' class='ipsField_title'>{$this->lang->words['enter_name']}</label>\n\t\t\t\t<input id='username' type='text' class='input_text' name='ips_username' size='30' />\n\t\t\t</div>\n\t\t\t<div class='ipsField'>\n\t\t\t\t<label for='ips_password' class='ipsField_title'>{$this->lang->words['enter_pass']}</label>\n\t\t\t\t<input id='password' type='password' class='input_text' name='ips_password' size='30' />\n\t\t\t</div>\n\t\t\t\n\t\t\t<div class='ipsField'>\n\t\t\t\t" . (IPSLib::loginMethod_enabled('live') ? "\n\t\t\t\t\t<p>" . $this->registry->getClass('output')->getReplacement("live_small") . " {$this->lang->words['have_msnlive']} <a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&module=global&section=login&show=live", "public", ''), "", "") . "'>{$this->lang->words['sign_in_here']}</a></p><br />\n\t\t\t\t" : "") . "\n\t\t\t\t" . (IPSLib::loginMethod_enabled('facebook') ? "\n\t\t\t\t\t<p><a href=\"{$this->settings['_original_base_url']}/interface/facebook/index.php?_reg=1&mobile=true\"><img src=\"{$this->settings['img_url']}/facebook_login.png\" alt=\"\" /></a></p><br />\n\t\t\t\t" : "") . "\n\t\t\t\t" . (IPSLib::loginMethod_enabled('twitter') ? "\n\t\t\t\t\t<p><a href=\"{$this->settings['_original_base_url']}/interface/twitter/index.php?_reg=1&mobile=true\"><img src=\"{$this->settings['img_url']}/twitter_login.png\" alt=\"\" /></a></p>\n\t\t\t\t" : "") . "\n\t\t\t</div>") . "\n\t\t\n\t\t<h3>{$this->lang->words['sign_in_options']}</h3>\n\t\t<div class='ipsField ipsField_checkbox'>\n\t\t\t<input type='checkbox' id='remember' checked='checked' name='rememberMe' value='1' class='input_check' />\n\t\t\t<p class='ipsField_content'>\n\t\t\t\t<label for='remember'>{$this->lang->words['rememberme']}</label><br />\n\t\t\t\t<span class='desc'>{$this->lang->words['notrecommended']}</span>\n\t\t\t</p>\n\t\t</div>\t\n\t\t\t" . (!$this->settings['disable_anonymous'] ? "\n\t\t\t\t<div class='ipsField ipsField_checkbox'>\n\t\t\t\t\t<input type='checkbox' id='invisible' name='anonymous' value='1' class='input_check' />\n\t\t\t\t\t<p class='ipsField_content'>\n\t\t\t\t\t\t<label for='invisible'>{$this->lang->words['form_invisible']}</label><br />\n\t\t\t\t\t\t<span class='desc'>{$this->lang->words['anon_name']}</span>\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t" : "") . "\n\t\t</div>\n\t\t\n\t\t<div class='submit'>\n\t\t\t<input type='submit' class='button' value='{$this->lang->words['sign_in_button']}' />\n\t\t</div>\n\t</div>\n</form>";
return $IPBHTML;
}