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

View File

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