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;
 }
Example #2
0
 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;
 }
 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;
 }
Example #4
0
 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;
 }
 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;
 }
 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;
 }
Example #7
0
 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;
 }
Example #8
0
 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;
 }
Example #9
0
 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;
 }
 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&amp;module=reports&amp;section=reports&amp;do=showMessage&amp;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&amp;module=reports&amp;section=reports&amp;do=process&amp;report_ids[{$options['rid']}]={$options['rid']}&amp;newstatus=d&amp;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&amp;module=reports&amp;section=reports&amp;do=process&amp;report_ids[{$options['rid']}]={$options['rid']}&amp;newstatus=2&amp;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;
 }
 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;
 }
Example #12
0
 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;
 }
Example #13
0
 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;
 }
Example #14
0
 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;
 }
Example #15
0
 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&amp;module=global&amp;section=login&amp;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&amp;module=global&amp;section=login&amp;do=process&amp;use_live=1&amp;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&amp;module=global&amp;section=login&amp;do=process&amp;use_live=1&amp;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&amp;module=global&amp;section=login&amp;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&amp;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&amp;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;
 }
Example #16
0
 function helpShowTopics($one_text = "", $two_text = "", $three_text = "", $rows)
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_help', $this->_funcHooks['helpShowTopics'])) {
         $count_391fdd1dbca970c7f08d8a64c2455ab0 = is_array($this->functionData['helpShowTopics']) ? count($this->functionData['helpShowTopics']) : 0;
         $this->functionData['helpShowTopics'][$count_391fdd1dbca970c7f08d8a64c2455ab0]['one_text'] = $one_text;
         $this->functionData['helpShowTopics'][$count_391fdd1dbca970c7f08d8a64c2455ab0]['two_text'] = $two_text;
         $this->functionData['helpShowTopics'][$count_391fdd1dbca970c7f08d8a64c2455ab0]['three_text'] = $three_text;
         $this->functionData['helpShowTopics'][$count_391fdd1dbca970c7f08d8a64c2455ab0]['rows'] = $rows;
     }
     $IPBHTML .= "<!-- NoData -->";
     return $IPBHTML;
 }
Example #17
0
 function showLogInForm($message = "", $referer = "", $extra_form = "", $login_methods = array())
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_login', $this->_funcHooks['showLogInForm'])) {
         $count_cc9729c50b1d61793f7ca0f8d56c4f4c = is_array($this->functionData['showLogInForm']) ? count($this->functionData['showLogInForm']) : 0;
         $this->functionData['showLogInForm'][$count_cc9729c50b1d61793f7ca0f8d56c4f4c]['message'] = $message;
         $this->functionData['showLogInForm'][$count_cc9729c50b1d61793f7ca0f8d56c4f4c]['referer'] = $referer;
         $this->functionData['showLogInForm'][$count_cc9729c50b1d61793f7ca0f8d56c4f4c]['extra_form'] = $extra_form;
         $this->functionData['showLogInForm'][$count_cc9729c50b1d61793f7ca0f8d56c4f4c]['login_methods'] = $login_methods;
     }
     $IPBHTML .= "<template>LoginRequired</template>\n<categories>\n\t<category>\n\t\t<id>180</id>\n\t\t<name>\n\t\t<![CDATA[ Registration Required ]]>\n\t\t</name>\n\t\t<forums>\n\t\t\t<forum>\n\t\t\t\t<id>1</id>\n\t\t\t\t<name>\n\t\t\t\t\t<![CDATA[ Please login or register ]]>\n\t\t\t\t</name>\n\t\t\t\t<url>\n\t\t\t\t\t<![CDATA[]]>\n\t\t\t\t</url>\n\t\t\t\t<description>\n\t\t\t\t\t<![CDATA[]]>\n\t\t\t\t</description>\n\t\t\t\t<isRead>1</isRead>\n\t\t\t\t<redirect>0</redirect>\n\t\t\t\t<type/>\n\t\t\t\t<topics>0</topics>\n\t\t\t\t<replies>0</replies>\n\t\t\t\t<lastpost>\n\t\t\t\t\t<date>14 May 2012</date>\n\t\t\t\t\t<name>\n\t\t\t\t\t\t<![CDATA[]]>\n\t\t\t\t\t</name>\n\t\t\t\t\t<id>362680</id>\n\t\t\t\t\t<url>\n\t\t\t\t\t\t<![CDATA[]]>\n\t\t\t\t\t</url>\n\t\t\t\t\t<user>\n\t\t\t\t\t\t<id>0</id>\n\t\t\t\t\t\t<name>\n\t\t\t\t\t\t<![CDATA[]]>\n\t\t\t\t\t\t</name>\n\t\t\t\t\t\t<url>\n\t\t\t\t\t\t\t<![CDATA[]]>\n\t\t\t\t\t\t</url>\n\t\t\t\t\t</user>\n\t\t\t\t</lastpost>\n\t\t\t</forum>\n\t\t</forums>\n\t</category>\n</categories>";
     return $IPBHTML;
 }
Example #18
0
 function helpShowTopics($one_text = "", $two_text = "", $three_text = "", $rows)
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_help', $this->_funcHooks['helpShowTopics'])) {
         $count_32ba1cb416c964e1fe346622ac573a26 = is_array($this->functionData['helpShowTopics']) ? count($this->functionData['helpShowTopics']) : 0;
         $this->functionData['helpShowTopics'][$count_32ba1cb416c964e1fe346622ac573a26]['one_text'] = $one_text;
         $this->functionData['helpShowTopics'][$count_32ba1cb416c964e1fe346622ac573a26]['two_text'] = $two_text;
         $this->functionData['helpShowTopics'][$count_32ba1cb416c964e1fe346622ac573a26]['three_text'] = $three_text;
         $this->functionData['helpShowTopics'][$count_32ba1cb416c964e1fe346622ac573a26]['rows'] = $rows;
     }
     $IPBHTML .= "<!-- NoData -->";
     return $IPBHTML;
 }
Example #19
0
 function showLogInForm($message = "", $referer = "", $extra_form = "", $login_methods = array())
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_login', $this->_funcHooks['showLogInForm'])) {
         $count_a533fb0124102e2a4fe8dcbd9b7c1c25 = is_array($this->functionData['showLogInForm']) ? count($this->functionData['showLogInForm']) : 0;
         $this->functionData['showLogInForm'][$count_a533fb0124102e2a4fe8dcbd9b7c1c25]['message'] = $message;
         $this->functionData['showLogInForm'][$count_a533fb0124102e2a4fe8dcbd9b7c1c25]['referer'] = $referer;
         $this->functionData['showLogInForm'][$count_a533fb0124102e2a4fe8dcbd9b7c1c25]['extra_form'] = $extra_form;
         $this->functionData['showLogInForm'][$count_a533fb0124102e2a4fe8dcbd9b7c1c25]['login_methods'] = $login_methods;
     }
     $IPBHTML .= "" . $this->registry->getClass('output')->addJSModule("signin", "0") . "\r\n<div id='login_form' class='clearfix'>\r\n\t<div id='member_login'>\r\n\t\t<h2 class='maintitle'>{$this->lang->words['log_in']}</h2>\r\n\t\t<form action=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=global&amp;section=login&amp;do=process", "public", ''), "", "") . "\" method=\"post\" id='login'>\r\n\t\t\t<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />\r\n\t\t\t" . ($referer ? "<input type=\"hidden\" name=\"referer\" value=\"{$referer}\" />" : "") . "\r\n\t\t\t<div id='regular_signin'>\r\n\t\t\t\t<a id='_regularsignin'></a>\r\n\t\t\t\t<h3 class='bar'>{$this->lang->words['enter_name_and_pass']}</h3>\r\n\t\t\t\t<ul class='ipsForm ipsForm_vertical ipsPad_double left'>\r\n\t\t\t\t\t<li class='ipsField'>\r\n\t\t\t\t\t\t<label for='ips_username' class='ipsField_title'>{$this->lang->words['enter_name']}</label>\r\n\t\t\t\t\t\t<p class='ipsField_content'>\r\n\t\t\t\t\t\t\t<input id='ips_username' type='text' class='input_text' name='ips_username' size='50' tabindex='1' /><br />\r\n\t\t\t\t\t\t\t<span class='desc ipsType_smaller'>{$this->lang->words['register_prompt_1']} <a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=global&amp;section=register", "public", ''), "", "") . "' title='{$this->lang->words['register_prompt_2']}'>{$this->lang->words['register_prompt_2']}</a></span>\r\n\t\t\t\t\t\t</p>\r\n\t\t\t\t\t</li>\r\n\t\t\t\t\t<li class='ipsField'>\r\n\t\t\t\t\t\t<label for='ips_password' class='ipsField_title'>{$this->lang->words['enter_pass']}</label>\r\n\t\t\t\t\t\t<p class='ipsField_content'>\r\n\t\t\t\t\t\t\t<input id='ips_password' type='password' class='input_text' name='ips_password' size='50' tabindex='2' /><br />\r\n\t\t\t\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=global&amp;section=lostpass", "public", ''), "", "") . "' class='ipsType_smaller' title='{$this->lang->words['retrieve_pw']}'>{$this->lang->words['login_forgotten_pass']}</a>\r\n\t\t\t\t\t\t</p>\r\n\t\t\t\t\t</li>\r\n\t\t\t\t</ul>\r\n\t\t\t\t<div class='right ipsPad_double' id='other_signin'>\r\n\t\t\t\t\t<ul class='ipsList_data clear ipsType_small'>\r\n\t\t\t\t\t\t" . (IPSLib::loginMethod_enabled('facebook') ? "\r\n\t\t\t\t\t\t\t<li><a href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=global&amp;section=login&amp;serviceClick=facebook", "public", ''), "", "") . "\" class='ipsButton_secondary fixed_width'><img src=\"{$this->settings['img_url']}/loginmethods/facebook.png\" alt=\"Facebook\" /> &nbsp; {$this->lang->words['have_facebook']}</a></li>\r\n\t\t\t\t\t\t" : "") . "\r\n\t\t\t\t\t\t" . (IPSLib::loginMethod_enabled('twitter') ? "\r\n\t\t\t\t\t\t\t<li><a href=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=global&amp;section=login&amp;serviceClick=twitter", "public", ''), "", "") . "\" class='ipsButton_secondary fixed_width'><img src=\"{$this->settings['img_url']}/loginmethods/twitter.png\" alt=\"Twitter\" /> &nbsp; {$this->lang->words['have_twitter']}</a></li>\r\n\t\t\t\t\t\t" : "") . "\r\n\t\t\t\t\t\t" . (IPSLib::loginMethod_enabled('live') ? "\r\n\t\t\t\t\t\t\t<li><a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=global&amp;section=login&amp;do=process&amp;use_live=1&amp;auth_key={$this->member->form_hash}", "public", ''), "", "") . "' title='{$this->lang->words['use_live']}' class='ipsButton_secondary fixed_width'><img src=\"{$this->settings['img_url']}/loginmethods/windows.png\" alt=\"Windows Live\" /> &nbsp; {$this->lang->words['sign_in_winlive']}</a></li>\r\n\t\t\t\t\t\t" : "") . "\r\n\t\t\t\t\t\t" . ((is_array($extra_form) and count($extra_form)) ? "\r\n\t\t\t\t\t\t\t" . $this->__f__2593c026b339e6102b9ad17084e47723($message, $referer, $extra_form, $login_methods) . "\t\t\t\t\t\t" : "") . "\r\n\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t" . (IPSLib::loginMethod_enabled('live') ? "\r\n\t\t\t\t<div id='live_signin'>\r\n\t\t\t\t\t<a id='_live'></a>\r\n\t\t\t\t\t<h3 class='bar'>{$this->lang->words['sign_in_winlive']}</h3>\r\n\t\t\t\t\t<div class='ipsPad_double'>\r\n\t\t\t\t\t\t<br />\r\n\t\t\t\t\t\t<a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=global&amp;section=login&amp;do=process&amp;use_live=1&amp;auth_key={$this->member->form_hash}", "public", ''), "", "") . "' class='ipsButton'>" . $this->registry->getClass('output')->getReplacement("live_large") . " &nbsp;&nbsp;{$this->lang->words['signin_with_live']}</a>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<p class='extra'><a href='#_regularsignin' title='{$this->lang->words['regular_signin']}' id='live_close'>{$this->lang->words['use_regular']}</a></p>\r\n\t\t\t\t</div>\r\n\t\t\t" : "") . "\r\n\t\t\t<hr />\r\n\t\t\t<fieldset id='signin_options'>\r\n\t\t\t\t<legend>{$this->lang->words['sign_in_options']}</legend>\r\n\t\t\t\t<ul class='ipsForm ipsForm_vertical ipsPad_double'>\r\n\t\t\t\t\t<li class='ipsField ipsField_checkbox clearfix'>\r\n\t\t\t\t\t\t<input type='checkbox' id='remember' checked='checked' name='rememberMe' value='1' class='input_check' tabindex='3' />\r\n\t\t\t\t\t\t<p class='ipsField_content'>\r\n\t\t\t\t\t\t\t<label for='remember'>{$this->lang->words['rememberme']}</label><br />\r\n\t\t\t\t\t\t\t<span class='desc lighter'>{$this->lang->words['notrecommended']}</span>\r\n\t\t\t\t\t\t</p>\r\n\t\t\t\t\t</li>\r\n\t\t\t\t\t" . (!$this->settings['disable_anonymous'] ? "\r\n\t\t\t\t\t\t<li class='ipsField ipsField_checkbox clearfix'>\r\n\t\t\t\t\t\t\t<input type='checkbox' id='invisible' name='anonymous' value='1' class='input_check' tabindex='4' />\r\n\t\t\t\t\t\t\t<p class='ipsField_content'>\r\n\t\t\t\t\t\t\t\t<label for='invisible'>{$this->lang->words['form_invisible']}</label><br />\r\n\t\t\t\t\t\t\t\t<span class='desc lighter'>{$this->lang->words['anon_name']}</span>\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t</li>\r\n\t\t\t\t\t" : "") . "\r\n\t\t\t\t\t" . ($this->settings['priv_title'] ? "\r\n\t\t\t\t\t<li class='ipsPad_top ipsForm_center desc ipsType_smaller'>\r\n\t\t\t\t\t\t<a rel=\"nofollow\" href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=global&amp;section=privacy", "public", ''), "false", "privacy") . "'>{$this->settings['priv_title']}</a>\r\n\t\t\t\t\t</li>\r\n\t\t\t\t\t" : "") . "\r\n\t\t\t\t</ul>\r\n\t\t\t</fieldset>\r\n\t\t\t<fieldset class='submit'>\r\n\t\t\t\t<input type='submit' class='input_submit' value='{$this->lang->words['sign_in_button']}' tabindex='5' /> {$this->lang->words['or']} <a href='{$this->settings['board_url']}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>\r\n\t\t\t</fieldset>\r\n\t\t</form>\r\n\t</div>\r\n</div>\r\n" . ($this->request['serviceClick'] == 'live' ? "\r\n<script type='text/javascript'>\r\ndocument.observe(\"dom:loaded\", function(e){ ipb.signin.toggleLive(e); });\r\n</script>\r\n" : "") . "";
     return $IPBHTML;
 }
Example #20
0
 function forward_form($title = "", $text = "", $lang = "", $captchaHTML = '', $msg = '')
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_emails', $this->_funcHooks['forward_form'])) {
         $count_a05db3f2ca5207b3bbe004fa69578956 = is_array($this->functionData['forward_form']) ? count($this->functionData['forward_form']) : 0;
         $this->functionData['forward_form'][$count_a05db3f2ca5207b3bbe004fa69578956]['title'] = $title;
         $this->functionData['forward_form'][$count_a05db3f2ca5207b3bbe004fa69578956]['text'] = $text;
         $this->functionData['forward_form'][$count_a05db3f2ca5207b3bbe004fa69578956]['lang'] = $lang;
         $this->functionData['forward_form'][$count_a05db3f2ca5207b3bbe004fa69578956]['captchaHTML'] = $captchaHTML;
         $this->functionData['forward_form'][$count_a05db3f2ca5207b3bbe004fa69578956]['msg'] = $msg;
     }
     $IPBHTML .= "<!-- NoData -->";
     return $IPBHTML;
 }
Example #21
0
 function boardIndexTemplate($lastvisit = "", $stats = array(), $cat_data = array(), $show_side_blocks = true, $side_blocks = array())
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_boards', $this->_funcHooks['boardIndexTemplate'])) {
         $count_6583892c37ff154c45c5896ea4f048d6 = is_array($this->functionData['boardIndexTemplate']) ? count($this->functionData['boardIndexTemplate']) : 0;
         $this->functionData['boardIndexTemplate'][$count_6583892c37ff154c45c5896ea4f048d6]['lastvisit'] = $lastvisit;
         $this->functionData['boardIndexTemplate'][$count_6583892c37ff154c45c5896ea4f048d6]['stats'] = $stats;
         $this->functionData['boardIndexTemplate'][$count_6583892c37ff154c45c5896ea4f048d6]['cat_data'] = $cat_data;
         $this->functionData['boardIndexTemplate'][$count_6583892c37ff154c45c5896ea4f048d6]['show_side_blocks'] = $show_side_blocks;
         $this->functionData['boardIndexTemplate'][$count_6583892c37ff154c45c5896ea4f048d6]['side_blocks'] = $side_blocks;
     }
     $IPBHTML .= "<template>boardIndex</template>\r\n<subtext>authorName|date</subtext><!--authorName|date|postTitle-->\r\n" . ((is_array($cat_data) and count($cat_data)) ? "\r\n\t\t<categories>\r\n\t\t" . $this->__f__c75e7367d81c0d5eb4ffb055dbd41df1($lastvisit, $stats, $cat_data, $show_side_blocks, $side_blocks) . "\t\t</categories>\r\n\t" : "") . "\r\n\t\t<statistics>\r\n\t\t\t<posts>{$stats['info']['total_posts']}</posts>\r\n\t\t\t<members>{$stats['info']['mem_count']}</members>\r\n\t\t\t<user>\r\n\t\t\t\t<id>{$stats['info']['last_mem_id']}</id>\r\n\t\t\t\t<name><![CDATA[{$stats['info']['last_mem_name']}]]></name>\r\n\t\t\t\t<url><![CDATA[{$stats['info']['last_mem_link']}]]></url>\r\n\t\t\t</user>\r\n\t\t\t<onlinerecord>{$stats['info']['most_online']}</onlinerecord>\r\n\t\t</statistics>";
     return $IPBHTML;
 }
 function membersVkontakteConnect($isConnected, $userData)
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_vkontakte', $this->_funcHooks['membersVkontakteConnect'])) {
         $count_57b39d882c24cdfeb32af30091056271 = is_array($this->functionData['membersVkontakteConnect']) ? count($this->functionData['membersVkontakteConnect']) : 0;
         $this->functionData['membersVkontakteConnect'][$count_57b39d882c24cdfeb32af30091056271]['isConnected'] = $isConnected;
         $this->functionData['membersVkontakteConnect'][$count_57b39d882c24cdfeb32af30091056271]['userData'] = $userData;
     }
     if (!isset($this->registry->templateStriping['usercp'])) {
         $this->registry->templateStriping['usercp'] = array(FALSE, "row1", "row2");
     }
     $IPBHTML .= "" . (!$isConnected ? "\n<div>\n\t<p class='message'>{$this->lang->words['vk_config']}</p>\n\t<br />\n\t<br />\n\t<a href=\"{$this->settings['_original_base_url']}/interface/vkontakte/index.php\"><img src=\"{$this->settings['img_url']}/vkontakte_login.png\" alt=\"\" /></a>\n\t<br />\n</div>\n" : "<div>\n\t<div class='ipsPad row2 clearfix'>\n\t\t" . ($userData['photo'] ? "\t\n\t\t\t<img src=\"{$userData['photo']}\" alt='' class='left ipsUserPhoto ipsUserPhoto_medium' />\n\t\t\t<div class='ipsBox_withphoto'>\n\t\t" : "") . "\n\t\t<h2 class='ipsType_subtitle'>\n\t\t\t{$this->lang->words['vk_logged_in_as']} <strong>{$userData['first_name']} {$userData['last_name']}</strong>\n\t\t</h2>\n\t\t" . ($userData['photo'] ? "\n\t\t\t</div>\n\t\t" : "") . "\n\t</div>\n\n\t<br />\n\t<div class='right row2 ipsPad clearfix' style='width: 250px'>\n\t\t<input type='button' class='ipsButton_secondary' id='vk_remove_start' value='{$this->lang->words['vk_disassociate']}' />\n\n\t\t<div id='vk_remove_popup' style='display: none'>\n\t\t\t<h3>{$this->lang->words['vk_disassociate']}</h3>\n\t\t\t<div class='ipsPad'>\n\t\t\t\t<p>{$this->lang->words['vk_revoke']}</p>\n\t\t\t\t<p class='desc'>{$this->lang->words['vk_disassociate_desc']}</p>\n\t\t\t\t<br />\n\t\t\t\t<input type='button' class='ipsButton' id='vk_remove' value='{$this->lang->words['tc_disassociate_now']}' />\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n\t" . ((!$this->memberData['bw_local_password_set'] and $this->memberData['members_created_remote']) ? "\n\t\t<div class='message'>\n\t\t\t<strong>{$this->lang->words['remote_no_password']}</strong>\n\t\t\t<p>{$this->lang->words['remote_no_password_1']} <a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=core&amp;module=usercp&amp;tab=core&amp;area=password", "public", ''), "", "") . "'>{$this->lang->words['remote_no_password_2']}</a>\n\t\t\t</p>\n\t\t</div>\n\t\t<br />\n\t" : "") . "\n</div>\n<script type=\"text/javascript\">\n\t\$('vk_remove').observe( 'click', usercp_remove );\n\tfunction usercp_remove(){\n\t\twindow.location = ipb.vars['base_url'] + 'app=core&module=usercp&tab=core&area=vkontakteRemove&do=custom&secure_key=' + ipb.vars['secure_hash'];\n\t}\n\n\t\$('vk_remove_start').on('click', function(e){\n\t\tnew ipb.Popup( 'sign_in_popup', {\ttype: 'pane',\n\t\t\t\t\t\t\t\t\t\t\tinitial: \$('vk_remove_popup').show(),\n\t\t\t\t\t\t\t\t\t\t\thideAtStart: false,\n\t\t\t\t\t\t\t\t\t\t\thideClose: false,\n\t\t\t\t\t\t\t\t\t\t\tmodal: true,\n\t\t\t\t\t\t\t\t\t\t\tw: '600px' } );\n\t});\n</script>") . "";
     return $IPBHTML;
 }
Example #23
0
 function forward_form($title = "", $text = "", $lang = "", $captchaHTML = '', $msg = '')
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_emails', $this->_funcHooks['forward_form'])) {
         $count_d3c2d75fb357f97183245f153fb04700 = is_array($this->functionData['forward_form']) ? count($this->functionData['forward_form']) : 0;
         $this->functionData['forward_form'][$count_d3c2d75fb357f97183245f153fb04700]['title'] = $title;
         $this->functionData['forward_form'][$count_d3c2d75fb357f97183245f153fb04700]['text'] = $text;
         $this->functionData['forward_form'][$count_d3c2d75fb357f97183245f153fb04700]['lang'] = $lang;
         $this->functionData['forward_form'][$count_d3c2d75fb357f97183245f153fb04700]['captchaHTML'] = $captchaHTML;
         $this->functionData['forward_form'][$count_d3c2d75fb357f97183245f153fb04700]['msg'] = $msg;
     }
     $IPBHTML .= "<!-- NoData -->";
     return $IPBHTML;
 }
Example #24
0
 function forward_form($title = "", $text = "", $lang = "", $captchaHTML = '', $msg = '')
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_emails', $this->_funcHooks['forward_form'])) {
         $count_df7b022897c80e7c98bf41097996c516 = is_array($this->functionData['forward_form']) ? count($this->functionData['forward_form']) : 0;
         $this->functionData['forward_form'][$count_df7b022897c80e7c98bf41097996c516]['title'] = $title;
         $this->functionData['forward_form'][$count_df7b022897c80e7c98bf41097996c516]['text'] = $text;
         $this->functionData['forward_form'][$count_df7b022897c80e7c98bf41097996c516]['lang'] = $lang;
         $this->functionData['forward_form'][$count_df7b022897c80e7c98bf41097996c516]['captchaHTML'] = $captchaHTML;
         $this->functionData['forward_form'][$count_df7b022897c80e7c98bf41097996c516]['msg'] = $msg;
     }
     $IPBHTML .= "<form action=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=forums&amp;module=extras&amp;section=forward", "public", ''), "", "") . "\" method=\"post\" name='REPLIER'>\n\t<input type=\"hidden\" name=\"do\" value=\"01\" />\n\t<input type=\"hidden\" name=\"st\" value=\"{$this->request['st']}\" />\n\t<input type=\"hidden\" name=\"f\" value=\"{$this->request['f']}\" />\n\t<input type=\"hidden\" name=\"t\" value=\"{$this->request['t']}\" />\n\t<input type=\"hidden\" name=\"url\" value=\"{$this->request['url']}\" />\n\t<input type=\"hidden\" name=\"title\" value=\"{$this->request['title']}\" />\n\t<input type='hidden' name='k' value='{$this->member->form_hash}' />\n\t" . ($msg ? "\n\t\t<p class='message error'>{$this->lang->words[$msg]}</p><br />\n\t" : "\n\t\t<p class='message'>{$this->lang->words['email_friend']}</p><br />\n\t") . "\n\t\n\t<h2 class='maintitle'>{$this->lang->words['title']}</h2>\n\t<div class='generic_bar'></div>\n\t<div class='ipsForm ipsForm_horizontal'>\n\t\t<fieldset>\n\t\t\t<h3 class='bar'>{$this->lang->words['email_recepient']}</h3>\n\t\t\t<ul class='ipsPad'>\n\t\t\t\t" . (count($this->caches['lang_data']) == 1 ? "\n\t\t\t\t\t<input type='hidden' name='lang' value='{$this->caches['lang_data'][0]['lang_id']}' />\n\t\t\t\t" : "\n\t\t\t\t\t<li class='ipsField clear'>\n\t\t\t\t\t\t<label for='to_lang' class='ipsField_title'>{$this->lang->words['send_lang']}</label>\n\t\t\t\t\t\t<p class='ipsField_content'>\n\t\t\t\t\t\t\t<select name='lang' class='input_select' id='to_lang'>\n\t\t\t\t\t\t\t\t" . $this->__f__aa894da67976941d17ddacf499d58267($title, $text, $lang, $captchaHTML, $msg) . "\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</li>\n\t\t\t\t") . "\n\t\t\t\t<li class='ipsField clear'>\n\t\t\t\t\t<label for='to_name' class='ipsField_title'>{$this->lang->words['to_name']}</label>\n\t\t\t\t\t<p class='ipsField_content'>\n\t\t\t\t\t\t<input type=\"text\" id='to_name' class='input_text' name=\"to_name\" value=\"{$this->request['to_name']}\" size=\"30\" maxlength=\"100\" />\n\t\t\t\t\t</p>\n\t\t\t\t</li>\n\t\t\t\t<li class='ipsField clear'>\n\t\t\t\t\t<label for='to_email' class='ipsField_title'>{$this->lang->words['to_email']}</label>\n\t\t\t\t\t<p class='ipsField_content'>\n\t\t\t\t\t\t<input type=\"text\" id='to_email' class='input_text' name=\"to_email\" value=\"{$this->request['to_email']}\" size=\"30\" maxlength=\"100\" />\n\t\t\t\t\t</p>\n\t\t\t\t</li>\n\t\t\t\t<li class='ipsField clear'> \n\t\t\t\t\t<label for='subject' class='ipsField_title'>{$this->lang->words['subject']}</label>\n\t\t\t\t\t<p class='ipsField_content'>\n\t\t\t\t\t\t<input type=\"text\" id=\"subject\" class=\"input_text\" name=\"subject\" value=\"" . ($this->request['subject'] ? "{$this->request['subject']}" : "{$title}") . "\" size=\"30\" maxlength=\"120\" />\n\t\t\t\t\t</p>\n\t\t\t\t</li> \t\t\t\t\n\t\t\t\t<li class='ipsField clear'>\n\t\t\t\t\t<label for='to_message' class='ipsField_title'>{$this->lang->words['message']}</label>\n\t\t\t\t\t<p class='ipsField_content'>\n\t\t\t\t\t\t<textarea id='to_message' cols=\"60\" rows=\"12\" wrap=\"soft\" name=\"message\" class=\"input_text\">" . ($this->request['message'] ? "{$this->request['message']}" : "{$text}") . "</textarea>\n\t\t\t\t\t</p>\n\t\t\t\t</li>\n\t\t\t\t" . ($captchaHTML ? "\n\t\t\t\t\t<li class='ipsField clear'>\n\t\t\t\t\t\t{$captchaHTML}\n\t\t\t\t\t</li>\n\t\t\t\t" : "") . "\n\t\t\t</ul>\n\t\t</fieldset>\n\t\t<fieldset class='submit'>\n\t\t\t<input class='input_submit' type=\"submit\" value=\"{$this->lang->words['submit_send']}\" />\n\t\t</fieldset>\n\t</div>\n</form>";
     return $IPBHTML;
 }
 function showOnlineList($rows, $links = "", $defaults = array())
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_online', $this->_funcHooks['showOnlineList'])) {
         $count_2c3573a63b3a63be8dc22822aca9cb3d = is_array($this->functionData['showOnlineList']) ? count($this->functionData['showOnlineList']) : 0;
         $this->functionData['showOnlineList'][$count_2c3573a63b3a63be8dc22822aca9cb3d]['rows'] = $rows;
         $this->functionData['showOnlineList'][$count_2c3573a63b3a63be8dc22822aca9cb3d]['links'] = $links;
         $this->functionData['showOnlineList'][$count_2c3573a63b3a63be8dc22822aca9cb3d]['defaults'] = $defaults;
     }
     if (!isset($this->registry->templateStriping['online'])) {
         $this->registry->templateStriping['online'] = array(FALSE, "row1", "row2");
     }
     $IPBHTML .= "<div class='topic_controls'>\n\t{$links}\n</div>\n<h2 class='maintitle'>{$this->lang->words['online_page_title']}</h2>\n<div class='ipsBox'>\n\t<div class='ipsBox_container'>\n\t\t<table class='ipb_table ipsMemberList' summary=\"{$this->lang->words['users_online']}\">\n\t\t\t<tr class='header'>\n\t\t\t\t<th scope='col' width='55'>&nbsp;</th>\n\t\t\t\t<th scope='col'>{$this->lang->words['member_name']}</th>\n\t\t\t\t<th scope='col'>{$this->lang->words['where']}</th>\n\t\t\t\t<th scope='col'>{$this->lang->words['time']}</th>\n\t\t\t\t<th scope='col'>&nbsp;</th>\n\t\t\t</tr>\n\t\t\t" . (count($rows) ? "\n\t\t\t\t\t\t\t\t" . $this->__f__97cbc74c00afbd48cff33cb0b178db79($rows, $links, $defaults) . "\t\t\t" : "") . "\n\t\t</table>\n\t</div>\n</div>\n<div id='forum_filter' class='ipsForm_center ipsPad'>\n\t<form method=\"post\" action=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=members&amp;section=online&amp;module=online", "public", ''), "", "") . "\">\n\t\t<label for='sort_key'>{$this->lang->words['s_by']}</label>\n\t\t<select name=\"sort_key\" id='sort_key' class='input_select'>\n\t\t\t" . $this->__f__cec20a8a6a5701d9a48c474cae1d0610($rows, $links, $defaults) . "\t\t</select>\n\t\t<select name=\"show_mem\" class='input_select'>\n\t\t\t" . $this->__f__0f5bff561f827934c6b2b4f077ab17d4($rows, $links, $defaults) . "\t\t</select>\n\t\t<select name=\"sort_order\" class='input_select'>\n\t\t\t" . $this->__f__118ff6dbc8034ee3bd8ac4520eca119a($rows, $links, $defaults) . "\t\t</select>\n\t\t<input type=\"submit\" value=\"{$this->lang->words['s_go']}\" class=\"input_submit alt\" />\n\t</form>\n</div>\n<br />\n<div class='topic_controls'>\n\t{$links}\n</div>";
     return $IPBHTML;
 }
Example #26
0
 function showOnlineList($rows, $links = "", $defaults = array())
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_online', $this->_funcHooks['showOnlineList'])) {
         $count_b62b85ef3ed3b8854ca4fc90a10f4019 = is_array($this->functionData['showOnlineList']) ? count($this->functionData['showOnlineList']) : 0;
         $this->functionData['showOnlineList'][$count_b62b85ef3ed3b8854ca4fc90a10f4019]['rows'] = $rows;
         $this->functionData['showOnlineList'][$count_b62b85ef3ed3b8854ca4fc90a10f4019]['links'] = $links;
         $this->functionData['showOnlineList'][$count_b62b85ef3ed3b8854ca4fc90a10f4019]['defaults'] = $defaults;
     }
     if (!isset($this->registry->templateStriping['online'])) {
         $this->registry->templateStriping['online'] = array(FALSE, "row1", "row2");
     }
     $IPBHTML .= "<div class='topic_controls'>\n\t{$links}\n</div>\n<h2 class='maintitle'>{$this->lang->words['page_title']}</h2>\n<table class='ipb_table' summary=\"{$this->lang->words['users_online']}\">\n\t<tr class='header'>\n\t\t<th scope='col' width='55'>&nbsp;</th>\n\t\t<th scope='col'>{$this->lang->words['member_name']}</th>\n\t\t<th scope='col'>{$this->lang->words['where']}</th>\n\t\t<th scope='col'>{$this->lang->words['time']}</th>\n\t\t<th scope='col'>&nbsp;</th>\n\t</tr>\n\t" . (count($rows) ? "\n\t\t\t\t" . $this->__f__b02dcf2fa1efeb4a0b49e66f3160d9d5($rows, $links, $defaults) . "\t" : "") . "\n</table>\n<div id='forum_filter' class='filter_bar rounded'>\n\t<form method=\"post\" action=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=members&amp;section=online&amp;module=online", "public", ''), "", "") . "\">\n\t\t<label for='sort_key'>{$this->lang->words['s_by']}</label>\n\t\t<select name=\"sort_key\" id='sort_key' class='input_select'>\n\t\t\t" . $this->__f__c1e04b708bca5c16759c30acea00260a($rows, $links, $defaults) . "\t\t</select>\n\t\t<select name=\"show_mem\" class='input_select'>\n\t\t\t" . $this->__f__3700904db3a31ef60cfd1ca622a31a18($rows, $links, $defaults) . "\t\t</select>\n\t\t<select name=\"sort_order\" class='input_select'>\n\t\t\t" . $this->__f__e211e659b32e44cd06b6028c83b797c8($rows, $links, $defaults) . "\t\t</select>\n\t\t<input type=\"submit\" value=\"{$this->lang->words['s_go']}\" class=\"input_submit alt\" />\n\t</form>\n</div>\n<br />\n<div class='topic_controls'>\n\t{$links}\n</div>";
     return $IPBHTML;
 }
Example #27
0
 function emoticonPopUpList($editor_id, $rows, $legacy_editor = false)
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_legends', $this->_funcHooks['emoticonPopUpList'])) {
         $count_40f9b574d90dfe747eea18741de86d43 = is_array($this->functionData['emoticonPopUpList']) ? count($this->functionData['emoticonPopUpList']) : 0;
         $this->functionData['emoticonPopUpList'][$count_40f9b574d90dfe747eea18741de86d43]['editor_id'] = $editor_id;
         $this->functionData['emoticonPopUpList'][$count_40f9b574d90dfe747eea18741de86d43]['rows'] = $rows;
         $this->functionData['emoticonPopUpList'][$count_40f9b574d90dfe747eea18741de86d43]['legacy_editor'] = $legacy_editor;
     }
     if (!isset($this->registry->templateStriping['emoticons'])) {
         $this->registry->templateStriping['emoticons'] = array(FALSE, "row1", "row2");
     }
     $IPBHTML .= "" . (!$legacy_editor ? "\n\t<script type=\"text/javascript\">\n\taddEmoImage = function(elem){\n\t\tvar isRte = opener.ipb.textEditor.getEditor().isRte();\n\t\tvar toAdd = '';\n\t\n\t\tif ( isRte ){\n\t\t\ttoAdd = elem.up('tr').down('img').readAttribute('src');\n\t\t\ttoAdd = '<img src=\"' + toAdd + '\" />&nbsp;';\n\t\t} else {\n\t\t\ttoAdd = elem.up('tr').down('a').innerHTML + ' ';\n\t\t}\n\t\n\t\topener.ipb.textEditor.getEditor().insert( toAdd );\n\t}\n\t</script>\n" : "\n\t<script type='text/javascript'>\n\t\tfunction addEmoImage(elem){\n\t\t\tvar code = elem.up('tr').down('a').innerHTML;\n\t\t\tvar title = elem.up('tr').down('img').readAttribute('title');\n\t\t\tipb.editors[ '{$editor_id}' ].insert_emoticon('', title, code,'');\n\t\t}\n\t</script>\n") . "<div class='full_emoticon'>\n\t<table class='ipb_table'>\n\t\t" . $this->__f__db42115609ca9b630e98e21b4a7388c3($editor_id, $rows, $legacy_editor) . "\t</table>\n</div>";
     return $IPBHTML;
 }
 function member_list_show($members, $pages = "", $dropdowns = array(), $defaults = array(), $custom_fields = null, $url = '')
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_mlist', $this->_funcHooks['member_list_show'])) {
         $count_abd3a00b3246a1a93e4a3cfdc1debfec = is_array($this->functionData['member_list_show']) ? count($this->functionData['member_list_show']) : 0;
         $this->functionData['member_list_show'][$count_abd3a00b3246a1a93e4a3cfdc1debfec]['members'] = $members;
         $this->functionData['member_list_show'][$count_abd3a00b3246a1a93e4a3cfdc1debfec]['pages'] = $pages;
         $this->functionData['member_list_show'][$count_abd3a00b3246a1a93e4a3cfdc1debfec]['dropdowns'] = $dropdowns;
         $this->functionData['member_list_show'][$count_abd3a00b3246a1a93e4a3cfdc1debfec]['defaults'] = $defaults;
         $this->functionData['member_list_show'][$count_abd3a00b3246a1a93e4a3cfdc1debfec]['custom_fields'] = $custom_fields;
         $this->functionData['member_list_show'][$count_abd3a00b3246a1a93e4a3cfdc1debfec]['url'] = $url;
     }
     $IPBHTML .= "<template>memberList</template>\n{$pages}\n" . ((is_array($members) and count($members)) ? "\n\t<members>\n\t" . $this->__f__6de50cfe1359d8c87f7a314a8ca1973c($members, $pages, $dropdowns, $defaults, $custom_fields, $url) . "\t</members>\n" : "") . "";
     return $IPBHTML;
 }
Example #29
0
 function showOnlineList($rows, $links = "", $defaults = array())
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_online', $this->_funcHooks['showOnlineList'])) {
         $count_fa858df408b369224797d07492c0708a = is_array($this->functionData['showOnlineList']) ? count($this->functionData['showOnlineList']) : 0;
         $this->functionData['showOnlineList'][$count_fa858df408b369224797d07492c0708a]['rows'] = $rows;
         $this->functionData['showOnlineList'][$count_fa858df408b369224797d07492c0708a]['links'] = $links;
         $this->functionData['showOnlineList'][$count_fa858df408b369224797d07492c0708a]['defaults'] = $defaults;
     }
     if (!isset($this->registry->templateStriping['online'])) {
         $this->registry->templateStriping['online'] = array(FALSE, "row1", "row2");
     }
     $IPBHTML .= "<div class='topic_controls'>\r\n\t{$links}\r\n</div>\r\n<h2 class='maintitle'>{$this->lang->words['online_page_title']}</h2>\r\n<div class='ipsBox'>\r\n\t<div class='ipsBox_container'>\r\n\t\t<table class='ipb_table ipsMemberList' summary=\"{$this->lang->words['users_online']}\">\r\n\t\t\t<tr class='header'>\r\n\t\t\t\t<th scope='col' width='55'>&nbsp;</th>\r\n\t\t\t\t<th scope='col'>{$this->lang->words['member_name']}</th>\r\n\t\t\t\t<th scope='col'>{$this->lang->words['where']}</th>\r\n\t\t\t\t<th scope='col'>{$this->lang->words['time']}</th>\r\n\t\t\t\t<th scope='col'>&nbsp;</th>\r\n\t\t\t</tr>\r\n\t\t\t" . (count($rows) ? "\r\n\t\t\t\t\t\t\t\t" . $this->__f__7046da7023dc6898b789bfa2de184ba2($rows, $links, $defaults) . "\t\t\t" : "") . "\r\n\t\t</table>\r\n\t</div>\r\n</div>\r\n<div id='forum_filter' class='ipsForm_center ipsPad'>\r\n\t<form method=\"post\" action=\"" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("app=members&amp;section=online&amp;module=online", "public", ''), "", "") . "\">\r\n\t\t<label for='sort_key'>{$this->lang->words['s_by']}</label>\r\n\t\t<select name=\"sort_key\" id='sort_key' class='input_select'>\r\n\t\t\t" . $this->__f__28e98895db85448a5af5c461160dc10b($rows, $links, $defaults) . "\t\t</select>\r\n\t\t<select name=\"show_mem\" class='input_select'>\r\n\t\t\t" . $this->__f__9549c8f69d954c8f35b6515168d6f275($rows, $links, $defaults) . "\t\t</select>\r\n\t\t<select name=\"sort_order\" class='input_select'>\r\n\t\t\t" . $this->__f__cded4c59ad4da09917bbec7ee867ad7d($rows, $links, $defaults) . "\t\t</select>\r\n\t\t<input type=\"submit\" value=\"{$this->lang->words['s_go']}\" class=\"input_submit alt\" />\r\n\t</form>\r\n</div>\r\n<br />\r\n<div class='topic_controls'>\r\n\t{$links}\r\n</div>";
     return $IPBHTML;
 }
 function form($comment, $parent, $editor = "", $settings, $errors = "", $do = 'saveEdit')
 {
     $IPBHTML = "";
     if (IPSLib::locationHasHooks('skin_global_comments', $this->_funcHooks['form'])) {
         $count_6423425611f5b67cac0a303e456cc3cc = is_array($this->functionData['form']) ? count($this->functionData['form']) : 0;
         $this->functionData['form'][$count_6423425611f5b67cac0a303e456cc3cc]['comment'] = $comment;
         $this->functionData['form'][$count_6423425611f5b67cac0a303e456cc3cc]['parent'] = $parent;
         $this->functionData['form'][$count_6423425611f5b67cac0a303e456cc3cc]['editor'] = $editor;
         $this->functionData['form'][$count_6423425611f5b67cac0a303e456cc3cc]['settings'] = $settings;
         $this->functionData['form'][$count_6423425611f5b67cac0a303e456cc3cc]['errors'] = $errors;
         $this->functionData['form'][$count_6423425611f5b67cac0a303e456cc3cc]['do'] = $do;
     }
     $IPBHTML .= "" . ($errors ? "\n\t<p class='message error'>{$errors}</p>\n" : "") . "\n<div class='post_form'>\n\t<form method=\"post\" action=\"{$settings['formAction']}\" name=\"REPLIER\">\n\t\t<input type=\"hidden\" name=\"auth_key\" value=\"{$this->member->form_hash}\" />\n\t\t<input type=\"hidden\" name=\"fromApp\" value=\"{$settings['fromApp']}\" />\n\t\t<input type=\"hidden\" name=\"app\" value=\"{$settings['formApp']}\" />\n\t\t<input type=\"hidden\" name=\"module\" value=\"{$settings['formModule']}\" />\n\t\t<input type=\"hidden\" name=\"section\" value=\"{$settings['formSection']}\" />\t\n\t\t<input type=\"hidden\" name=\"do\" value=\"saveEdit\" />\n\t\t<input type=\"hidden\" name=\"parentId\" value=\"{$parent['parent_id']}\" />\n\t\t<input type=\"hidden\" name=\"comment_id\" value=\"{$comment['comment']['comment_id']}\" />\n\t\t<input type=\"hidden\" name=\"auth_key\" value=\"{$this->member->form_hash}\" />\n\t\t<input type=\"hidden\" name=\"modcp\" value=\"{$this->request['modcp']}\" />\n\t\t\n\t\t<h3 class='maintitle'>\n\t\t" . ($do == 'saveEdit' ? "\n\t\t\t{$this->lang->words['edit_comment']} {$parent['parent_title']}\n\t\t" : "") . "\n\t\t</h3>\n\t\t<div class='generic_bar'></div>\n\t\t\n\t\t" . ((!$this->memberData['member_id'] and $this->settings['guest_captcha'] and $this->settings['bot_antispam_type'] != 'none') ? "\n\t\t\t<fieldset>\n\t\t\t\t<ul>\n\t\t\t\t\t<li class='field'>\n\t\t\t\t\t\t<label for=''>{$this->lang->words['guest_captcha']}</label>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</fieldset>\n\t\t" : "") . "\n\t\t\n\t\t<fieldset>\n\t\t\t{$editor}\n\t\t</fieldset>\n\t\t<fieldset class='submit'>\n\t\t\t<input type=\"submit\" name=\"submit\" value=\"{$this->lang->words['comment_save']}\" tabindex=\"0\" class=\"input_submit\" accesskey=\"s\" /> {$this->lang->words['or']} <a href='" . $this->registry->getClass('output')->formatUrl($this->registry->getClass('output')->buildUrl("{$settings['baseUrl']}&amp;do=findComment&amp;comment_id={$comment['comment']['comment_id']}", "public", ''), "", "") . "' class='cancel' title='{$this->lang->words['cancel']}'>{$this->lang->words['cancel']}</a>\n\t\t</fieldset>\n\t</form>\n</div>";
     return $IPBHTML;
 }