[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/templates/base accounts_popup.tpl
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] phpgwapi/templates/base accounts_popup.tpl |
Date: |
Thu, 28 Dec 2006 01:35:36 +0000 |
CVSROOT: /cvsroot/phpgwapi
Module name: phpgwapi
Changes by: Dave Hall <skwashd> 06/12/28 01:35:35
Modified files:
templates/base : accounts_popup.tpl
Log message:
make the popup work properly again and fix the markup and css
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/templates/base/accounts_popup.tpl?cvsroot=phpgwapi&r1=1.3&r2=1.4
Patches:
Index: accounts_popup.tpl
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/templates/base/accounts_popup.tpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- accounts_popup.tpl 24 Apr 2006 09:49:25 -0000 1.3
+++ accounts_popup.tpl 28 Dec 2006 01:35:35 -0000 1.4
@@ -1,11 +1,12 @@
-<!-- $Id: accounts_popup.tpl,v 1.3 2006/04/24 09:49:25 sigurdne Exp $ -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
-<HTML LANG="en">
-<head>
-<title>{title}</title>
-<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
+ "http://www.w3.org/TR/REC-html40/loose.dtd">
+<!-- $Id: accounts_popup.tpl,v 1.4 2006/12/28 01:35:35 skwashd Exp $ -->
+<html lang="en">
+ <head>
+ <title>{title}</title>
+ <meta http-equiv="content-type" content="text/html;
charset=utf-8">
-<script LANGUAGE="JavaScript">
+ <script type="text/javascript">
var userSelectBox =
opener.document.forms["app_form"].elements['{select_name};
function ExchangeAccountSelect(thisform)
@@ -13,25 +14,23 @@
NewEntry = new
Option(thisform.elements[1].value,thisform.elements[0].value,false,true);
userSelectBox.options[userSelectBox.length] = NewEntry;
}
-</script>
-<script LANGUAGE="JavaScript">
+
function ExchangeAccountText(thisform)
{
opener.document.app_form.accountid.value =
thisform.elements[0].value;
opener.document.app_form.accountname.value =
thisform.elements[1].value;
}
-</script>
-<link rel="stylesheet" type="text/css" href="{css_file}">
-</head>
-<body>
-<center>
-<table border="0" width="100%">
+ </script>
+ <link rel="stylesheet" type="text/css" href="{css_file}">
+ </head>
+ <body>
+ <table border="0" width="100%">
<tr>
<td colspan="4">
<table border="0" width="100%">
<tr>
{left}
- <td align="center"><font
face="{font}">{lang_showing}</font></td>
+ <td
align="center">{lang_showing}</td>
{right}
</tr>
</table>
@@ -44,108 +43,78 @@
</form>
</td>
</tr>
-</table>
-
-<table border="0" width="100%" cellpadding="0" cellspacing="0">
- <tr>
- <td valign="top" width="20%">
- <table border="0" width="100%" cellpadding="2"
cellspacing="2">
- <tr>
- <td bgcolor="{th_bg}" colspan="2"
align="center"><font face="{font}"><b>{lang_groups}</b></font></td>
- </tr>
-
-<!-- BEGIN withperm_intro -->
- <tr>
- <td bgcolor="{th_bg}" colspan="2"><font
face="{font}">{lang_perm}</font></td>
- </tr>
-<!-- END withperm_intro -->
+ </table>
-<!-- BEGIN group_select -->
- <tr bgcolor="{tr_color}">
- <td><a href="{link_user_group}"><font
face="{font}">{name_user_group}</font></a></td>
- <td align="center">
+ <div style="float: left; width: 200px;">
+ <h2>{lang_groups}</h2>
+ <!-- BEGIN withperm_intro -->
+ <h3>{lang_perm}</h3>
+ <!-- END withperm_intro -->
+ <ul>
+ <!-- BEGIN group_select -->
+ <li class="tr_class">
+ <a
href="{link_user_group}">{name_user_group}</a>
<form>
<input type="hidden"
name="hidden" value="{accountid}">
<input type="hidden"
name="hidden" value="{account_display}">
<input type="image" src="{img}"
onClick="{js_function}(this.form); return false;" name="{lang_select_group}"
title="{lang_select_group}">
</form>
- </td>
- </tr>
-<!-- END group_select -->
-
-<!-- BEGIN group_other -->
-
- <tr bgcolor="{tr_color}">
- <td><a href="{link_user_group}"><font
face="{font}">{name_user_group}</font></a></td>
- </tr>
+ </li>
+ <!-- END group_select -->
-<!-- END group_other -->
-
-<!-- BEGIN withoutperm_intro -->
- <tr height="5">
- <td> </td>
- </tr>
- <tr>
- <td bgcolor="{th_bg}" colspan="2"><font
face="{font}">{lang_nonperm}</font></td>
- </tr>
-
-<!-- END withoutperm_intro -->
-
-<!-- BEGIN group_all -->
-
- <tr bgcolor="{tr_color}">
- <td colspan="2"><a
href="{link_all_group}"><font face="{font}">{name_all_group}</font></a></td>
- </tr>
-
-<!-- END group_all -->
-
-
- </table>
- </td>
- <td width="80%" valign="top">
- <table border="0" width="100%" cellpadding="2"
cellspacing="2">
- <tr bgcolor="{th_bg}">
- <td width="100%" bgcolor="{th_bg}"
align="center" colspan="4"><font
face="{font}"><b>{lang_accounts}</b></font></td>
- </tr>
- <tr bgcolor="{th_bg}">
- <td width="30%" bgcolor="{th_bg}"
align="center"><font face="{font}">{sort_lid}</font></td>
- <td width="30%" bgcolor="{th_bg}"
align="center"><font face="{font}">{sort_firstname}</font></td>
- <td width="30%" bgcolor="{th_bg}"
align="center"><font face="{font}">{sort_lastname}</font></td>
- <td width="10%"
bgcolor="{th_bg}"> </td>
- </tr>
-
-<!-- BEGIN accounts_list -->
-
- <tr bgcolor="{tr_color}">
- <td><font face="{font}">{lid}</font></td>
- <td><font face="{font}">{firstname}</font></td>
- <td><font face="{font}">{lastname}</font></td>
- <form>
+ <!-- BEGIN group_other -->
+ <li class="{tr_class}"><a
href="{link_user_group}">{name_user_group}</a></li>
+ <!-- END group_other -->
+ </ul>
+
+ <!-- BEGIN withoutperm_intro -->
+ <h3>{lang_nonperm}</h3>
+ <!-- END withoutperm_intro -->
+ <ul>
+ <!-- BEGIN group_all -->
+ <li class="{tr_class}"><a
href="{link_all_group}">{name_all_group}</a><li>
+ <!-- END group_all -->
+ </ul>
+ </div>
+
+ <div>
+ <table width="600">
+ <thead>
+ <tr>
+ <th
colspan="3">{lang_accounts}</td>
+ </tr>
+ <th
width="250">{sort_firstname}</th>
+ <th
width="250">{sort_lastname}</th>
+ <th width="20"> </td>
+ </tr>
+ </thead>
+ <tbody>
+ <!-- BEGIN accounts_list -->
+ <tr class="{tr_class}">
+ <td width="250">{firstname}</td>
+ <td width="250">{lastname}</td>
+ <td width="20">
+ <form style="padding:
0px; margin: 0px; width: 20px;">
<input type="hidden" name="hidden" value="{accountid}">
<input type="hidden" name="hidden"
value="{account_display}">
- <td align="center">
- <input type="image" src="{img}"
onClick="{js_function}(this.form); return false;" name="{lang_select_user}"
title="{lang_select_user}"></td>
+ <input
type="image" src="{img}" onClick="{js_function}(this.form); return false;"
name="{lang_select_user}" title="{lang_select_user}">
</form>
- </tr>
-
-<!-- END accounts_list -->
-
- </table>
</td>
</tr>
-</table>
-<table cellpadding="2" cellspacing="2">
- <tr>
+ <!-- END accounts_list -->
+ </tbody>
+ </table>
+ </div>
+
+ <div class="button_group" style="clear: both;">
<form>
<input type="hidden" name="start" value="{start}">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="query" value="{query}">
<input type="hidden" name="group_id" value="{group_id}">
- <td><font face="{font}"><input type="button"
name="Done" value="{lang_done}" onClick="window.close()"></font></td>
+ <input type="button" name="Done"
value="{lang_done}" onClick="window.close()">
</form>
- </tr>
-</table>
-</center>
-</body>
+ </div>
+ </body>
</html>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/templates/base accounts_popup.tpl,
Dave Hall <=