[pLog-svn] r5051 - templates/branches/lifetype-1.2/Blix

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Mar 11 18:10:27 EDT 2007


Author: oscar
Date: 2007-03-11 18:10:27 -0400 (Sun, 11 Mar 2007)
New Revision: 5051

Removed:
   templates/branches/lifetype-1.2/Blix/commentform.template
Modified:
   templates/branches/lifetype-1.2/Blix/spring_flavour.css
Log:
Forced template to use the global commentform.template, and adjusted the styles.


Deleted: templates/branches/lifetype-1.2/Blix/commentform.template
===================================================================
--- templates/branches/lifetype-1.2/Blix/commentform.template	2007-03-11 22:00:21 UTC (rev 5050)
+++ templates/branches/lifetype-1.2/Blix/commentform.template	2007-03-11 22:10:27 UTC (rev 5051)
@@ -1,43 +0,0 @@
-<div id="commentsform">
-
-<form action="{$url->getIndexUrl()}" method="post" id="commentform">
-		<fieldset>
-
-{dynamic}	
-<p>
-<label for="author">{$locale->pr("comment_username")}</label>
-{if $authuser}
-	<input type="text" name="userName" id="author" value="{if $authuser}{$authuser->getUsername()}{/if}" tabindex="1" readonly="readonly" />
-{else}
-    <input type="text" name="userName" id="author" value="" tabindex="1"  />
-{/if}
- <em>Required</em>
-</p>
-
-<p>
-<label for="email">Email</label> 
-<input type="text" name="userEmail" id="email" value="" tabindex="2" /> <em>Required, hidden</em>
-</p>
-
-<p>
-<label for="url">Url</label> 
-<input type="text" name="userUrl" id="url" value="" tabindex="3" />
-</p>
-
-<p>
-<label for="commentTopic">{$locale->pr("comment_topic")}</label> 
-<input type="text" name="commentTopic" id="commentTopic" value="{$topic}" tabindex="4" />
-</p>
-{/dynamic}
-
-<p><label for="comment">{$locale->pr("comment_text")}</label> <textarea name="commentText" id="comment" cols="45" rows="10" tabindex="5"></textarea></p>
-<p><input type="hidden" name="comment_post_ID" value="1" />
-<input type="hidden" name="op" value="AddComment"/>
-<input type="hidden" name="articleId" value="{$post->getId()}"/>
-<input type="hidden" name="blogId" value="{$blog->getId()}"/>
-<input type="hidden" name="parentId" value="{$parentId}"/>
-<input type="submit" name="submit" value="Submit" class="button" tabindex="6" /></p>
-
-	  	</fieldset>
-		</form>
-</div>

Modified: templates/branches/lifetype-1.2/Blix/spring_flavour.css
===================================================================
--- templates/branches/lifetype-1.2/Blix/spring_flavour.css	2007-03-11 22:00:21 UTC (rev 5050)
+++ templates/branches/lifetype-1.2/Blix/spring_flavour.css	2007-03-11 22:10:27 UTC (rev 5051)
@@ -166,21 +166,34 @@
 --------------------------------------------------*/
 form p {border-color:white;}
 
-form label { color:#6C8C37;}
+#CommentForm label {
+	width:13em;
+	float:left;
+	display:block;
+	clear:both; 
+	float:left;
+	margin-top:8px;
+	margin-bottom:0px;
+	color:#6C8C37;	
+}
 
-form em {color:#C8C8B4;}
+#CommentForm input {
+	margin-top:
+	8px;margin-bottom:8px;
+	color:#414141;	
+}
 
-form input {color:#414141;}
-
-form input, form textarea {
+#CommentForm input, #CommentForm textarea {
   border-color:#DCDCDC #F0F0F0 #F0F0F0 #DCDCDC;
 }
 
-form .button {
-  border-color:white #DCDCDC #DCDCDC white;
-  background-color:#F0F0F0;
+#CommentForm img {
+	float:left;
 }
 
+#CommentForm #Submit {
+	clear:left;
+}
 
 /* Archives
 --------------------------------------------------*/



More information about the pLog-svn mailing list