Recent Topics

1 May 24, 2005 01:55    

Just a little language and image border fix for the Bluesky skin in 0.9.0.12:


diff -u b2evolution/blogs/skins/bluesky/_main.php.orig b2evolution/blogs/skins/bluesky/_main.php
--- b2evolution/blogs/skins/bluesky/_main.php.orig	2004-07-05 00:24:40.000000000 -0700
+++ b2evolution/blogs/skins/bluesky/_main.php	2005-05-23 16:27:34.000000000 -0700
@@ -168,7 +168,7 @@
 <h4>Search&nbsp;:</h4>
 <?php form_formstart( $Blog->dget( 'blogurl', 'raw' ), '', '', 'get', 'searchform' ) ?>
 	<input id="rechercher" size="15" name="s" />
-	<input type="submit" value="envoyer" name="submit" />
+	<input type="submit"  value="<?php echo T_('Search') ?>" name="submit" />
 </form>
 
 
@@ -233,7 +233,7 @@
 	<li><a href="<?php $Blog->disp( 'rdf_url', 'raw' ) ?>">RSS 1.0 (RDF)</a></li>
 	<li><a href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>">RSS 2.0 (Userland)</a></li>
 	<li><a href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>">Atom 0.3</a></li>
-  <li><a href="http://validator.w3.org/check/referer">XHTML valide</a> 
+  <li><a href="http://validator.w3.org/check/referer">valid XHTML</a> 
 </li>
 </ul>
 
diff -u b2evolution/blogs/skins/bluesky/cielbleu.css.orig b2evolution/blogs/skins/bluesky/cielbleu.css
--- b2evolution/blogs/skins/bluesky/cielbleu.css.orig	2004-06-30 20:49:58.000000000 -0700
+++ b2evolution/blogs/skins/bluesky/cielbleu.css	2005-05-23 16:28:53.000000000 -0700
@@ -152,6 +152,10 @@
 	border: none;
 	vertical-align: middle;
 }
+img.middle
+{
+	border: 0px;
+}
 .baseline
 {
 	border-top: 1px solid #FFFFFF;

Cheers,
-Joe

2 May 24, 2005 04:29

One more patch to hide the skin change dropdown if the user is not allowed to change skins.


diff -u b2evolution/blogs/skins/bluesky/_main.php.orig blogs/skins/bluesky/_main.php
--- b2evolution/blogs/skins/bluesky/_main.php.orig  2004-07-05 00:24:40.000000000 -0700
+++ b2evolution/blogs/skins/bluesky/_main.php       2005-05-23 19:11:44.000000000 -0700
@@ -172,6 +172,7 @@
 </form>
 
-
+<?php if( ! $Blog->get('force_skin') )
+{       // Is skin switching is allowed for this blog ?>
 <?php form_formstart( $Blog->dget( 'blogurl', 'raw' ), '', '', 'get', 'switcher' ) ?>
        <fieldset><label for=set><h4><?php echo T_('Choose a skin') ?>&nbsp;:</h4></label> 
        <select id=set name="skin">
@@ -190,6 +191,7 @@
        <input type="submit" value="Ok" /> 
        </fieldset>
 </form>
+<?php } ?>
 
 
 <h4><?php echo T_('Archives') ?>&nbsp;:</h4>

Cheers,
-Joe


Form is loading...