<?php

#
# XiVO Web-Interface
# Copyright (C) 2006-2017  Avencall
#
# 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 3 of the License, or
# (at your option) any later version.
#
# This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
#

$form = &$this->get_module('form');
$info = $this->get_var('info');

?>
<div id="sr-pickup" class="b-infos b-form">
	<breadcrumb
		parent="<?=$this->bbf('title_parent_name');?>"
		page="<?=$this->bbf('title_content_name');?>"
		value="<?=$info['pickup']['name']?>">
	</breadcrumb>

	<div class="sb-content">
		<form class="form-horizontal" action="#" method="post" accept-charset="utf-8">

		<?=$form->hidden(array('name' => DWHO_SESS_NAME,'value' => DWHO_SESS_ID));?>
		<?=$form->hidden(array('name' => 'fm_send','value' => 1));?>
		<?=$form->hidden(array('name' => 'act','value' => 'edit'));?>
		<?=$form->hidden(array('name' => 'id','value' => $this->get_var('id')));?>

		<?php
			$this->file_include('bloc/service/ipbx/asterisk/call_management/pickup/form');
		?>

		<?=$form->submit(array('name' => 'submit','id' => 'it-submit','value' => $this->bbf('fm_bt-save')));?>

		</form>
	</div>
	<div class="sb-foot xspan"></div>
</div>
