sysadmins are now objects instead of arrays

This commit is contained in:
Ben Harris 2021-09-07 14:19:27 -04:00
parent 0f35d2e246
commit fec67e21eb
2 changed files with 101 additions and 101 deletions

View File

@ -9,10 +9,10 @@
"channel": "#aussie",
"os": "ubuntu lts",
"sysadmins": [
[
"fosslinux",
"https://fosslinux.me"
]
{
"name": "fosslinux",
"link": "https://fosslinux.me"
}
]
},
{
@ -24,14 +24,14 @@
"channel": "#bread",
"os": "ubuntu lts",
"sysadmins": [
[
"breadw",
"https://breadpunk.club/~breadw/"
],
[
"lucitoast",
"https://breadpunk.club/~lucitoast/"
]
{
"name": "breadw",
"link": "https://breadpunk.club/~breadw/"
},
{
"name": "lucitoast",
"link": "https://breadpunk.club/~lucitoast/"
}
]
},
{
@ -43,14 +43,14 @@
"channel": "#cosmic",
"os": "ubuntu lts",
"sysadmins": [
[
"tomasino",
"https://tomasino.org"
],
[
"fosslinux",
"https://fosslinux.me"
]
{
"name": "tomasino",
"link": "https://tomasino.org"
},
{
"name": "fosslinux",
"link": "https://fosslinux.me"
}
]
},
{
@ -62,10 +62,10 @@
"channel": "#ctrl-c",
"os": "ubuntu lts",
"sysadmins": [
[
"calamitous",
"http://ctrl-c.club/~calamitous/"
]
{
"name": "calamitous",
"link": "http://ctrl-c.club/~calamitous/"
}
]
},
{
@ -77,10 +77,10 @@
"channel": "#envs",
"os": "debian",
"sysadmins": [
[
"creme",
"https://envs.net/~creme/"
]
{
"name": "creme",
"link": "https://envs.net/~creme/"
}
]
},
{
@ -92,10 +92,10 @@
"channel": "#radiofreqs, #hamradio",
"os": "openbsd",
"sysadmins": [
[
"nonlinear",
"https://nonlinear.radiofreqs.space"
]
{
"name": "nonlinear",
"link": "https://nonlinear.radiofreqs.space"
}
]
},
{
@ -107,10 +107,10 @@
"channel": "#rw.rs",
"os": "debian",
"sysadmins": [
[
"adsr",
"http://rw.rs/~adsr/"
]
{
"name": "adsr",
"link": "http://rw.rs/~adsr/"
}
]
},
{
@ -122,10 +122,10 @@
"channel": "#texto-plano",
"os": "openbsd",
"sysadmins": [
[
"ffuentes",
"https://texto-plano.xyz/~ffuentes/"
]
{
"name": "ffuentes",
"link": "https://texto-plano.xyz/~ffuentes/"
}
]
},
{
@ -137,18 +137,18 @@
"channel": "#thunix",
"os": "debian stable",
"sysadmins": [
[
"fosslinux",
"https://www.thunix.net/~fosslinux"
],
[
"naglfar",
"https://www.thunix.net/~naglfar"
],
[
"ubergeek",
"https://www.thunix.net/~ubergeek"
]
{
"name": "fosslinux",
"link": "https://www.thunix.net/~fosslinux"
},
{
"name": "naglfar",
"link": "https://www.thunix.net/~naglfar"
},
{
"name": "ubergeek",
"link": "https://www.thunix.net/~ubergeek"
}
]
},
{
@ -160,14 +160,14 @@
"channel": "#club",
"os": "fedora",
"sysadmins": [
[
"deepend",
"https://tilde.club/~deepend/"
],
[
"ben",
"https://tilde.club/~ben/"
]
{
"name": "deepend",
"link": "https://tilde.club/~deepend/"
},
{
"name": "ben",
"link": "https://tilde.club/~ben/"
}
]
},
{
@ -179,14 +179,14 @@
"channel": "#institute",
"os": "openbsd",
"sysadmins": [
[
"gbmor",
"https://gbmor.dev"
],
[
"kneezle",
"https://kneezle.tilde.institute/"
]
{
"name": "gbmor",
"link": "https://gbmor.dev"
},
{
"name": "kneezle",
"link": "https://kneezle.tilde.institute/"
}
]
},
{
@ -198,10 +198,10 @@
"channel": "#pink",
"os": "netbsd",
"sysadmins": [
[
"tiwesdaeg",
"gopher://tilde.pink/1/~tiwesdaeg/"
]
{
"name": "tiwesdaeg",
"link": "gopher://tilde.pink/1/~tiwesdaeg/"
}
]
},
{
@ -213,18 +213,18 @@
"channel": "#team",
"os": "ubuntu lts and freebsd",
"sysadmins": [
[
"ben",
"https://ben.tilde.team/"
],
[
"cmccabe",
"https://cmccabe.tilde.team/"
],
[
"khuxkm",
"https://khuxkm.tilde.team/"
]
{
"name": "ben",
"link": "https://ben.tilde.team/"
},
{
"name": "cmccabe",
"link": "https://cmccabe.tilde.team/"
},
{
"name": "khuxkm",
"link": "https://khuxkm.tilde.team/"
}
]
},
{
@ -236,22 +236,22 @@
"channel": "#town",
"os": "ubuntu lts",
"sysadmins": [
[
"vilmibm",
"https://tilde.town/~vilmibm/"
],
[
"equa",
"https://tilde.town/~equa/"
],
[
"archangelic",
"https://tilde.town/~archangelic/"
],
[
"l0010o0001l",
"https://tilde.town/~l0010o0001l/"
]
{
"name": "vilmibm",
"link": "https://tilde.town/~vilmibm/"
},
{
"name": "equa",
"link": "https://tilde.town/~equa/"
},
{
"name": "archangelic",
"link": "https://tilde.town/~archangelic/"
},
{
"name": "l0010o0001l",
"link": "https://tilde.town/~l0010o0001l/"
}
]
}
]

View File

@ -14,7 +14,7 @@ include __DIR__.'/../header.php';
<br><br>
<p><strong>sysadmin<?=count($member->sysadmins) > 1 ? 's' : ''?></strong>:
<?php foreach ($member->sysadmins as $admin): ?>
<a href="<?=$admin[1]?>"><?=$admin[0]?></a>
<a href="<?=$admin->link?>"><?=$admin->name?></a>
<?php endforeach; ?>
</p>
<p><strong>os</strong>: <?=$member->os?></p>