<?php
/* $Id: viewitems_sqlfield.php 1 2006-06-07 08:07:41Z hodaka $
 *  ------------------------------------------------------------------------ *
 *                XOOPS - PHP Content Management System                      *
 *                    Copyright (c) 2000 XOOPS.org                           *
 *                       <http://www.xoops.org/>                             *
 *  ------------------------------------------------------------------------ *
 *                     MyAddress - XOOPS addressbook                         *
 *                        <http://www.kuri3.net/>                            *
 *             Copyright (c) 2004 by hodaka <hodaka@kuri3.net>               *
 * ------------------------------------------------------------------------- *
 * 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.                                       *
 *                                                                           *
 * You may not change or alter any portion of this comment or credits        *
 * of supporting developers from this source code or any supporting          *
 * source code which is considered copyrighted (c) material of the           *
 * original comment or credit authors.                                       *
 *                                                                           *
 * 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, write to the Free Software               *
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  *
 */

if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit;

// set table title (sql field <=> lang)
//	'width' is used in template with determining table width
//	'belong_table is used when we search(in searchresults.php...) within sql. 

	$myaddress_viewtitle['first_name'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_FIRST_NAME, "width"=>1, "belong_table"=>"l");
	$myaddress_viewtitle['last_name'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_LAST_NAME, "width"=>1, "belong_table"=>"l");
	$myaddress_viewtitle['fullname'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_FULLNAME, "width"=>2, "belong_table"=>"l");
	$myaddress_viewtitle['first_name_jh'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_FIRST_NAME_JH, "width"=>2, "belong_table"=>"l");
	$myaddress_viewtitle['last_name_jh'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_LAST_NAME_JH, "width"=>2, "belong_table"=>"l");
	$myaddress_viewtitle['fullname_jh'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_FULLNAME_JH, "width"=>4, "belong_table"=>"l");
	$myaddress_viewtitle['first_name2'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_FIRST_NAME2, "width"=>3, "belong_table"=>"l");
	$myaddress_viewtitle['myzipcode'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYZIPCODE, "width"=>2, "belong_table"=>"l");
	$myaddress_viewtitle['myaddress1'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYADDRESS1, "width"=>2, "belong_table"=>"l");
	$myaddress_viewtitle['myaddress2'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYADDERSS2, "width"=>5, "belong_table"=>"l");
	$myaddress_viewtitle['myaddress3'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYADDRESS3, "width"=>5, "belong_table"=>"l");
	$myaddress_viewtitle['myphone'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYPHONE, "width"=>3, "belong_table"=>"l");
	$myaddress_viewtitle['myfax'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYFAX, "width"=>3, "belong_table"=>"l");
	$myaddress_viewtitle['mycellphone1'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYCELLPHONE1, "width"=>3, "belong_table"=>"l");
	$myaddress_viewtitle['mycellphone2'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYCELLPHONE2, "width"=>3, "belong_table"=>"l");
	$myaddress_viewtitle['myemail1'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYEMAIL1, "width"=>1, "belong_table"=>"l");
	$myaddress_viewtitle['myemail2'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYEMAIL2, "width"=>1, "belong_table"=>"l");
	$myaddress_viewtitle['myemail3'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYEMAIL3, "width"=>1, "belong_table"=>"l");
	$myaddress_viewtitle['myemail4'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYEMAIL4, "width"=>1, "belong_table"=>"l");
	$myaddress_viewtitle['myweb'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYWEB, "width"=>3, "belong_table"=>"l");
	$myaddress_viewtitle['mycomments'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_MYCOMMENTS, "width"=>4, "belong_table"=>"l");
	$myaddress_viewtitle['c_id'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_C_ID, "width"=>1, "belong_table"=>"c");
	$myaddress_viewtitle['cdepart'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_CDEPART, "width"=>4, "belong_table"=>"l");
	$myaddress_viewtitle['cname'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_CNAME, "width"=>5, "belong_table"=>"c");
	$myaddress_viewtitle['cdivision'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_CDIVISION, "width"=>3, "belong_table"=>"c");
	$myaddress_viewtitle['cphone'] = array("viewterm"=>_AM_MYADDRESS_TABLEVIEW_CPHONE, "width"=>3, "belong_table"=>"c");


?>