Ejemplo n.º 1
0
}
if (httpAuthEnabled()) {
    echo "\n\t";
    echoGetFiles($hash, '', 'js', 'httpauth.xml', '');
    echo "\n\t";
    httpAuthentication();
    echo "\n";
}
?>
</head>

<body class="body-images">

<?php 
// Homepage?
if (!anonymousMode() && !httpAuthEnabled()) {
    ?>
    <!-- BEGIN HOMEPAGE -->
    <div id="home">
        <div class="home-images plane"></div>

        <div class="main">
            <div class="mainview">
                <div class="left">
                    <div class="home-images logo"></div>
                    <p class="upper"><?php 
    _e("Communicate with the entire world!");
    ?>
</p>
                    <p class="secondary"><?php 
    _e("Jappix is an open social platform, that let's you easily get or keep in touch with everyone.");
Ejemplo n.º 2
0
    <?php 
echoGetFiles($hash, '', 'css', 'mobile.xml', '');
echo "\n";
?>
    <?php 
echoGetFiles($hash, $locale, 'js', 'mobile.xml', '');
echo "\n";
?>

    <script type="text/javascript">
        var HTTP_AUTH = {};
    </script>

    <?php 
if (httpAuthEnabled()) {
    echo "\n\t";
    $auth_credentials = httpAuthCredentials();
    ?>
            <script type="text/javascript">
                HTTP_AUTH = {
                    user: <?php 
    echo json_encode($auth_credentials['user']);
    ?>
,
                    password: <?php 
    echo json_encode($auth_credentials['password']);
    ?>
,
                    host: <?php 
    echo json_encode($auth_credentials['host']);