添加city/province/country
This commit is contained in:
parent
d17c4798ea
commit
3d7b971d1e
|
@ -348,8 +348,14 @@ class Admin_WatermdController extends Zend_Controller_Action
|
|||
$newrpCntInfo->appendChild($newcntAddress);
|
||||
$newdelPoint=$dom->createElement('delPoint',$replace['delpoint']);
|
||||
$newcntAddress->appendChild($newdelPoint);
|
||||
$newcity=$dom->createElement('city',$replace['city']);
|
||||
$newcntAddress->appendChild($newcity);
|
||||
$newarea=$dom->createElement('adminArea',$replace['adminarea']);
|
||||
$newcntAddress->appendChild($newarea);
|
||||
$newpostCode=$dom->createElement('postCode',$replace['postcode']);
|
||||
$newcntAddress->appendChild($newpostCode);
|
||||
$newcountry=$dom->createElement('country',$replace['country']);
|
||||
$newcntAddress->appendChild($newcountry);
|
||||
$neweMailAdd=$dom->createElement('eMailAdd',$replace['email']);
|
||||
$newcntAddress->appendChild($neweMailAdd);
|
||||
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
<li><label>姓名:</label><input type="text" name="name" value="<?= $this->formdata['name'] ?>"></li>
|
||||
<li><label>单位:</label><input type="text" name="unit" value="<?= $this->formdata['unit'] ?>"></li>
|
||||
<li><label>地址:</label><input type="text" name="delpoint" value="<?= $this->formdata['delpoint'] ?>"></li>
|
||||
<li><label>City:</label><input type="text" name="city" value="<?= $this->formdata['city'] ?>"></li>
|
||||
<li><label>Province:</label><input type="text" name="adminarea" value="<?= $this->formdata['adminarea'] ?>"></li>
|
||||
<li><label>Country:</label><input type="text" name="country" value="<?= $this->formdata['country'] ?>"></li>
|
||||
<li><label>邮编:</label><input type="text" name="postcode" value="<?= $this->formdata['postcode'] ?>"></li>
|
||||
<li><label>电话:</label><input type="text" name="voicenum" value="<?= $this->formdata['voicenum'] ?>"></li>
|
||||
<li><label>邮箱:</label><input type="text" name="email" value="<?= $this->formdata['email'] ?>"></li>
|
||||
|
|
Loading…
Reference in New Issue