Permalink
Browse files

0.21.1

- "mobile support" option now is deactivable
- Minor changes in mobile style
- screenshot.png rimpicciolito (max 320x240)
- inserite info nel footer.php (ff version, wp version, language)
  • Loading branch information...
1 parent 44312dc commit 45a7f6a24b105cdcdd5113c20607116c9391f4cf @jimo jimo committed Apr 26, 2011
Showing with 25 additions and 8 deletions.
  1. +8 −5 css/mobile-style.css
  2. +3 −0 footer.php
  3. +1 −1 functions.php
  4. +1 −0 languages/fastfood.pot
  5. +11 −1 readme.php
  6. BIN screenshot.png
  7. +1 −1 style.css
View
@@ -31,6 +31,7 @@ a:focus,
.current_page_item a:hover,
.current-cat a:hover {
color: #ff4500;
+ background: #aaa;
}
h1,
h2,
@@ -257,11 +258,13 @@ input[type=reset]:hover {
margin: 0;
padding: 0;
}
-#mainmenu > li{
+#mainmenu li{
float: left;
+}
+#mainmenu > li{
width: 50%;
}
-#mainmenu > li a{
+#mainmenu li a{
text-align: center;
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
@@ -276,11 +279,11 @@ input[type=reset]:hover {
padding: 5px;
margin: 2px 5px;
}
-#mainmenu > li a:focus,
-#mainmenu > li a:hover {
+#mainmenu li a:focus,
+#mainmenu li a:hover {
background-color: #aaa;
}
-#mainmenu > li > ul {
+#mainmenu li ul {
display: none;
}
.ff-menu {
View
@@ -273,6 +273,9 @@
</div>
</div><!-- close main -->
+ <!-- Fastfood version: <?php global $fastfood_version; echo ( !empty( $fastfood_version ) ) ? $fastfood_version : 'unknown' ; ?>
+ Wordpress version: <?php echo get_bloginfo ( 'version' ); ?>
+ Language: <?php echo get_bloginfo ( 'language' ); ?> -->
<?php wp_footer(); ?>
</body>
View
@@ -28,7 +28,7 @@
function fastfood_mobile_device_detect() {
global $fastfood_opt;
$user_agent = $_SERVER['HTTP_USER_AGENT'];
- if ( ( !isset( $fastfood_opt['fastfood_mobile_css'] ) || ( $fastfood_opt['fastfood_mobile_css'] = 1) ) && preg_match( '/(ipad|ipod|iphone|android|opera mini|blackberry|palm|symbian|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine|iris|3g_t|windows ce|opera mobi|windows ce; smartphone;|windows ce; iemobile|mini 9.5|vx1000|lge |m800|e860|u940|ux840|compal|wireless| mobi|ahong|lg380|lgku|lgu900|lg210|lg47|lg920|lg840|lg370|sam-r|mg50|s55|g83|t66|vx400|mk99|d615|d763|el370|sl900|mp500|samu3|samu4|vx10|xda_|samu5|samu6|samu7|samu9|a615|b832|m881|s920|n210|s700|c-810|_h797|mob-x|sk16d|848b|mowser|s580|r800|471x|v120|rim8|c500foma:|160x|x160|480x|x640|t503|w839|i250|sprint|w398samr810|m5252|c7100|mt126|x225|s5330|s820|htil-g1|fly v71|s302|-x113|novarra|k610i|-three|8325rc|8352rc|sanyo|vx54|c888|nx250|n120|mtk |c5588|s710|t880|c5005|i;458x|p404i|s210|c5100|teleca|s940|c500|s590|foma|samsu|vx8|vx9|a1000|_mms|myx|a700|gu1100|bc831|e300|ems100|me701|me702m-three|sd588|s800|8325rc|ac831|mw200|brew |d88|htc\/|htc_touch|355x|m50|km100|d736|p-9521|telco|sl74|ktouch|m4u\/|me702|8325rc|kddi|phone|lg |sonyericsson|samsung|240x|x320|vx10|nokia|sony cmd|motorola|up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|psp|treo)/i' , $user_agent ) ) { // there were other words for mobile detecting but this is enought ;-)
+ if ( ( !isset( $fastfood_opt['fastfood_mobile_css'] ) || ( $fastfood_opt['fastfood_mobile_css'] == 1) ) && preg_match( '/(ipad|ipod|iphone|android|opera mini|blackberry|palm|symbian|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine|iris|3g_t|windows ce|opera mobi|windows ce; smartphone;|windows ce; iemobile|mini 9.5|vx1000|lge |m800|e860|u940|ux840|compal|wireless| mobi|ahong|lg380|lgku|lgu900|lg210|lg47|lg920|lg840|lg370|sam-r|mg50|s55|g83|t66|vx400|mk99|d615|d763|el370|sl900|mp500|samu3|samu4|vx10|xda_|samu5|samu6|samu7|samu9|a615|b832|m881|s920|n210|s700|c-810|_h797|mob-x|sk16d|848b|mowser|s580|r800|471x|v120|rim8|c500foma:|160x|x160|480x|x640|t503|w839|i250|sprint|w398samr810|m5252|c7100|mt126|x225|s5330|s820|htil-g1|fly v71|s302|-x113|novarra|k610i|-three|8325rc|8352rc|sanyo|vx54|c888|nx250|n120|mtk |c5588|s710|t880|c5005|i;458x|p404i|s210|c5100|teleca|s940|c500|s590|foma|samsu|vx8|vx9|a1000|_mms|myx|a700|gu1100|bc831|e300|ems100|me701|me702m-three|sd588|s800|8325rc|ac831|mw200|brew |d88|htc\/|htc_touch|355x|m50|km100|d736|p-9521|telco|sl74|ktouch|m4u\/|me702|8325rc|kddi|phone|lg |sonyericsson|samsung|240x|x320|vx10|nokia|sony cmd|motorola|up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|psp|treo)/i' , $user_agent ) ) { // there were other words for mobile detecting but this is enought ;-)
return true;
} else {
return false;
View
@@ -1,5 +1,6 @@
msgid ""
msgstr ""
+"Project-Id-Version: Fastfood 0.21.1\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
View
@@ -1,6 +1,6 @@
<p>Fastfood - WordPress theme
<ul>
- <li>version: 0.21</li>
+ <li>version: 0.21.1</li>
</ul>
</p>
<p>Project page:
@@ -56,6 +56,16 @@
<li>the secondary menus (one on top of page and one above the footer widget area) support only one level of hierarchy</li>
</ul>
</p>
+<p>CHANGE LOG (FROM VERSION 0.21):
+ <ul>
+ <li>Fixes:
+ <ul>
+ <li>"mobile support" option now is deactivable</li>
+ <li>Minor changes in mobile style</li>
+ </ul>
+ </li>
+ </ul>
+</p>
<p>CHANGE LOG (FROM VERSION 0.20.2):
<ul>
<li>Adds:
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -2,7 +2,7 @@
Theme Name: Fastfood
Theme URI: http: //www.twobeers.net/annunci/tema-per-wordpress-fastfood
Description: Simple and clear theme with a lot of features, like a "quick links" menu, an "easy navigation" bar, the print preview, five integrated widgets ( "Social Links", "Popular Post", "Latest Activity", "Popular Categories" and "Latest comment authors" ) and many other. Fastfood has customizable header and background, one or two columns layout, up to five widgets areas and three menu. It supports custom menus, posts thumbnail, post formats ("gallery" and "aside") and also mobile devices, with a dedicated style. WP3.1 full compatible.
-Version: 0.21
+Version: 0.21.1
Tags: translation-ready, threaded-comments, custom-menu, custom-header, theme-options, fixed-width, two-columns, right-sidebar, white, silver, orange, light, sticky-post, custom-background, editor-style, rtl-language-support
Author: TwoBeers Crew
Author URI: http: //www.twobeers.net/

0 comments on commit 45a7f6a

Please sign in to comment.