Ejemplo n.º 1
0
')+"&pattern="+encodeURIComponent($F('name_pattern'))+
    "&content="+encodeURIComponent($F('search_text'));
    if($('case').checked) pb+="&case=1";
        new Ajax.Request(url,{ postBody: pb, 
	 onComplete: function(t) {
		    //alert(t.responseText);
		    Element.update('fm_right',t.responseText);


		}});
}
</script>
<div align="center" class="srv-div">&nbsp;
<div align="left" style="width: 85%;margin-top: 10px;">
<?php 
$tbl = new DataTbl("100%", 0, 0, 0);
//$p=$tbl->addElement("fromdir","text",$strFromDir,1,$fromdir,"","i_readonly");
//$p->setOptions(55); $p->readonly=1; $p->width2="30%"; $p->width1="15%";
$p = $tbl->addElement("name_pattern", "text", $strNamePattern, 1, $name_pattern, "padding: 8px;");
$p->setOptions(55, 0);
$p->width2 = "30%";
$p->width1 = "15%";
$p = $tbl->addElement("", "button", "", 1, $strSearch, "padding: 8px;");
//$p=$tbl->addElement("","button","",1,"Search","","but_search");
$p->setOptions("sch.search()", true, "<img title=\"{$strSearch}\" align=\"absmiddle\" src=\"themes/{$theme}/images/search.gif\"/>");
$p->align2 = "left";
//->setOptions("sch.search()");
$p->align2 = "left";
$p->rowspan = 2;
$p->valign2 = "top";
$p->colspan = 2;
Ejemplo n.º 2
0
				else {
				    fm.showMessage('<?php 
echo $strSuccessfullySent;
?>
','filemanager-message');
				    setTimeout("fm.hideSrv()",1000);
				}
			   }    
			 });
}
</script>
<div  align="center" class="srv-div" style="height: 100%; border: 0;">&nbsp;
 <div align="left" style="margin-top: 10px;width: 90%;">
 <form method="post" action="">
<?php 
$tbl = new DataTbl("100%", 0, 0, 0, "", "srv-div");
$str = "<img align=\"absmiddle\" src=\"themes/{$theme}/images/mail_to.gif\"/>&nbsp;{$strAddressTo}";
$p = $tbl->addElement("address_to", "text", $str, 1, $address_to, "padding: 5px;");
$p->setOptions(80, 1, "", "email");
$p->hc = false;
$p->width1 = "20%";
$p = $tbl->addElement("", "button", "", 1, $strSendEmail, "padding: 7px;");
//$p->width2="15%";
$p->setOptions("email.validateAndSend()", true, "<img title=\"{$strSendEmail}\" align=\"absmiddle\" src=\"themes/{$theme}/images/sendemail.gif\"/>");
$p->align2 = "left";
$p->submit = false;
$p->valign2 = "top";
$p->rowspan = 2;
$str = "&nbsp;<img align=\"absmiddle\" src=\"themes/{$theme}/images/mail_to.gif\"/>&nbsp;{$strCopyTo}";
$p = $tbl->addElement("copy_to", "text", $str, 2, $copy_to, "padding-left: 5px;");
$p->setOptions(80, 0, "", "email");