chore: remove useless stuff
Stray bits of config, MacOS dashboard widget...
This commit is contained in:
parent
46df0f2d61
commit
3922a78de9
60 changed files with 6 additions and 4929 deletions
scripts/site/main
|
@ -1,18 +0,0 @@
|
|||
<?php
|
||||
|
||||
class page_handler {
|
||||
|
||||
var $engines = array('xml');
|
||||
|
||||
|
||||
function xml($input) {
|
||||
$data = new data_leaf('MacWidget', config::getParam('widgetURL'));
|
||||
$data->setAttribute('latest', config::getParam('latestWidget'));
|
||||
$data->setAttribute('oldestOk', config::getParam('oldestWidget'));
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
|
@ -1,18 +0,0 @@
|
|||
<?php
|
||||
|
||||
class page_handler {
|
||||
public $engines = array('page');
|
||||
public $noTracking = true;
|
||||
|
||||
public function handle($input) {
|
||||
$key = strtolower($input['k']);
|
||||
if (!$key || strlen($key) != 32 || preg_match('/[^a-z0-9]/', $key)) {
|
||||
$this->data = "X";
|
||||
} else {
|
||||
$this->data = "Key is $key";
|
||||
}
|
||||
$this->output = "pcheck";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
|
@ -33,7 +33,7 @@ class page_layout {
|
|||
}
|
||||
|
||||
public function header($pg, $lg) {
|
||||
if ($pg == "ppipn" || $pg == "pcheck") {
|
||||
if ($pg == "ppipn") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@ class page_layout {
|
|||
}
|
||||
|
||||
public function footer($pg, $lg) {
|
||||
if ($pg == "ppipn" || $pg == "pcheck") {
|
||||
if ($pg == "ppipn") {
|
||||
echo $this->pageContents;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue