upd
This commit is contained in:
parent
2bd379d2c5
commit
50656078a6
@ -7,10 +7,8 @@ use Response;
|
||||
class AboutHandler extends \RequestHandler {
|
||||
|
||||
public function get(): Response {
|
||||
global $config;
|
||||
$this->skin->title = $this->lang['contacts'];
|
||||
return $this->skin->renderPage('main/contacts',
|
||||
email: $config['admin_email']);
|
||||
return $this->skin->renderPage('main/contacts');
|
||||
}
|
||||
|
||||
}
|
@ -6,7 +6,6 @@ $r = (new Router())
|
||||
// route handler input
|
||||
// ----- ------- -----
|
||||
->add('/', 'index')
|
||||
//->add('about/', 'about')
|
||||
->add('([a-zA-Z0-9\-]+)/', 'auto name=$(1)')
|
||||
|
||||
->add('feed.rss', 'RSS')
|
||||
@ -16,7 +15,7 @@ $r = (new Router())
|
||||
|
||||
->add('([a-zA-Z0-9\-]+)/{delete,edit}/', 'admin/auto_${1} short_name=$(1)')
|
||||
->add('([a-zA-Z0-9\-]+)/create/', 'admin/page_add short_name=$(1)')
|
||||
->add('write/', 'admin/post_add')
|
||||
//->add('write/', 'admin/post_add')
|
||||
->add('admin/markdown-preview.ajax', 'admin/markdown_preview')
|
||||
|
||||
->add('uploads/', 'admin/uploads')
|
||||
|
6
htdocs/yandex_6b8e89dc241d9757.html
Normal file
6
htdocs/yandex_6b8e89dc241d9757.html
Normal file
@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
</head>
|
||||
<body>Verification: 6b8e89dc241d9757</body>
|
||||
</html>
|
@ -82,26 +82,6 @@ HTML;
|
||||
}
|
||||
|
||||
|
||||
// contacts page
|
||||
// -------------
|
||||
|
||||
function contacts($ctx, $email) {
|
||||
return <<<HTML
|
||||
<table class="contacts" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td colspan="2" style="line-height: 170%; padding-bottom: 18px;">
|
||||
<div>Feel free to contact me by any of the following means:</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Tox ID:</td>
|
||||
<td class="value"><span>4F6E82D285B342CAE83687FA63F1B083A9FD053C8BE08C709E25491C74E6016CB52C987692C3</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
HTML;
|
||||
|
||||
}
|
||||
|
||||
|
||||
// any page
|
||||
// --------
|
||||
|
Loading…
x
Reference in New Issue
Block a user