php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #51303
Patch cvs-svn.patch revision 2010-03-15 20:30 UTC by markskilbeck at gmail dot com

Patch cvs-svn.patch for Online Doc Editor problem Bug #51303

Patch version 2010-03-15 20:30 UTC

Return to Bug #51303 | Download this patch
Patch Revisions:

Developer: markskilbeck@gmail.com

Index: trunk/js/login.js
===================================================================
--- trunk/js/login.js	(revision 296252)
+++ trunk/js/login.js	(working copy)
@@ -93,7 +93,7 @@
                     iconCls     : 'iconKey',
                     plugins     : [
                         new Ext.ux.plugins.WindowDrawer({
-                            html      : 'To request a VCS account please read :<div style="text-align: center; margin-top: 20px;"><span id="request-account"></span></div>',
+                            html      : 'To request an SVN account please read :<div style="text-align: center; margin-top: 20px;"><span id="request-account"></span></div>',
                             side      : 's',
                             bodyStyle : 'margin: 10px;',
                             animate   : true,
@@ -105,7 +105,7 @@
                         render : function()
                         {
                             var t = new Ext.util.DelayedTask(function() {
-                                Ext.getCmp('login-form-vcsLogin').focus();
+                                Ext.getCmp('login-form-svnLogin').focus();
                             });
 
                             t.delay(200);
@@ -171,23 +171,23 @@
                                 }
                             }
                         }, {
-                            fieldLabel : 'VCS login',
-                            name       : 'vcsLogin',
+                            fieldLabel : 'SVN login',
+                            name       : 'svnLogin',
                             value      : 'anonymous',
-                            id         : 'login-form-vcsLogin',
+                            id         : 'login-form-svnLogin',
                             enableKeyEvents : true,
                             listeners : {
                                 keypress : function(field, e)
                                 {
                                     if (e.getKey() == e.ENTER) {
-                                        Ext.getCmp('login-form-vcsPasswd').focus();
+                                        Ext.getCmp('login-form-svnPasswd').focus();
                                     }
                                 }
                             }
                         }, {
-                            fieldLabel : 'VCS password',
-                            name       : 'vcsPassword',
-                            id         : 'login-form-vcsPasswd',
+                            fieldLabel : 'SVN password',
+                            name       : 'svnPassword',
+                            id         : 'login-form-svnPasswd',
                             inputType  : 'password',
                             enableKeyEvents: true,
                             listeners : {
@@ -283,19 +283,19 @@
                                                         icon    : Ext.MessageBox.ERROR,
                                                         fn      : function()
                                                         {
-                                                            Ext.getCmp('login-form-vcsPasswd').focus();
+                                                            Ext.getCmp('login-form-svnPasswd').focus();
                                                         }
                                                     });
                                                 }
                                                 if (o.msg == 'unknow from vcs') {
                                                     Ext.Msg.show({
                                                         title   : 'Error',
-                                                        msg     : 'This user is unknow from Php vcs server.<br>Please, try again.',
+                                                        msg     : 'This user is unknown from PHP SVN server.<br>Please, try again.',
                                                         buttons : Ext.Msg.OK,
                                                         icon    : Ext.MessageBox.ERROR,
                                                         fn      : function()
                                                         {
-                                                            Ext.getCmp('login-form-vcsPasswd').focus();
+                                                            Ext.getCmp('login-form-svnPasswd').focus();
                                                         }
                                                     });
                                                 }
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 17:01:36 2019 UTC