Version 3.4.5
This commit is contained in:
1 parent
fb6b5baabc
commit
e4478369d8
1360 files changed
+228921
-179445
No files matched your search
@@ -2,8 +2,8 @@
|
||||
<hookexport>
|
||||
<hookdata>
|
||||
<config>
|
||||
<hook_name>Ad Code Sidebar</hook_name>
|
||||
<hook_desc>Displays ad code on the board index sidebar</hook_desc>
|
||||
<hook_name>Блок рекламы</hook_name>
|
||||
<hook_desc>Вывод рекламы в правом блоке на главной странице</hook_desc>
|
||||
<hook_author>Invision Power Services, Inc.</hook_author>
|
||||
<hook_email/>
|
||||
<hook_website>http://www.invisionpower.com</hook_website>
|
||||
|
||||
@@ -0,0 +1,206 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<hookexport>
|
||||
<hookdata>
|
||||
<config>
|
||||
<hook_name>Формы авторизации Vkontakte</hook_name>
|
||||
<hook_desc>Добавление форм Vkontakte в шаблоны</hook_desc>
|
||||
<hook_author>IBResource, LTD</hook_author>
|
||||
<hook_email>sales@ibresource.ru</hook_email>
|
||||
<hook_website>http://www.ibresource.ru</hook_website>
|
||||
<hook_update_check/>
|
||||
<hook_requirements><![CDATA[a:3:{s:21:"required_applications";a:0:{}s:20:"hook_php_version_min";s:0:"";s:20:"hook_php_version_max";s:0:"";}]]></hook_requirements>
|
||||
<hook_version_human>1.2.0</hook_version_human>
|
||||
<hook_version_long>10200</hook_version_long>
|
||||
<hook_extra_data><![CDATA[a:5:{s:7:"display";a:3:{s:9:"templates";s:81:"От skin_vkontakte: membersVkontakteConnect, vkInlineLogInService, vkServicesLim";s:8:"language";s:38:"От core_admin_js: bit_skin_vkontakte";s:8:"settings";s:90:"Группа настроек: Интеграция с социальными сетями";}s:9:"templates";a:1:{s:14:"skin_vkontakte";a:3:{s:0:"";s:23:"membersVkontakteConnect";i:1;s:20:"vkInlineLogInService";i:2;s:13:"vkServicesLim";}}s:8:"database";a:0:{}s:13:"settingGroups";a:1:{s:0:"";s:2:"fbconnect";}s:8:"settings";a:0:{}}]]></hook_extra_data>
|
||||
<hook_key>ibr_vkontakte_forms</hook_key>
|
||||
<hook_global_caches/>
|
||||
</config>
|
||||
</hookdata>
|
||||
<hookfiles>
|
||||
<file>
|
||||
<hook_file_real>vkontakte.php</hook_file_real>
|
||||
<hook_type>templateHooks</hook_type>
|
||||
<hook_classname>vk_register_form</hook_classname>
|
||||
<hook_data><![CDATA[a:8:{s:12:"dataLocation";s:0:"";s:14:"libApplication";s:0:"";s:15:"classToOverload";s:0:"";s:9:"skinGroup";s:13:"skin_register";s:12:"skinFunction";s:12:"registerForm";s:4:"type";s:2:"if";s:2:"id";s:10:"twitterBox";s:8:"position";s:10:"post.endif";}]]></hook_data>
|
||||
<hooks_source><![CDATA[<?php
|
||||
|
||||
class vk_register_form
|
||||
{
|
||||
public function getOutput()
|
||||
{
|
||||
if( IPSLib::loginMethod_enabled('vkontakte') === true )
|
||||
{
|
||||
return ipsRegistry::instance()->output->getTemplate('vkontakte')->vkInlineLogInService();
|
||||
}
|
||||
}
|
||||
}]]></hooks_source>
|
||||
</file>
|
||||
<file>
|
||||
<hook_file_real>vkontakte.php</hook_file_real>
|
||||
<hook_type>templateHooks</hook_type>
|
||||
<hook_classname>vk_lim</hook_classname>
|
||||
<hook_data><![CDATA[a:8:{s:12:"dataLocation";s:0:"";s:14:"libApplication";s:0:"";s:15:"classToOverload";s:0:"";s:9:"skinGroup";s:11:"skin_global";s:12:"skinFunction";s:14:"globalTemplate";s:4:"type";s:2:"if";s:2:"id";s:10:"limTwitter";s:8:"position";s:10:"post.endif";}]]></hook_data>
|
||||
<hooks_source><![CDATA[<?php
|
||||
|
||||
class vk_lim
|
||||
{
|
||||
public function getOutput()
|
||||
{
|
||||
if( IPSLib::loginMethod_enabled('vkontakte') === true )
|
||||
{
|
||||
return ipsRegistry::instance()->output->getTemplate('vkontakte')->vkServicesLim();
|
||||
}
|
||||
}
|
||||
}]]></hooks_source>
|
||||
</file>
|
||||
<file>
|
||||
<hook_file_real>vkontakte.php</hook_file_real>
|
||||
<hook_type>templateHooks</hook_type>
|
||||
<hook_classname>vk_login_form</hook_classname>
|
||||
<hook_data><![CDATA[a:8:{s:12:"dataLocation";s:0:"";s:14:"libApplication";s:0:"";s:15:"classToOverload";s:0:"";s:9:"skinGroup";s:10:"skin_login";s:12:"skinFunction";s:13:"showLogInForm";s:4:"type";s:2:"if";s:2:"id";s:10:"twitterBox";s:8:"position";s:10:"post.endif";}]]></hook_data>
|
||||
<hooks_source><![CDATA[<?php
|
||||
|
||||
class vk_login_form
|
||||
{
|
||||
public function getOutput()
|
||||
{
|
||||
if( IPSLib::loginMethod_enabled('vkontakte') === true )
|
||||
{
|
||||
return ipsRegistry::instance()->output->getTemplate('vkontakte')->vkInlineLogInService();
|
||||
}
|
||||
}
|
||||
}]]></hooks_source>
|
||||
</file>
|
||||
<file>
|
||||
<hook_file_real>vkontakte.php</hook_file_real>
|
||||
<hook_type>templateHooks</hook_type>
|
||||
<hook_classname>vk_ajax_login_form</hook_classname>
|
||||
<hook_data><![CDATA[a:8:{s:12:"dataLocation";s:0:"";s:14:"libApplication";s:0:"";s:15:"classToOverload";s:0:"";s:9:"skinGroup";s:11:"skin_global";s:12:"skinFunction";s:11:"inlineLogin";s:4:"type";s:2:"if";s:2:"id";s:10:"twitterBox";s:8:"position";s:10:"post.endif";}]]></hook_data>
|
||||
<hooks_source><![CDATA[<?php
|
||||
|
||||
class vk_ajax_login_form
|
||||
{
|
||||
public function getOutput()
|
||||
{
|
||||
if( IPSLib::loginMethod_enabled('vkontakte') === true )
|
||||
{
|
||||
return ipsRegistry::instance()->output->getTemplate('vkontakte')->vkInlineLogInService();
|
||||
}
|
||||
}
|
||||
}]]></hooks_source>
|
||||
</file>
|
||||
</hookfiles>
|
||||
<hookextras_settings/>
|
||||
<hookextras_language/>
|
||||
<hookextras_modules/>
|
||||
<hookextras_help/>
|
||||
<hookextras_templates>
|
||||
<templates>
|
||||
<template_group>skin_vkontakte</template_group>
|
||||
<template_content><![CDATA[{parse striping="usercp" classes="row1,row2"}
|
||||
|
||||
<if test="!$isConnected">
|
||||
<div>
|
||||
<p class='message'>{$this->lang->words['vk_config']}</p>
|
||||
<br />
|
||||
<br />
|
||||
<a href="{$this->settings['_original_base_url']}/interface/vkontakte/index.php"><img src="{$this->settings['img_url']}/vkontakte_login.png" alt="" /></a>
|
||||
<br />
|
||||
</div>
|
||||
<else />
|
||||
<div>
|
||||
<div class='ipsPad row2 clearfix'>
|
||||
<if test="vkHasPic:|:$userData['photo']">
|
||||
<img src="{$userData['photo']}" alt='' class='left ipsUserPhoto ipsUserPhoto_medium' />
|
||||
<div class='ipsBox_withphoto'>
|
||||
</if>
|
||||
<h2 class='ipsType_subtitle'>
|
||||
{$this->lang->words['vk_logged_in_as']} <strong>{$userData['first_name']} {$userData['last_name']}</strong>
|
||||
</h2>
|
||||
<if test="vkHasPic:|:$userData['photo']">
|
||||
</div>
|
||||
</if>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<div class='right row2 ipsPad clearfix' style='width: 250px'>
|
||||
<input type='button' class='ipsButton_secondary' id='vk_remove_start' value='{$this->lang->words['vk_disassociate']}' />
|
||||
|
||||
<div id='vk_remove_popup' style='display: none'>
|
||||
<h3>{$this->lang->words['vk_disassociate']}</h3>
|
||||
<div class='ipsPad'>
|
||||
<p>{$this->lang->words['vk_revoke']}</p>
|
||||
<p class='desc'>{$this->lang->words['vk_disassociate_desc']}</p>
|
||||
<br />
|
||||
<input type='button' class='ipsButton' id='vk_remove' value='{$this->lang->words['tc_disassociate_now']}' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<if test="vkPassword:|:! $this->memberData['bw_local_password_set'] AND $this->memberData['members_created_remote']">
|
||||
<div class='message'>
|
||||
<strong>{$this->lang->words['remote_no_password']}</strong>
|
||||
<p>{$this->lang->words['remote_no_password_1']} <a href='{parse url="app=core&module=usercp&tab=core&area=password" base="public"}'>{$this->lang->words['remote_no_password_2']}</a>
|
||||
</p>
|
||||
</div>
|
||||
<br />
|
||||
</if>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('vk_remove').observe( 'click', usercp_remove );
|
||||
function usercp_remove(){
|
||||
window.location = ipb.vars['base_url'] + 'app=core&module=usercp&tab=core&area=vkontakteRemove&do=custom&secure_key=' + ipb.vars['secure_hash'];
|
||||
}
|
||||
|
||||
$('vk_remove_start').on('click', function(e){
|
||||
new ipb.Popup( 'sign_in_popup', { type: 'pane',
|
||||
initial: $('vk_remove_popup').show(),
|
||||
hideAtStart: false,
|
||||
hideClose: false,
|
||||
modal: true,
|
||||
w: '600px' } );
|
||||
});
|
||||
</script>
|
||||
</if>
|
||||
]]></template_content>
|
||||
<template_name>membersVkontakteConnect</template_name>
|
||||
<template_data>$isConnected, $userData</template_data>
|
||||
<template_updated>1280738657</template_updated>
|
||||
<template_removable>1</template_removable>
|
||||
<template_added_to>1</template_added_to>
|
||||
<template_user_added>1</template_user_added>
|
||||
<template_user_edited>0</template_user_edited>
|
||||
<template_master_key>root</template_master_key>
|
||||
</templates>
|
||||
<templates>
|
||||
<template_group>skin_vkontakte</template_group>
|
||||
<template_content><![CDATA[<li><a href="{$this->settings['_original_base_url']}/interface/vkontakte/index.php?_reg=1"><img src="{$this->settings['img_url']}/vkontakte_login.png" alt="" /></a></li>]]></template_content>
|
||||
<template_name>vkInlineLogInService</template_name>
|
||||
<template_data/>
|
||||
<template_updated>1311665029</template_updated>
|
||||
<template_removable>1</template_removable>
|
||||
<template_added_to>1</template_added_to>
|
||||
<template_user_added>1</template_user_added>
|
||||
<template_user_edited>0</template_user_edited>
|
||||
<template_master_key>root</template_master_key>
|
||||
</templates>
|
||||
<templates>
|
||||
<template_group>skin_vkontakte</template_group>
|
||||
<template_content><![CDATA[<a href='{parse url="app=core&module=global&section=login&serviceClick=vkontakte" base="public"}'>{parse replacement="lim_vkontakte"}</a>]]></template_content>
|
||||
<template_name>vkServicesLim</template_name>
|
||||
<template_data/>
|
||||
<template_updated>1311664820</template_updated>
|
||||
<template_removable>1</template_removable>
|
||||
<template_added_to>1</template_added_to>
|
||||
<template_user_added>1</template_user_added>
|
||||
<template_user_edited>0</template_user_edited>
|
||||
<template_master_key>root</template_master_key>
|
||||
</templates>
|
||||
</hookextras_templates>
|
||||
<hookextras_css/>
|
||||
<hookextras_tasks/>
|
||||
<hookextras_database_create/>
|
||||
<hookextras_database_alter/>
|
||||
<hookextras_database_update/>
|
||||
<hookextras_database_insert/>
|
||||
</hookexport>
|
||||
Reference in new issue
Block a user