You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

136 lines
6.4 KiB

<!--
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Public License Version 1.1.2
* ("License"); You may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
* The Original Code is: SugarCRM Open Source
* The Initial Developer of the Original Code is SugarCRM, Inc.
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
* All Rights Reserved.
* Contributor(s): ______________________________________.
********************************************************************************/
/*********************************************************************************
* {APP.LBL_LIST_CURRENCY_SYM}Header: /cvsroot/sugarcrm/sugarcrm/modules/Users/ListView.html,v 1.2 2004/06/29 21:06:29 sugarclint Exp {APP.LBL_LIST_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: main -->
<script language="javascript">
function massDelete()
{
x = document.massdelete.userselection.length;
idstring = "";
if ( x == undefined)
{
if (document.massdelete.userselection.checked)
{
document.massdelete.idlist.value=document.massdelete.userselection.value;
//alert(document.massdelete.idlist.value);
}
else
{
alert("Please select atleast one entity");
return false;
}
}
else
{
xx = 0;
for(j = 0;j < x ;j++)
{
if(document.massdelete.userselection[j].checked)
{
idstring = document.massdelete.userselection[j].value +";"+idstring
xx++
}
}
if(xx != 0)
{
document.massdelete.idlist.value=idstring;
//alert(document.massdelete.idlist.value);
}
else
{
alert("Please select atleast one entity");
return false;
}
}
document.massdelete.action="index.php?module=Users&action=MassDeleteUsers"
}
</script>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="FormBorder"><tbody>
<form name="massdelete" method="post">
<input type="hidden" name="idlist">
<tr><td COLSPAN="16"> </tr>
<!-- BEGIN: list_nav_row -->
<tr height="20">
<td COLSPAN="15" class="listFormHeaderLinks" align="right">{START_LINK}&nbsp;&nbsp;{PREVIOUS_LINK}&nbsp;&nbsp;
{NEXT_LINK}&nbsp;&nbsp;{END_LINK}&nbsp;&nbsp; {START_RECORD} - {END_RECORD} {APP.LBL_LIST_OF} {ROW_COUNT}&nbsp;&nbsp;</td>
</tr>
<!-- END: list_nav_row -->
<tr><td COLSPAN="15" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td></tr>
<tr height="20" class="moduleListTitle">
<td WIDTH="1" class="blackLine"><!--td>Operation</td><IMG SRC="{IMAGE_PATH}blank.gif">
<td align='center' class="moduleListTitle"><IMG alt="Yahoo Messenger" SRC="modules/Yahoo/images/ym.gif"></td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"-->
<td width="20%" class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}first_name" class="listFormHeaderLinks">{MOD.LBL_LIST_NAME}{first_name_arrow}</a></td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
<td width="15%" class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}user_name" class="listFormHeaderLinks">{MOD.LBL_LIST_USER_NAME}{user_name_arrow}</a></td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
<td width="30%" class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}department" class="listFormHeaderLinks">{MOD.LBL_LIST_DEPARTMENT}{department_arrow}</a></td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
<td width="20%" class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}email1" class="listFormHeaderLinks">{MOD.LBL_LIST_EMAIL}{email1_arrow}</a></td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
<td width="15%" class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}PHONE_WORK" class="listFormHeaderLinks">{MOD.LBL_LIST_PRIMARY_PHONE}{PHONE_WORK_arrow}</a></td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
<td class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}IS_ADMIN" class="listFormHeaderLinks">{MOD.LBL_LIST_ADMIN}{IS_ADMIN_arrow}</a></td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
</tr>
<tr><td COLSPAN="15" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td></tr>
<!-- BEGIN: row -->
<tr height=20 class={ROW_COLOR}>
<!--td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td><td><INPUT type=checkbox NAME="userselection" value={USER.ID}></td-->
</td>
<!-- BEGIN: yahoo_id -->
<!--td align='center'><a href='http://edit.yahoo.com/config/send_webmesg?.target={USER.YAHOO_ID}'><img border=0 src='http://opi.yahoo.com/online?u={USER.YAHOO_ID}'&m=g&t=2'></a></td-->
<!-- END: yahoo_id -->
<!-- BEGIN: no_yahoo_id -->
<!--td>&nbsp;</td-->
<!-- END: no_yahoo_id -->
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
<td valign=TOP style="padding:0px 3px 0px 3px;" ><a href="{URL_PREFIX}index.php?action=DetailView&module=Users&record={USER.ID}">{USER.FIRST_NAME} {USER.LAST_NAME}</a></td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
<td valign=TOP style="padding:0px 3px 0px 3px;" >{USER.USER_NAME}</td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
<td valign=TOP style="padding:0px 3px 0px 3px;" >{USER.DEPARTMENT}</td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
<td valign=TOP style="padding:0px 3px 0px 3px;" nowrap><a href=mailto:{USER.EMAIL1}>{USER.EMAIL1}</A></td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
<td valign=TOP style="padding:0px 3px 0px 3px;" nowrap>{USER.PHONE_WORK}</td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
<td valign=TOP style="padding:0px 3px 0px 3px;" align='center'>{USER.IS_ADMIN}</td>
<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
</tr>
<!-- END: row -->
<tr><td COLSPAN="13">
<!-- END: main -->
</form>
</table>