mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +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->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())
|
||||
$user->setBirthday(strtotime($this->postParam("birthday")));
|
||||
|
||||
|
|
|
@ -80,6 +80,14 @@
|
|||
<input type="text" name="status" value="{$user->getStatus()}" />
|
||||
</td>
|
||||
</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>
|
||||
<td width="120" valign="top">
|
||||
<span class="nobold">{_"relationship"}: </span>
|
||||
|
|
Loading…
Reference in a new issue