Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ai-simplesitestats-plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Operate
Terraform modules
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
ai-simplesitestats-plugin
Compare revisions
065b7310b50582d60a4e1606327fb047fd2dbeef to 2a17ecc791f9ee57f2885f46ae72d47e340bfc08
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
noblogs/ai-simplesitestats-plugin
Select target project
No results found
2a17ecc791f9ee57f2885f46ae72d47e340bfc08
Select Git revision
Branches
main
Tags
v0.0.1
v0.0.10
v0.0.11
v0.0.12
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.0.9
13 results
Swap
Target
noblogs/ai-simplesitestats-plugin
Select target project
noblogs/ai-simplesitestats-plugin
1 result
065b7310b50582d60a4e1606327fb047fd2dbeef
Select Git revision
Branches
main
Tags
v0.0.1
v0.0.10
v0.0.11
v0.0.12
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.0.9
13 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Use the correct count() function
· 2d181a55
ale
authored
2 months ago
2d181a55
Bump version
· 2a17ecc7
ale
authored
2 months ago
2a17ecc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ai-simplesitestats.php
+2
-2
2 additions, 2 deletions
ai-simplesitestats.php
with
2 additions
and
2 deletions
ai-simplesitestats.php
View file @
2a17ecc7
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Plugin Name: ai-simplesitestats
* Plugin Name: ai-simplesitestats
* Plugin URI: https://git.autistici.org/noblogs/ai-simplesitestats-plugin
* Plugin URI: https://git.autistici.org/noblogs/ai-simplesitestats-plugin
* Description: Show simple site statistics
* Description: Show simple site statistics
* Version: 0.0.
8
* Version: 0.0.
9
* Author: Autistici/Inventati
* Author: Autistici/Inventati
* Author URI: https://www.autistici.org/
* Author URI: https://www.autistici.org/
* License: MIT
* License: MIT
...
@@ -82,7 +82,7 @@ class StatisticsPage {
...
@@ -82,7 +82,7 @@ class StatisticsPage {
echo
'<div>'
;
echo
'<div>'
;
echo
'<label for="'
.
$name
.
'_field">'
.
$label
.
'</label>'
;
echo
'<label for="'
.
$name
.
'_field">'
.
$label
.
'</label>'
;
echo
'<select name="'
.
$name
.
'" id="'
.
$name
.
'_field">'
;
echo
'<select name="'
.
$name
.
'" id="'
.
$name
.
'_field">'
;
for
(
$i
=
0
;
$i
<
len
(
$choices
);
$i
++
)
{
for
(
$i
=
0
;
$i
<
count
(
$choices
);
$i
++
)
{
echo
'<option value="'
.
$choices
[
$i
]
.
'"'
;
echo
'<option value="'
.
$choices
[
$i
]
.
'"'
;
if
(
$choices
[
$i
]
===
$value
)
{
if
(
$choices
[
$i
]
===
$value
)
{
echo
' selected'
;
echo
' selected'
;
...
...
This diff is collapsed.
Click to expand it.