Apache2-AuthAny

 view release on metacpan or  search on metacpan

examples/demo-gate/gate.css  view on Meta::CPAN

#gateBody 
{
  width:760px;
  background-color:#FCFCFC;
  font-family:Verdana,Arial,Helvetica,sans-serif;
  margin: 5px 10px;
  padding:0;
  font-size: 13px;
}

#gateBody p
{
  font-size: 0.8em;
  color: #888888;
  font-weight: normal;
  line-height: 1.2;
}

#gateBody .gate-message
{
  background: yellow; width: 850px; border: 2px solid; padding: 10px; margin-bottom: 10px
}

#gateBody h1
{ 
  font-size:40px;
  margin:0 0 0.4em;
}

#gateBody h2
{ 
  color:#555555;
  margin:0 0 0.4em;
  font-size: 1.2em;
}

.gate-providers
{
  width: 700px;
  height: 200px;
  border: 2px solid;
  background: #EEEECC;
}

examples/demo-gate/gate.php  view on Meta::CPAN

      </div>

      <div class="gate-provider">
        <button onclick="document.location = '<?= $uw_auth_url ?>'; return false">
          <img style="width: 90px" src="images/uw_small.jpg" alt="U of W">
        </button>
      </div>

      <div class="gate-provider">
        <button onclick="document.location = '<?= $basic_auth_url ?>'; return false">
          <span style="font-size: 26px; font-weight: bold;">Basic</span>
        </button>
      </div>

<!--
      <div class="gate-provider">
        <button onclick="document.location = '<?= $ldap_auth_url ?>'; return false">
          <span style="font-size: 26px; font-weight: bold;">LDAP</span>
        </button>
      </div>
-->
      <?= $other_provider_html ?>
    </div>
    <div style="clear: both;"></div>
  </body>
</html>

examples/demo/d1/demo.php  view on Meta::CPAN

<?php
require_once "../demo-common.php";

$style = <<<STY
<style>
 $style_common
.envVars { background: #FFFFFF; padding: 5px; border: 1px solid; margin: 20px 0 0 10px; 
           width: 350px; font-family: "Courier New", monospace;
         }
.envVars p {font-family: Arial,Helvetica,sans-serif; font-weight: bold; }
.htaccess { padding: 5px; }
.amz { font-weight: bold; color: #E47911 }
</style>
STY;

$script = <<<SCRIPT
<script> 
<!-- 
//
 var milisec=0;
 var timeout;
 var seconds=$_SERVER[AA_TIMEOUT];

examples/demo/d1/demo.php  view on Meta::CPAN


<html>
  <head>
    <title>hello <?= $current_dir ?></title>
    <?= $style ?>
  </head>
  <body>
<div align="center">
<div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
<div class="header">
   <span style="font-size: 50px; font-weight: bold; float: left;">Apache2::AuthAny</span>
   <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
   <div style="clear: both"></div>
</div>
<div id="tabs">
 <ul>
   <?= $tabs ?>
 </ul>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>

examples/demo/d2/demo.php  view on Meta::CPAN

<?php
require_once "../demo-common.php";

$style = <<<STY
<style>
 $style_common
.envVars { background: #FFFFFF; padding: 5px; border: 1px solid; margin: 20px 0 0 10px; 
           width: 350px; font-family: "Courier New", monospace;
         }
.envVars p {font-family: Arial,Helvetica,sans-serif; font-weight: bold; }
.htaccess { padding: 5px; }
.amz { font-weight: bold; color: #E47911 }
</style>
STY;

$script = <<<SCRIPT
<script> 
<!-- 
//
 var milisec=0;
 var timeout;
 var seconds=$_SERVER[AA_TIMEOUT];

examples/demo/d2/demo.php  view on Meta::CPAN


<html>
  <head>
    <title>hello <?= $current_dir ?></title>
    <?= $style ?>
  </head>
  <body>
<div align="center">
<div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
<div class="header">
   <span style="font-size: 50px; font-weight: bold; float: left;">Apache2::AuthAny</span>
   <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
   <div style="clear: both"></div>
</div>
<div id="tabs">
 <ul>
   <?= $tabs ?>
 </ul>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>

examples/demo/d3/demo.php  view on Meta::CPAN

<?php
require_once "../demo-common.php";

$style = <<<STY
<style>
 $style_common
.envVars { background: #FFFFFF; padding: 5px; border: 1px solid; margin: 20px 0 0 10px; 
           width: 350px; font-family: "Courier New", monospace;
         }
.envVars p {font-family: Arial,Helvetica,sans-serif; font-weight: bold; }
.htaccess { padding: 5px; }
.amz { font-weight: bold; color: #E47911 }
</style>
STY;

$script = <<<SCRIPT
<script> 
<!-- 
//
 var milisec=0;
 var timeout;
 var seconds=$_SERVER[AA_TIMEOUT];

examples/demo/d3/demo.php  view on Meta::CPAN


<html>
  <head>
    <title>hello <?= $current_dir ?></title>
    <?= $style ?>
  </head>
  <body>
<div align="center">
<div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
<div class="header">
   <span style="font-size: 50px; font-weight: bold; float: left;">Apache2::AuthAny</span>
   <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
   <div style="clear: both"></div>
</div>
<div id="tabs">
 <ul>
   <?= $tabs ?>
 </ul>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>

examples/demo/d4/demo.php  view on Meta::CPAN

<?php
require_once "../demo-common.php";

$style = <<<STY
<style>
 $style_common
.envVars { background: #FFFFFF; padding: 5px; border: 1px solid; margin: 20px 0 0 10px; 
           width: 350px; font-family: "Courier New", monospace;
         }
.envVars p {font-family: Arial,Helvetica,sans-serif; font-weight: bold; }
.htaccess { padding: 5px; }
.amz { font-weight: bold; color: #E47911 }
</style>
STY;

$script = <<<SCRIPT
<script> 
<!-- 
//
 var milisec=0;
 var timeout;
 var seconds=$_SERVER[AA_TIMEOUT];

examples/demo/d4/demo.php  view on Meta::CPAN


<html>
  <head>
    <title>hello <?= $current_dir ?></title>
    <?= $style ?>
  </head>
  <body>
<div align="center">
<div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
<div class="header">
   <span style="font-size: 50px; font-weight: bold; float: left;">Apache2::AuthAny</span>
   <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
   <div style="clear: both"></div>
</div>
<div id="tabs">
 <ul>
   <?= $tabs ?>
 </ul>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>

examples/demo/d5/demo.php  view on Meta::CPAN

<?php
require_once "../demo-common.php";

$style = <<<STY
<style>
 $style_common
.envVars { background: #FFFFFF; padding: 5px; border: 1px solid; margin: 20px 0 0 10px; 
           width: 350px; font-family: "Courier New", monospace;
         }
.envVars p {font-family: Arial,Helvetica,sans-serif; font-weight: bold; }
.htaccess { padding: 5px; }
.amz { font-weight: bold; color: #E47911 }
</style>
STY;

$script = <<<SCRIPT
<script> 
<!-- 
//
 var milisec=0;
 var timeout;
 var seconds=$_SERVER[AA_TIMEOUT];

examples/demo/d5/demo.php  view on Meta::CPAN


<html>
  <head>
    <title>hello <?= $current_dir ?></title>
    <?= $style ?>
  </head>
  <body>
<div align="center">
<div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
<div class="header">
   <span style="font-size: 50px; font-weight: bold; float: left;">Apache2::AuthAny</span>
   <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
   <div style="clear: both"></div>
</div>
<div id="tabs">
 <ul>
   <?= $tabs ?>
 </ul>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>

examples/demo/d6/demo.php  view on Meta::CPAN

<?php
require_once "../demo-common.php";

$style = <<<STY
<style>
 $style_common
.envVars { background: #FFFFFF; padding: 5px; border: 1px solid; margin: 20px 0 0 10px; 
           width: 350px; font-family: "Courier New", monospace;
         }
.envVars p {font-family: Arial,Helvetica,sans-serif; font-weight: bold; }
.htaccess { padding: 5px; }
.amz { font-weight: bold; color: #E47911 }
</style>
STY;

$script = <<<SCRIPT
<script> 
<!-- 
//
 var milisec=0;
 var timeout;
 var seconds=$_SERVER[AA_TIMEOUT];

examples/demo/d6/demo.php  view on Meta::CPAN


<html>
  <head>
    <title>hello <?= $current_dir ?></title>
    <?= $style ?>
  </head>
  <body>
<div align="center">
<div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
<div class="header">
   <span style="font-size: 50px; font-weight: bold; float: left;">Apache2::AuthAny</span>
   <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
   <div style="clear: both"></div>
</div>
<div id="tabs">
 <ul>
   <?= $tabs ?>
 </ul>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>

examples/demo/d7/demo.php  view on Meta::CPAN

<?php
require_once "../demo-common.php";

$style = <<<STY
<style>
 $style_common
.envVars { background: #FFFFFF; padding: 5px; border: 1px solid; margin: 20px 0 0 10px; 
           width: 350px; font-family: "Courier New", monospace;
         }
.envVars p {font-family: Arial,Helvetica,sans-serif; font-weight: bold; }
.htaccess { padding: 5px; }
.amz { font-weight: bold; color: #E47911 }
</style>
STY;

$script = <<<SCRIPT
<script> 
<!-- 
//
 var milisec=0;
 var timeout;
 var seconds=$_SERVER[AA_TIMEOUT];

examples/demo/d7/demo.php  view on Meta::CPAN


<html>
  <head>
    <title>hello <?= $current_dir ?></title>
    <?= $style ?>
  </head>
  <body>
<div align="center">
<div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
<div class="header">
   <span style="font-size: 50px; font-weight: bold; float: left;">Apache2::AuthAny</span>
   <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
   <div style="clear: both"></div>
</div>
<div id="tabs">
 <ul>
   <?= $tabs ?>
 </ul>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>

examples/demo/d8/demo.php  view on Meta::CPAN

<?php
require_once "../demo-common.php";

$style = <<<STY
<style>
 $style_common
.envVars { background: #FFFFFF; padding: 5px; border: 1px solid; margin: 20px 0 0 10px; 
           width: 350px; font-family: "Courier New", monospace;
         }
.envVars p {font-family: Arial,Helvetica,sans-serif; font-weight: bold; }
.htaccess { padding: 5px; }
.amz { font-weight: bold; color: #E47911 }
</style>
STY;

$script = <<<SCRIPT
<script> 
<!-- 
//
 var milisec=0;
 var timeout;
 var seconds=$_SERVER[AA_TIMEOUT];

examples/demo/d8/demo.php  view on Meta::CPAN


<html>
  <head>
    <title>hello <?= $current_dir ?></title>
    <?= $style ?>
  </head>
  <body>
<div align="center">
<div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
<div class="header">
   <span style="font-size: 50px; font-weight: bold; float: left;">Apache2::AuthAny</span>
   <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
   <div style="clear: both"></div>
</div>
<div id="tabs">
 <ul>
   <?= $tabs ?>
 </ul>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>

examples/demo/demo-common.php  view on Meta::CPAN

<?php

$style_common = <<<STY
.header { background: #EEFFFF; border-bottom: 1px solid }
 h2 {background: #EEEEEE}
 body  { font-family: Arial,Helvetica,sans-serif;  background: #EEEEFF; }

    #tabs ul {
		list-style: none;
		padding: 0;
		margin: 0;
    }
    
	#tabs li {
		float: left;
		border: 1px solid #bbb;

examples/demo/demo-common.php  view on Meta::CPAN

	
	#tabs #selected {
		border-color: black;
	}
	
	#tabs #selected a {
		position: relative;
		top: 1px;
		background: white;
		color: black;
		font-weight: bold;
	}
	



STY;

$all_demos = array(
 "Demo1" => "d1",
 "Demo2" => "d2",

examples/demo/demo-common.php  view on Meta::CPAN

}


function page_template($main_content) {
global $tabs;

return <<<HEADER
<div align="center">
  <div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
    <div class="header">
      <span style="font-size: 50px; font-weight: bold; ">Apache2::AuthAny</span>
      <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
      <div style="clear: both"></div>
    </div>
    <div id="tabs">
      <ul>
        $tabs
      </ul>
    </div>
    <div style="clear: both"></div>

examples/demo/directory-demo.php  view on Meta::CPAN

<?php
require_once "../demo-common.php";

$style = <<<STY
<style>
 $style_common
.envVars { background: #FFFFFF; padding: 5px; border: 1px solid; margin: 20px 0 0 10px; 
           width: 350px; font-family: "Courier New", monospace;
         }
.envVars p {font-family: Arial,Helvetica,sans-serif; font-weight: bold; }
.htaccess { padding: 5px; }
.amz { font-weight: bold; color: #E47911 }
</style>
STY;

$script = <<<SCRIPT
<script> 
<!-- 
//
 var milisec=0;
 var timeout;
 var seconds=$_SERVER[AA_TIMEOUT];

examples/demo/directory-demo.php  view on Meta::CPAN


<html>
  <head>
    <title>hello <?= $current_dir ?></title>
    <?= $style ?>
  </head>
  <body>
<div align="center">
<div align="left" style="background: #CCEEFF; padding: 5px; border: 1px solid #CCAAFF; width: 1024px">
<div class="header">
   <span style="font-size: 50px; font-weight: bold; float: left;">Apache2::AuthAny</span>
   <div style="float: right; padding-right: 20px"><?= $ident_block ?></div>
   <div style="clear: both"></div>
</div>
<div id="tabs">
 <ul>
   <?= $tabs ?>
 </ul>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>

examples/demo/index.php  view on Meta::CPAN

<?php
require_once "demo-common.php"; # $style_common, page_template(),
?>

<html>
  <head>
    <title>mod_auth_any Demo</title>
    <style>
        <?= $style_common ?>
        h2 { font-style: italic; }
        .highlight {border: 2px solid; background: #FFFFFF;}
    </style>
  </head>
  <body>

<?php

preg_match('/(.*)\/demo\//', $_SERVER[SCRIPT_FILENAME], $matches);
$current_dir = getcwd();



( run in 1.232 second using v1.01-cache-2.11-cpan-5735350b133 )