[pLog-svn] r551 - plog/trunk/templates/admin
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sun Dec 19 17:45:24 GMT 2004
Author: oscar
Date: 2004-12-19 17:45:24 +0000 (Sun, 19 Dec 2004)
New Revision: 551
Modified:
plog/trunk/templates/admin/usersettings.template
Log:
added some small css tweak so that the user picture appears centered on the block on the right
Modified: plog/trunk/templates/admin/usersettings.template
===================================================================
--- plog/trunk/templates/admin/usersettings.template 2004-12-19 17:20:34 UTC (rev 550)
+++ plog/trunk/templates/admin/usersettings.template 2004-12-19 17:45:24 UTC (rev 551)
@@ -54,11 +54,11 @@
<label for="userPictureId">{$locale->tr("user_picture")}</label>
<div class="formHelp">{$locale->tr("user_picture")}</div>
{if $user->hasPicture()}
- {assign var=userPicture value=$user->getPicture()}
- {assign var=imgInfo value=$userPicture->getMetadataReader()}
- <img alt="Picture" src="{$url->resourcePreviewLink($userPicture)}" id="userPicture" />
+ {assign var=userPicture value=$user->getPicture()}
+ {assign var=imgInfo value=$userPicture->getMetadataReader()}
+ <img alt="Picture" src="{$url->resourcePreviewLink($userPicture)}" id="userPicture" style="display:block;margin-left:auto;margin-right:auto" />
{else}
- <img alt="Picture" src="imgs/no-user-picture.jpg" id="userPicture" />
+ <img alt="Picture" src="imgs/no-user-picture.jpg" id="userPicture" style="display:block;margin-left:auto;margin-right:auto"/>
{/if}
<br/>
<a href="javascript:userPictureSelectWindow();">{$locale->tr("select")}...</a>
More information about the pLog-svn
mailing list