Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

0.33

changes as in change log
  • Loading branch information...
commit 157fc25efacec2e5207554657ae34dd9435a2c50 1 parent 51a3539
@jimo jimo authored
Showing with 1,768 additions and 1,785 deletions.
  1. +0 −1  attachment.php
  2. +4 −4 comments.php
  3. +42 −27 css/admin-options.css
  4. +3 −4 footer.php
  5. +62 −344 functions.php
  6. +3 −10 header.php
  7. BIN  images/follow/yfrog.png
  8. BIN  images/minibuttons.png
  9. BIN  images/qbarv.png
  10. +1 −1  js/admin-movegallerypage.dev.js
  11. +23 −14 js/admin-options.dev.js
  12. +1 −1  js/comment-reply.dev.js
  13. +1 −1  js/comment-reply.min.js
  14. +30 −2 js/fastfoodscript.dev.js
  15. +1 −1  js/fastfoodscript.min.js
  16. +60 −0 js/font-resize.dev.js
  17. +1 −0  js/font-resize.min.js
  18. +529 −485 languages/fastfood.pot
  19. BIN  languages/it_IT.mo
  20. +528 −485 languages/it_IT.po
  21. +18 −154 lib/admin.php
  22. +3 −3 lib/audio-player.php
  23. +9 −9 lib/gallery-editor.php
  24. +4 −4 lib/my-custom-background.php
  25. +250 −0 lib/quickbar.php
  26. +114 −211 lib/the_bird.php
  27. +18 −0 lib/widgets.php
  28. +4 −4 mobile/core-mobile.php
  29. +1 −1  mobile/footer-mobile.php
  30. +1 −3 one-column-page.php
  31. +0 −2  page.php
  32. +8 −2 readme.html
  33. +0 −2  single.php
  34. +49 −10 style.css
View
1  attachment.php
@@ -48,7 +48,6 @@
</div><!-- .entry-attachment -->
</div>
<?php fastfood_hook_after_post_content(); ?>
- <?php $ff_tmptrackback = get_trackback_url(); ?>
</div>
<?php fastfood_hook_after_post(); ?>
View
8 comments.php
@@ -4,12 +4,12 @@
echo '<div class="comment_tools" id="comments">' . __( 'Enter your password to view comments.','fastfood' ) . '</div>';
return;
}
- global $fastfood_opt, $ff_is_printpreview, $ff_is_mobile_browser, $ff_is_ie6;
+ global $fastfood_opt, $fastfood_is_printpreview, $fastfood_is_mobile, $fastfood_is_ie6;
?>
<?php if ( comments_open() ) { ?>
<div class="comment_tools" id="comments">
- <?php comments_number( __( 'No Comments','fastfood' ), __( '1 Comment','fastfood' ), __( '% Comments','fastfood' ) ); ?> - <a href="#respond" title="<?php _e( "Leave a comment",'fastfood' ); ?>" <?php if ( !$ff_is_printpreview && ( $fastfood_opt['fastfood_cust_comrep'] == 1 ) && !$ff_is_mobile_browser ) echo 'onclick="return addComment.viewForm()"'; ?> ><?php _e( "Leave a comment",'fastfood' ); ?></a>
+ <?php comments_number( __( 'No Comments','fastfood' ), __( '1 Comment','fastfood' ), __( '% Comments','fastfood' ) ); ?> - <a href="#respond" title="<?php _e( "Leave a comment",'fastfood' ); ?>" <?php if ( !$fastfood_is_printpreview && ( $fastfood_opt['fastfood_cust_comrep'] == 1 ) && !$fastfood_is_mobile ) echo 'onclick="return addComment.viewForm()"'; ?> ><?php _e( "Leave a comment",'fastfood' ); ?></a>
</div>
<?php
} elseif ( have_comments() ) { ?>
@@ -39,7 +39,7 @@
}
//if comments are open
if ( comments_open() ) {
- if ( !$ff_is_printpreview ) { //script not to be loaded in print preview
+ if ( !$fastfood_is_printpreview ) { //script not to be loaded in print preview
//define custom argoments for comment form
$ff_custom_args = array(
'comment_field' => '<p class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="7" style="width: 95%;max-width: 95%;" aria-required="true"></textarea></p>',
@@ -52,7 +52,7 @@
//output comment form
comment_form($ff_custom_args);
- if ( ( $fastfood_opt['fastfood_cust_comrep'] == 1 ) && !$ff_is_mobile_browser && !$ff_is_ie6 ) { // disable custom script if default comment-reply is in use ?>
+ if ( ( $fastfood_opt['fastfood_cust_comrep'] == 1 ) && !$fastfood_is_mobile && !$fastfood_is_ie6 ) { // disable custom script if default comment-reply is in use ?>
<script type="text/javascript">
/* <![CDATA[ */
addComment.resetForm();
View
69 css/admin-options.css
@@ -6,12 +6,12 @@ input[type="checkbox"], input[type="radio"] {
input[type="radio"] {
margin-left: 20px;
}
-#fastfood-infos ul {
+#theme-infos ul {
list-style: disc outside;
margin-left: 30px;
}
-#fastfood-options,
-#fastfood-infos {
+#theme-options,
+#theme-infos {
background: #f9f9f9;
box-shadow: 0px 2px 8px #999;
margin: 0;
@@ -21,18 +21,18 @@ input[type="radio"] {
#tabs-container {
margin: 20px 20px 20px 150px;
}
-#ff-tabselector,
+#tabselector,
#selector {
position: absolute;
top: 100px;
left: 0;
}
-#ff-tabselector li,
+#tabselector li,
#selector li {
width: 130px;
padding: 3px 16px 3px 4px;
}
-#ff-tabselector li a,
+#tabselector li a,
#selector li a {
text-decoration: none;
}
@@ -44,7 +44,7 @@ input[type="radio"] {
font-weight: bold;
background: url("../images/litem_rtl.png") no-repeat 135px center transparent;
}
-#ff-main-wrap {
+#main-wrap {
position: relative;
}
.stylediv {
@@ -57,57 +57,72 @@ input[type="radio"] {
font-weight: bold;
font-size: 1.1em;
}
-.ff-sub-opt-nam {
+.sub-opt-nam {
font-size: 11px;
font-weight: bold;
}
-.ff-sub-opt-des {
+.sub-opt-des {
font-style:italic;
font-size: 10px;
}
.column-des {
font-style:italic;
- border-top: 1px solid #eee;
font-size: 10px;
- margin-top: 10px;
+ margin-top: 4px;
}
.column-req {
border-top: 1px solid #eee;
margin-top: 10px;
color: #999;
}
-.color_preview_box {
- width:2em;
- border:1px solid #262626;
- cursor: crosshair;
-}
-.ff-tab-opt {
+.tab-opt {
padding: 10px;
border-bottom: 2px groove #fff;
}
-.ff-sub-opt {
+.sub-opt-wrap {
margin-top: 10px;
padding-top: 10px;
padding-left: 20px;
border-top: 1px solid #eee;
}
-.column-des + .ff-sub-opt {
+.column-des + .sub-opt {
border-top: none;
padding-top: 0;
}
-.ff-col-tools {
- margin-top: 10px;
+.sub-opt.type-col {
+ float: left;
+ margin: 0 20px 20px 0;
+ width: 260px;
position: relative;
}
-.ff_cp {
- background:#eee;
- border:1px solid #aaa;
+.col-tools {
+ border: 1px solid #DFDFDF;
+ padding: 10px;
+ background-color: #fff;
+}
+
+.col-tools span {
+ font-weight: bold;
+}
+.color_preview_box {
+ width:80px;
+ height:80px;
+ float: left;
+ cursor: crosshair;
+}
+.col-tools input {
+ margin: 0 10px 0 0;
+}
+.option_cp {
+ background:#828c95;
+ background: -moz-linear-gradient(-45deg, #c6c6c6 0%, #828c95 36%, #3a3a3a 100%); /* FF3.6+ */
+ border-radius: 0 100px 100px 100px;
position:absolute;
display:none;
- top: 25px;
- left: 31px;
+ top: 70px;
+ left: 55px;
z-index: 500;
- box-shadow: 0 0 2px #777;
+ box-shadow: 0 0 2px #000;
}
.farbtastic .wheel {
left: 0;
View
7 footer.php
@@ -1,4 +1,4 @@
-<?php global $current_user, $fastfood_opt, $fastfood_version, $post, $ff_is_printpreview; ?>
+<?php global $current_user, $fastfood_opt, $fastfood_version, $post, $fastfood_is_printpreview; ?>
<!-- begin footer -->
<?php fastfood_hook_before_footer(); ?>
@@ -10,7 +10,7 @@
&copy; <?php echo date( 'Y' ); ?> <strong><?php bloginfo( 'name' ); ?></strong> <?php _e( 'All rights reserved','fastfood' ); ?>
<?php if ( ( !isset( $fastfood_opt['fastfood_mobile_css'] ) || ( $fastfood_opt['fastfood_mobile_css'] == 1) ) ) echo '<span class="hide_if_print"> - <a href="' . home_url() . '?mobile_override=mobile">'. __('Mobile View','fastfood') .'</a></span>'; ?>
<small id="credits">
- <?php if ( $fastfood_opt['fastfood_tbcred'] == 1 ) { ?>Fastfood theme by <a href="http://www.twobeers.net/" title="<?php _e( 'Visit author homepage','fastfood' ); ?> @ TwoBeers.net">TwoBeers Crew</a> - Powered by <a href="http://wordpress.org/" title="<?php _e( 'Powered by WordPress','fastfood' ); ?>">WordPress</a><?php } ?>
+ <?php if ( $fastfood_opt['fastfood_tbcred'] == 1 ) { printf( __( 'Fastfood theme by %s - Powered by %s', 'fastfood' ), '<a target="_blank" href="http://www.twobeers.net/" title="' . __( 'Visit author homepage', 'fastfood' ) . ' @ TwoBeers.net">TwoBeers Crew</a>', '<a target="_blank" href="http://wordpress.org/" title="WordPress">WordPress</a>' ); } ?>
</small>
<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
@@ -25,7 +25,7 @@
<?php if ( $fastfood_opt['fastfood_navbuttons'] == 1 ) fastfood_navbuttons(); ?>
</div>
- <?php if ( $ff_is_printpreview ) { ?>
+ <?php if ( $fastfood_is_printpreview ) { ?>
<div id="close_preview">
<a id="close_button" title="<?php _e( 'Close','fastfood' ); ?>" href="<?php echo get_permalink( $post->ID ); ?>"><?php _e( 'Close','fastfood' ); ?></a>
<a href="javascript:window.print()" title="<?php _e( 'Print','fastfood' ); ?>" id="print_button" class="hide-if-no-js"><?php _e( 'Print','fastfood' ); ?></a>
@@ -40,7 +40,6 @@
global $fastfood_version;
echo ' | WP version - ' . get_bloginfo ( 'version' );
echo ' | WP language - ' . get_bloginfo ( 'language' );
- if ( phpversion() ) echo ' | PHP v' . phpversion();
foreach ( $fastfood_opt as $key => $val ) { echo ' | ' . $key . ' - ' . $val; };
?>
-->
View
406 functions.php
@@ -4,7 +4,6 @@
add_action( 'after_setup_theme', 'fastfood_setup' ); // Tell WordPress to run fastfood_setup() when the 'after_setup_theme' hook is run.
add_action( 'widgets_init', 'fastfood_widget_area_init' ); // Register sidebars by running fastfood_widget_area_init() on the widgets_init hook
add_action( 'wp_enqueue_scripts', 'fastfood_stylesheet' ); // Add stylesheets
-add_action( 'wp_head', 'fastfood_localize_js' ); // Add js localization
add_action( 'wp_enqueue_scripts', 'fastfood_scripts' ); // Add js animations
add_action( 'wp_footer', 'fastfood_init_scripts' );
add_action( 'wp_footer', 'fastfood_I_like_it_js' );
@@ -21,12 +20,13 @@
$fastfood_opt = get_option( 'fastfood_options' );
// check if is mobile browser
-$ff_is_mobile_browser = false;
+$fastfood_is_mobile = false;
// load modules (accordingly to http://justintadlock.com/archives/2010/11/17/how-to-load-files-within-wordpress-themes)
require_once( 'lib/the_bird.php' ); // load "the bird" core functions
require_once( 'mobile/core-mobile.php' ); // load mobile functions
require_once( 'lib/hooks.php' ); // load the custom hooks
+require_once( 'lib/quickbar.php' ); // load the quickbar functions
require_once( 'lib/gallery-editor.php' ); // load the gallery editor
require_once( 'lib/my-custom-background.php' ); // load the custom background feature
require_once( 'lib/header-image-slider.php' ); // load the custom header stuff
@@ -35,7 +35,7 @@
if ( $fastfood_opt['fastfood_custom_widgets'] == 1 ) require_once( 'lib/widgets.php' ); // load the custom widgets module
// check if is ie6
-$ff_is_ie6 = fastfood_ie6_detect();
+$fastfood_is_ie6 = fastfood_ie6_detect();
function fastfood_ie6_detect() {
if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 6' ) !== false ) && !( strpos( $_SERVER['HTTP_USER_AGENT'], 'Opera' ) !== false ) ) {
@@ -45,36 +45,15 @@ function fastfood_ie6_detect() {
}
}
-// check if in preview mode or not
-$ff_is_printpreview = fastfood_print_preview_detect();
-
-function fastfood_print_preview_detect() {
- if ( isset( $_GET['style'] ) && md5( $_GET['style'] ) == '8e77921d24c6f82c4bd783895e9d9cf1' ) { //print preview
- return true;
- } else {
- return false;
- }
-}
-
// Set the content width based on the theme's design
if ( ! isset( $content_width ) ) {
- if ( ! $ff_is_mobile_browser ) {
+ if ( ! $fastfood_is_mobile ) {
$content_width = 560;
} else {
$content_width = 300;
}
}
-// get theme version
-if ( function_exists( 'wp_get_theme' ) ) {
- $fastfood_theme = wp_get_theme( 'fastfood' );
- $fastfood_current_theme = wp_get_theme();
-} else { // Compatibility with versions of WordPress prior to 3.4.
- $fastfood_theme = get_theme( 'Fastfood' );
- $fastfood_current_theme = get_current_theme();
-}
-$fastfood_version = $fastfood_theme? $fastfood_theme['Version'] : '';
-
// is sidebar visible?
if ( !function_exists( 'fastfood_use_sidebar' ) ) {
function fastfood_use_sidebar() {
@@ -170,9 +149,9 @@ function fastfood_widget_area_init() {
// skip every sidebar if in print preview
if ( !function_exists( 'fastfood_get_sidebar' ) ) {
function fastfood_get_sidebar( $name = '' ) {
- global $ff_is_printpreview;
+ global $fastfood_is_printpreview;
- if ( $ff_is_printpreview ) return;
+ if ( $fastfood_is_printpreview ) return;
get_sidebar( $name );
@@ -187,54 +166,62 @@ function fastfood_deregister_styles() {
// Add stylesheets to page
if ( !function_exists( 'fastfood_stylesheet' ) ) {
function fastfood_stylesheet(){
- global $fastfood_opt, $fastfood_version, $ff_is_printpreview, $ff_is_mobile_browser, $ff_is_ie6;
- if ( is_admin() || $ff_is_mobile_browser ) return;
+ global $fastfood_opt, $fastfood_version, $fastfood_is_printpreview, $fastfood_is_mobile, $fastfood_is_ie6;
+
+ if ( is_admin() || $fastfood_is_mobile ) return;
+
// ie6 style
- if ( $ff_is_ie6 ) {
- wp_enqueue_style( 'ff_ie6-style', get_template_directory_uri() . '/css/ie6.css', false, $fastfood_version, 'screen' );
+ if ( $fastfood_is_ie6 ) {
+ wp_enqueue_style( 'fastfood-ie6', get_template_directory_uri() . '/css/ie6.css', false, $fastfood_version, 'screen' );
return;
}
//shows print preview / normal view
- if ( $ff_is_printpreview ) { //print preview
- wp_enqueue_style( 'ff_print-style-preview', get_template_directory_uri() . '/css/print.css', false, $fastfood_version, 'screen' );
- wp_enqueue_style( 'ff_general-style-preview', get_template_directory_uri() . '/css/print_preview.css', false, $fastfood_version, 'screen' );
+ if ( $fastfood_is_printpreview ) { //print preview
+ wp_enqueue_style( 'fastfood-print-preview', get_template_directory_uri() . '/css/print.css', false, $fastfood_version, 'screen' );
+ wp_enqueue_style( 'fastfood-general-preview', get_template_directory_uri() . '/css/print_preview.css', false, $fastfood_version, 'screen' );
} else { //normal view
if ( ( $fastfood_opt['fastfood_gallery_preview'] == 1 ) ) {
wp_enqueue_style( 'thickbox' );
}
- wp_enqueue_style( 'ff_general-style', get_stylesheet_uri(), false, $fastfood_version, 'screen' );
+ wp_enqueue_style( 'fastfood-general-style', get_stylesheet_uri(), false, $fastfood_version, 'screen' );
if ( $fastfood_opt['fastfood_wpadminbar_css'] == 1 ) {
- wp_enqueue_style( 'ff_adminbar-style', get_template_directory_uri() . '/css/wpadminbar.css' );
+ wp_enqueue_style( 'fastfood-adminbar', get_template_directory_uri() . '/css/wpadminbar.css' );
}
//google font
if ( $fastfood_opt['fastfood_google_font_family'] ) wp_enqueue_style( 'ff-google-fonts', 'http://fonts.googleapis.com/css?family=' . str_replace( ' ', '+' , $fastfood_opt['fastfood_google_font_family'] ) );
}
//print style
- wp_enqueue_style( 'ff_print-style', get_template_directory_uri() . '/css/print.css', false, $fastfood_version, 'print' );
+ wp_enqueue_style( 'fastfood-print-style', get_template_directory_uri() . '/css/print.css', false, $fastfood_version, 'print' );
}
}
// add scripts
if ( !function_exists( 'fastfood_scripts' ) ) {
function fastfood_scripts(){
- global $fastfood_opt, $ff_is_printpreview, $fastfood_version, $ff_is_mobile_browser, $ff_is_ie6;
+ global $fastfood_opt, $fastfood_is_printpreview, $fastfood_version, $fastfood_is_mobile, $fastfood_is_ie6;
if ( is_admin() ) return;
-
- if ( $ff_is_mobile_browser || $ff_is_printpreview ) return; //no scripts in print preview or mobile view
- if ( $ff_is_ie6 ) { // ie6 scripts
+ if ( $fastfood_is_mobile || $fastfood_is_printpreview ) return; //no scripts in print preview or mobile view
+
+ if ( $fastfood_is_ie6 ) { // ie6 scripts
if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); //standard comment-reply box
return;
}
if ( ( $fastfood_opt['fastfood_jsani'] == 1 ) ) {
wp_enqueue_script( 'jquery-ui-effects', get_template_directory_uri() . '/js/jquery-ui-effects-1.8.6.min.js', array( 'jquery' ), '1.8.6', false ); //fastfood js
- wp_enqueue_script( 'fastfoodscript', get_template_directory_uri() . '/js/fastfoodscript.dev.js', array( 'jquery' ), $fastfood_version, true ); //fastfood js
+ wp_enqueue_script( 'fastfood-script', get_template_directory_uri() . '/js/fastfoodscript.min.js', array( 'jquery' ), $fastfood_version, true ); //fastfood js
+ $data = array(
+ 'post_expander_wait' => __( 'Post loading, please wait...', 'fastfood' ),
+ 'quote_link_info' => esc_attr( __( 'Add selected text as a quote', 'fastfood' ) ),
+ 'quote_link_alert' => __( 'Nothing to quote. First of all you should select some text...', 'fastfood' )
+ );
+ wp_localize_script( 'fastfood-script', 'fastfood_l10n', $data );
}
if ( is_singular() ) {
if ( ( $fastfood_opt['fastfood_jsani'] == 1 ) && ( $fastfood_opt['fastfood_cust_comrep'] == 1 ) ) {
- wp_enqueue_script( 'ff-comment-reply', get_template_directory_uri() . '/js/comment-reply.min.js', array( 'jquery-ui-draggable' ), $fastfood_version, false ); //custom comment-reply pop-up box
+ wp_enqueue_script( 'fastfood-comment-reply', get_template_directory_uri() . '/js/comment-reply.min.js', array( 'jquery-ui-draggable' ), $fastfood_version, false ); //custom comment-reply pop-up box
} else {
wp_enqueue_script( 'comment-reply' ); //standard comment-reply box
}
@@ -248,7 +235,7 @@ function fastfood_scripts(){
// initialize scripts
if ( !function_exists( 'fastfood_init_scripts' ) ) {
function fastfood_init_scripts(){
- global $fastfood_opt, $ff_is_printpreview, $ff_is_mobile_browser, $ff_is_ie6;
+ global $fastfood_opt, $fastfood_is_printpreview, $fastfood_is_mobile, $fastfood_is_ie6;
?>
<script type="text/javascript">
@@ -261,7 +248,7 @@ function fastfood_init_scripts(){
/* ]]> */
</script>
- <?php if ( $ff_is_mobile_browser || $ff_is_printpreview || $ff_is_ie6 ) return; ?>
+ <?php if ( $fastfood_is_mobile || $fastfood_is_printpreview || $fastfood_is_ie6 ) return; ?>
<script type="text/javascript">
/* <![CDATA[ */
@@ -269,13 +256,18 @@ function fastfood_init_scripts(){
$('#post-widgets-area .widget:nth-child(odd)').css('clear', 'left');
$('#header-widget-area .widget:nth-child(3n+1)').css('clear', 'right');
$('#error404-widgets-area .widget:nth-child(odd)').css('clear', 'left');
- <?php if ( ( $fastfood_opt['fastfood_post_expand'] == 1 ) ) { ?>
- fastfoodAnimations.postexpander();<?php } ?>
- <?php if ( $fastfood_opt['fastfood_gallery_preview'] == 1 ) { ?>
+<?php if ( ( $fastfood_opt['fastfood_post_expand'] == 1 ) ) { ?>
+ fastfoodAnimations.postexpander();
+<?php } ?>
+<?php if ( $fastfood_opt['fastfood_gallery_preview'] == 1 ) { ?>
$('.storycontent a img').parent('a[href$=".jpg"],a[href$=".png"],a[href$=".gif"]').addClass('thickbox');
$('.storycontent .gallery').each(function() {
$('a[href$=".jpg"],a[href$=".png"],a[href$=".gif"]',$(this)).attr('rel', $(this).attr('id'));
- });<?php } ?>
+ });
+<?php } ?>
+<?php if ( ( $fastfood_opt['fastfood_quotethis'] == 1 ) && is_singular() ) { ?>
+ fastfoodAnimations.reply_link();
+<?php } ?>
});
/* ]]> */
</script>
@@ -293,120 +285,6 @@ function fastfood_init_scripts(){
}
}
-// show all categories list (redirect to allcat.php if allcat=y)
-if ( !function_exists( 'fastfood_allcat' ) ) {
- function fastfood_allcat () {
- global $ff_is_allcat_page;
- if( $ff_is_allcat_page ) {
- get_template_part( 'allcat' );
- exit;
- }
- }
-}
-
-// Get Recent Comments
-if ( !function_exists( 'fastfood_get_recentcomments' ) ) {
- function fastfood_get_recentcomments() {
- $comments = get_comments( 'status=approve&number=10&type=comment' ); // valid type values (not documented) : 'pingback','trackback','comment'
- if ( $comments ) {
- foreach ( $comments as $comment ) {
- //if( post_password_required( get_post( $comment->comment_post_ID ) ) ) { continue; } // uncomment to skip comments on protected posts. Hi Emma ;)
- $post = get_post( $comment->comment_post_ID );
- setup_postdata( $post );
-
- //trim the post title if > 35 chars
- $post_title_short = mb_strimwidth( get_the_title( $post->ID ), 0, 35, '&hellip;' );
-
- if ( post_password_required( $post ) ) {
- //hide comment author in protected posts
- $com_auth = __( 'someone', 'fastfood' );
- } else {
- //trim the comment author if > 20 chars
- $com_auth = mb_strimwidth( $comment->comment_author, 0, 20, '&hellip;' );
- }
-
- echo '<li>'. sprintf( __( '%s about %s', 'fastfood' ), $com_auth, '<a href="' . get_permalink( $post->ID ) . '#comment-' . $comment->comment_ID . '">' . $post_title_short . '</a>' ) . '<div class="preview">';
-
- if ( post_password_required( $post ) ) {
- echo '[' . __( 'No preview: this is a comment of a protected post', 'fastfood' ) . ']';
- } else {
- comment_excerpt( $comment->comment_ID );
- }
- echo '</div></li>';
- }
- } else {
- echo '<li>' . __( 'No comments yet.', 'fastfood' ) . '</li>';
- }
- wp_reset_postdata();
- }
-}
-
-
-// Get Recent Entries
-if ( !function_exists( 'fastfood_get_recententries' ) ) {
- function fastfood_get_recententries( $number = 10 ) {
- $r = new WP_Query( array( 'posts_per_page' => $number, 'no_found_rows' => true, 'post_status' => 'publish', 'ignore_sticky_posts' => true ) );
- if ( $r->have_posts() ) {
- while ( $r->have_posts() ) {
- $r->the_post();
-
- //trim the post title if > 35 chars
- $post_title_short = mb_strimwidth( get_the_title(), 0, 35, '&hellip;' );
-
- //trim the post author if > 20 chars
- $post_auth = mb_strimwidth( get_the_author(), 0, 20, '&hellip;' );
-
- echo '<li><a href="' . get_permalink() . '" title="' . the_title_attribute( array( 'echo' => 0 ) ) . '">' . $post_title_short . '</a> ' . sprintf( __( 'by %s', 'fastfood' ), $post_auth ) . '<div class="preview">';
- if ( post_password_required() ) {
- echo '<img class="alignleft wp-post-image" src="' . get_template_directory_uri() . '/images/lock.png" alt="thumb" />';
- echo '[' . __( 'No preview: this is a protected post', 'fastfood' ) . ']';
- } else {
- echo get_the_post_thumbnail( get_the_ID(), array( 50,50 ), array( 'class' => 'alignleft' ) );
- the_excerpt();
- }
- echo '</div></li>';
- }
- }
- wp_reset_postdata();
- }
-}
-
-// Get Categories List (with posts related)
-if ( !function_exists( 'fastfood_get_categories_wpr' ) ) {
- function fastfood_get_categories_wpr() {
- $args=array(
- 'orderby' => 'count',
- 'number' => 10,
- 'order' => 'DESC'
- );
- $categories=get_categories( $args );
- foreach( $categories as $category ) {
- echo '<li class="ql_cat_li"><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s", 'fastfood' ), $category->name ) . '" ' . '>' . $category->name . '</a> ( ' . $category->count . ')<div class="cat_preview"><div class="mentit">' . __( 'Recent Posts', 'fastfood' ) . '</div><ul class="solid_ul">';
- $tmp_cat_ID = $category->cat_ID;
- $post_search_args = array(
- 'numberposts' => 5,
- 'category' => $tmp_cat_ID,
- 'no_found_rows' => true
- );
- $lastcatposts = get_posts( $post_search_args );
- foreach( $lastcatposts as $post ) {
- setup_postdata( $post );
-
- $post_title = get_the_title( $post->ID );
- //trim the post title if > 35 chars
- $post_title_short = mb_strimwidth( $post_title, 0, 35, '&hellip;' );
-
- //trim the post author if > 20 chars
- $post_auth = mb_strimwidth( get_the_author(), 0, 20, '&hellip;' );
-
- echo '<li><a href="' . get_permalink( $post->ID ) . '" title="' . esc_attr( strip_tags( $post_title ) ) . '">' . $post_title_short . '</a> ' . __( 'by', 'fastfood' ) . ' ' . $post_auth . '</li>';
- }
- echo '</ul></div></li>';
- }
- wp_reset_postdata();
- }
-}
-
// Pages Menu
if ( !function_exists( 'fastfood_pages_menu' ) ) {
function fastfood_pages_menu() {
@@ -416,15 +294,6 @@ function fastfood_pages_menu() {
}
}
-// Pages Menu (mobile)
-if ( !function_exists( 'fastfood_pages_menu_mobile' ) ) {
- function fastfood_pages_menu_mobile() {
- echo '<div id="ff-pri-menu" class="ff-menu "><ul id="mainmenu" class="ff-group">';
- wp_list_pages( 'sort_column=menu_order&title_li=&depth=1' ); // menu-order sorted
- echo '</ul></div>';
- }
-}
-
// page hierarchy
if ( !function_exists( 'fastfood_multipages' ) ) {
function fastfood_multipages( $r_pos ){
@@ -619,134 +488,23 @@ function fastfood_extrainfo( $args = '' ) {
}
}
-//quickbar
-if ( !function_exists( 'fastfood_quickbar' ) ) {
- function fastfood_quickbar( $args = '' ) {
- global $post, $fastfood_opt, $current_user;
-
- wp_reset_postdata();
-
- $defaults = array( 'r_posts' => 1, 'p_categories' => 1, 'r_comments' => 1, 'user' => 1 );
- $args = wp_parse_args( $args, $defaults );
-
- ?>
-
-<!-- begin quickbar -->
-<div id="quickbar"<?php if ( $fastfood_opt['fastfood_statusbar'] == 0 ) echo ' class="no-status"'; ?>>
- <!-- quickbar tool - uncomment to use
- <div class="menutoolitem">
- <div class="itemimg menutool_trig" style="background-image: url( '<?php echo get_template_directory_uri(); ?>/images/qbartool.png' );"></div>
- <div class="menutool">[put here your code]</div>
- </div>
- quickbar tool -->
- <br />
- <?php if ( $args['r_posts'] && $fastfood_opt['fastfood_qbar_recpost'] == 1 ) { // recent posts menu ?>
- <div class="menuitem">
- <div id="mii_rpost" class="itemimg"></div>
- <div class="menuback">
- <div class="menulcont">
- <div class="mentit"><?php _e( 'Recent Posts', 'fastfood' ); ?></div>
- <ul class="solid_ul">
- <?php fastfood_get_recententries() ?>
- </ul>
- </div>
- </div>
- </div>
- <?php } ?>
- <?php if ( $args['p_categories'] && $fastfood_opt['fastfood_qbar_cat'] == 1 ) { // popular categories menu ?>
- <div class="menuitem">
- <div id="mii_pcats" class="itemimg"></div>
- <div class="menuback">
- <div class="menulcont">
- <div class="mentit"><?php _e( 'Categories', 'fastfood' ); ?></div>
- <ul class="solid_ul">
- <?php fastfood_get_categories_wpr(); ?>
- <li class="all_cat"><a title="<?php _e( 'View all categories', 'fastfood' ); ?>" href="<?php echo home_url(); ?>/?allcat=y"><?php _e( 'More...', 'fastfood' ); ?></a></li>
- </ul>
- </div>
- </div>
- </div>
- <?php } ?>
- <?php if ( $args['r_comments'] && $fastfood_opt['fastfood_qbar_reccom'] == 1 ) { //recent comments menu ?>
- <div class="menuitem">
- <div id="mii_rcomm" class="itemimg"></div>
- <div class="menuback">
- <div class="menulcont">
- <div class="mentit"><?php _e( 'Recent Comments', 'fastfood' ); ?></div>
- <ul class="solid_ul">
- <?php fastfood_get_recentcomments(); ?>
- </ul>
- </div>
- </div>
- </div>
- <?php } ?>
- <?php if ( $args['user'] && $fastfood_opt['fastfood_qbar_user'] == 1 ) { //user links menu ?>
- <div class="menuitem" id="user_menuback">
- <div id="mii_cuser" class="itemimg"></div>
- <div class="menuback">
- <div class="menulcont">
- <div class="mentit"><?php _e( 'User', 'fastfood' ); ?></div>
- <ul class="solid_ul">
- <li id="logged">
- <?php
- if ( is_user_logged_in() ) { //fix for notice when user not log-in
- get_currentuserinfo();
- $ff_email = $current_user->user_email;
- echo get_avatar( $ff_email, 50, $default=get_template_directory_uri() . '/images/user.png', 'user-avatar' );
- printf( __( 'Logged in as <a href="%1$s">%2$s</a>.', 'fastfood' ), admin_url( 'profile.php' ), '<strong>' . $current_user->display_name . '</strong>' );
- } else {
- echo get_avatar( 'dummyemail', 50, $default=get_template_directory_uri() . '/images/user.png', 'user-avatar' );
- echo __( 'Not logged in', 'fastfood' );
- }
- ?>
- </li>
- <?php if ( ! is_user_logged_in() || current_user_can( 'read' ) ) { wp_register(); }?>
- <?php if ( is_user_logged_in() ) { ?>
- <?php if ( current_user_can( 'read' ) ) { ?>
- <li><a href="<?php echo esc_url( admin_url( 'profile.php' ) ); ?>"><?php _e( 'Your Profile', 'fastfood' ); ?></a></li>
- <?php if ( current_user_can( 'publish_posts' ) ) { ?>
- <li><a title="<?php _e( 'Add New Post', 'fastfood' ); ?>" href="<?php echo esc_url( admin_url( 'post-new.php' ) ); ?>"><?php _e( 'Add New Post', 'fastfood' ); ?></a></li>
- <?php } ?>
- <?php if ( current_user_can( 'moderate_comments' ) ) {
- $ff_awaiting_mod = wp_count_comments();
- $ff_awaiting_mod = $ff_awaiting_mod->moderated;
- $ff_awaiting_mod = $ff_awaiting_mod ? ' (' . number_format_i18n( $ff_awaiting_mod ) . ')' : '';
- ?>
- <li><a title="<?php _e( 'Comments', 'fastfood' ); ?>" href="<?php echo esc_url( admin_url( 'edit-comments.php' ) ); ?>"><?php _e( 'Comments', 'fastfood' ); ?></a><?php echo $ff_awaiting_mod; ?></li>
- <?php } ?>
- <?php } ?>
- <li><a title="<?php _e( 'Log out', 'fastfood' ); ?>" href="<?php echo esc_url( wp_logout_url() ); ?>"><?php _e( 'Log out', 'fastfood' ); ?></a></li>
- <?php } ?>
- <?php if ( ! is_user_logged_in() ) {?>
- <?php fastfood_mini_login(); ?>
- <?php } ?>
- </ul>
- </div>
- </div>
- </div>
- <?php } ?>
-</div>
-
- <?php
- }
-}
-
//navigation bar
if ( !function_exists( 'fastfood_navbuttons' ) ) {
function fastfood_navbuttons( $args = '' ) {
- global $post, $fastfood_opt, $ff_is_allcat_page;
+ global $post, $fastfood_opt, $fastfood_is_allcat_page;
- $is_post = is_single() && !is_attachment() && !$ff_is_allcat_page;
- $is_image = is_attachment() && !$ff_is_allcat_page;
- $is_page = is_singular() && !is_single() && !is_attachment() && !$ff_is_allcat_page;
- $is_singular = is_singular() && !$ff_is_allcat_page;
+ wp_reset_postdata();
+
+ $is_post = is_single() && !is_attachment() && !$fastfood_is_allcat_page;
+ $is_image = is_attachment() && !$fastfood_is_allcat_page;
+ $is_page = is_singular() && !is_single() && !is_attachment() && !$fastfood_is_allcat_page;
+ $is_singular = is_singular() && !$fastfood_is_allcat_page;
$defaults = array( 'print' => 1, 'comment' => 1, 'feed' => 1, 'trackback' => 1, 'home' => 1, 'next_prev' => 1, 'up_down' => 1, 'fixed' => 1 );
$args = wp_parse_args( $args, $defaults );
?>
-<div id="navbuttons_cont">
<div id="navbuttons">
<?php // ------- Print -------
@@ -791,7 +549,7 @@ function fastfood_navbuttons( $args = '' ) {
<?php // ------- Trackback -------
if ( $fastfood_opt['fastfood_navbuttons_trackback'] && $args['trackback'] && $is_singular && pings_open() ) { ?>
<div class="minibutton">
- <a href="<?php global $ff_tmptrackback; echo $ff_tmptrackback; ?>" rel="trackback">
+ <a href="<?php echo get_trackback_url(); ?>" rel="trackback">
<span class="minib_img minib_track">&nbsp;</span>
</a>
<span class="nb_tooltip"><?php _e( 'Trackback URL', 'fastfood' ); ?></span>
@@ -841,7 +599,7 @@ function fastfood_navbuttons( $args = '' ) {
<?php } ?>
<?php // ------- Newer Posts -------
- if ( $fastfood_opt['fastfood_navbuttons_newold'] && $args['next_prev'] && !$is_singular && !$ff_is_allcat_page && get_previous_posts_link() ) { ?>
+ if ( $fastfood_opt['fastfood_navbuttons_newold'] && $args['next_prev'] && !$is_singular && !$fastfood_is_allcat_page && get_previous_posts_link() ) { ?>
<div class="minibutton nb-nextprev">
<?php previous_posts_link( '<span class="minib_img minib_ppages">&nbsp;</span>' ); ?>
<span class="nb_tooltip"><?php echo __( 'Newer Posts', 'fastfood' ); ?></span>
@@ -849,7 +607,7 @@ function fastfood_navbuttons( $args = '' ) {
<?php } ?>
<?php // ------- Older Posts -------
- if ( $fastfood_opt['fastfood_navbuttons_newold'] && $args['next_prev'] && !$is_singular && !$ff_is_allcat_page && get_next_posts_link() ) { ?>
+ if ( $fastfood_opt['fastfood_navbuttons_newold'] && $args['next_prev'] && !$is_singular && !$fastfood_is_allcat_page && get_next_posts_link() ) { ?>
<div class="minibutton nb-nextprev">
<?php next_posts_link( '<span class="minib_img minib_npages">&nbsp;</span>' ); ?>
<span class="nb_tooltip"><?php echo __( 'Older Posts', 'fastfood' ); ?></span>
@@ -877,7 +635,6 @@ function fastfood_navbuttons( $args = '' ) {
<?php } ?>
<div class="fixfloat"> </div>
</div>
-</div>
<?php
}
@@ -886,8 +643,9 @@ function fastfood_navbuttons( $args = '' ) {
//add "like" badges to post/page
if ( !function_exists( 'fastfood_I_like_it' ) ) {
function fastfood_I_like_it(){
- global $fastfood_opt, $post;
- if ( $fastfood_opt['fastfood_I_like_it'] == 0 ) return;
+ global $fastfood_opt, $fastfood_is_printpreview, $post;
+
+ if ( ( $fastfood_opt['fastfood_I_like_it'] == 0 ) || $fastfood_is_printpreview ) return;
if ( ( $fastfood_opt['fastfood_I_like_it_plus1'] == 0 ) && ( $fastfood_opt['fastfood_I_like_it_twitter'] == 0 ) && ( $fastfood_opt['fastfood_I_like_it_facebook'] == 0 ) && ( $fastfood_opt['fastfood_I_like_it_linkedin'] == 0 ) && ( $fastfood_opt['fastfood_I_like_it_stumbleupon'] == 0 ) && ( ( $fastfood_opt['fastfood_I_like_it_pinterest'] == 0 ) || ( ( $fastfood_opt['fastfood_I_like_it_pinterest'] == 1 ) && !is_attachment() ) ) ) return;
$pName = rawurlencode( get_the_title( $post->ID ) );
@@ -908,7 +666,9 @@ function fastfood_I_like_it(){
if ( !function_exists( 'fastfood_I_like_it_js' ) ) {
function fastfood_I_like_it_js(){
- global $fastfood_opt;
+ global $fastfood_opt, $fastfood_is_printpreview;
+
+ if ( ( $fastfood_opt['fastfood_I_like_it'] == 0 ) || $fastfood_is_printpreview ) return;
?>
<?php if ( $fastfood_opt['fastfood_I_like_it_plus1'] == 1 ) { ?>
<script type="text/javascript">
@@ -1081,9 +841,9 @@ function fastfood_setup_custom_header( $head_h ) {
// the custom header (filterable)
if ( !function_exists( 'fastfood_header' ) ) {
function fastfood_header(){
- global $ff_is_printpreview, $fastfood_opt;
+ global $fastfood_is_printpreview, $fastfood_opt;
- if ( $ff_is_printpreview )
+ if ( $fastfood_is_printpreview )
return $output = '
<div id="head">
<h1><a href="' . home_url() . '/">' . get_bloginfo( 'name' ) . '</a></h1>
@@ -1114,8 +874,8 @@ function fastfood_header(){
if ( !function_exists( 'fastfood_header_style' ) ) {
function fastfood_header_style(){
- global $ff_is_printpreview, $ff_is_mobile_browser, $fastfood_opt;
- if ( $ff_is_printpreview || $ff_is_mobile_browser ) return;
+ global $fastfood_is_printpreview, $fastfood_is_mobile, $fastfood_opt;
+ if ( $fastfood_is_printpreview || $fastfood_is_mobile ) return;
if ( ( 'blank' == get_header_textcolor() ) || ( $fastfood_opt['fastfood_head_link'] == 1 ) )
$style = 'display:none;';
@@ -1215,48 +975,6 @@ function fastfood_addgravatar( $avatar_defaults ) {
add_filter( 'avatar_defaults', 'fastfood_addgravatar' );
}
-// display a simple login form in quickbar
-if ( !function_exists( 'fastfood_mini_login' ) ) {
- function fastfood_mini_login() {
- global $fastfood_opt;
- $args = array(
- 'redirect' => home_url(),
- 'form_id' => 'ff-loginform',
- 'id_username' => 'ff-user_login',
- 'id_password' => 'ff-user_pass',
- 'id_remember' => 'ff-rememberme',
- 'id_submit' => 'ff-submit' );
- ?>
- <li class="ql_cat_li">
- <a title="<?php _e( 'Log in', 'fastfood' ); ?>" href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in', 'fastfood' ); ?></a>
- <?php if ( isset( $fastfood_opt['fastfood_qbar_minilogin'] ) && ( $fastfood_opt['fastfood_qbar_minilogin'] == 1 ) && ( !class_exists("siCaptcha") ) ) { ?>
- <div id="ff_minilogin_wrap" class="cat_preview">
- <div class="mentit"><?php _e( 'Log in', 'fastfood' ); ?></div>
- <div id="ff_minilogin" class="solid_ul">
- <?php wp_login_form($args); ?>
- <a id="closeminilogin" href="#"><?php _e( 'Close', 'fastfood' ); ?></a>
- </div>
- </div>
- <?php } ?>
- </li>
-
- <?php
- }
-}
-
-// localize js
-if ( !function_exists( 'fastfood_localize_js' ) ) {
- function fastfood_localize_js() {
- ?>
- <script type="text/javascript">
- /* <![CDATA[ */
- ff_post_expander_text = "<?php _e( 'Post loading, please wait...', 'fastfood' ); ?>";
- /* ]]> */
- </script>
- <?php
- }
-}
-
// custom image caption
if ( !function_exists( 'fastfood_img_caption_shortcode' ) ) {
function fastfood_img_caption_shortcode( $deprecated, $attr, $content = null ) {
@@ -1291,7 +1009,7 @@ function fastfood_admin_bar_plus() {
'id' => 'ff_theme_options',
'parent' => 'appearance',
'title' => __( 'Theme Options', 'fastfood' ),
- 'href' => get_admin_url() . 'themes.php?page=tb_fastfood_functions',
+ 'href' => get_admin_url() . 'themes.php?page=fastfood_theme_options',
'meta' => $add_menu_meta
) );
}
View
13 header.php
@@ -4,14 +4,7 @@
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
<meta name = "viewport" content = "width = device-width" />
- <title><?php
- if ( is_front_page() ) {
- bloginfo( 'name' ); ?> - <?php bloginfo( 'description' );
- } else {
- wp_title( '&laquo;', true, 'right' );
- bloginfo( 'name' );
- }
- ?></title>
+ <title><?php wp_title( '&laquo;', true, 'right' ); ?></title>
<?php global $fastfood_opt; ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_get_archives( 'type=monthly&format=link&limit=10' ); ?>
@@ -40,9 +33,9 @@
<?php fastfood_hook_after_pages(); ?>
</div>
<?php } ?>
-
+
<?php fastfood_get_sidebar( 'header' ); // show header widgets area ?>
-
+
<?php if(function_exists('bcn_display_list')) { //Breadcrumb NavXT native support ?>
<div id="navxt-crumbs"><ul><?php bcn_display_list(); ?></ul></div>
<?php } elseif ( $fastfood_opt['fastfood_breadcrumb'] == 1 ) { // show breadcrumb
View
BIN  images/follow/yfrog.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/minibuttons.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/qbarv.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2  js/admin-movegallerypage.dev.js
@@ -7,7 +7,7 @@ fastfoodMovePageLink = {
//initialize
init : function() {
- $('#menu-appearance a[href$="tb_fastfood_gallery_editor"]').parent('li').appendTo($('#menu-media ul'));
+ $('#menu-appearance a[href$="fastfood_gallery_editor"]').parent('li').appendTo($('#menu-media ul'));
}
View
37 js/admin-options.dev.js
@@ -10,7 +10,7 @@ fastfoodOptions = {
fastfoodOptions.switchTab('quickbar');
- $('.ff_input').keyup(function() {
+ $('.col-tools .option_text').keyup(function() {
var _hex = $(this).val();
var hex = _hex;
if ( hex.substr(0,1) != '#' )
@@ -20,18 +20,18 @@ fastfoodOptions = {
if ( hex != _hex )
$(this).val(hex);
if ( hex.length == 4 || hex.length == 7 )
- fastfoodOptions.updateColor( $(this).attr("id").replace('ff_input_', '') , hex );
+ fastfoodOptions.updateColor( $(this).attr("id").replace('option_color_input_', '') , hex );
});
$(document).mousedown(function(){
- $('.ff_cp').each( function() {
+ $('.option_cp').each( function() {
var display = $(this).css('display');
if (display == 'block')
$(this).fadeOut(200);
});
});
$('#to-defaults').click (function () {
- var answer = confirm(tb_l10n.confirm_to_defaults)
+ var answer = confirm(fastfood_l10n.confirm_to_defaults)
if (!answer){
return false;
}
@@ -41,28 +41,37 @@ fastfoodOptions = {
//update inputs value
updateColor : function (domid,color,txtcolor) {
- boxid = '#ff_box_' + domid;
- inputid = '#ff_input_' + domid;
+ boxid = '#option_color_box_' + domid;
+ inputid = '#option_color_input_' + domid;
$(boxid).css('background-color', color );
$(inputid).val(color);
},
// display the color picker
showColorPicker : function (domid) {
- placeholder = '#ff_colorpicker_' + domid;
+ placeholder = '#option_colorpicker_' + domid;
$(placeholder).fadeIn();
farbtastic = $.farbtastic(placeholder, function(color) { fastfoodOptions.updateColor(domid,color); });
- farbtastic.setColor($('#ff_input_' + domid).val());
+ farbtastic.setColor($('#option_color_input_' + domid).val());
},
//show only a set of rows
switchTab : function (thisset) {
- thisclass = '.ff-tabgroup-' + thisset;
- thissel = '#ff-selgroup-' + thisset;
- $('.ff-tab-opt').css({ 'display' : 'none' });
- $(thisclass).css({ 'display' : '' });
- $('#ff-tabselector li').removeClass("sel-active");
- $(thissel).addClass("sel-active");
+ if ( thisset != 'info' ) {
+ $('#theme-infos').css({ 'display' : 'none' });
+ $('#theme-options').css({ 'display' : '' });
+ thisclass = '.tabgroup-' + thisset;
+ thissel = '#selgroup-' + thisset;
+ $('.tab-opt').css({ 'display' : 'none' });
+ $(thisclass).css({ 'display' : '' });
+ $('#tabselector li').removeClass("sel-active");
+ $(thissel).addClass("sel-active");
+ } else {
+ $('#theme-infos').css({ 'display' : '' });
+ $('#theme-options').css({ 'display' : 'none' });
+ $('#tabselector li').removeClass("sel-active");
+ $('#selgroup-info').addClass("sel-active");
+ }
}
};
View
2  js/comment-reply.dev.js
@@ -77,7 +77,7 @@ addComment = {
if ( ! t.I('ff_reply_close') ) {
div = document.createElement('div');
div.id = 'ff_reply_close';
- div.innerHTML = '<input type="button" title="Close" value="x" onclick="return addComment.resetForm()" />';
+ div.innerHTML = '<input type="button" title="Close" value="" onclick="return addComment.resetForm()" />';
respond.insertBefore(div, replytitle);
}
},
View
2  js/comment-reply.min.js
@@ -1 +1 @@
-jQuery(document).ready(function($){$("#respond").appendTo("#content");$("#respond").draggable({handle:"#reply-title"})});addComment={moveForm:function(f,g,j,c){var o=this,a,i=o.I(f),b=o.I(j),n=o.I("cancel-comment-reply-link"),k=o.I("comment_parent"),m=o.I("comment_post_ID"),l=o.I("reply-title"),d=o.I("replytocomment");if(!i||!b||!n||!k||!d||!l){return}o.respondId=j;c=c||false;if(m&&c){m.value=c}k.value=g;l.innerHTML=d.value;l.appendChild(n);b.style.display="block";n.onclick=function(){var e=addComment,p=e.I(e.respondId);if(!p){return}e.I("comment_parent").value="0";this.onclick=null;p.style.display="none";return false};try{o.I("comment").focus()}catch(h){}return false},resetForm:function(){var a=addComment,d=a.I("respond"),c=a.I("cancel-comment-reply-link"),b=a.I("comment_parent");if(!c||!d){return}if(b){b.value="0"}c.onclick=null;d.style.display="none";d.className="js-res";return false},viewForm:function(){var c=addComment,g=c.I("respond"),d=c.I("cancel-comment-reply-link"),b=c.I("reply-title"),a=c.I("replytopost");if(!g||!d||!b){return false}addComment.resetForm();if(a){b.innerHTML=a.value}b.appendChild(d);g.style.display="block";try{c.I("comment").focus()}catch(f){}return false},addCloseButton:function(){var b=addComment,c=b.I("respond"),a=b.I("reply-title");if(!c||!a){return}if(!b.I("ff_reply_close")){div=document.createElement("div");div.id="ff_reply_close";div.innerHTML='<input type="button" title="Close" value="x" onclick="return addComment.resetForm()" />';c.insertBefore(div,a)}},I:function(a){return document.getElementById(a)}};
+jQuery(document).ready(function($){$("#respond").appendTo("#content");$("#respond").draggable({handle:"#reply-title"})});addComment={moveForm:function(f,g,j,c){var o=this,a,i=o.I(f),b=o.I(j),n=o.I("cancel-comment-reply-link"),k=o.I("comment_parent"),m=o.I("comment_post_ID"),l=o.I("reply-title"),d=o.I("replytocomment");if(!i||!b||!n||!k||!d||!l){return}o.respondId=j;c=c||false;if(m&&c){m.value=c}k.value=g;l.innerHTML=d.value;l.appendChild(n);b.style.display="block";n.onclick=function(){var e=addComment,p=e.I(e.respondId);if(!p){return}e.I("comment_parent").value="0";this.onclick=null;p.style.display="none";return false};try{o.I("comment").focus()}catch(h){}return false},resetForm:function(){var a=addComment,d=a.I("respond"),c=a.I("cancel-comment-reply-link"),b=a.I("comment_parent");if(!c||!d){return}if(b){b.value="0"}c.onclick=null;d.style.display="none";d.className="js-res";return false},viewForm:function(){var c=addComment,g=c.I("respond"),d=c.I("cancel-comment-reply-link"),b=c.I("reply-title"),a=c.I("replytopost");if(!g||!d||!b){return false}addComment.resetForm();if(a){b.innerHTML=a.value}b.appendChild(d);g.style.display="block";try{c.I("comment").focus()}catch(f){}return false},addCloseButton:function(){var b=addComment,c=b.I("respond"),a=b.I("reply-title");if(!c||!a){return}if(!b.I("ff_reply_close")){div=document.createElement("div");div.id="ff_reply_close";div.innerHTML='<input type="button" title="Close" value="" onclick="return addComment.resetForm()" />';c.insertBefore(div,a)}},I:function(a){return document.getElementById(a)}};
View
32 js/fastfoodscript.dev.js
@@ -203,7 +203,7 @@ fastfoodAnimations = {
$.ajax({
type: 'POST',
url: link.attr("href"),
- beforeSend: function(XMLHttpRequest) { link.html(ff_post_expander_text).addClass('ajaxed'); },
+ beforeSend: function(XMLHttpRequest) { link.html(fastfood_l10n.post_expander_wait).addClass('ajaxed'); },
data: 'ff_post_expander=1',
success: function(data) { link.parents(".storycontent").hide().html($(data)).fadeIn(600); }
});
@@ -248,10 +248,38 @@ fastfoodAnimations = {
return timId;
}
});
+ },
+
+ reply_link : function () {
+ htmltext = '<a id="tb-quotethis" href="#" onclick="fastfoodQuoteThis(); return false" title="' + fastfood_l10n.quote_link_info + '" >&nbsp;</a>'
+ $(htmltext).insertBefore('#comment');
}
};
$(document).ready(function($){ fastfoodAnimations.init(); });
-})(jQuery);
+})(jQuery);
+
+
+function fastfoodQuoteThis() {
+ var posttext = '';
+ if (window.getSelection){
+ posttext = window.getSelection();
+ }
+ else if (document.getSelection){
+ posttext = document.getSelection();
+ }
+ else if (document.selection){
+ posttext = document.selection.createRange().text;
+ }
+ else {
+ return true;
+ }
+ posttext = posttext.toString().replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;");
+ if ( posttext.length !== 0 ) {
+ document.getElementById("comment").value = document.getElementById("comment").value + '<blockquote>' + posttext + '</blockquote>';
+ } else {
+ alert(fastfood_l10n.quote_link_alert);
+ }
+}
View
2  js/fastfoodscript.min.js
@@ -1 +1 @@
-var fastfoodAnimations;(function(a){fastfoodAnimations={init:function(){a("#mainmenu").children("li").each(function(){var e=a(this).children("ul");var b=50;var c=20;if(e.size()!==0){a(this).children("a").append('<span class="hiraquo"> »</span>');e.css({opacity:0,"margin-top":b});a(this).mouseenter(function(){e.css({display:"block"});e.animate({opacity:1,"margin-top":0},200,"easeOutBack")}).mouseleave(function(){e.stop();e.animate({opacity:0,"margin-top":c},200,"swing",function(){e.css({display:"","margin-top":b})})})}});a("#navbuttons").children(".minibutton").each(function(){var b=a(this).find("span.nb_tooltip");var c=60;b.css({opacity:0,right:c});a(this).mouseenter(function(){b.css({display:"block"});b.animate({opacity:1,right:23},200,"easeOutBack")}).mouseleave(function(){b.stop();b.css({opacity:0,display:"",right:c})})});a("#quickbar").children(".menutoolitem").each(function(){var c=a(this).find(".menutool");var b=120;c.css({opacity:0,left:b});a(this).mouseenter(function(){c.css({display:"block"});c.animate({opacity:1,left:50},200,"easeOutBack")}).mouseleave(function(){c.stop();c.css({opacity:0,display:"",left:b})})});a("#quickbar").children(".menuitem").each(function(){var c=a(this).children(".menuback");var b=a(this).children(".itemimg");b.removeClass("itemimg").addClass("itemimg_js");c.removeClass().addClass("menuback_js");c.css({height:0});a(this).mouseenter(function(){if(a("#user_menuback").hasClass("keepme")){return}c.stop();b.stop();c.animate({height:250},500,"easeOutBack");b.animate({width:55},200)}).mouseleave(function(){if(a("#user_menuback").hasClass("keepme")){return}c.stop();c.css({height:0,display:""});b.animate({width:50},300)})});a(".top_meta").removeClass("top_meta").addClass("top_meta_js");a(".top_meta_js").children(".metafield").each(function(){var d=a(this).children(".metafield_content");var b=a(this).parent();d.css({opacity:0,display:"block"});var c=d.height();d.removeAttr("style");d.css({opacity:"",height:0,"padding-top":0,display:""});a(this).mouseenter(function(){d.animate({height:c,"padding-top":25},200,"easeOutBack");b.addClass("meta_shadowed");b.css({"border-color":"#fff"})}).mouseleave(function(){d.stop();d.css({display:"",height:0,"padding-top":0});b.removeClass("meta_shadowed");b.css({"border-color":""})})});a(".login-submit").append(a("#closeminilogin"));a("#closeminilogin").css({display:"inline"});a("#closeminilogin").click(function(){a(".itemimg_js").fadeIn();a("#user_menuback .menuback_js").css({display:"",height:0});a("#ff_minilogin_wrap").css({display:""});a("#user_menuback").removeClass("keepme");return false});a("#ff-user_login").mousedown(function(){a("#ff_minilogin_wrap").css({display:"block"});a("#user_menuback").addClass("keepme");a(".itemimg_js").fadeOut()});top_but=a('#navbuttons a[href="#"] span');bot_but=a('#navbuttons a[href="#footer"] span');top_but.hide();a(function(){a(window).scroll(function(){if(a(this).scrollTop()>100){top_but.fadeIn()}else{top_but.fadeOut()}if(a("body").height()-a(window).scrollTop()-a(window).height()<100){bot_but.fadeOut()}else{bot_but.fadeIn()}})})},postexpander:function(){a("a.more-link").click(function(){var b=a(this);a.ajax({type:"POST",url:b.attr("href"),beforeSend:function(c){b.html(ff_post_expander_text).addClass("ajaxed")},data:"ff_post_expander=1",success:function(c){b.parents(".storycontent").hide().html(a(c)).fadeIn(600)}});return false})},headerSlider:function(b){var c={speed:2000,pause:3000},b=a.extend(c,b);return a("#slide-head").each(function(){var e=a(this);if(e.children().size()>1){timId=d()}function d(){timId=setInterval(function(){e.children(":last").fadeOut(b.speed,function(){a(this).prependTo(e).show()})},(b.speed+b.pause));return timId}})}};a(document).ready(function(b){fastfoodAnimations.init()})})(jQuery);
+var fastfoodAnimations;(function(a){fastfoodAnimations={init:function(){a("#mainmenu").children("li").each(function(){var e=a(this).children("ul");var b=50;var c=20;if(e.size()!==0){a(this).children("a").append('<span class="hiraquo"> &#187;</span>');e.css({opacity:0,"margin-top":b});a(this).mouseenter(function(){e.css({display:"block"});e.animate({opacity:1,"margin-top":0},200,"easeOutBack")}).mouseleave(function(){e.stop();e.animate({opacity:0,"margin-top":c},200,"swing",function(){e.css({display:"","margin-top":b})})})}});a("#navbuttons").children(".minibutton").each(function(){var b=a(this).find("span.nb_tooltip");var c=60;b.css({opacity:0,right:c});a(this).mouseenter(function(){b.css({display:"block"});b.animate({opacity:1,right:23},200,"easeOutBack")}).mouseleave(function(){b.stop();b.css({opacity:0,display:"",right:c})})});a("#quickbar").children(".menutoolitem").each(function(){var c=a(this).find(".menutool");var b=120;c.css({opacity:0,left:b});a(this).mouseenter(function(){c.css({display:"block"});c.animate({opacity:1,left:50},200,"easeOutBack")}).mouseleave(function(){c.stop();c.css({opacity:0,display:"",left:b})})});a("#quickbar").children(".menuitem").each(function(){var c=a(this).children(".menuback");var b=a(this).children(".itemimg");b.removeClass("itemimg").addClass("itemimg_js");c.removeClass().addClass("menuback_js");c.css({height:0});a(this).mouseenter(function(){if(a("#user_menuback").hasClass("keepme")){return}c.stop();b.stop();c.animate({height:250},500,"easeOutBack");b.animate({width:55},200)}).mouseleave(function(){if(a("#user_menuback").hasClass("keepme")){return}c.stop();c.css({height:0,display:""});b.animate({width:50},300)})});a(".top_meta").removeClass("top_meta").addClass("top_meta_js");a(".top_meta_js").children(".metafield").each(function(){var d=a(this).children(".metafield_content");var b=a(this).parent();d.css({opacity:0,display:"block"});var c=d.height();d.removeAttr("style");d.css({opacity:"",height:0,"padding-top":0,display:""});a(this).mouseenter(function(){d.animate({height:c,"padding-top":25},200,"easeOutBack");b.addClass("meta_shadowed");b.css({"border-color":"#fff"})}).mouseleave(function(){d.stop();d.css({display:"",height:0,"padding-top":0});b.removeClass("meta_shadowed");b.css({"border-color":""})})});a(".login-submit").append(a("#closeminilogin"));a("#closeminilogin").css({display:"inline"});a("#closeminilogin").click(function(){a(".itemimg_js").fadeIn();a("#user_menuback .menuback_js").css({display:"",height:0});a("#ff_minilogin_wrap").css({display:""});a("#user_menuback").removeClass("keepme");return false});a("#ff-user_login").mousedown(function(){a("#ff_minilogin_wrap").css({display:"block"});a("#user_menuback").addClass("keepme");a(".itemimg_js").fadeOut()});top_but=a('#navbuttons a[href="#"] span');bot_but=a('#navbuttons a[href="#footer"] span');top_but.hide();a(function(){a(window).scroll(function(){if(a(this).scrollTop()>100){top_but.fadeIn()}else{top_but.fadeOut()}if(a("body").height()-a(window).scrollTop()-a(window).height()<100){bot_but.fadeOut()}else{bot_but.fadeIn()}})});top_but.click(function(){a("html, body").animate({scrollTop:0},{duration:1000});return false});bot_but.click(function(){a("html, body").animate({scrollTop:a("#footer").offset().top-80},{duration:1000});return false})},postexpander:function(){a("a.more-link").click(function(){var b=a(this);a.ajax({type:"POST",url:b.attr("href"),beforeSend:function(c){b.html(fastfood_l10n.post_expander_wait).addClass("ajaxed")},data:"ff_post_expander=1",success:function(c){b.parents(".storycontent").hide().html(a(c)).fadeIn(600)}});return false})},headerSlider:function(b){var c={speed:2000,pause:3000},b=a.extend(c,b);return a("#slide-head").each(function(){var e=a(this);if(e.children().size()>1){timId=d()}function d(){timId=setInterval(function(){e.children(":last").fadeOut(b.speed,function(){a(this).prependTo(e).show()})},(b.speed+b.pause));return timId}})},reply_link:function(){htmltext='<a id="tb-quotethis" href="#" onclick="fastfoodQuoteThis(); return false" title="'+fastfood_l10n.quote_link_info+'" >&nbsp;</a>';a(htmltext).insertBefore("#comment")}};a(document).ready(function(b){fastfoodAnimations.init()})})(jQuery);function fastfoodQuoteThis(){var a="";if(window.getSelection){a=window.getSelection()}else{if(document.getSelection){a=document.getSelection()}else{if(document.selection){a=document.selection.createRange().text}else{return true}}}a=a.toString().replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;");if(a.length!==0){document.getElementById("comment").value=document.getElementById("comment").value+"<blockquote>"+a+"</blockquote>"}else{alert(fastfood_l10n.quote_link_alert)}};
View
60 js/font-resize.dev.js
@@ -0,0 +1,60 @@
+var fastfoodFontResize;
+
+(function($) {
+
+fastfoodFontResize = {
+
+ //initialize
+ init : function () {
+ var resizeStep = 1;
+ var baseElement = $('body');
+ var startFontSize = parseFloat(baseElement.css("font-size"));
+ var savedSize = fastfoodFontResize.cookie('fontSize');
+ if(savedSize != null && savedSize != "" && savedSize > 4) {
+ $(baseElement).css("font-size", savedSize + "px");
+ }
+ $('.fontResizer_plus').click(function() {
+ var newFontSize = parseFloat(baseElement.css("font-size"));
+ newFontSize=newFontSize+parseFloat(resizeStep);
+ baseElement.css("font-size",newFontSize+"px");
+ fastfoodFontResize.cookie('fontSize', newFontSize);
+ });
+ $('.fontResizer_reset').click(function() {
+ baseElement.css("font-size",startFontSize);
+ fastfoodFontResize.cookie('fontSize', startFontSize);
+ });
+ $('.fontResizer_minus').click(function() {
+ var newFontSize = parseFloat(baseElement.css("font-size"))
+ newFontSize=newFontSize-resizeStep;
+ baseElement.css("font-size",newFontSize+"px");
+ fastfoodFontResize.cookie('fontSize', newFontSize);
+ });
+ },
+
+ cookie : function(name, value) {
+ if (typeof value != 'undefined') { // name and value given, set cookie
+ var exdate = new Date();
+ var expiredays = 31; //coockie expires in # days
+ exdate.setDate(exdate.getDate() + expiredays);
+ document.cookie = name + "=" + encodeURIComponent(value) + ";expires="+exdate.toGMTString();
+ } else { // only name given, get cookie
+ var cookieValue = null;
+ if (document.cookie && document.cookie != '') {
+ var cookies = document.cookie.split(';');
+ for (var i = 0; i < cookies.length; i++) {
+ var cookie = jQuery.trim(cookies[i]);
+ if (cookie.substring(0, name.length + 1) == (name + '=')) {
+ cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
+ break;
+ }
+ }
+ }
+ return cookieValue;
+ }
+ }
+
+};
+
+$(document).ready(function($){ fastfoodFontResize.init(); });
+
+})(jQuery);
View
1  js/font-resize.min.js
@@ -0,0 +1 @@
+var fastfoodFontResize;(function(a){fastfoodFontResize={init:function(){var e=1;var c=a("body");var b=parseFloat(c.css("font-size"));var d=fastfoodFontResize.cookie("fontSize");if(d!=null&&d!=""&&d>4){a(c).css("font-size",d+"px")}a(".fontResizer_plus").click(function(){var f=parseFloat(c.css("font-size"));f=f+parseFloat(e);c.css("font-size",f+"px");fastfoodFontResize.cookie("fontSize",f)});a(".fontResizer_reset").click(function(){c.css("font-size",b);fastfoodFontResize.cookie("fontSize",b)});a(".fontResizer_minus").click(function(){var f=parseFloat(c.css("font-size"));f=f-e;c.css("font-size",f+"px");fastfoodFontResize.cookie("fontSize",f)})},cookie:function(c,g){if(typeof g!="undefined"){var h=new Date();var b=31;h.setDate(h.getDate()+b);document.cookie=c+"="+encodeURIComponent(g)+";expires="+h.toGMTString()}else{var j=null;if(document.cookie&&document.cookie!=""){var f=document.cookie.split(";");for(var e=0;e<f.length;e++){var d=jQuery.trim(f[e]);if(d.substring(0,c.length+1)==(c+"=")){j=decodeURIComponent(d.substring(c.length+1));break}}}return j}}};a(document).ready(function(b){fastfoodFontResize.init()})})(jQuery);
View
1,014 languages/fastfood.pot
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: Fastfood v0.31\n"
+"Project-Id-Version: Fastfood v0.33\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2012-06-06 13:37+0100\n"
+"PO-Revision-Date: 2012-09-14 03:04+0100\n"
"Last-Translator: TwoBeers Crew <light@twobeers.net>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -16,36 +16,36 @@ msgstr ""
"X-Poedit-SearchPath-0: .\n"
#@ fastfood
-#: lib/admin.php:128
+#: lib/admin.php:130
msgid "\"aside\" format"
msgstr ""
#@ fastfood
-#: lib/admin.php:94
+#: lib/admin.php:96
msgid "\"gallery\" format"
msgstr ""
#@ fastfood
-#: lib/admin.php:617
+#: lib/admin.php:628
msgid "\"more\" tag string"
msgstr ""
#@ fastfood
-#: lib/admin.php:138
+#: lib/admin.php:140
msgid "\"status\" format"
msgstr ""
#@ fastfood
#: comments.php:12
#: comments.php:17
-#: functions.php:641
-#: functions.php:677
+#: functions.php:445
+#: functions.php:481
#: mobile/comments-mobile.php:10
msgid "% Comments"
msgstr ""
#@ fastfood
-#: functions.php:351
+#: lib/quickbar.php:142
#, php-format
msgid "%s about %s"
msgstr ""
@@ -57,53 +57,47 @@ msgid "%s images"
msgstr ""
#@ fastfood
-#: functions.php:1175
-#, php-format
-msgid "%s seconds"
-msgstr ""
-
-#@ fastfood
-#: lib/widgets.php:847
+#: lib/widgets.php:848
msgid "(current post category)"
msgstr ""
#@ fastfood
-#: lib/admin.php:429
+#: lib/admin.php:431
msgid "(formerly <u>gallery preview</u>) use thickbox for showing images and galleries"
msgstr ""
#@ fastfood
-#: lib/admin.php:616
+#: lib/admin.php:627
msgid "(more...)"
msgstr ""
#@ fastfood
-#: functions.php:1642
-#: lib/admin.php:280
+#: lib/admin.php:282
+#: lib/the_bird.php:860
msgid "(no title)"
msgstr ""
#@ fastfood
#: comments.php:12
#: comments.php:17
-#: functions.php:641
-#: functions.php:677
+#: functions.php:445
+#: functions.php:481
#: mobile/comments-mobile.php:10
msgid "1 Comment"
msgstr ""
#@ fastfood
-#: lib/admin.php:607
+#: lib/admin.php:618
msgid "<em>excerpt more</em> linked"
msgstr ""
#@ fastfood
-#: lib/admin.php:597
+#: lib/admin.php:608
msgid "<em>excerpt more</em> string"
msgstr ""
#@ fastfood
-#: lib/admin.php:898
+#: lib/admin.php:909
msgid "<strong>For advanced users only</strong>: paste here your custom css code. it will be added after the defatult style"
msgstr ""
@@ -113,23 +107,23 @@ msgid "A list of popular categories"
msgstr ""
#@ fastfood
-#: functions.php:1391
+#: functions.php:782
msgid "Abstract"
msgstr ""
#@ fastfood
-#: lib/gallery-editor.php:94
+#: lib/gallery-editor.php:95
msgid "Add Image"
msgstr ""
#@ fastfood
-#: functions.php:962
+#: lib/quickbar.php:95
msgid "Add New Post"
msgstr ""
#@ fastfood
#: allcat.php:11
-#: functions.php:738
+#: lib/the_bird.php:295
msgid "All Categories"
msgstr ""
@@ -139,98 +133,98 @@ msgid "All rights reserved"
msgstr ""
#@ fastfood
-#: functions.php:1361
+#: functions.php:752
msgid "Ancient Tree"
msgstr ""
#@ fastfood
-#: functions.php:1173
+#: lib/the_bird.php:126
msgid "Aperture"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:224
+#: lib/my-custom-background.php:232
msgid "Aqua"
msgstr ""
#@ fastfood
-#: lib/widgets.php:1041
+#: lib/widgets.php:1042
#: mobile/loop-index-mobile.php:6
#: sidebar.php:22
msgid "Archives"
msgstr ""
#@ fastfood
-#: functions.php:694
#: index.php:11
+#: lib/the_bird.php:254
#, php-format
msgid "Archives for %s"
msgstr ""
#@ fastfood
-#: lib/admin.php:941
+#: lib/the_bird.php:522
msgid "Are you really sure you want to set all the options to their default values?"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:354
-#: lib/my-custom-background.php:508
+#: lib/my-custom-background.php:362
+#: lib/my-custom-background.php:516
msgid "Attachment"
msgstr ""
#@ fastfood
-#: lib/widgets.php:1116
+#: lib/widgets.php:1117
msgid "Author"
msgstr ""
#@ fastfood
-#: lib/admin.php:1200
+#: lib/the_bird.php:764
msgid "Back to defaults"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:121
+#: lib/my-custom-background.php:129
msgid "Background"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:509
+#: lib/my-custom-background.php:517
msgid "Background Attachment"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:522
+#: lib/my-custom-background.php:530
msgid "Background Color"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:379
+#: lib/my-custom-background.php:387
msgid "Background Image"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:467
+#: lib/my-custom-background.php:475
msgid "Background Position"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:499
+#: lib/my-custom-background.php:507
msgid "Background Repeat"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:371
+#: lib/my-custom-background.php:379
#, php-format
msgid "Background updated. <a href=\"%s\">Visit your site</a> to see how it looks."
msgstr ""
#@ fastfood
-#: functions.php:1376
+#: functions.php:767
msgid "Bamboo Forest"
msgstr ""
#@ fastfood
-#: functions.php:1401
+#: functions.php:792
msgid "Bird"
msgstr ""
@@ -240,17 +234,17 @@ msgid "Blogroll"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:492
+#: lib/my-custom-background.php:500
msgid "Bottom"
msgstr ""
#@ fastfood
-#: functions.php:1129
+#: functions.php:633
msgid "Bottom of page"
msgstr ""
#@ fastfood
-#: functions.php:1171
+#: lib/the_bird.php:124
msgid "Camera"
msgstr ""
@@ -260,36 +254,36 @@ msgid "Cancel reply"
msgstr ""
#@ fastfood
-#: functions.php:1170
+#: lib/the_bird.php:123
msgid "Caption"
msgstr ""
#@ fastfood
-#: functions.php:1396
+#: functions.php:787
msgid "Carps"
msgstr ""
#@ fastfood
#: allcat.php:9
-#: functions.php:530
-#: functions.php:615
-#: functions.php:679
-#: functions.php:915
-#: lib/widgets.php:1141
+#: functions.php:419
+#: functions.php:483
+#: lib/quickbar.php:48
+#: lib/the_bird.php:189
+#: lib/widgets.php:1142
#: mobile/core-mobile.php:155
#: sidebar.php:20
msgid "Categories"
msgstr ""
#@ fastfood
-#: lib/widgets.php:830
+#: lib/widgets.php:831
#: mobile/loop-index-mobile.php:4
msgid "Category"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:474
-#: lib/my-custom-background.php:488
+#: lib/my-custom-background.php:482
+#: lib/my-custom-background.php:496
msgid "Center"
msgstr ""
@@ -299,39 +293,40 @@ msgid "Child pages"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:435
+#: lib/my-custom-background.php:443
msgid "Choose an image from your computer:"
msgstr ""
#@ fastfood
-#: lib/widgets.php:982
+#: lib/widgets.php:983
msgid "Clean Archives"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:525
+#: lib/my-custom-background.php:533
msgid "Clear"
msgstr ""
#@ fastfood
-#: lib/gallery-editor.php:94
+#: lib/gallery-editor.php:95
+#: lib/the_bird.php:705
msgid "Click an image to select"
msgstr ""
#@ fastfood
-#: footer.php:32
-#: functions.php:1565
+#: footer.php:30
+#: lib/quickbar.php:242
msgid "Close"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:324
+#: lib/my-custom-background.php:332
msgid "Clouds"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:355
-#: lib/my-custom-background.php:521
+#: lib/my-custom-background.php:363
+#: lib/my-custom-background.php:529
msgid "Color"
msgstr ""
@@ -342,9 +337,9 @@ msgid "Comment authors <strong>must</strong> use a name and a valid e-mail in or
msgstr ""
#@ fastfood
-#: functions.php:640
-#: functions.php:677
-#: functions.php:969
+#: functions.php:444
+#: functions.php:481
+#: lib/quickbar.php:102
msgid "Comments"
msgstr ""
@@ -354,53 +349,52 @@ msgid "Contents"
msgstr ""
#@ fastfood
-#: lib/admin.php:741
+#: lib/admin.php:752
msgid "Copy and paste <a href=\"http://www.google.com/webfonts\" target=\"_blank\"><strong>Google web font</strong></a> name here. Example: <code>Architects Daughter</code>"
msgstr ""
#@ fastfood
-#: lib/gallery-editor.php:173
+#: lib/gallery-editor.php:174
msgid "Copy this code and paste it where you want"
msgstr ""
#@ fastfood
-#: functions.php:1167
+#: lib/the_bird.php:120
msgid "Copyright"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:304
+#: lib/my-custom-background.php:312
msgid "Cork"
msgstr ""
#@ fastfood
-#: functions.php:1168
+#: lib/the_bird.php:121
msgid "Credit"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:368
+#: lib/my-custom-background.php:376
msgid "Custom Background"
msgstr ""
#@ fastfood
-#: lib/widgets.php:1133
+#: lib/widgets.php:1134
msgid "Date"
msgstr ""
#@ fastfood
-#: functions.php:1166
+#: lib/the_bird.php:119
msgid "Date Taken"
msgstr ""
#@ fastfood
-#: lib/admin.php:1152
-#: lib/admin.php:1185
+#: lib/the_bird.php:748
msgid "Default"
msgstr ""
#@ fastfood
-#: lib/admin.php:1100
+#: lib/the_bird.php:655
msgid "Defaults values loaded."
msgstr ""
@@ -410,18 +404,18 @@ msgid "Desktop View"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:462
+#: lib/my-custom-background.php:470
msgid "Display Options"
msgstr ""
#@ fastfood
-#: lib/widgets.php:876
+#: lib/widgets.php:877
msgid "Display image details. It's visible ONLY in single attachments"
msgstr ""
#@ fastfood
-#: functions.php:666
-#: functions.php:680
+#: functions.php:470
+#: functions.php:484
#: loop/post-status.php:7
msgid "Edit"
msgstr ""
@@ -437,12 +431,12 @@ msgid "Email"
msgstr ""
#@ fastfood
-#: functions.php:184
+#: functions.php:140
msgid "Enrich the page 404 with some useful widgets"
msgstr ""
#@ fastfood
-#: lib/widgets.php:500
+#: lib/widgets.php:501
#, php-format
msgid "Enter %1$s account link:"
msgstr ""
@@ -454,106 +448,100 @@ msgid "Enter your password to view comments."
msgstr ""
#@ fastfood
-#: functions.php:1539
+#: functions.php:971
msgid "Fastfood Default Gravatar"
msgstr ""
#@ fastfood
-#: lib/admin.php:990
-#, php-format
-msgid "Fastfood theme says: \"Dont forget to set <a href=\"%s\">my options</a> and the header image!\""
-msgstr ""
-
-#@ fastfood
-#: functions.php:149
+#: functions.php:105
msgid "First Footer Widget Area"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:516
+#: lib/my-custom-background.php:524
msgid "Fixed"
msgstr ""
#@ fastfood
-#: functions.php:1172
+#: lib/the_bird.php:125
msgid "Focal Length"
msgstr ""
#@ fastfood
-#: functions.php:1411
+#: functions.php:802
msgid "Fog"
msgstr ""
#@ fastfood
#: lib/widgets.php:437
-#: lib/widgets.php:470
+#: lib/widgets.php:471
msgid "Follow Me"
msgstr ""
#@ fastfood
#: lib/gallery-editor.php:38
-#: lib/gallery-editor.php:78
+#: lib/gallery-editor.php:79
msgid "Gallery Editor"
msgstr ""
#@ fastfood
-#: lib/gallery-editor.php:169
+#: lib/gallery-editor.php:170
msgid "Generate Code"
msgstr ""
#@ fastfood
-#: functions.php:1371
+#: functions.php:762
msgid "Globe"
msgstr ""
#@ fastfood
-#: lib/admin.php:740
+#: lib/admin.php:751
msgid "Google web font"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:254
+#: lib/my-custom-background.php:262
msgid "Green Wave"
msgstr ""
#@ fastfood
-#: lib/admin.php:696
+#: lib/admin.php:707
msgid "Header height"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:264
+#: lib/my-custom-background.php:272
msgid "Heart"
msgstr ""
#@ fastfood
-#: functions.php:1165
+#: lib/the_bird.php:118
msgid "Height"
msgstr ""
#@ fastfood
-#: functions.php:1061
+#: functions.php:565
msgid "Home"
msgstr ""
#@ fastfood
-#: lib/admin.php:211
+#: lib/admin.php:213
msgid "I like it"
msgstr ""
#@ fastfood
-#: functions.php:1174
+#: lib/the_bird.php:127
msgid "ISO"
msgstr ""
#@ fastfood
-#: lib/admin.php:1204
+#: lib/the_bird.php:769
msgid "If you like/dislike this theme, or if you encounter any issues using it, please let us know it."
msgstr ""
#@ fastfood
-#: lib/widgets.php:877
-#: lib/widgets.php:903
+#: lib/widgets.php:878
+#: lib/widgets.php:904
#: sidebar-singular.php:6
msgid "Image details"
msgstr ""
@@ -570,7 +558,7 @@ msgid "Javascript"
msgstr ""
#@ fastfood
-#: lib/gallery-editor.php:79
+#: lib/gallery-editor.php:80
msgid "Javascript must be enabled in order to use this feature"
msgstr ""
@@ -600,47 +588,47 @@ msgstr ""
#@ fastfood
#: comments.php:12
#: comments.php:50
-#: functions.php:1031
+#: functions.php:535
#: mobile/comments-mobile.php:40
msgid "Leave a comment"
msgstr ""
#@ fastfood
-#: lib/admin.php:1205
+#: lib/the_bird.php:770
msgid "Leave a feedback"
msgstr ""
#@ fastfood
-#: lib/my-custom-background.php:470
+#: lib/my-custom-background.php:478
msgid "Left"
msgstr ""
#@ fastfood
-#: functions.php:1559
-#: functions.php:1562
+#: lib/quickbar.php:236
+#: lib/quickbar.php:239
msgid "Log in"
msgstr ""
#@ fastfood
-#: functions.php:972
+#: lib/quickbar.php:105
msgid "Log out"
msgstr ""
#@ fastfood
#: comments.php:48
-#: functions.php:950
+#: lib/quickbar.php:83
#: mobile/comments-mobile.php:39
#, php-format
msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
msgstr ""
#@ fastfood
-#: functions.php:483
+#: functions.php:329
msgid "Lower pages: "
msgstr ""
#@ fastfood
-#: functions.php:1316
+#: functions.php:728
msgid "Main Navigation Menu"
msgstr ""
@@ -650,7 +638,7 @@ msgid "Menu"
msgstr ""
#@ fastfood
-#: functions.php:127
+#: functions.php:83
msgid "Menu Widget Area"
msgstr ""
@@ -675,12 +663,12 @@ msgid "Mobile Widget Area"
msgstr ""
#@ fastfood
-#: functions.php:918
+#: lib/quickbar.php:51
msgid "More..."
msgstr ""
#@ fastfood
-#: lib/widgets.php:482
+#: lib/widgets.php:483
msgid "NOTE: Enter the <strong>full</strong> addresses ( with <em>http://</em> )"
msgstr ""
@@ -695,12 +683,14 @@ msgid "Navigation Menu for mobiles<br><small>only supports the first level of hi
msgstr ""
#@ fastfood
-#: functions.php:1101
+#: functions.php:605
msgid "Newer Posts"
msgstr ""
#@ fastfood
-#: functions.php:1083
+#: functions.php:587
+#: lib/the_bird.php:143
+#: lib/the_bird.php:147
msgid "Next Post"
msgstr ""
@@ -712,42 +702,42 @@ msgstr ""
#@ fastfood
#: comments.php:12
#: comments.php:17
-#: functions.php:641
-#: functions.php:677
+#: functions.php:445
+#: functions.php:481
#: mobile/comments-mobile.php:10