Merge remote-tracking branch 'upstream/2023.09-rc' into warnings
This commit is contained in:
commit
b1ab551f75
|
@ -5,11 +5,11 @@ matrix:
|
||||||
- PHP_MAJOR_VERSION: 7.4
|
- PHP_MAJOR_VERSION: 7.4
|
||||||
PHP_VERSION: 7.4.33
|
PHP_VERSION: 7.4.33
|
||||||
- PHP_MAJOR_VERSION: 8.0
|
- PHP_MAJOR_VERSION: 8.0
|
||||||
PHP_VERSION: 8.0.29
|
PHP_VERSION: 8.0.30
|
||||||
- PHP_MAJOR_VERSION: 8.1
|
- PHP_MAJOR_VERSION: 8.1
|
||||||
PHP_VERSION: 8.1.21
|
PHP_VERSION: 8.1.23
|
||||||
- PHP_MAJOR_VERSION: 8.2
|
- PHP_MAJOR_VERSION: 8.2
|
||||||
PHP_VERSION: 8.2.8
|
PHP_VERSION: 8.2.11
|
||||||
|
|
||||||
# This forces PHP Unit executions at the "opensocial" labeled location (because of much more power...)
|
# This forces PHP Unit executions at the "opensocial" labeled location (because of much more power...)
|
||||||
labels:
|
labels:
|
||||||
|
|
|
@ -90,7 +90,7 @@ function smileybutton_jot_tool(string &$body)
|
||||||
for ($x = 0; $x < count($params['texts']); $x++) {
|
for ($x = 0; $x < count($params['texts']); $x++) {
|
||||||
$icon = $params['icons'][$x];
|
$icon = $params['icons'][$x];
|
||||||
$s .= '<td onclick="smileybutton_addsmiley(\'' . $params['texts'][$x] . '\')">' . $icon . '</td>';
|
$s .= '<td onclick="smileybutton_addsmiley(\'' . $params['texts'][$x] . '\')">' . $icon . '</td>';
|
||||||
if (($x + 1) % (sqrt(count($params['texts'])) + 1) == 0) {
|
if (($x + 1) % (floor(sqrt(count($params['texts']))) + 1) == 0) {
|
||||||
$s .= '</tr><tr>';
|
$s .= '</tr><tr>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue