steffen: server/kolab-horde-fbview/kolab-horde-fbview/fbview/templates/test extensions.inc, NONE, 1.1 footer.inc, NONE, 1.1 header.inc, NONE, 1.1 php_version.inc, NONE, 1.1 version.inc, NONE, 1.1

cvs at intevation.de cvs at intevation.de
Mon Oct 31 12:43:37 CET 2005


Author: steffen

Update of /kolabrepository/server/kolab-horde-fbview/kolab-horde-fbview/fbview/templates/test
In directory doto:/tmp/cvs-serv18388/kolab-horde-fbview/kolab-horde-fbview/fbview/templates/test

Added Files:
	extensions.inc footer.inc header.inc php_version.inc 
	version.inc 
Log Message:
Fbview in separate package

--- NEW FILE: extensions.inc ---
<html>
<head>
<title>PHP Extensions</title>
<style>
body { background-color: white; margin-top: 0; margin-left: 20; margin-right: 20; }
table { font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin-top: 0; margin-left: 0; }
a { text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin-top: 0; margin-left: 0; }
a:active { color: #2457ff; }
a:hover { color: #2457ff; text-decoration: underline; }
a:link { color: #2457ff; }
a:visited { color: #2457ff; }
.black { background-color: #000000; color: #ffffff; }
</style>
</head>
<body>
<a href="<?php echo $_GET['url'] ?>?mode=test"><< Back to test.php</a>
<br />
<table width="100%" cellspacing="0"><tr><td colspan="2"><table>
<tr><td>php version:</td><td><b><?php echo phpversion() ?></b></td></tr>
<tr><td>server api:</td><td><b><?php echo @php_sapi_name()?></b></td></tr>
<tr><td>loaded extensions:</td><td><b><?php $extensions = @get_loaded_extensions(); echo count($extensions); ?></b></td></tr>
<tr><td>system:</td><td><b><?php echo @php_uname()?></b></td></tr>
</table><br /></td></tr>
<tr class="black">
<td><b>activated extensions:</b></td>
<td><b><?php echo @strtolower($_GET['ext']) ?> function list:</b></td>
</tr>
<tr><td valign="top" width="50%"><table width="100%">
<?php
    @sort($extensions);
    foreach ($extensions as $extension) {
        echo '<tr><td width="30%">' . $extension . '</td><td><a href="?mode=extensions&ext=' . $extension . '&url=' . urlencode($_GET['url']) . '">function list</a></td></tr>';
    }
?>
</table></td><td valign="top" width="50%"><table>
<?php
    if (isset($_GET['ext'])) {
        $functions = @get_extension_funcs($_GET['ext']);
        @sort($functions);
        foreach ($functions as $function) {
            echo "<tr><td><a href=\"http://www.php.net/manual/function." . str_replace('_', '-', $function) . ".php\" target=\"_blank\">$function</a></td></tr>\n";
        }
    }
?>
</table></td></tr></table></body></html>

--- NEW FILE: footer.inc ---
<p align="left">
<a href="http://validator.w3.org/check/referer"><img src="http://validator.w3.org/images/vxhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" hspace="5" /></a>
</p>

</td></tr>
</table>
</body>
</html>

--- NEW FILE: header.inc ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head> 
<title><?php echo $module ?>: System Capabilities Test</title>
<style type="text/css">
<!--    
body { font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 10pt; }
td { font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 10pt; }h1 { font-size: 12pt; color: black; font-family: Verdana,Geneva,Arial,Helvetica,
sans-serif; }
--> 
</style>      
</head> 

<body bgcolor="#ffffff" text="#000000">
    <table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr><td>

--- NEW FILE: php_version.inc ---
<h1>PHP Version</h1>
<ul>
    <li><a href="<?php echo $php_info->phpinfo ?>">View phpinfo() screen</a></li>
    <li><a href="<?php echo $php_info->extensions ?>">View loaded extensions</a></li>
    <li>PHP Version: <?php echo $php_info->version ?></li>
    <li>PHP Major Version: <?php echo $php_info->major ?></li>
<?php if (isset($php_info->minor)): ?>
    <li>PHP Minor Version: <?php echo $php_info->minor ?></li>
<?php endif; ?>
<?php if (isset($php_info->subminor)): ?>
    <li>PHP Subminor Version: <?php echo $php_info->subminor ?></li>
<?php endif; ?>
    <li>PHP Version Classification: <?php echo $php_info->class ?></li>
    <li><font color="<?php echo $php_info->status_color ?>"><?php echo $php_info->status ?></font></li>
<?php if (isset($php_info->version_check)): ?>
    <li><?php echo $php_info->version_check ?></li>
<?php endif;?>
<?php if (isset($php_info->insecure)): ?>
    <li><font color="orange"<?php echo $php_info->insecure ?></font></li>
<?php endif;?>
</ul>

--- NEW FILE: version.inc ---
<h1><?php echo $module ?> Version</h1>
<ul>
    <li><?php echo $module ?>: <?php echo $module_version ?></li>
</ul>





More information about the commits mailing list