Change list :: cBB QuickQuote v1.0.5
Changes in Javascript files and external plugins are not included here.
acp/config_info.php
@@ -1,9 +1,9 @@
1
1
<?php
2
2
/**
3
3
* @package cBB Quickquote
4
* @version 1.0.4 01/06/2024
4
* @version 1.0.5 08/04/2025
5
5
*
6
* @copyright (c) 2024 CaniDev
6
* @copyright (c) 2025 CaniDev
7
7
* @license https://creativecommons.org/licenses/by-nc/4.0/
8
8
*/
9
9
@@ -16,7 +16,7 @@
16
16
return [
17
17
'filename' => '\canidev\quickquote\acp\config_module',
18
18
'title' => 'ACP_CAT_QUICKQUOTE',
19
'version' => '1.0.4',
19
'version' => '1.0.5',
20
20
'modes' => [
21
21
'config' => ['title' => 'ACP_QUICKQUOTE_CONFIG', 'auth' => 'ext_canidev/quickquote && acl_a_board', 'cat' => ['ACP_CAT_QUICKQUOTE']],
22
22
],
acp/config_module.php
@@ -1,9 +1,9 @@
1
1
<?php
2
2
/**
3
3
* @package cBB QuickQuote
4
* @version 1.0.4 01/06/2024
4
* @version 1.0.5 08/04/2025
5
5
*
6
* @copyright (c) 2024 CaniDev
6
* @copyright (c) 2025 CaniDev
7
7
* @license https://creativecommons.org/licenses/by-nc/4.0/
8
8
*/
9
9
adm/style/event/acp_overall_footer_after.html
@@ -1,3 +1,3 @@
1
{% if QUICKQUOTE_IN_ADMIN and CANIDEV_CORE_STARTED %}
1
{% if IN_EXT_QUICKQUOTE and CANIDEV_CORE_STARTED %}
2
2
{% include '@canidev_core/event/acp_overall_footer_after.html' %}
3
3
{% endif %}
4
4
No hay ningún carácter de nueva línea al final del fichero
adm/style/event/acp_overall_header_head_append.html
@@ -1,3 +1,3 @@
1
{% if QUICKQUOTE_IN_ADMIN and CANIDEV_CORE_STARTED %}
1
{% if IN_EXT_QUICKQUOTE and CANIDEV_CORE_STARTED %}
2
2
{% include '@canidev_core/event/overall_header_head_append.html' %}
3
3
{% endif %}
4
4
No hay ningún carácter de nueva línea al final del fichero
composer.json
@@ -3,7 +3,8 @@
3
3
"type": "phpbb-extension",
4
4
"description": "",
5
5
"homepage": "https://www.canidev.com",
6
"version": "1.0.4",
6
"version": "1.0.5",
7
"time": "2025-04-08",
7
8
"keywords": ["phpbb", "extension", "canidev", "quotes"],
8
9
"license": "CreativeCommons Attribution-NonCommercial v4.0",
9
10
"authors": [
controller/admin_controller_config.php
@@ -1,9 +1,9 @@
1
1
<?php
2
2
/**
3
3
* @package cBB Quickquote
4
* @version 1.0.4 01/06/2024
4
* @version 1.0.5 08/04/2025
5
5
*
6
* @copyright (c) 2024 CaniDev
6
* @copyright (c) 2025 CaniDev
7
7
* @license https://creativecommons.org/licenses/by-nc/4.0/
8
8
*/
9
9
@@ -68,7 +68,7 @@
68
68
if($submit)
69
69
{
70
70
$cfg_array = $this->request->variable('config', ['' => '']);
71
$cfg_array['quickquote_groups'] = ($this->request->is_set_post('all_groups_quickquote_groups')) ? 'all' : $this->request->variable('quickquote_groups', [0]);
71
$cfg_array['quickquote_groups'] = $this->tools->groups_select_submit('quickquote_groups');
72
72
73
73
// We validate the complete config if whished
74
74
validate_config_vars($display_vars, $cfg_array, $error);
@@ -92,7 +92,7 @@
92
92
$this->new_config = $cfg_array;
93
93
94
94
// Do not write values if there is an error
95
if(sizeof($error))
95
if(count($error))
96
96
{
97
97
$submit = false;
98
98
}
@@ -107,8 +107,7 @@
107
107
108
108
if($submit)
109
109
{
110
$value = is_array($this->new_config[$config_name]) ? implode(',', $this->new_config[$config_name]) : $this->new_config[$config_name];
111
$this->config->set($config_name, $value);
110
$this->config->set($config_name, $this->new_config[$config_name]);
112
111
}
113
112
}
114
113
@@ -118,8 +117,7 @@
118
117
}
119
118
120
119
$this->template->assign_vars([
121
'QUICKQUOTE_IN_ADMIN' => true,
122
'S_ERROR' => (sizeof($error)) ? true : false,
120
'S_ERROR' => count($error) > 0,
123
121
'ERROR_MSG' => implode('<br />', $error),
124
122
]);
125
123
event/listener.php
@@ -1,9 +1,9 @@
1
1
<?php
2
2
/**
3
3
* @package cBB Quickquote
4
* @version 1.0.4 01/06/2024
4
* @version 1.0.5 08/04/2025
5
5
*
6
* @copyright (c) 2024 CaniDev
6
* @copyright (c) 2025 CaniDev
7
7
* @license https://creativecommons.org/licenses/by-nc/4.0/
8
8
*/
9
9
ext.php
@@ -1,9 +1,9 @@
1
1
<?php
2
2
/**
3
3
* @package cBB Quickquote
4
* @version 1.0.4 01/06/2024
4
* @version 1.0.5 08/04/2025
5
5
*
6
* @copyright (c) 2024 CaniDev
6
* @copyright (c) 2025 CaniDev
7
7
* @license https://creativecommons.org/licenses/by-nc/4.0/
8
8
*/
9
9
@@ -12,7 +12,7 @@
12
12
class ext extends \phpbb\extension\base
13
13
{
14
14
const REQUIRED_PHPBB = '3.2.0';
15
const REQUIRED_CORE = '1.1.4';
15
const REQUIRED_CORE = '1.1.10';
16
16
17
17
/**
18
18
* {@inheritDoc}
language/en/frontend.php
@@ -2,9 +2,9 @@
2
2
/**
3
3
* [English [En]]
4
4
* @package cBB QuickQuote
5
* @version 1.0.4 01/06/2024
5
* @version 1.0.5 08/04/2025
6
6
*
7
* @copyright (c) 2024 CaniDev
7
* @copyright (c) 2025 CaniDev
8
8
* @license https://creativecommons.org/licenses/by-nc/4.0/
9
9
*/
10
10
language/en/info_acp_quickquote.php
@@ -2,9 +2,9 @@
2
2
/**
3
3
* [English [En]]
4
4
* @package cBB QuickQuote
5
* @version 1.0.4 01/06/2024
5
* @version 1.0.5 08/04/2025
6
6
*
7
* @copyright (c) 2024 CaniDev
7
* @copyright (c) 2025 CaniDev
8
8
* @license https://creativecommons.org/licenses/by-nc/4.0/
9
9
*/
10
10
language/es/frontend.php
@@ -2,9 +2,9 @@
2
2
/**
3
3
* [Spanish [Es]]
4
4
* @package cBB QuickQuote
5
* @version 1.0.4 01/06/2024
5
* @version 1.0.5 08/04/2025
6
6
*
7
* @copyright (c) 2024 CaniDev
7
* @copyright (c) 2025 CaniDev
8
8
* @license https://creativecommons.org/licenses/by-nc/4.0/
9
9
*/
10
10
language/es/info_acp_quickquote.php
@@ -2,9 +2,9 @@
2
2
/**
3
3
* [Spanish [Es]]
4
4
* @package cBB QuickQuote
5
* @version 1.0.4 01/06/2024
5
* @version 1.0.5 08/04/2025
6
6
*
7
* @copyright (c) 2024 CaniDev
7
* @copyright (c) 2025 CaniDev
8
8
* @license https://creativecommons.org/licenses/by-nc/4.0/
9
9
*/
10
10
styles/all/template/event/overall_footer_body_after.html
@@ -1,21 +1,21 @@
1
1
{% if QQ_ENABLED %}
2
<script type="text/html" id="tpl-quickquote-tooltip">
2
<template id="quickquote-tooltip">
3
3
<div class="quickquote-tooltip">
4
4
<a href="#" data-action="quote"><i class="fa fa-plus"></i>{{ lang('QQ_SAVE_QUOTE') }}</a>
5
5
<span class="tooltip-sep">|</span>
6
6
<a href="#" data-action="reply"><i class="fa fa-reply"></i>{{ lang('QQ_REPLY') }}</a>
7
7
</div>
8
</script>
8
</template>
9
9
10
<script type="text/html" id="tpl-quickquote-floatbtn">
11
<a href="#" class="quickquote-floatbtn button" data-text="{{ lang('QUOTES') }}"></a>
12
</script>
10
<template id="quickquote-floatbtn">
11
<a href="#" class="quickquote-floatbtn button" data-text="{{ lang('QUOTES') }}"></a>
12
</template>
13
13
14
<script type="text/html" id="tpl-quickquote-inlinebtn">
15
<input type="button" class="button1 quickquote-inlinebtn" data-text="{{ lang('QQ_INSERT_QUOTES') }}" />
16
</script>
14
<template id="quickquote-inlinebtn">
15
<input type="button" class="button1 quickquote-inlinebtn" data-text="{{ lang('QQ_INSERT_QUOTES') }}" />
16
</template>
17
17
18
<script type="text/html" id="tpl-quickquote-dialog">
18
<template id="quickquote-dialog">
19
19
<div class="qq-dialog" title="{{ lang('QUOTES') }}">
20
20
<div class="cbb-dialog-content dialog-content">
21
21
<ul class="js-quickquote-list">
@@ -41,7 +41,7 @@
41
41
</div>
42
42
</div>
43
43
</div>
44
</script>
44
</template>
45
45
46
46
<script>
47
47
(function($) {
styles/all/theme/quickquote.css
@@ -1,7 +1,7 @@
1
1
/* cBB QuickQuote StyleSheet
2
2
--------------------------------------------------------------
3
3
Style: All
4
Copyright (c) 2024 CaniDev ( https://www.canidev.com )
4
Copyright (c) 2025 CaniDev ( https://www.canidev.com )
5
5
--------------------------------------------------------------
6
6
*/
7
7
@@ -139,6 +139,11 @@
139
139
140
140
/* RTL
141
141
------------------------- */
142
.rtl .quickquote-tooltip a > i {
143
margin-left: 5px;
144
margin-right: unset;
145
}
146
142
147
.rtl .quickquote-floatbtn {
143
148
left: 60px;
144
149
padding: 10px 10px 10px 30px;