Feature #16650 » storagePidFlex.diff

Administrator Admin, 2006-10-18 07:26

View differences:

locallang_db.php (working copy)
20 20
		'tt_content.pi_flexform.sheet_logout' => 'Logout',
21 21
		'tt_content.pi_flexform.show_forgot_password' => 'Show "Forgot password?" link:',
22 22
		'tt_content.pi_flexform.show_permalogin' => 'Show "Stay logged in" checkbox (if switched on for the installation):',
23
		'tt_content.pi_flexform.storagePid' => 'User Storage Page',
23 24
		'tt_content.pi_flexform.field_manualOrder' => 'Using fieldlists below:',
24 25
		'tt_content.pi_flexform.field_orderList' => 'User Fields/list:',
25 26
		'tt_content.pi_flexform.field_orderDetails' => 'User Fields/details:',
pi1/class.tx_newloginbox_pi1.php (working copy)
80 80
			// Get storage PIDs:
81 81
			if ($this->conf['storagePid']) {
82 82
				$spid['_STORAGE_PID'] = $this->conf['storagePid'];
83
			} elseif ($this->pi_getFFvalue($this->cObj->data['pi_flexform'],'storagePid','sDEF')) {
84
				$spid['_STORAGE_PID'] = $this->pi_getFFvalue($this->cObj->data['pi_flexform'],'storagePid','sDEF');
83 85
			} else {
84 86
				$spid = $GLOBALS['TSFE']->getStorageSiterootPids();
85 87
			}
flexform_ds.xml (working copy)
23 23
				</config>
24 24
			</TCEforms>
25 25
	      </show_permalogin>
26
	      <storagePid>
27
			<TCEforms>
28
				<label>LLL:EXT:newloginbox/locallang_db.php:tt_content.pi_flexform.storagePid</label>
29
                  <config>
30
                    <type>group</type>
31
                    <internal_type>db</internal_type>
32
                    <allowed>pages</allowed>
33
                    <size>1</size>
34
                    <maxitems>1</maxitems>
35
                    <minitems>0</minitems>
36
                    <show_thumbs>1</show_thumbs>
37
                 </config>
38
			</TCEforms>
39
	      </storagePid>
26 40
	    </el>
27 41
	  </ROOT>
28 42
    </sDEF>
(1-1/2)