[pLog-svn] r520 - plog/trunk/templates/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Fri Dec 17 14:40:50 GMT 2004


Author: oscar
Date: 2004-12-17 14:40:50 +0000 (Fri, 17 Dec 2004)
New Revision: 520

Modified:
   plog/trunk/templates/admin/usersettings.template
Log:
the user picture is now displayed on the right top corner of the form, it kinda looks better :)


Modified: plog/trunk/templates/admin/usersettings.template
===================================================================
--- plog/trunk/templates/admin/usersettings.template	2004-12-17 14:29:02 UTC (rev 519)
+++ plog/trunk/templates/admin/usersettings.template	2004-12-17 14:40:50 UTC (rev 520)
@@ -11,6 +11,7 @@
         {include file="$admintemplatepath/errormessage.template" message=$viewErrorMessage}
      {/if}
 
+     <div style="float:left;width:76%;border-right:1px solid #DEDEDE";>
       <div class="field">
         <label for="userName">{$locale->tr("username")}</label>
         <input type="text" class="readOnly" readonly="readonly" value="{$user->getUsername()}" />
@@ -23,21 +24,6 @@
       </div>
 
      <div class="field">
-       <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" />
-       {else}
-	 <img alt="Picture" src="imgs/no-user-picture.jpg" id="userPicture" />	
-       {/if}
-       <br/>
-       <a href="javascript:userPictureSelectWindow();">{$locale->tr("select")}...</a>
-       <input type="hidden" name="userPictureId" value="{$user->getPictureId()}" />
-     </div>
-
-     <div class="field">
        <label for="userPassword">{$locale->tr("password")}</label>
        <div class="formHelp">{$locale->tr("empty_no_change")}</div>
        <input type="password" name="userPassword" value="{$userPassword}"/>
@@ -61,6 +47,24 @@
        <div class="formHelp">{$locale->tr("bio")}</div>
        <textarea cols="60" rows="10" name="userAbout">{$userAbout}</textarea>
      </div>
+    </div>
+
+    <div style="width:20%;float:left;margin-left:18px;">
+     <div class="field">
+       <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" />
+       {else}
+	 <img alt="Picture" src="imgs/no-user-picture.jpg" id="userPicture" />	
+       {/if}
+       <br/>
+       <a href="javascript:userPictureSelectWindow();">{$locale->tr("select")}...</a>
+       <input type="hidden" name="userPictureId" value="{$user->getPictureId()}" />
+     </div>
+    </div>
     </fieldset>
 
     <div class="buttons">




More information about the pLog-svn mailing list