Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionboard.com/">IP.Board</a>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -5,14 +5,15 @@
|
||||
<hook_name>Русские буквы в списке пользователей</hook_name>
|
||||
<hook_desc>Добавление букв русского языка к фильтру по списку пользователей</hook_desc>
|
||||
<hook_author>IBResource, LTD</hook_author>
|
||||
<hook_email/>
|
||||
<hook_website/>
|
||||
<hook_email>sales@ibresource.ru</hook_email>
|
||||
<hook_website>http://www.ibresource.ru</hook_website>
|
||||
<hook_update_check/>
|
||||
<hook_requirements><![CDATA[a:4:{s:20:"hook_ipb_version_min";i:0;s:20:"hook_ipb_version_max";i:0;s:20:"hook_php_version_min";s:0:"";s:20:"hook_php_version_max";s:0:"";}]]></hook_requirements>
|
||||
<hook_version_human>1.0.0</hook_version_human>
|
||||
<hook_version_long>10000</hook_version_long>
|
||||
<hook_extra_data><![CDATA[a:3:{s:9:"templates";a:1:{s:10:"skin_mlist";a:1:{s:0:"";s:15:"member_alpha_ru";}}s:7:"display";a:2:{s:9:"templates";s:32:"От skin_mlist: member_alpha_ru";s:3:"css";s:34:"CSS файлы: 1: ipb_mlist_addon";}s:3:"css";a:1:{s:0:"";s:2:"32";}}]]></hook_extra_data>
|
||||
<hook_version_human>1.1.0</hook_version_human>
|
||||
<hook_version_long>10010</hook_version_long>
|
||||
<hook_extra_data><![CDATA[a:3:{s:7:"display";a:2:{s:9:"templates";s:32:"От skin_mlist: member_alpha_ru";s:3:"css";s:34:"CSS файлы: 1: ipb_mlist_addon";}s:9:"templates";a:1:{s:10:"skin_mlist";a:1:{s:15:"member_alpha_ru";s:15:"member_alpha_ru";}}s:3:"css";a:1:{s:15:"ipb_mlist_addon";s:15:"ipb_mlist_addon";}}]]></hook_extra_data>
|
||||
<hook_key>ibr_mlist_alpha_ru</hook_key>
|
||||
<hook_global_caches/>
|
||||
</config>
|
||||
</hookdata>
|
||||
<hookfiles>
|
||||
@@ -27,24 +28,26 @@ class alpha
|
||||
{
|
||||
public function getOutput()
|
||||
{
|
||||
$template = ipsRegistry::instance()->output->getTemplate('mlist')->member_alpha_ru();
|
||||
$template = ipsRegistry::instance()->output->getTemplate('mlist')->member_alpha_ru(
|
||||
ipsRegistry::instance()->output->getTemplate('mlist')->functionData['member_list_show'][0]['url']
|
||||
);
|
||||
|
||||
$js = <<<JS
|
||||
|
||||
<script type='text/javascript'>
|
||||
$('alpha_switch').observe('click', function(){
|
||||
if( $('member_alpha_ru') )
|
||||
if( $('mlist_tabs_ru') )
|
||||
{
|
||||
$('member_alpha').toggle();
|
||||
$('member_alpha_ru').toggle();
|
||||
$('mlist_tabs').toggle();
|
||||
$('mlist_tabs_ru').toggle();
|
||||
}
|
||||
} );
|
||||
|
||||
$('alpha_switch_en').observe('click', function(){
|
||||
if( $('member_alpha') )
|
||||
if( $('mlist_tabs') )
|
||||
{
|
||||
$('member_alpha').toggle();
|
||||
$('member_alpha_ru').toggle();
|
||||
$('mlist_tabs').toggle();
|
||||
$('mlist_tabs_ru').toggle();
|
||||
}
|
||||
} );
|
||||
|
||||
@@ -52,13 +55,13 @@ JS;
|
||||
if ( ord( urldecode(ipsRegistry::$request['quickjump']) ) > 90 )
|
||||
{
|
||||
$js .= <<<JS
|
||||
$('member_alpha').toggle();
|
||||
$('mlist_tabs').toggle();
|
||||
JS;
|
||||
}
|
||||
else
|
||||
{
|
||||
$js .= <<<JS
|
||||
$('member_alpha_ru').toggle();
|
||||
$('mlist_tabs_ru').toggle();
|
||||
JS;
|
||||
}
|
||||
|
||||
@@ -77,81 +80,49 @@ JS;
|
||||
<hookextras_help/>
|
||||
<hookextras_templates>
|
||||
<templates>
|
||||
<template_set_id>0</template_set_id>
|
||||
<template_group>skin_mlist</template_group>
|
||||
<template_content/>
|
||||
<template_content><![CDATA[<li id='alpha_switch' class='clickable'>РУС</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='ipsVerticalTabbed_tabs ipsVerticalTabbed_minitabs ipsLayout_left' id='mlist_tabs_ru'>
|
||||
<ul>
|
||||
<if test="letterquickjump:|:!$this->request['quickjump']">
|
||||
<li class='active'><a href='{parse url="app=members&module=list" template="members_list" base="public" seotitle="false"}' title='{$this->lang->words['members_start_with']}{$letter}'>{$this->lang->words['mlist_view_all_txt']}</a></li>
|
||||
<else />
|
||||
<li><a href='{parse url="app=members&module=list" template="members_list" base="public" seotitle="false"}' title='{$this->lang->words['mlist_view_all_title']}'>{$this->lang->words['mlist_view_all_txt']}</a></li>
|
||||
</if>
|
||||
<foreach loop="array('А','Б','В','Г','Д','Е','Ё','Ж','З','И','Й','К','Л','М','Н','О','П','Р','С','Т','У','Ф','Х','Ц','Ч','Ш','Щ','Ъ','Ы','Ь','Э','Ю','Я') as $char">
|
||||
<if test="letterdefault:|:$letter=urlencode($char)">
|
||||
<li <if test="selected:|:$this->request['quickjump'] AND ($this->request['quickjump'] == $letter OR $this->request['quickjump'] == $char)">class='active'</if>><a href='{parse url="{$url}&quickjump={$letter}" template="members_list" base="public" seotitle="false"}' title='{$this->lang->words['mlist_view_start_title']} {$char}'>{$char}</a></li>
|
||||
</if>
|
||||
</foreach>
|
||||
<li id='alpha_switch_en' class='clickable'>АНГ</li>
|
||||
]]></template_content>
|
||||
<template_name>member_alpha_ru</template_name>
|
||||
<template_data/>
|
||||
<template_data>$url=''</template_data>
|
||||
<template_updated>1280429247</template_updated>
|
||||
<template_removable>1</template_removable>
|
||||
<template_added_to>1</template_added_to>
|
||||
<template_user_added>1</template_user_added>
|
||||
<template_user_edited>1</template_user_edited>
|
||||
<template_master_key/>
|
||||
<template_set_type/>
|
||||
</templates>
|
||||
<templates>
|
||||
<template_set_id>1</template_set_id>
|
||||
<template_group>skin_mlist</template_group>
|
||||
<template_content/>
|
||||
<template_name>member_alpha_ru</template_name>
|
||||
<template_data/>
|
||||
<template_updated>1280429283</template_updated>
|
||||
<template_removable>1</template_removable>
|
||||
<template_added_to>1</template_added_to>
|
||||
<template_user_added>1</template_user_added>
|
||||
<template_user_edited>1</template_user_edited>
|
||||
<template_master_key/>
|
||||
<template_set_type/>
|
||||
</templates>
|
||||
<templates>
|
||||
<template_set_id>1</template_set_id>
|
||||
<template_group>skin_mlist</template_group>
|
||||
<template_content><![CDATA[ <li id='alpha_switch' class='clickable'>Русские</li>
|
||||
</ol>
|
||||
|
||||
<ol id='member_alpha_ru' class='tab_bar' style='display:block'>
|
||||
<if test="letterquickjump:|:!$this->request['quickjump']">
|
||||
<li class='active'><a href='{parse url="app=members&module=list" template="members_list" base="public" seotitle="false"}' title='{$this->lang->words['members_start_with']}{$letter}'>{$this->lang->words['mlist_view_all_txt']}</a></li>
|
||||
<else />
|
||||
<li><a href='{parse url="app=members&module=list" template="members_list" base="public" seotitle="false"}' title='{$this->lang->words['mlist_view_all_title']}'>{$this->lang->words['mlist_view_all_txt']}</a></li>
|
||||
</if>
|
||||
<foreach loop="array('А','Б','В','Г','Д','Е','Ё','Ж','З','И','Й','К','Л','М','Н','О','П','Р','С','Т','У','Ф','Х','Ц','Ч','Ш','Щ','Ъ','Ы','Ь','Э','Ю','Я') as $char">
|
||||
<if test="letterdefault:|:$letter=urlencode($char)">
|
||||
<li <if test="selected:|:$this->request['quickjump'] == $letter OR $this->request['quickjump'] == $char">class='active'</if>><a href='{parse url="app=members&module=list&{$url}&quickjump={$letter}" template="members_list" base="public" seotitle="false"}' title='{$this->lang->words['mlist_view_start_title']} {$char}'>{$char}</a></li>
|
||||
</if>
|
||||
</foreach>
|
||||
<li id='alpha_switch_en' class='clickable'>Английские</a></li>
|
||||
</ol>]]></template_content>
|
||||
<template_name>member_alpha_ru</template_name>
|
||||
<template_data/>
|
||||
<template_updated>1280430948</template_updated>
|
||||
<template_removable>1</template_removable>
|
||||
<template_added_to>1</template_added_to>
|
||||
<template_user_added>1</template_user_added>
|
||||
<template_user_edited>1</template_user_edited>
|
||||
<template_master_key/>
|
||||
<template_set_type/>
|
||||
<template_user_edited>0</template_user_edited>
|
||||
<template_master_key>root</template_master_key>
|
||||
</templates>
|
||||
</hookextras_templates>
|
||||
<hookextras_css>
|
||||
<css>
|
||||
<css_updated>1280431859</css_updated>
|
||||
<css_updated>0</css_updated>
|
||||
<css_group>ipb_mlist_addon</css_group>
|
||||
<css_content>#member_alpha_ru li {
|
||||
padding: 2px 7px;
|
||||
}
|
||||
|
||||
#member_alpha_ru li.active {
|
||||
padding: 7px 15px;
|
||||
}</css_content>
|
||||
<css_content><![CDATA[#mlist_tabs_ru { margin-top: 35px; }
|
||||
#mlist_tabs_ru li { text-align: center; }
|
||||
#mlist_tabs_ru li a { padding: 5px 8px; }]]></css_content>
|
||||
<css_position>0</css_position>
|
||||
<css_added_to>1</css_added_to>
|
||||
<css_app/>
|
||||
<css_app_hide>0</css_app_hide>
|
||||
<css_attributes/>
|
||||
<css_modules/>
|
||||
<css_removed>0</css_removed>
|
||||
<css_modules/>
|
||||
<css_master_key>root</css_master_key>
|
||||
</css>
|
||||
</hookextras_css>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<hook_desc>Выводит на главной станице форумов блок 10 последних изменений статусов</hook_desc>
|
||||
<hook_author>Invision Power Services, Inc</hook_author>
|
||||
<hook_email/>
|
||||
<hook_website/>
|
||||
<hook_website>http://www.invisionpower.com</hook_website>
|
||||
<hook_update_check/>
|
||||
<hook_requirements><![CDATA[a:4:{s:20:"hook_ipb_version_min";i:3;s:20:"hook_ipb_version_max";i:0;s:20:"hook_php_version_min";s:0:"";s:20:"hook_php_version_max";s:0:"";}]]></hook_requirements>
|
||||
<hook_version_human>1.0.0</hook_version_human>
|
||||
|
||||
Reference in new issue
Block a user