Moved the Agents into their own repo. Kept the agent.pl just for reference
This commit is contained in:
parent
22381be29a
commit
8680a02b13
18132 changed files with 0 additions and 2569420 deletions
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
All the code within this directory originates from the PHP Pear package called
|
||||
HTML_Progress written by Laurent Laville.
|
||||
|
||||
http://pear.laurent-laville.org/HTML_Progress/examples/index.html
|
||||
http://pear.laurent-laville.org/HTML_Progress/examples/horizontal/string.php
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
The license of this code is: PHP License 3.0
|
||||
For more information on this license, go to http://www.php.net/license/3_0.txt
|
||||
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
<?php
|
||||
|
||||
// **************************************************************************************
|
||||
// **************************************************************************************
|
||||
// ** **
|
||||
// ** **
|
||||
|
||||
function setStatus($current, $total, $string) {
|
||||
|
||||
// --------------
|
||||
// This function prints the Javascript which will update the status in the top table
|
||||
// See also the Javascript function setStatus_js defined in the PHP function printJavascriptFunctions.
|
||||
// --------------
|
||||
|
||||
// Sometimes the progress bar does not need updating
|
||||
if ($total == 0) { return true; }
|
||||
|
||||
// HTML encode the $string
|
||||
$string = floor($current/$total*100) . "% " . javascriptEncode2($string);
|
||||
|
||||
// Convert $current (5) out of $total (15) to a number between 1 and 10 (5/15 = 33% ==> 3)
|
||||
$number = floor($current/$total*10);
|
||||
|
||||
echo "<script type=\"text/javascript\"><!--\n";
|
||||
echo " self.setprogress(\"p_561b57_\",$number,\"$string\",0);\n";
|
||||
echo "//--></script>\n";
|
||||
|
||||
flush();
|
||||
|
||||
} // End function setStatus
|
||||
|
||||
// ** **
|
||||
// ** **
|
||||
// **************************************************************************************
|
||||
// **************************************************************************************
|
||||
|
||||
?>
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
|
||||
var isDom = document.getElementById?true:false;
|
||||
var isIE = document.all?true:false;
|
||||
var isNS4 = document.layers?true:false;
|
||||
var cellCount = 10;
|
||||
|
||||
function setprogress(pIdent, pValue, pString, pDeterminate)
|
||||
{
|
||||
if (isDom) {
|
||||
prog = document.getElementById(pIdent+'installationProgress');
|
||||
} else if (isIE) {
|
||||
prog = document.all[pIdent+'installationProgress'];
|
||||
} else if (isNS4) {
|
||||
prog = document.layers[pIdent+'installationProgress'];
|
||||
}
|
||||
if (prog != null) {
|
||||
prog.innerHTML = pString;
|
||||
}
|
||||
if (pValue == pDeterminate) {
|
||||
for (i=0; i < cellCount; i++) {
|
||||
showCell(i, pIdent, "hidden");
|
||||
}
|
||||
}
|
||||
if ((pDeterminate > 0) && (pValue > 0)) {
|
||||
i = (pValue-1) % cellCount;
|
||||
showCell(i, pIdent, "visible");
|
||||
} else {
|
||||
for (i=pValue-1; i >=0; i--) {
|
||||
showCell(i, pIdent, "visible");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function showCell(pCell, pIdent, pVisibility)
|
||||
{
|
||||
if (isDom) {
|
||||
document.getElementById(pIdent+'progressCell'+pCell+'A').style.visibility = pVisibility;
|
||||
} else if (isIE) {
|
||||
document.all[pIdent+'progressCell'+pCell+'A'].style.visibility = pVisibility;
|
||||
} else if (isNS4) {
|
||||
document.layers[pIdent+'progressCell'+pCell+'A'].style.visibility = pVisibility;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
<?php defined("NET2FTP") or die("Direct access to this location is not allowed."); ?>
|
||||
<!-- Template /skins/blue/status/status.template.php begin -->
|
||||
<div id="container">
|
||||
<div id="p_ba7428_progress" class="p_ba7428" style="margin-left:auto; margin-right:auto; width:500px; padding-bottom:5px;">
|
||||
<table border="0" cellspacing="0" cellpadding="0" style="margin-left: auto; margin-right: auto;">
|
||||
<tr>
|
||||
<td class="progressBar">
|
||||
<div class="progressBarBorder">
|
||||
<div id="p_561b57_progressCell0I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:2px;"> </div>
|
||||
<div id="p_561b57_progressCell1I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:19px;"> </div>
|
||||
<div id="p_561b57_progressCell2I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:36px;"> </div>
|
||||
<div id="p_561b57_progressCell3I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:53px;"> </div>
|
||||
<div id="p_561b57_progressCell4I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:70px;"> </div>
|
||||
<div id="p_561b57_progressCell5I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:87px;"> </div>
|
||||
<div id="p_561b57_progressCell6I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:104px;"> </div>
|
||||
<div id="p_561b57_progressCell7I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:121px;"> </div>
|
||||
<div id="p_561b57_progressCell8I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:138px;"> </div>
|
||||
<div id="p_561b57_progressCell9I" class="cellI" style="position:absolute;top:2px;<?php echo __("left"); ?>:155px;"> </div>
|
||||
<div id="p_561b57_progressCell0A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:2px;"> </div>
|
||||
<div id="p_561b57_progressCell1A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:19px;"> </div>
|
||||
<div id="p_561b57_progressCell2A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:36px;"> </div>
|
||||
<div id="p_561b57_progressCell3A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:53px;"> </div>
|
||||
<div id="p_561b57_progressCell4A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:70px;"> </div>
|
||||
<div id="p_561b57_progressCell5A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:87px;"> </div>
|
||||
<div id="p_561b57_progressCell6A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:104px;"> </div>
|
||||
<div id="p_561b57_progressCell7A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:121px;"> </div>
|
||||
<div id="p_561b57_progressCell8A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:138px;"> </div>
|
||||
<div id="p_561b57_progressCell9A" class="cellA" style="position:absolute;top:2px;<?php echo __("left"); ?>:155px;"> </div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="installationProgress" id="p_561b57_installationProgress">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<script type="text/javascript">self.setprogress("p_561b57_",0,"",0); </script>
|
||||
<!-- Template /skins/blue/status/status.template.php end -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue