[pLog-svn] r4689 - plog/branches/lifetype-1.2/templates/LifeType

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Feb 4 09:42:56 EST 2007


Author: oscar
Date: 2007-02-04 09:42:56 -0500 (Sun, 04 Feb 2007)
New Revision: 4689

Removed:
   plog/branches/lifetype-1.2/templates/LifeType/commentform.template
Modified:
   plog/branches/lifetype-1.2/templates/LifeType/style.css
Log:
lifetype.net now uses the common commentform.template and some CSS to style it


Deleted: plog/branches/lifetype-1.2/templates/LifeType/commentform.template
===================================================================
--- plog/branches/lifetype-1.2/templates/LifeType/commentform.template	2007-02-04 13:58:01 UTC (rev 4688)
+++ plog/branches/lifetype-1.2/templates/LifeType/commentform.template	2007-02-04 14:42:56 UTC (rev 4689)
@@ -1,21 +0,0 @@
-<div class="postinput">
-<form action="{$url->getIndexUrl()}" method="post">
-<div>
-<input tabindex="1" id="subject" name="commentTopic" />
-<label for="subject"><small>{$locale->tr("comment_topic")}</small></label><br /><br />
-<input tabindex="2" id="author" name="userName" />
-<label for="author"><small>{$locale->tr("comment_username")}</small></label><br /><br />
-<input tabindex="3" id="email" name="userEmail" />
-<label for="email"><small>{$locale->tr("comment_email")}</small></label><br /><br />
-<input tabindex="4" id="url" name="userUrl" />
-<label for="url"><small>{$locale->tr("comment_url")}</small></label><br /><br />
-<textarea tabindex="5" id="text" name="commentText" rows="10" cols="50"></textarea><br /><br />
-<input style="font-weight: bold;" type="submit" name="post" value="&nbsp;{$locale->tr("comment_send")}&nbsp;" /><br /><br />
-<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}"/>
-</div>
-</form>
-</div>
-

Modified: plog/branches/lifetype-1.2/templates/LifeType/style.css
===================================================================
--- plog/branches/lifetype-1.2/templates/LifeType/style.css	2007-02-04 13:58:01 UTC (rev 4688)
+++ plog/branches/lifetype-1.2/templates/LifeType/style.css	2007-02-04 14:42:56 UTC (rev 4689)
@@ -287,22 +287,6 @@
 	width: 130px;
 	}
 
-#commentform input {
-	width: 170px;
-	padding: 2px;
-	margin: 5px 5px 1px 0;
-	}
-
-#commentform textarea {
-	width: 100%;
-	padding: 2px;
-}
-
-#commentform #submit {
-	margin: 0;
-	float: right;
-}
-
 .alt {
 	margin: 0;
 	padding: 10px;
@@ -434,6 +418,8 @@
 	text-decoration: underline;    
 }
 
+/** form **/
+
 input, textarea {
 	color: inherit;
 	background-color: #FFF;
@@ -442,4 +428,40 @@
 
 input:focus, textarea:focus {
 	border: 1px solid #06c;
+}
+
+#CommentForm fieldset {
+	border: 0px;
+}
+
+#CommentForm legend {
+	display: none;
+}
+
+#CommentForm input {
+	width: 170px;
+	padding: 2px;
+	margin: 5px 5px 1px 0;
+	}
+
+#CommentForm textarea {
+	padding: 2px;
+}
+
+#CommentForm label {
+	width:150px;
+	display:block;
+	clear:both; 
+	float:left;
+	margin-top:8px;
+	margin-bottom:0px;
+}
+
+#CommentForm #Submit {
+       margin: 5px;
+}
+
+#CommentForm #Add {
+	float: right;
+	clear:both;
 }
\ No newline at end of file



More information about the pLog-svn mailing list