mirror of
https://github.com/php/web-people.git
synced 2026-03-24 07:12:14 +01:00
30 lines
941 B
PHP
30 lines
941 B
PHP
<?php
|
|
|
|
function site_header($TITLE) {
|
|
$SUBDOMAIN = "people";
|
|
$LINKS = array(
|
|
array("href" => "https://main.php.net/manage/users.php", "text" => "Manage"),
|
|
array("href" => "https://wiki.php.net/web/people", "text" => "Help"),
|
|
);
|
|
$CSS[] = "/styles/user-autocomplete.css";
|
|
$CSS[] = "/styles/people.css";
|
|
$SEARCH = array("method" => "get", "action" => "user.php", "placeholder" => "Search profiles", "name" => "username");
|
|
include __DIR__ . "/../shared/templates/header.inc";
|
|
}
|
|
|
|
function site_footer($config = array()) {
|
|
$JS = array(
|
|
"//people.php.net/js/jquery.autocomplete.min.js",
|
|
"//people.php.net/js/userlisting.php",
|
|
"//people.php.net/js/search.js",
|
|
);
|
|
if (isset($config["SIDEBAR"])) {
|
|
$SECONDSCREEN = $config["SIDEBAR"];
|
|
}
|
|
include __DIR__ . "/../shared/templates/footer.inc";
|
|
}
|
|
|
|
|
|
|
|
// vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 :
|