PHP8
[Pman.BAdmin] / Pman.Dialog.PersonEditor.js
index f36b37a..5b0cb45 100644 (file)
@@ -10,13 +10,13 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
  _strings : {
   'ce8ae9da5b7cd6c3df2929543a9af92d' :"Email",
   'abb1d799e06329cb0c38276ea918300b' :"Secure passwords",
-  '7cfd883d5d55fccfcfb13b3fcf29e3a6' :"Contact Name",
   'bcc254b55c4a1babdf1dcb82c207506b' :"Phone",
-  '8a25a3ae30ab6e8ceb5b8c4009a3336f' :"Role / Position",
-  '315fce99b77b7f392bf68d5eb14f88c7' :"Password (type again to confirm)",
+  'dc647eb65e6711e155375218212b3964' :"Password",
   'ea4788705e6873b424c65e91c2846b19' :"Cancel",
-  'ae3bb2a1ac61750150b606298091d38a' :"New Password",
+  'bbbabdbe1b262f75d99d62880b953be1' :"Role",
   '11dcfc58d8c9aed80d13d85369b854db' :"Person Editor",
+  '49ee3087348e8d44e1feda1917443987' :"Name",
+  '1f9a645ca5ecbde5f93612791b54218f' :"Password (Retype)",
   'c9cc8cce247e49bae79f15173ce97354' :"Save",
   '9810aa2b9f44401be4bf73188ef2b67d' :"Fax"
  },
@@ -105,8 +105,8 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
           items  : [
            {
             xtype : 'Input',
-            fieldLabel : _this._strings['7cfd883d5d55fccfcfb13b3fcf29e3a6'] /* Contact Name */,
-            labelAlign : 'top',
+            fieldLabel : _this._strings['49ee3087348e8d44e1feda1917443987'] /* Name */,
+            labelAlign : 'left',
             name : 'name',
             listeners : {
              render : function (_self)
@@ -119,8 +119,8 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            },
            {
             xtype : 'Input',
-            fieldLabel : _this._strings['8a25a3ae30ab6e8ceb5b8c4009a3336f'] /* Role / Position */,
-            labelAlign : 'top',
+            fieldLabel : _this._strings['bbbabdbe1b262f75d99d62880b953be1'] /* Role */,
+            labelAlign : 'left',
             name : 'role',
             listeners : {
              render : function (_self)
@@ -134,7 +134,7 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            {
             xtype : 'Input',
             fieldLabel : _this._strings['bcc254b55c4a1babdf1dcb82c207506b'] /* Phone */,
-            labelAlign : 'top',
+            labelAlign : 'left',
             name : 'phone',
             listeners : {
              render : function (_self)
@@ -148,7 +148,7 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            {
             xtype : 'Input',
             fieldLabel : _this._strings['9810aa2b9f44401be4bf73188ef2b67d'] /* Fax */,
-            labelAlign : 'top',
+            labelAlign : 'left',
             name : 'fax',
             listeners : {
              render : function (_self)
@@ -162,7 +162,7 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            {
             xtype : 'Input',
             fieldLabel : _this._strings['ce8ae9da5b7cd6c3df2929543a9af92d'] /* Email */,
-            labelAlign : 'top',
+            labelAlign : 'left',
             name : 'email',
             listeners : {
              render : function (_self)
@@ -175,27 +175,45 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            },
            {
             xtype : 'Input',
-            fieldLabel : _this._strings['ae3bb2a1ac61750150b606298091d38a'] /* New Password */,
+            fieldLabel : _this._strings['dc647eb65e6711e155375218212b3964'] /* Password */,
             inputType : 'password',
-            labelAlign : 'top',
+            labelAlign : 'left',
             name : 'passwd1',
             xns : Roo.bootstrap,
             '|xns' : 'Roo.bootstrap'
            },
            {
             xtype : 'Input',
-            fieldLabel : _this._strings['315fce99b77b7f392bf68d5eb14f88c7'] /* Password (type again to confirm) */,
+            fieldLabel : _this._strings['1f9a645ca5ecbde5f93612791b54218f'] /* Password (Retype) */,
             inputType : 'password',
+            labelAlign : 'left',
             name : 'passwd2',
             xns : Roo.bootstrap,
             '|xns' : 'Roo.bootstrap'
-           },
+           }
+          ]
+         }
+        ]
+       },
+       {
+        xtype : 'Row',
+        cls : 'col-md-12',
+        xns : Roo.bootstrap,
+        '|xns' : 'Roo.bootstrap',
+        items  : [
+         {
+          xtype : 'Container',
+          cls : 'col-md-12',
+          xns : Roo.bootstrap,
+          '|xns' : 'Roo.bootstrap',
+          items  : [
            {
             xtype : 'Input',
+            align : 'left',
             checked : true,
             fieldLabel : _this._strings['abb1d799e06329cb0c38276ea918300b'] /* Secure passwords */,
             inputType : 'checkbox',
-            labelAlign : 'top',
+            labelAlign : 'left',
             listeners : '{\n                    check : function (_self, checked) {\n                        this.form.findField(\'passwd1\').insecure = false;\n\n                        if(!checked){\n                            this.form.findField(\'passwd1\').insecure = true;\n                        }\n                    }\n                }\n',
             name : 'secure_password',
             xns : Roo.bootstrap,
@@ -206,6 +224,18 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
         ]
        }
       ]
+     },
+     {
+      xtype : 'Row',
+      xns : Roo.bootstrap,
+      '|xns' : 'Roo.bootstrap',
+      items  : [
+       {
+        xtype : 'Column',
+        xns : Roo.bootstrap,
+        '|xns' : 'Roo.bootstrap'
+       }
+      ]
      }
     ]
    }  );