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

27 lines
526 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
8 years ago
pg('wifi_set', '', '/wifi/set');//'/cfg/wifi/set');
pg('wifi_scan', '', '/wifi/scan');//'/cfg/wifi/scan');
return $pages;