FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 08-04-2010, 05:00 AM
Darren VanBuren
 
Default WP MU theme patch for small screens

Comment forms on blogs.fp.o overflow to the right on screens 1024px
wide and smaller.

This patch makes the form fit well on these smaller screens.

diff --git a/themes/wordpress-mu-theme-fedora/comments.php
b/themes/wordpress-mu-theme-fedora/comments.php
index bf02bed..0ad2295 100644
--- a/themes/wordpress-mu-theme-fedora/comments.php
+++ b/themes/wordpress-mu-theme-fedora/comments.php
@@ -60,7 +60,7 @@

<!--<p><small><strong>XHTML:</strong> <?php printf(__('You can use
these tags: %s'), allowed_tags()); ?></small></p>-->

-<p><textarea name="comment" id="comment" cols="100%" rows="10"
tabindex="4"></textarea></p>
+<p><textarea name="comment" id="comment" cols="75%" rows="10"
tabindex="4"></textarea></p>

<p><input name="submit" type="submit" id="submit" tabindex="5"
value="<?php echo attribute_escape(__('Submit Comment')); ?>" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />


Darren L. VanBuren
=====================
http://theoks.net/
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 
Old 08-04-2010, 01:28 PM
Mike McGrath
 
Default WP MU theme patch for small screens

On Tue, 3 Aug 2010, Darren VanBuren wrote:

> Comment forms on blogs.fp.o overflow to the right on screens 1024px
> wide and smaller.
>
> This patch makes the form fit well on these smaller screens.
>

Looks fine to me, the valueX hosts aren't frozen at the moment

-Mike

> diff --git a/themes/wordpress-mu-theme-fedora/comments.php
> b/themes/wordpress-mu-theme-fedora/comments.php
> index bf02bed..0ad2295 100644
> --- a/themes/wordpress-mu-theme-fedora/comments.php
> +++ b/themes/wordpress-mu-theme-fedora/comments.php
> @@ -60,7 +60,7 @@
>
> <!--<p><small><strong>XHTML:</strong> <?php printf(__('You can use
> these tags: %s'), allowed_tags()); ?></small></p>-->
>
> -<p><textarea name="comment" id="comment" cols="100%" rows="10"
> tabindex="4"></textarea></p>
> +<p><textarea name="comment" id="comment" cols="75%" rows="10"
> tabindex="4"></textarea></p>
>
> <p><input name="submit" type="submit" id="submit" tabindex="5"
> value="<?php echo attribute_escape(__('Submit Comment')); ?>" />
> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
>
>
> Darren L. VanBuren
> =====================
> http://theoks.net/
> _______________________________________________
> infrastructure mailing list
> infrastructure@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure
>
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 

Thread Tools




All times are GMT. The time now is 01:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org