is not live_divert.php, is live_divert.tpl (is the file that has the form) it found in hcl/templates/bliss/ i modify that file to this:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$conf.company} - En Linea</title>
<meta http-equiv="Content-Type" content="text/html; charset={$lang.charset}" />
<link href="{$conf.url}/templates/{$conf.template}/css/live.css" rel="stylesheet" type="text/css" />
{if $javascript != ""}
<script type="text/javascript" language="javascript" src="{$conf.url}/class/js/include.php?{$javascript}">
</script>
{/if}
</head>
<body{$onload}>
<div align="center">
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="{$conf.url}/templates/{$conf.template}/images/live_top.gif" alt="" /></td>
</tr>
</table>
<br /><br />
{if $divert == 'offline'}
{$lang.operators_offline}
{elseif $divert == 'busy'}
{$lang.connection_failure}
<br /><br />
{$lang.operators_busy}
<br /><br />
{elseif $divert == 'email_sent'}
{$lang.email_sent}
{else}
{$lang.error}
{/if}
{if $conf.modules.osTicket.active == true}
<b><a href="{$conf.url}/module.php?module=osTicket&file=/modules/osTicket/open.php" target="_blank">{$lang.use_tickets}</a></b>
{if $conf.forum_show == true}
<br/><br/><b><a href="{$conf.forum_url}" target="_blank">{$lang.forums}</a></b>
{/if}
{else}
{if $conf.forum_show == true}
<b><a href="{$conf.forum_url}" target="_blank">{$lang.forums}</a></b><br/><br/>
{/if}
<form action="mailform.php" method="post">
<table cellspacing="0" cellpadding="5" class="border">
<tr class="dark">
<td colspan="2">{$lang.contact_us}</td>
</tr>
{if $departmentid == '0'}
{/if}
<tr class="medium">
<td>{$lang.your_name}</td>
<td><input type="text" name="name" value="" size="20" /></td>
</tr>
<tr class="medium">
<td>{$lang.your_email}</td>
<td><input type="text" name="email" value="" size="20" /></td>
</tr>
<tr class="medium">
<td>{$lang.message}</td>
<td><textarea name="message" rows="5" cols="20"></textarea></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="Enviar" value="Enviar" /></td>
</tr>
</table>
</form>
{/if}
</div>
</body>
</html>
where mailform.php is the mailform script i attach to forum...
i modify divert.php to this, (only for probe the results)
<?php
// Copyright ? 2005 UberTec Ltd. All Rights Reserved
// This file is part of Help Center Live.
// Help Center Live 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.
// Help Center Live is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Help Center Live; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// Contributors: Michael Bird
// File Comments:
// This file deals with visitors that have been diverted when requesting a chat
// because there are no operators or all the operators are busy
// $Id: divert.php,v 1.8 2005/07/05 18:24:56 mikebird Exp $
//include_once('../class/include.php');
//$inc = new Includer();
//$inc->template();
//$inc->department();
//$inc->email();
//$inc->chat();
//if ($GLOBALS['chat']->blocked()) {
//$GLOBALS['template']->assign('text', $GLOBALS['lang']['blocked']);
//$GLOBALS['template']->display('plain.tpl');
// $inc->finished();
// exit;
//}
//if (isset($_GET['departmentid'])) {
//if ($_GET['departmentid'] !== '') {
//$GLOBALS['template']->assign('departmentid', addslashes($_GET['departmentid']));
//} else {
//$GLOBALS['template']->assign('departmentid', '0');
// }
//} elseif (isset($_POST['departmentid'])) {
// if ($_POST['departmentid'] !== '') {
// $GLOBALS['template']->assign('departmentid', addslashes($_POST['departmentid']));
// } else {
// $GLOBALS['template']->assign('departmentid', '0');
// }
// } else {
// $GLOBALS['template']->assign('departmentid', '0');
// }
// if (isset($_GET['divert'])) {
// if ($_GET['divert'] == 'busy') {
// $GLOBALS['template']->assign('divert', 'busy');
// } elseif ($_GET['divert'] == 'offline') {
// $GLOBALS['template']->assign('divert', 'offline');
// $GLOBALS['template']->assign('departments', $GLOBALS['department']->listall('0'));
// }
// } elseif (isset($_POST['email_send'])) {
// $details['name'] = addslashes($_POST['name']);
// $details['from'] = addslashes($_POST['email']);
// $details['department'] = $GLOBALS['department']->name(addslashes($_POST['departmentid']));
// $details['email'] = $GLOBALS['department']->email(addslashes($_POST['departmentid']));
// $details['subject'] = addslashes($_POST['subject']);
// $details['message'] = addslashes($_POST['message']);
// $GLOBALS['email']->auth($GLOBALS['department']->email_host(addslashes($_POST['departmentid'])), $GLOBALS['department']->email_port(addslashes($_POST['departmentid'])), $GLOBALS['department']->email_username(addslashes($_POST['departmentid'])), $GLOBALS['department']->email_password(addslashes($_POST['departmentid'])));
// $GLOBALS['email']->contact($details);
// $GLOBALS['template']->assign('divert', 'email_sent');
// } else {
// $GLOBALS['template']->assign('divert', '');
// }
// $GLOBALS['template']->assign('onload', '');
// $GLOBALS['template']->assign('javascript', 'misc');
// Display the output
$GLOBALS['template']->display('live_divert.tpl');
// do events that need to be done at the end of the file
// $inc->finished();
?>
But when i go to my address, i get this (image attach) if u see in live_divert.tpl i delete subject line and department...