PHP8
[Pman.BAdmin] / Pman.Dialog.PersonEditor.js
index 0acdda7..5b0cb45 100644 (file)
@@ -11,12 +11,12 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
   'ce8ae9da5b7cd6c3df2929543a9af92d' :"Email",
   'abb1d799e06329cb0c38276ea918300b' :"Secure passwords",
   'bcc254b55c4a1babdf1dcb82c207506b' :"Phone",
-  '8a25a3ae30ab6e8ceb5b8c4009a3336f' :"Role / Position",
-  '5067d67ab0b0ab1e1099d1de30eccd82' :"Contac Name",
-  '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"
  },
@@ -82,6 +82,12 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
     items  : [
      {
       xtype : 'Form',
+      listeners : {
+       render : function (_self)
+        {
+            _this.form = _self;
+        }
+      },
       xns : Roo.bootstrap,
       '|xns' : 'Roo.bootstrap',
       items  : [
@@ -93,13 +99,14 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
         items  : [
          {
           xtype : 'Container',
-          cls : 'col-sm-12',
+          cls : 'col-md-12',
           xns : Roo.bootstrap,
           '|xns' : 'Roo.bootstrap',
           items  : [
            {
             xtype : 'Input',
-            fieldLabel : _this._strings['5067d67ab0b0ab1e1099d1de30eccd82'] /* Contac Name */,
+            fieldLabel : _this._strings['49ee3087348e8d44e1feda1917443987'] /* Name */,
+            labelAlign : 'left',
             name : 'name',
             listeners : {
              render : function (_self)
@@ -112,7 +119,8 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            },
            {
             xtype : 'Input',
-            fieldLabel : _this._strings['8a25a3ae30ab6e8ceb5b8c4009a3336f'] /* Role / Position */,
+            fieldLabel : _this._strings['bbbabdbe1b262f75d99d62880b953be1'] /* Role */,
+            labelAlign : 'left',
             name : 'role',
             listeners : {
              render : function (_self)
@@ -126,6 +134,7 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            {
             xtype : 'Input',
             fieldLabel : _this._strings['bcc254b55c4a1babdf1dcb82c207506b'] /* Phone */,
+            labelAlign : 'left',
             name : 'phone',
             listeners : {
              render : function (_self)
@@ -139,6 +148,7 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            {
             xtype : 'Input',
             fieldLabel : _this._strings['9810aa2b9f44401be4bf73188ef2b67d'] /* Fax */,
+            labelAlign : 'left',
             name : 'fax',
             listeners : {
              render : function (_self)
@@ -152,6 +162,7 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            {
             xtype : 'Input',
             fieldLabel : _this._strings['ce8ae9da5b7cd6c3df2929543a9af92d'] /* Email */,
+            labelAlign : 'left',
             name : 'email',
             listeners : {
              render : function (_self)
@@ -164,30 +175,47 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
            },
            {
             xtype : 'Input',
-            fieldLabel : _this._strings['ae3bb2a1ac61750150b606298091d38a'] /* New Password */,
+            fieldLabel : _this._strings['dc647eb65e6711e155375218212b3964'] /* Password */,
             inputType : 'password',
+            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 : 'center',
+            align : 'left',
             checked : true,
             fieldLabel : _this._strings['abb1d799e06329cb0c38276ea918300b'] /* Secure passwords */,
             inputType : 'checkbox',
             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',
-            style : 'text-align: left;',
             xns : Roo.bootstrap,
             '|xns' : 'Roo.bootstrap'
            }
@@ -196,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'
+       }
+      ]
      }
     ]
    }  );