mirror of
https://github.com/openvk/openvk
synced 2024-11-14 19:19:14 +03:00
parent
8c44721a1e
commit
33df6ef170
2 changed files with 12 additions and 1 deletions
|
@ -147,6 +147,9 @@ final class UserPresenter extends OpenVKPresenter
|
||||||
|
|
||||||
$user->setPseudo(empty($this->postParam("pseudo")) ? NULL : $this->postParam("pseudo"));
|
$user->setPseudo(empty($this->postParam("pseudo")) ? NULL : $this->postParam("pseudo"));
|
||||||
$user->setStatus(empty($this->postParam("status")) ? NULL : $this->postParam("status"));
|
$user->setStatus(empty($this->postParam("status")) ? NULL : $this->postParam("status"));
|
||||||
|
$user->setHometown(empty($this->postParam("hometown")) ? NULL : $this->postParam("hometown"));
|
||||||
|
|
||||||
|
|
||||||
if (strtotime($this->postParam("birthday")) < time())
|
if (strtotime($this->postParam("birthday")) < time())
|
||||||
$user->setBirthday(strtotime($this->postParam("birthday")));
|
$user->setBirthday(strtotime($this->postParam("birthday")));
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,14 @@
|
||||||
<input type="text" name="status" value="{$user->getStatus()}" />
|
<input type="text" name="status" value="{$user->getStatus()}" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="120" valign="top">
|
||||||
|
<span class="nobold">{_"hometown"}: </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="hometown" value="{$user->getHometown()}" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="120" valign="top">
|
<td width="120" valign="top">
|
||||||
<span class="nobold">{_"relationship"}: </span>
|
<span class="nobold">{_"relationship"}: </span>
|
||||||
|
|
Loading…
Reference in a new issue