ESPTerm - ESP8266 terminal emulator. Branches: [master] patches, [work] next release
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
espterm-firmware/html_orig/_pages.php

26 lines
456 B

<?php
$pages = [];
/** Add a page */
function pg($key, $bc, $path) {
global $pages;
$pages[$key] = (object) [
'bodyclass' => $bc,
'path' => $path,
'label' => tr("menu.$key"),
];
}
pg('cfg_wifi', 'cfg', '/cfg/wifi');
pg('cfg_network', 'cfg', '/cfg/network');
pg('cfg_term', 'cfg', '/cfg/term');
pg('about', 'cfg', '/about');
pg('help', 'cfg', '/help');
pg('term', 'term', '/');
// technical
pg('wifi_set', '', '/cfg/wifi/set');
return $pages;