[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/templates/default login.tpl,1.13,1.14 p
From: |
Dan Kuykendall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/templates/default login.tpl,1.13,1.14 phpgw.tpl,1.2,1.3 |
Date: |
Fri, 31 May 2002 04:29:24 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/templates/default
In directory subversions:/tmp/cvs-serv16833/phpgwapi/templates/default
Modified Files:
login.tpl phpgw.tpl
Log Message:
updated so that login page will destroy frames, cleaned up various other issues
like better lang support in msgbox, now langs trailing char can be turned off.
several other improvements
Index: login.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/login.tpl,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** login.tpl 30 May 2002 09:44:38 -0000 1.13
--- login.tpl 31 May 2002 08:29:19 -0000 1.14
***************
*** 16,20 ****
<TR bgcolor="#e6e6e6">
<TD valign="BASELINE">
-
<FORM name="login" method="post" action="{login_url}">
<input type="hidden" name="passwd_type" value="text">
--- 16,19 ----
Index: phpgw.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/phpgw.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** phpgw.tpl 30 May 2002 21:13:07 -0000 1.2
--- phpgw.tpl 31 May 2002 08:29:19 -0000 1.3
***************
*** 12,50 ****
<LINK REL="SHORTCUT ICON" href="{phpgw_head_browser_ico}">
<TITLE>{phpgw_head_website_title}</TITLE>
! <SCRIPT language="JavaScript" type="text/javascript">
! <!--
! function MM_swapImgRestore() { //v3.0
! var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
! }
! function MM_preloadImages() { //v3.0
! var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
! var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0; i<a.length; i++)
! if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image;
d.MM_p[j++].src=a[i];}}
! }
! function MM_findObj(n, d) { //v4.0
! var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
! d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
! if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
! for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document);
! if(!x && document.getElementById)
x=document.getElementById(n); return x;
! }
! function MM_swapImage() { //v3.0
! var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
! if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
! }
!
! function
multiLoad(top_doc,left_doc,body_doc,right_doc,bottom_doc) {
! if(top_doc != null){ parent.top.location.href=top_doc; }
! if(left_doc != null){
parent.left.location.href=left_doc; }
! if(body_doc != null){
parent.body.location.href=body_doc; }
! if(right_doc != null){
parent.right.location.href=right_doc; }
! if(bottom_doc != null){
parent.bottom.location.href=bottom_doc; }
! }
! //-->
! </SCRIPT>
{phpgw_css}
{phpgw_head_tags}
</HEAD>
! <BODY {phpgw_body_tags} onLoad="{phpgw_preload_images}{phpgw_body_onload}">
<TABLE border="0" width="100%" height="%100" cellspacing="0"
cellpadding="0">
<TR>
--- 12,20 ----
<LINK REL="SHORTCUT ICON" href="{phpgw_head_browser_ico}">
<TITLE>{phpgw_head_website_title}</TITLE>
! {phpgw_head_javascript}
{phpgw_css}
{phpgw_head_tags}
</HEAD>
! <BODY{phpgw_body_tags}>
<TABLE border="0" width="100%" height="%100" cellspacing="0"
cellpadding="0">
<TR>
***************
*** 77,115 ****
<LINK REL="SHORTCUT ICON" href="{phpgw_head_browser_ico}">
<TITLE>{phpgw_head_website_title}</TITLE>
! <SCRIPT language="JavaScript" type="text/javascript">
! <!--
! function MM_swapImgRestore() { //v3.0
! var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
! }
! function MM_preloadImages() { //v3.0
! var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
! var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0; i<a.length; i++)
! if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image;
d.MM_p[j++].src=a[i];}}
! }
! function MM_findObj(n, d) { //v4.0
! var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
! d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
! if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
! for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document);
! if(!x && document.getElementById)
x=document.getElementById(n); return x;
! }
! function MM_swapImage() { //v3.0
! var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
! if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
! }
!
! function
multiLoad(top_doc,left_doc,body_doc,right_doc,bottom_doc) {
! if(top_doc != null){ parent.top.location.href=top_doc; }
! if(left_doc != null){
parent.left.location.href=left_doc; }
! if(body_doc != null){
parent.body.location.href=body_doc; }
! if(right_doc != null){
parent.right.location.href=right_doc; }
! if(bottom_doc != null){
parent.bottom.location.href=bottom_doc; }
! }
! //-->
! </SCRIPT>
{phpgw_css}
{phpgw_head_tags}
</HEAD>
! <BODY {phpgw_body_tags} onLoad="{phpgw_preload_images}{phpgw_body_onload}">
{phpgw_msgbox}
{phpgw_body}
--- 47,55 ----
<LINK REL="SHORTCUT ICON" href="{phpgw_head_browser_ico}">
<TITLE>{phpgw_head_website_title}</TITLE>
! {phpgw_head_javascript}
{phpgw_css}
{phpgw_head_tags}
</HEAD>
! <BODY{phpgw_body_tags}>
{phpgw_msgbox}
{phpgw_body}
***************
*** 147,148 ****
--- 87,122 ----
</HTML>
<!-- END phpgw_main_frames -->
+
+ <!-- BEGIN phpgw_head_javascript -->
+ <SCRIPT language="JavaScript" type="text/javascript">
+ <!--
+ function MM_swapImgRestore() { //v3.0
+ var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
+ }
+ function MM_preloadImages() { //v3.0
+ var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
+ var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0; i<a.length; i++)
+ if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image;
d.MM_p[j++].src=a[i];}}
+ }
+ function MM_findObj(n, d) { //v4.0
+ var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
+ d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
+ if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
+ for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document);
+ if(!x && document.getElementById)
x=document.getElementById(n); return x;
+ }
+ function MM_swapImage() { //v3.0
+ var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
+ if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
+ }
+
+ function
multiLoad(top_doc,left_doc,body_doc,right_doc,bottom_doc) {
+ if(top_doc != null){ parent.top.location.href=top_doc; }
+ if(left_doc != null){
parent.left.location.href=left_doc; }
+ if(body_doc != null){
parent.body.location.href=body_doc; }
+ if(right_doc != null){
parent.right.location.href=right_doc; }
+ if(bottom_doc != null){
parent.bottom.location.href=bottom_doc; }
+ }
+ //-->
+ </SCRIPT>
+ <!-- END phpgw_head_javascript -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/templates/default login.tpl,1.13,1.14 phpgw.tpl,1.2,1.3,
Dan Kuykendall <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.143,1.144 class.phpgw.inc.php,1.45,1.46 class.translation_file.inc.php,1.6,1.7 class.translation_sql.inc.php,1.13,1.14
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.144,1.145 functions.inc.php,1.141,1.142
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.143,1.144 class.phpgw.inc.php,1.45,1.46 class.translation_file.inc.php,1.6,1.7 class.translation_sql.inc.php,1.13,1.14
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.144,1.145 functions.inc.php,1.141,1.142
- Index(es):