GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — projectsend/header-unlogged.php at develop · sitecode/projectsend Expand file tree/ Copy pathheader-unlogged.phpMore file actions 114 lines (97 loc) · 3.8 KB / Copy pathheader-unlogged.phpFile metadata and controls114 lines (97 loc) · 3.8 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 <?php /** * This file generates the header for pages shown to unlogged users and * clients (log in form and, if allowed, self registration form). */ define('VIEW_TYPE', 'public'); /** * This file is shared with the installer. Let's start by checking * where is it being called from. */ if ( defined('IS_INSTALL') ) { $lang = ( defined('SITE_LANG') ) ? SITE_LANG : 'en'; $title = __('Install','cftp_admin') . ' » ' . SYSTEM_NAME; $header_vars = array( 'html_lang' => $lang, 'title' => $title, 'header_title' => SYSTEM_NAME . ' ' . __('setup','cftp_admin'), ); } else { /** * Check if the ProjectSend is installed. Done only on the log in form * page since all other are inaccessible if no valid session or cookie * is set. */ $header_vars = array( 'html_lang' => SITE_LANG, 'title' => $page_title . ' » ' . html_output(get_option('this_install_title')), 'header_title' => html_output(get_option('this_install_title')), ); if ( !is_projectsend_installed() ) { ps_redirect('install/index.php'); } /** * This is defined on the public download page. * So even logged in users can access it. */ if (!isset($dont_redirect_if_logged)) { if (current_role_in(['Client'])) { ps_redirect(CLIENT_VIEW_FILE_LIST_URL); } // If logged as a system user, go directly to the back-end homepage if (!empty($allowed_levels) && current_role_in($allowed_levels)) { ps_redirect(BASE_URI."dashboard.php"); } } // Silent updates that are needed even if no user is logged in. require_once INCLUDES_DIR . DS . 'core.update.silent.php'; } if ( !isset( $body_class ) ) { $body_class = []; } $flash_col = (isset($flash_size) && $flash_size == 'full') ? 'col-12' : 'col-12 col-sm-12 col-lg-4'; ?> <!doctype html> <html lang="<?php echo $header_vars['html_lang']; ?>"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php meta_noindex(); ?> <title><?php echo html_output( $header_vars['title'] ); ?></title> <?php meta_favicon(); ?> <?php render_assets('js', 'head'); render_assets('css', 'head'); render_custom_assets('head'); ?> </head> <body <?php echo add_body_class( $body_class ); ?> <?php if (!empty($page_id)) { echo add_page_id($page_id); } ?>> <?php include_once LAYOUT_DIR . DS . 'header-top.php'; ?> <main> <div class="container-fluid"> <div class="main_content_unlogged"> <?php render_custom_assets('body_top'); ?> <div class="row"> <div class="col-12 branding_unlogged"> <?php echo get_branding_layout(true); ?> </div> </div> <?php if (isset($show_page_title) && $show_page_title == true) { ?> <div class="row"> <div class="col-12"> <div id="section_title"> <h2><?php echo $page_title; ?></h2> </div> </div> </div> <?php } ?> <div class="row justify-content-md-center"> <div class="<?php echo $flash_col; ?>"> <?php // Flash messages if ($flash->hasMessages()) { echo $flash; } ?> </div> </div> |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |