import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
22
modules/default/views/scripts/profile/index.phtml
Normal file
22
modules/default/views/scripts/profile/index.phtml
Normal file
@ -0,0 +1,22 @@
|
||||
<br />
|
||||
<br />
|
||||
<? if (count($this->profiles) > 0): ?>
|
||||
<div style="margin-bottom:20px">
|
||||
<?= $this->translate('Please select the profile you want to use:') ?>
|
||||
<select onchange="COMMID.profileForm.fetch('<?= $this->queryString ?>', this.value, true)"
|
||||
<?= $this->profileId == $profile->id? 'selected="true"' : '' ?>>
|
||||
<? foreach ($this->profiles as $profile): ?>
|
||||
<option value="<?= $profile->id ?>"><?= $profile->name ?></option>
|
||||
<? endforeach ?>
|
||||
</select>
|
||||
<img id="loadingPersonalInfo" src="<?= $this->base ?>/images/progress.gif" style="visibility:hidden"/>
|
||||
</div>
|
||||
<? endif ?>
|
||||
<input type="hidden" name="profileId" value="<?= $this->profileId ?>" />
|
||||
<? foreach ($this->fields as $field): ?>
|
||||
<? echo $field ?>
|
||||
<? endforeach ?>
|
||||
<? if ($this->policyUrl): ?>
|
||||
<? echo $this->translate('The privacy policy can be found at %s',
|
||||
'<a href="'.$this->policyUrl.'">'.$this->policyUrl.'</a>'); ?><br /><br />
|
||||
<? endif ?>
|
Reference in New Issue
Block a user