mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
removed no longer used/relevant files
This commit is contained in:
parent
95d6f36322
commit
9d653a5b41
@ -1,115 +0,0 @@
|
|||||||
#!/usr/bin/php
|
|
||||||
<?php
|
|
||||||
/**************************************************************************\
|
|
||||||
* eGroupWare *
|
|
||||||
* http://www.egroupware.org *
|
|
||||||
* The file written by Dan Kuykendall <seek3r@phpgroupware.org> *
|
|
||||||
* Joseph Engo <jengo@phpgroupware.org> *
|
|
||||||
* -------------------------------------------- *
|
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
||||||
* option) any later version. *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/****************************************************************************\
|
|
||||||
* Config section *
|
|
||||||
\****************************************************************************/
|
|
||||||
// Temp paths that can be read and written to
|
|
||||||
$tmp_dir = '/tmp';
|
|
||||||
// Path of where you want the egroupware directory to go. NO trailing /
|
|
||||||
$co_dir = '/var/www/html';
|
|
||||||
// If you do not have developer access to cvs, change to True
|
|
||||||
$cvs_anonymous = True;
|
|
||||||
// Only needed if you have developers cvs access
|
|
||||||
$cvs_login = '';
|
|
||||||
|
|
||||||
|
|
||||||
// Modules you want to checkout, do NOT add the egroupware module
|
|
||||||
$co_modules[] = 'addressbook';
|
|
||||||
$co_modules[] = 'admin';
|
|
||||||
$co_modules[] = 'backup';
|
|
||||||
$co_modules[] = 'bookmarks';
|
|
||||||
$co_modules[] = 'calendar';
|
|
||||||
$co_modules[] = 'comic';
|
|
||||||
$co_modules[] = 'developer_tools';
|
|
||||||
$co_modules[] = 'email';
|
|
||||||
$co_modules[] = 'filemanager';
|
|
||||||
$co_modules[] = 'forum';
|
|
||||||
$co_modules[] = 'ftp';
|
|
||||||
$co_modules[] = 'headlines';
|
|
||||||
$co_modules[] = 'infolog';
|
|
||||||
$co_modules[] = 'manual';
|
|
||||||
$co_modules[] = 'messenger';
|
|
||||||
$co_modules[] = 'news_admin';
|
|
||||||
$co_modules[] = 'phpgwapi';
|
|
||||||
$co_modules[] = 'phpsysinfo';
|
|
||||||
$co_modules[] = 'polls';
|
|
||||||
$co_modules[] = 'preferences';
|
|
||||||
$co_modules[] = 'projects';
|
|
||||||
$co_modules[] = 'setup';
|
|
||||||
$co_modules[] = 'skel';
|
|
||||||
$co_modules[] = 'soap';
|
|
||||||
$co_modules[] = 'stocks';
|
|
||||||
$co_modules[] = 'tts';
|
|
||||||
$co_modules[] = 'xmlrpc';
|
|
||||||
|
|
||||||
// -- End config section
|
|
||||||
|
|
||||||
function docvscommand($command, $anonymous_login = False)
|
|
||||||
{
|
|
||||||
global $tmp_dir, $cvs_anonymous;
|
|
||||||
|
|
||||||
$fp = fopen($tmp_dir . '/createrelease.exp','w');
|
|
||||||
$contents = "#!/usr/bin/expect -f\n";
|
|
||||||
$contents .= "send -- \"export CVS_RSH=ssh\"\n";
|
|
||||||
$contents .= "set force_conservative 0\n";
|
|
||||||
$contents .= "if {\$force_conservative} {\n";
|
|
||||||
$contents .= " set send_slow {1 .1}\n";
|
|
||||||
$contents .= " proc send {ignore arg} {\n";
|
|
||||||
$contents .= " sleep .1\n";
|
|
||||||
$contents .= " exp_send -s -- \$arg\n";
|
|
||||||
$contents .= " }\n";
|
|
||||||
$contents .= "}\n";
|
|
||||||
$contents .= "set timeout -1\n";
|
|
||||||
$contents .= "spawn $command\n";
|
|
||||||
$contents .= "match_max 100000\n";
|
|
||||||
|
|
||||||
if ($cvs_anonymous && $anonymous_login)
|
|
||||||
{
|
|
||||||
$contents .= "expect \"CVS password:\"\n";
|
|
||||||
$contents .= "send -- \"\\r\"\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
$contents .= "expect eof\n";
|
|
||||||
fputs($fp, $contents, strlen($contents));
|
|
||||||
fclose($fp);
|
|
||||||
system('/usr/bin/expect ' . $tmp_dir . '/createrelease.exp');
|
|
||||||
unlink($tmp_dir . '/createrelease.exp');
|
|
||||||
}
|
|
||||||
|
|
||||||
chdir($co_dir);
|
|
||||||
if ($cvs_anonymous)
|
|
||||||
{
|
|
||||||
docvscommand('cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware login',True);
|
|
||||||
docvscommand('cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware co egroupware',True);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
docvscommand('cvs -d' . $cvs_login . '@cvs.sourceforge.net:/cvsroot/egroupware co egroupware');
|
|
||||||
}
|
|
||||||
|
|
||||||
chdir($co_dir . '/egroupware');
|
|
||||||
|
|
||||||
if ($cvs_anonymous)
|
|
||||||
{
|
|
||||||
docvscommand('cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware co ' . implode(' ',$co_modules));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
docvscommand('cvs -d' . $cvs_login . '@cvs.sourceforge.net:/cvsroot/egroupware co ' . implode(' ',$co_modules));
|
|
||||||
}
|
|
||||||
|
|
||||||
docvscommand('cvs update -dP');
|
|
@ -1,84 +0,0 @@
|
|||||||
#!/usr/bin/perl
|
|
||||||
############################################################################
|
|
||||||
# eGroupWare #
|
|
||||||
# http://www.egroupware.org #
|
|
||||||
# The file written by Miles Lott <milos@groupwhere.org> #
|
|
||||||
# -------------------------------------------- #
|
|
||||||
# This program is free software; you can redistribute it and/or modify it #
|
|
||||||
# under the terms of the GNU General Public License as published by the #
|
|
||||||
# Free Software Foundation; either version 2 of the License, or (at your #
|
|
||||||
# option) any later version. #
|
|
||||||
############################################################################
|
|
||||||
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
#**************************************************************************#
|
|
||||||
# Config section #
|
|
||||||
#**************************************************************************#
|
|
||||||
# Temp paths that can be read and written to
|
|
||||||
$tmp_dir = '/tmp';
|
|
||||||
# Path of where you want the egroupware directory to go. NO trailing /
|
|
||||||
$co_dir = '/var/www/html';
|
|
||||||
# If you do not have developer access to cvs, change to True
|
|
||||||
$cvs_anonymous = True;
|
|
||||||
# Only needed if you have developers cvs access
|
|
||||||
$cvs_login = '';
|
|
||||||
|
|
||||||
# -- End config section
|
|
||||||
|
|
||||||
sub docvscommand
|
|
||||||
{
|
|
||||||
my $command = $_[0];
|
|
||||||
my $anonymous_login = $_[1];
|
|
||||||
|
|
||||||
open(FP, ">$tmp_dir/createrelease.exp");
|
|
||||||
$contents = "#!/usr/bin/expect -f\n";
|
|
||||||
$contents .= "send -- \"export CVS_RSH=ssh\"\n";
|
|
||||||
$contents .= "set force_conservative 0\n";
|
|
||||||
$contents .= "if {\$force_conservative} {\n";
|
|
||||||
$contents .= " set send_slow {1 .1}\n";
|
|
||||||
$contents .= " proc send {ignore arg} {\n";
|
|
||||||
$contents .= " sleep .1\n";
|
|
||||||
$contents .= " exp_send -s -- \$arg\n";
|
|
||||||
$contents .= " }\n";
|
|
||||||
$contents .= "}\n";
|
|
||||||
$contents .= "set timeout -1\n";
|
|
||||||
$contents .= "spawn $command\n";
|
|
||||||
$contents .= "match_max 100000\n";
|
|
||||||
|
|
||||||
if ($cvs_anonymous and $anonymous_login)
|
|
||||||
{
|
|
||||||
$contents .= "expect \"CVS password:\"\n";
|
|
||||||
$contents .= "send -- \"\\r\"\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
$contents .= "expect eof\n";
|
|
||||||
print FP $contents;
|
|
||||||
close FP;
|
|
||||||
system('/usr/bin/expect ' . $tmp_dir . '/createrelease.exp');
|
|
||||||
unlink($tmp_dir . '/createrelease.exp');
|
|
||||||
}
|
|
||||||
|
|
||||||
chdir($co_dir) || die "cannot chdir into $co_dir";
|
|
||||||
if ($cvs_anonymous)
|
|
||||||
{
|
|
||||||
&docvscommand('cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware login',True);
|
|
||||||
&docvscommand('cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware co egroupware',True);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
&docvscommand('cvs -d' . $cvs_login . '@cvs.sourceforge.net:/cvsroot/egroupware co egroupware');
|
|
||||||
}
|
|
||||||
|
|
||||||
chdir($co_dir . '/egroupware');
|
|
||||||
|
|
||||||
if ($cvs_anonymous)
|
|
||||||
{
|
|
||||||
&docvscommand('cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware co all');
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
&docvscommand('cvs -d' . $cvs_login . '@cvs.sourceforge.net:/cvsroot/egroupware co all');
|
|
||||||
}
|
|
||||||
|
|
||||||
&docvscommand('cvs update -dP');
|
|
@ -1,478 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**************************************************************************\
|
|
||||||
* eGroupWare *
|
|
||||||
* http://www.egroupware.org *
|
|
||||||
* The file written by Miles Lott <milosch@groupwhere.org> *
|
|
||||||
* -------------------------------------------- *
|
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
||||||
* option) any later version. *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/**************************************************************************\
|
|
||||||
* These are the few functions needed for parsing the inline comments *
|
|
||||||
\**************************************************************************/
|
|
||||||
$phpgw_info['flags']['noapi'] = True;
|
|
||||||
include ('../header.inc.php');
|
|
||||||
if (floor(phpversion()) == 3)
|
|
||||||
{
|
|
||||||
include (PHPGW_API_INC.'/php3_support_functions.inc.php');
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
@function array_print
|
|
||||||
@abstract output an array for HTML.
|
|
||||||
@syntax array_print($array);
|
|
||||||
@example array_print($my_array);
|
|
||||||
*/
|
|
||||||
function array_print($array)
|
|
||||||
{
|
|
||||||
if(floor(phpversion()) == 4)
|
|
||||||
{
|
|
||||||
ob_start();
|
|
||||||
echo '<pre>'; print_r($array); echo '</pre>';
|
|
||||||
$contents = ob_get_contents();
|
|
||||||
ob_end_clean();
|
|
||||||
echo $contents;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
echo '<pre>'; var_dump($array); echo '</pre>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
@function parseobject
|
|
||||||
@abstract Parses inline comments for a single function
|
|
||||||
@author seek3r
|
|
||||||
@syntax parseobject($input);
|
|
||||||
@example $return_data = parseobject($doc_data);
|
|
||||||
*/
|
|
||||||
function parseobject($input)
|
|
||||||
{
|
|
||||||
$types = array('abstract','param','example','syntax','result','description','discussion','author','copyright','package','access');
|
|
||||||
$new = explode("@",$input);
|
|
||||||
while (list($x,$y) = each($new))
|
|
||||||
{
|
|
||||||
if (!isset($object) || trim($new[0]) == $object)
|
|
||||||
{
|
|
||||||
$t = trim($new[0]);
|
|
||||||
$t = trim(ereg_replace('#'.'function'.' ','',$t));
|
|
||||||
reset($types);
|
|
||||||
while(list($z,$type) = each($types))
|
|
||||||
{
|
|
||||||
if(ereg('#'.$type.' ',$y))
|
|
||||||
{
|
|
||||||
$xkey = $type;
|
|
||||||
$out = $y;
|
|
||||||
$out = trim(ereg_replace('#'.$type.' ','',$out));
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$xkey = 'unknown';
|
|
||||||
$out = $y;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if($out != $new[0])
|
|
||||||
{
|
|
||||||
$output[$t][$xkey][] = $out;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($GLOBALS['object_type'].' '.$GLOBALS['HTTP_GET_VARS']['object'] == $t)
|
|
||||||
{
|
|
||||||
$GLOBALS['special_request'] = $output[$t];
|
|
||||||
}
|
|
||||||
return Array('name' => $t, 'value' => $output[$t]);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
@function parsesimpleobject
|
|
||||||
@abstract Parses inline comments for a single function, in a more limited fashion
|
|
||||||
@author seek3r
|
|
||||||
@syntax parsesimpleobject($input);
|
|
||||||
@example $return_data = parsesimpleobject($simple_doc_data);
|
|
||||||
*/
|
|
||||||
function parsesimpleobject($input)
|
|
||||||
{
|
|
||||||
|
|
||||||
$types = array('abstract','param','example','syntax','result','description','discussion','author','copyright','package','access');
|
|
||||||
$input = ereg_replace ("@", "@#", $input);
|
|
||||||
$new = explode("@",$input);
|
|
||||||
if (count($new) < 3)
|
|
||||||
{
|
|
||||||
return False;
|
|
||||||
}
|
|
||||||
unset ($new[0]);
|
|
||||||
unset ($new[1]);
|
|
||||||
while (list($x,$y) = each($new))
|
|
||||||
{
|
|
||||||
if (!isset($object) || trim($new[0]) == $object)
|
|
||||||
{
|
|
||||||
$t = trim($new[0]);
|
|
||||||
reset($types);
|
|
||||||
while(list($z,$type) = each($types))
|
|
||||||
{
|
|
||||||
if(ereg('#'.$type.' ',$y))
|
|
||||||
{
|
|
||||||
$xkey = $type;
|
|
||||||
$out = $y;
|
|
||||||
$out = trim(ereg_replace('#'.$type.' ','',$out));
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$xkey = 'unknown';
|
|
||||||
$out = $y;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if($out != $new[0])
|
|
||||||
{
|
|
||||||
$output[$t][$xkey][] = $out;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if ($GLOBALS['object_type'].' '.$GLOBALS['HTTP_GET_VARS']['object'] == $t)
|
|
||||||
{
|
|
||||||
$GLOBALS['special_request'] = $output[$t];
|
|
||||||
}
|
|
||||||
return Array('name' => $t, 'value' => $output[$t]);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************\
|
|
||||||
* This section handles processing most of the input params for *
|
|
||||||
* limiting and selecting what to print *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
if (!isset($GLOBALS['HTTP_GET_VARS']['object_type']))
|
|
||||||
{
|
|
||||||
$GLOBALS['object_type'] = 'function';
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$GLOBALS['object_type'] = $GLOBALS['HTTP_GET_VARS']['object_type'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$app = $GLOBALS['HTTP_GET_VARS']['app'];
|
|
||||||
$fn = $GLOBALS['HTTP_GET_VARS']['fn'];
|
|
||||||
|
|
||||||
if($app)
|
|
||||||
{
|
|
||||||
if (!preg_match("/^[a-zA-Z0-9-_]+$/i",$app))
|
|
||||||
{
|
|
||||||
echo 'Invalid application<br>';
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$app = 'phpgwapi';
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($fn)
|
|
||||||
{
|
|
||||||
if (preg_match("/^class\.([a-zA-Z0-9-_]*)\.inc\.php+$/",$fn) || preg_match("/^functions\.inc\.php+$/",$fn) || preg_match("/^xml_functions\.inc\.php+$/",$fn))
|
|
||||||
{
|
|
||||||
$files[] = $fn;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
echo 'No valid file selected';
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$d = dir('../'.$app.'/inc/');
|
|
||||||
while ($x = $d->read())
|
|
||||||
{
|
|
||||||
if (preg_match("/^class\.([a-zA-Z0-9-_]*)\.inc\.php+$/",$x) || preg_match("/^functions\.inc\.php+$/",$x))
|
|
||||||
{
|
|
||||||
$files[] = $x;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$d->close;
|
|
||||||
|
|
||||||
sort($files);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************\
|
|
||||||
* Now that I have the list of files, I loop thru all of them and get the *
|
|
||||||
* inline comments from them and load each of them into an array *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
while (list($p,$fn) = each($files))
|
|
||||||
{
|
|
||||||
$matches = $elements = $data = $startstop = array();
|
|
||||||
$string = $t = $out = $xkey = $new = '';
|
|
||||||
$file = '../'.$app.'/inc/' . $fn;
|
|
||||||
// echo 'Looking at: ' . $file . "<br>\n";
|
|
||||||
$f = fopen($file,'r');
|
|
||||||
while (!feof($f))
|
|
||||||
{
|
|
||||||
$string .= fgets($f,8000);
|
|
||||||
}
|
|
||||||
fclose($f);
|
|
||||||
|
|
||||||
preg_match_all("#\*\!(.*)\*/#sUi",$string,$matches,PREG_SET_ORDER);
|
|
||||||
|
|
||||||
/**************************************************************************\
|
|
||||||
* Now that I have the list of found inline docs, I need to figure out *
|
|
||||||
* which group they belong to. *
|
|
||||||
\**************************************************************************/
|
|
||||||
$idx = 0;
|
|
||||||
$ssmatches = $matches;
|
|
||||||
reset($ssmatches);
|
|
||||||
while (list($sskey,$ssval) = each($ssmatches))
|
|
||||||
{
|
|
||||||
if (preg_match ("/@class_start/i", $ssval[1]))
|
|
||||||
{
|
|
||||||
$ssval[1] = ereg_replace ("@", "@#", $ssval[1]);
|
|
||||||
$ssval[1] = explode("@",$ssval[1]);
|
|
||||||
$ssresult = trim(ereg_replace ("#class_start", "", $ssval[1][1]));
|
|
||||||
$sstype = 'class';
|
|
||||||
unset($matches[$idx][1][0]);
|
|
||||||
unset($matches[$idx][1][1]);
|
|
||||||
$matches_starts[$sstype.' '.$ssresult] = $matches[$idx][1];
|
|
||||||
unset($matches[$idx]);
|
|
||||||
}
|
|
||||||
elseif (preg_match ("/@class_end $ssresult/i", $ssval[1]))
|
|
||||||
{
|
|
||||||
unset($ssresult);
|
|
||||||
unset($matches[$idx]);
|
|
||||||
}
|
|
||||||
elseif (preg_match ("/@collection_start/i", $ssval[1]))
|
|
||||||
{
|
|
||||||
$ssval[1] = ereg_replace ("@", "@#", $ssval[1]);
|
|
||||||
$ssval[1] = explode("@",$ssval[1]);
|
|
||||||
$ssresult = trim(ereg_replace ("#collection_start", "", $ssval[1][1]));
|
|
||||||
$sstype = 'collection';
|
|
||||||
unset($matches[$idx][1][0]);
|
|
||||||
unset($matches[$idx][1][1]);
|
|
||||||
$matches_starts[$sstype.' '.$ssresult] = $matches[$idx][1];
|
|
||||||
unset($matches[$idx]);
|
|
||||||
}
|
|
||||||
elseif (preg_match ("/@collection_end $ssresult/i", $ssval[1]))
|
|
||||||
{
|
|
||||||
unset($ssresult);
|
|
||||||
unset($matches[$idx]);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isset($ssresult))
|
|
||||||
{
|
|
||||||
$startstop[$idx] = $sstype.' '.$ssresult;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$startstop[$idx] = 'some_lame_string_that_wont_be_used_by_a_function';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$idx = $idx + 1;
|
|
||||||
}
|
|
||||||
unset($ssmatches);
|
|
||||||
unset($sskey);
|
|
||||||
unset($ssval);
|
|
||||||
unset($ssresult);
|
|
||||||
unset($sstype);
|
|
||||||
unset($idx);
|
|
||||||
reset($startstop);
|
|
||||||
|
|
||||||
/**************************************************************************\
|
|
||||||
* Now that I have the list groups and which records belong in which groups *
|
|
||||||
* its time to parse each function and stick it under the appropriate group *
|
|
||||||
* if there is no defined group for a function, then it gets tossed under *
|
|
||||||
* a special group named by the file it was found in *
|
|
||||||
\**************************************************************************/
|
|
||||||
while (list($key,$val) = each($matches))
|
|
||||||
{
|
|
||||||
preg_match_all("#@(.*)$#sUi",$val[1],$data);
|
|
||||||
$data[1][0] = ereg_replace ("@", "@#", $data[1][0]);
|
|
||||||
$returndata = parseobject($data[1][0], $fn);
|
|
||||||
if ($startstop[$key] == 'some_lame_string_that_wont_be_used_by_a_function')
|
|
||||||
{
|
|
||||||
if (!is_array($doc_array['file '.$fn][0]['file']))
|
|
||||||
{
|
|
||||||
$doc_array['file '.$fn][0]['file'] = Array();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!in_array($fn,$doc_array['file '.$fn][0]['file']))
|
|
||||||
{
|
|
||||||
$doc_array['file '.$fn][0]['file'][] = $fn;
|
|
||||||
}
|
|
||||||
$doc_array['file '.$fn][$returndata['name']] = $returndata['value'];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (!isset($doc_array[$startstop[$key]][0]) && isset($matches_starts[$startstop[$key]]))
|
|
||||||
{
|
|
||||||
$returndoc = parsesimpleobject($matches_starts[$startstop[$key]]);
|
|
||||||
if ($returndoc != False)
|
|
||||||
{
|
|
||||||
if (!is_array($returndoc['value']['file']))
|
|
||||||
{
|
|
||||||
$returndoc['value']['file'] = Array();
|
|
||||||
}
|
|
||||||
if (!in_array($fn, $returndoc['value']['file']))
|
|
||||||
{
|
|
||||||
$returndoc['value']['file'][] = $fn;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (@isset($returndoc['value']) && is_array($returndoc['value']))
|
|
||||||
{
|
|
||||||
$doc_array[$startstop[$key]][0] = $returndoc['value'];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$doc_array[$startstop[$key]][0] = '';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (!is_array($doc_array[$startstop[$key]][0]['file']))
|
|
||||||
{
|
|
||||||
$doc_array[$startstop[$key]][0]['file'] = Array();
|
|
||||||
}
|
|
||||||
if (!in_array($fn, $doc_array[$startstop[$key]][0]['file']))
|
|
||||||
{
|
|
||||||
$doc_array[$startstop[$key]][0]['file'][] = $fn;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$doc_array[$startstop[$key]][$returndata['name']] = $returndata['value'];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
if(isset($GLOBALS['HTTP_GET_VARS']['object']))
|
|
||||||
{
|
|
||||||
$doc_array = Array($GLOBALS['HTTP_GET_VARS']['object'] => $GLOBALS['special_request']);
|
|
||||||
}
|
|
||||||
|
|
||||||
include (PHPGW_API_INC.'/class.Template.inc.php');
|
|
||||||
$curdir = PHPGW_SERVER_ROOT.'/doc';
|
|
||||||
$GLOBALS['template'] = new Template($curdir);
|
|
||||||
|
|
||||||
$output_format = 'html';
|
|
||||||
$GLOBALS['template']->set_file(array('tpl_file' => 'inlinedocparser_'.$output_format.'.tpl'));
|
|
||||||
$GLOBALS['template']->set_block('tpl_file','border_top');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file', 'group');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file', 'object');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file', 'object_name');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file','border_bottom');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file','generic');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file','generic_para');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file','generic_pre');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file','abstract');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file','params');
|
|
||||||
$GLOBALS['template']->set_block('tpl_file','param_entry');
|
|
||||||
$GLOBALS['template']->set_var('PHP_SELF',$PHP_SELF);
|
|
||||||
|
|
||||||
function parsedetails($array, $output_name = 'object_contents')
|
|
||||||
{
|
|
||||||
while(list($key, $value) = each($array))
|
|
||||||
{
|
|
||||||
switch ($key)
|
|
||||||
{
|
|
||||||
case 'author':
|
|
||||||
case 'file':
|
|
||||||
$num = count($value);
|
|
||||||
if ($num > 1)
|
|
||||||
{
|
|
||||||
$GLOBALS['template']->set_var('generic_name',ucwords($key.'s'));
|
|
||||||
for ($idx = 0; $idx < $num; ++$idx)
|
|
||||||
{
|
|
||||||
if($idx > 0)
|
|
||||||
{
|
|
||||||
$new_value .= ', '.$value[$idx];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$new_value = $value[$idx];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$GLOBALS['template']->set_var('generic_value',$new_value);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$GLOBALS['template']->set_var('generic_name',ucwords($key));
|
|
||||||
$GLOBALS['template']->set_var('generic_value',$value[0]);
|
|
||||||
}
|
|
||||||
$GLOBALS['template']->fp($output_name,'generic',True);
|
|
||||||
break;
|
|
||||||
case 'discussion':
|
|
||||||
$GLOBALS['template']->set_var('generic_name',ucwords($key));
|
|
||||||
$GLOBALS['template']->set_var('generic_value',$value[0]);
|
|
||||||
$GLOBALS['template']->fp($output_name,'generic_para',True);
|
|
||||||
break;
|
|
||||||
case 'syntax':
|
|
||||||
case 'example':
|
|
||||||
while(list($sub_key, $sub_value) = each($value))
|
|
||||||
{
|
|
||||||
$GLOBALS['template']->set_var('generic_name',ucwords($key));
|
|
||||||
$GLOBALS['template']->set_var('generic_value',$value[$sub_key]);
|
|
||||||
$GLOBALS['template']->fp($output_name,'generic_pre',True);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'param':
|
|
||||||
while(list($sub_key, $sub_value) = each($value))
|
|
||||||
{
|
|
||||||
$GLOBALS['template']->set_var('generic_name',ucwords($key.($sub_key+1)));
|
|
||||||
$GLOBALS['template']->set_var('generic_value',$value[$sub_key]);
|
|
||||||
$GLOBALS['template']->fp($output_name,'generic',True);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'abstract':
|
|
||||||
case 'description':
|
|
||||||
case 'result':
|
|
||||||
case 'package':
|
|
||||||
case 'copyright':
|
|
||||||
case 'access':
|
|
||||||
default:
|
|
||||||
$GLOBALS['template']->set_var('generic_name',ucwords($key));
|
|
||||||
$GLOBALS['template']->set_var('generic_value',$value[0]);
|
|
||||||
$GLOBALS['template']->fp($output_name,'generic',True);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$GLOBALS['template']->fp('doc','border_top',True);
|
|
||||||
reset($doc_array);
|
|
||||||
while(list($group_key, $group_value) = each($doc_array))
|
|
||||||
{
|
|
||||||
$GLOBALS['template']->set_var('group_name',$group_key);
|
|
||||||
/* This is where most of the work in creating the output gets done */
|
|
||||||
while(list($object_key, $object_value) = each($group_value))
|
|
||||||
{
|
|
||||||
if ($object_key == '0')
|
|
||||||
{
|
|
||||||
$GLOBALS['template']->set_var('object_id','');
|
|
||||||
$GLOBALS['template']->set_var('object_name','');
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$GLOBALS['template']->set_var('object_id',trim(ereg_replace ("function ", "", $object_key)));
|
|
||||||
$GLOBALS['template']->set_var('object_name',$object_key);
|
|
||||||
}
|
|
||||||
if(is_array($object_value))
|
|
||||||
{
|
|
||||||
parsedetails($object_value);
|
|
||||||
$GLOBALS['template']->set_var('generic_name',$docline_key);
|
|
||||||
$GLOBALS['template']->set_var('generic_value',$docline_value[0]);
|
|
||||||
$GLOBALS['template']->fp('group_contents','object',True);
|
|
||||||
$GLOBALS['template']->set_var('object_contents','');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$GLOBALS['template']->fp('doc','group',True);
|
|
||||||
$GLOBALS['template']->set_var('group_contents','');
|
|
||||||
}
|
|
||||||
$GLOBALS['template']->fp('doc','border_bottom',True);
|
|
||||||
$GLOBALS['template']->pfp('out', 'doc');
|
|
||||||
echo '<a name="array">';
|
|
||||||
array_print($doc_array);
|
|
||||||
?>
|
|
@ -1,356 +0,0 @@
|
|||||||
<!-- BEGIN optionlist -->
|
|
||||||
<option {selected} VALUE="{value}"><html lang="en-US"><body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/products-over.gif','images/knowledge-over.gif','images/clientsv-over.gif','images/contact-over.gif','images/search-over.gif','images/partnerstn-over.gif','images/home-over.gif','images/penetration-testing-over.gif','images/wireless-over.gif','images/ecommerce-application-over.gif','images/forensics-over.gif','images/incident-response-over.gif','images/special-market-needs-over.gif','images/education-faq-over.gif','images/request-for-proposal-over.gif','images/foundsecure-over.gif','images/ultimate-hacking-over.gif','images/web-hacking-over.gif','images/incident-response-forensi-ov.gif','images/nt-2000-security-over.gif','images/cyber-attacks-over.gif','images/private-training-over.gif','images/special-edition-classes-ove.gif','images/testimonials-calendar_over.gif','images/calendar-over.gif','images/register-over.gif','images/streaming-media-over.gif','images/services-over.gif','images/overview-over.gif','images/management-over.gif','images/careers-over.gif','images/partners-over.gif','images/news-over.gif','images/events-over.gif','images/highlight-one-over.gif','images/highlight-two-over.gif','images/licensing-over.gif','images/free-tools-over.gif','images/foundscan-over.gif','images/company-over.gif')">{text}</option>
|
|
||||||
<!-- END optionlist -->
|
|
||||||
|
|
||||||
<!-- BEGIN submit_button -->
|
|
||||||
<input tabindex="{button_tabindex}" type="submit" value="{button_value}" name="{button_name}" class="blacktext">
|
|
||||||
<!-- END submit_button -->
|
|
||||||
|
|
||||||
<!-- BEGIN border_top -->
|
|
||||||
<html lang="en-US">
|
|
||||||
<head>
|
|
||||||
<title>Foundstone</title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
||||||
<link rel="stylesheet" href="/foundstone.css" type="text/css">
|
|
||||||
<script language="JavaScript">
|
|
||||||
<!--
|
|
||||||
function MM_preloadImages() { //v3.0
|
|
||||||
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
|
|
||||||
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
|
|
||||||
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
|
|
||||||
}
|
|
||||||
|
|
||||||
function MM_swapImgRestore() { //v3.0
|
|
||||||
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
|
||||||
}
|
|
||||||
|
|
||||||
function MM_findObj(n, d) { //v4.01
|
|
||||||
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
|
|
||||||
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
|
|
||||||
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
|
|
||||||
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
|
|
||||||
if(!x && d.getElementById) x=d.getElementById(n); return x;
|
|
||||||
}
|
|
||||||
|
|
||||||
function MM_swapImage() { //v3.0
|
|
||||||
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
|
|
||||||
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
|
|
||||||
}
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/products-over.gif','images/knowledge-over.gif','images/clientsv-over.gif','images/contact-over.gif','images/search-over.gif','images/partnerstn-over.gif','images/home-over.gif','images/penetration-testing-over.gif','images/wireless-over.gif','images/ecommerce-application-over.gif','images/forensics-over.gif','images/incident-response-over.gif','images/special-market-needs-over.gif','images/education-faq-over.gif','images/request-for-proposal-over.gif','images/foundsecure-over.gif','images/ultimate-hacking-over.gif','images/web-hacking-over.gif','images/incident-response-forensi-ov.gif','images/nt-2000-security-over.gif','images/cyber-attacks-over.gif','images/private-training-over.gif','images/special-edition-classes-ove.gif','images/testimonials-calendar_over.gif','images/calendar-over.gif','images/register-over.gif','images/streaming-media-over.gif','images/services-over.gif','images/overview-over.gif','images/management-over.gif','images/careers-over.gif','images/partners-over.gif','images/news-over.gif','images/events-over.gif','images/highlight-one-over.gif','images/highlight-two-over.gif','images/licensing-over.gif','images/free-tools-over.gif','images/company-over.gif')">
|
|
||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="main">
|
|
||||||
<tr>
|
|
||||||
<td width="15%">
|
|
||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="left main navigationals elements">
|
|
||||||
<tr>
|
|
||||||
<td align="right"><a href="/company" tabindex="0" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('COMPANY','','images/company-over.gif',1)"><img src="images/company.gif" width="169" height="46" alt="COMPANY" border="0" name="COMPANY"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="right"><a href="/services" tabindex="1" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('SERVICES','','images/services-over.gif',1)"><img src="images/services.gif" width="169" height="26" alt="SERVICES" border="0" name="SERVICES"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="right"><a href="/products" tabindex="2" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('PRODUCTS','','images/products-over.gif',1)"><img src="images/products-over.gif" width="169" height="26" alt="PRODUCTS" border="0" name="PRODUCTS"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="right"><a href="/knowledge" tabindex="3" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('KNOWLEDGE','','images/knowledge-over.gif',1)"><img src="images/knowledge.gif" width="169" height="26" alt="KNOWLEDGE" border="0" name="KNOWLEDGE"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="right"><img src="images/bluebar.gif" width="169" height="20" alt=" "></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="top center">
|
|
||||||
<tr>
|
|
||||||
<td align="left" width="15%">
|
|
||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="right main navigationals elements">
|
|
||||||
<tr>
|
|
||||||
<td align="left"><img src="images/products_02.gif" width="96" height="25" alt=" "></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left"><a href="/client_service.html" tabindex="4" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('CLIENT_SERVICE','','images/clientsv-over.gif',1)"><img src="images/clientsv.gif" width="96" height="20" alt="CLIENT SERVICE" border="0" name="CLIENT_SERVICE"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left"><a href="/contact_us.html" tabindex="5" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('CONTACT_US','','images/contact-over.gif',1)"><img src="images/contact.gif" width="96" height="20" alt="CONTACT US" border="0" name="CONTACT_US"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left"><a href="/search.html" tabindex="6" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('SEARCH','','images/search-over.gif',1)"><img src="images/search.gif" width="96" height="20" alt="SEARCH" border="0" name="SEARCH"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left"><a href="/company/partners.html" tabindex="7" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('PARTNERS','','images/partnerstn-over.gif',1)"><img src="images/partnerstn.gif" width="96" height="20" alt="PARTNERS" border="0" name="PARTNERS"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left"><a href="/" tabindex="8" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('HOME','','images/home-over.gif',1)"><img src="images/home.gif" width="96" height="20" alt="HOME" border="0" name="HOME"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left"><img src="images/products_16.gif" width="96" height="19" alt=" "></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td width="50%" align="center">
|
|
||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="foundstone logo">
|
|
||||||
<tr>
|
|
||||||
<td align="center"><a href="/index.html"><img src="images/fslogo.gif" width="150" height="144" alt=" " name="FOUNDSTONE_LOGO" border="0"></a></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td width="35%" align="right">
|
|
||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="psychedelic colors">
|
|
||||||
<tr>
|
|
||||||
<td align="right"><img src="images/bludelic.jpg" width="262" height="144" alt=" " name="PSYCODELIC_COLORS"></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td width="15%"> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="15%" valign="top">
|
|
||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
||||||
<tr>
|
|
||||||
<td><img src="images/products_17.gif" width="169" height="21" alt=" "></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><img src="images/products-subheading.gif" width="169" height="25" name="products_subheading" alt="Products"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="licensing.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Licensing','','images/licensing-over.gif',1)"><img src="images/licensing.gif" width="169" height="20" name="Licensing" border="0" alt="Licensing"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="free_tools.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('free_tools','','images/free-tools-over.gif',1)"><img src="images/free-tools.gif" width="169" height="20" name="free_tools" border="0" alt="Free Tools"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><img src="images/order-form-over.gif" width="169" height="20" name="order_form" border="0" alt="Order Form"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><img src="images/area-highlights.gif" width="169" height="23" name="Area_Highlights" alt="Area Highlights"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="/service/mvas.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','/products/images/foundscan-over.gif',1)"><img src="/products/images/foundscan.gif" width="169" height="20" border="0" name="Image2" alt="FoundScan"></a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><img src="images/products_25.gif" width="169" height="357" alt=" "></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td width="70%" valign="top" bgcolor="#FFFFFF">
|
|
||||||
<table width="100%" border="0" cellspacing="25" cellpadding="0" height="100%" summary="main body">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<!-- END border_top -->
|
|
||||||
|
|
||||||
<!-- BEGIN border_bottom -->
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td width="15%"> </td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
<!-- END border_bottom -->
|
|
||||||
|
|
||||||
<!-- BEGIN general_message -->
|
|
||||||
<span class="blacktext">{message}</span><br>
|
|
||||||
<!-- END general_message -->
|
|
||||||
|
|
||||||
<!-- BEGIN error_message -->
|
|
||||||
Error: <span class="blacktext">{message}</span><br>
|
|
||||||
<!-- END error_message -->
|
|
||||||
|
|
||||||
<!-- BEGIN prod_details_unused -->
|
|
||||||
<table border="1">
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">Application</span></td>
|
|
||||||
<td><span class="blacktext">Price</span></td>
|
|
||||||
<td><span class="blacktext">Quantity</span></td>
|
|
||||||
<td><span class="blacktext">Description</span></td>
|
|
||||||
</tr>
|
|
||||||
{cart_listings}
|
|
||||||
</table>
|
|
||||||
<!-- END prod_details_unused -->
|
|
||||||
|
|
||||||
<!-- BEGIN prod_details -->
|
|
||||||
<table border=1>
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">Name</span></td>
|
|
||||||
<td><span class="blacktext">{details_name}</span></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">Category</span></td>
|
|
||||||
<td><span class="blacktext">{details_category}</span></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">Description</span></td>
|
|
||||||
<td><span class="blacktext">{details_description}</span></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">Price</span></td>
|
|
||||||
<td><span class="blacktext">{details_price}</span></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">Release Date</span></td>
|
|
||||||
<td><span class="blacktext">{details_release_date}</span></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<!-- END prod_details -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN cart_contents -->
|
|
||||||
<table border="1">
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">Application</span></td>
|
|
||||||
<td><span class="blacktext">Price</span></td>
|
|
||||||
<td><span class="blacktext">Quantity</span></td>
|
|
||||||
<td><span class="blacktext">Description</span></td>
|
|
||||||
</tr>
|
|
||||||
{cart_listings}
|
|
||||||
</table>
|
|
||||||
<p class="blacktext">Your total is: {total}</p>
|
|
||||||
<form method="GET" action="cart.html">{checkout_button}</form>
|
|
||||||
<!-- END cart_contents -->
|
|
||||||
|
|
||||||
<!-- BEGIN cart_list -->
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">{name}</span></td>
|
|
||||||
<td><span class="blacktext">{price}</span></td>
|
|
||||||
<td><span class="blacktext">{quantity}</span></td>
|
|
||||||
<td><span class="blacktext">{description}</span></td>
|
|
||||||
</tr>
|
|
||||||
<!-- END cart_list -->
|
|
||||||
|
|
||||||
<!-- BEGIN customer_info -->
|
|
||||||
<br><span class="blacktext">Customer Information:</span>
|
|
||||||
<form method="POST" action="cart.html">
|
|
||||||
<table border="0" width="100%">
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">First Name:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="FirstName" size="20" value="{FirstName_value}" class="blacktext"> {FirstName_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Last Name:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="LastName" size="20" value="{LastName_value}"> {LastName_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Title:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Title" size="20" value="{Title_value}"> {Title_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Company:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Company" size="20" value="{Company_value}"> {Company_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Address 1:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Address1" size="20" value="{Address1_value}"> {Address1_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Address 2:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Address2" size="20" value="{Address2_value}"> {Address2_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">City:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="City" size="20" value="{City_value}"> {City_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">State/Province:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="State" size="20" value="{State_value}"> {State_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Zip/Postal Code:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Zip" size="20" value="{Zip_value}"> {Zip_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Country:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Country" size="20" value="{Country_value}"> {Country_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Email:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Email" size="20" value="{Email_value}"> {Email_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Phone:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Phone" size="20" value="{Phone_value}"> {Phone_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Fax:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Fax" size="20" value="{Fax_value}"> {Fax_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">How did you hear about us?</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="HearOfUs" size="20" value="{HearOfUs_value}"> {HearOfUs_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Comments:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="Comments" size="20" value="{Comments_value}"> {Comments_error}</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<p>
|
|
||||||
<span class="blacktext">Credit Card Information:</span>
|
|
||||||
<table border="0" width="100%">
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Type:</span></td>
|
|
||||||
<td width="84%">
|
|
||||||
<select size="1" name="CreditCardType" class="blacktext">
|
|
||||||
{CreditCardType_list}
|
|
||||||
</select> {CreditCardType_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Number:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="CreditCardNumber" size="20" value="{CreditCardNumber_value}" class="blacktext"> {CreditCardNumber_error}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="16%"><span class="blacktext">Expiration:</span></td>
|
|
||||||
<td width="84%"> <input type="text" name="CreditCardExp" size="20" value="{CreditCardExp_value}" class="blacktext"> {CreditCardExp_error}</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<input type="submit" value="Place Order" name="SaveInfo">
|
|
||||||
</form>
|
|
||||||
<!-- END customer_info -->
|
|
||||||
|
|
||||||
<!-- BEGIN receipt_start -->
|
|
||||||
<p class="blacktext">Retain a copy of this receipt for your records</p>
|
|
||||||
<p class="blacktext">{First_Name} {Last_Name}<br>
|
|
||||||
{Address1} - {Address2}<br>
|
|
||||||
{City}, {State} {Zip}</p>
|
|
||||||
<span class="blacktext">Date: {month}/{day}/{year}<br>
|
|
||||||
Order ID: {InvoiceNumber}</span>
|
|
||||||
<!-- END receipt_start -->
|
|
||||||
|
|
||||||
<!-- BEGIN receipt_contents -->
|
|
||||||
<table border="1">
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">Application</span></td>
|
|
||||||
<td><span class="blacktext">Price</span></td>
|
|
||||||
<td><span class="blacktext">Quantity</span></td>
|
|
||||||
<td><span class="blacktext">Description</span></td>
|
|
||||||
<td><span class="blacktext">Download</span></td>
|
|
||||||
</tr>
|
|
||||||
{receipt_listings}
|
|
||||||
</table>
|
|
||||||
<span class="blacktext">Your total is: {total}</span><br>
|
|
||||||
<!-- END receipt_contents -->
|
|
||||||
|
|
||||||
<!-- BEGIN receipt_download -->
|
|
||||||
<a href="https://downloads:{InvoiceNumber}@web2.foundstone.com/downloads/{InvoiceNumber}/visionsetup.exe">
|
|
||||||
<img border="0" src="/images/vision.gif" width="32" height="32"><span class="redtextbold"> Download Vision Now</span></a>
|
|
||||||
<!-- END receipt_download -->
|
|
||||||
|
|
||||||
<!-- BEGIN receipt_list -->
|
|
||||||
<tr>
|
|
||||||
<td><span class="blacktext">{name}</span></td>
|
|
||||||
<td><span class="blacktext">{price}</span></td>
|
|
||||||
<td><span class="blacktext">{quantity}</span></td>
|
|
||||||
<td><span class="blacktext">{description}</span></td>
|
|
||||||
<td><span class="blacktext">{download}</span></td>
|
|
||||||
</tr>
|
|
||||||
<!-- END receipt_list -->
|
|
||||||
|
|
||||||
<!-- BEGIN receipt_end -->
|
|
||||||
<p class="blacktext">Foundstone, Inc.<br>2 Venture St., Suite 100<br>Irvine, CA 92618</p><p class="blacktext"><br>
|
|
||||||
<!-- END receipt_end -->
|
|
@ -1,69 +0,0 @@
|
|||||||
<!-- BEGIN submit_button -->
|
|
||||||
<input tabindex="{button_tabindex}" type="submit" value="{button_value}" name="{button_name}" class="blacktext">
|
|
||||||
<!-- END submit_button -->
|
|
||||||
|
|
||||||
<!-- BEGIN border_top -->
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
||||||
<meta name="AUTHOR" content="eGroupWare inline documentation parser http://www.egroupware.org" />
|
|
||||||
<meta name="description" content="eGroupWare documentation" />
|
|
||||||
<meta name="keywords" content="eGroupWare documentation" />
|
|
||||||
<title>Local setup - Login</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body bgcolor="#FFFFFF">
|
|
||||||
<!-- END border_top -->
|
|
||||||
|
|
||||||
<!-- BEGIN group -->
|
|
||||||
<h1>{group_name}</h1>
|
|
||||||
{group_contents}
|
|
||||||
<p>
|
|
||||||
<!-- END group -->
|
|
||||||
|
|
||||||
<!-- BEGIN object -->
|
|
||||||
<h2><a href="{PHP_SELF}?object={object_id}">{object_name}</a></h2>
|
|
||||||
{object_contents}
|
|
||||||
<!-- END object -->
|
|
||||||
|
|
||||||
<!-- BEGIN abstract -->
|
|
||||||
<b>Abstract:</b> {abstract}<br />
|
|
||||||
<!-- END abstract -->
|
|
||||||
|
|
||||||
<!-- BEGIN generic -->
|
|
||||||
<b>{generic_name}:</b> {generic_value}<br />
|
|
||||||
<!-- END generic -->
|
|
||||||
|
|
||||||
<!-- BEGIN generic_para -->
|
|
||||||
<p><b>{generic_name}:</b> {generic_value}</p>
|
|
||||||
<!-- END generic_para -->
|
|
||||||
|
|
||||||
<!-- BEGIN generic_pre -->
|
|
||||||
<b>{generic_name}:</b>
|
|
||||||
<pre>
|
|
||||||
{generic_value}
|
|
||||||
</pre>
|
|
||||||
<!-- END generic_pre -->
|
|
||||||
|
|
||||||
<!-- BEGIN params -->
|
|
||||||
<table border="1">
|
|
||||||
<tr>
|
|
||||||
<td>Name</td>
|
|
||||||
<td>Details</td>
|
|
||||||
</tr>
|
|
||||||
{param_entry}
|
|
||||||
</table>
|
|
||||||
<!-- END params -->
|
|
||||||
|
|
||||||
<!-- BEGIN param_entry -->
|
|
||||||
<tr>
|
|
||||||
<td>{name}</td>
|
|
||||||
<td>{details}</td>
|
|
||||||
</tr>
|
|
||||||
<!-- END param_entry -->
|
|
||||||
|
|
||||||
<!-- BEGIN border_bottom -->
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
<!-- END border_bottom -->
|
|
Loading…
Reference in New Issue
Block a user