diff --git a/www/404.php b/www/404.php index 9c599d9..d9a891e 100644 --- a/www/404.php +++ b/www/404.php @@ -8,7 +8,7 @@ get_header(); ?>
- +
diff --git a/www/functions.php b/www/functions.php index 79e8355..ad0a267 100644 --- a/www/functions.php +++ b/www/functions.php @@ -18,17 +18,17 @@ function language_selector_flags() { foreach ($languages as $l) { $imgflag = $l['country_flag_url']; if ($l['language_code'] == 'es') { - $imgflag = $uploads['baseurl'] . '/2012/04/spanish_flag.jpg'; + $imgflag = $uploads['baseurl'] . '/2013/03/spanish_flag.jpg'; } if ($l['language_code'] == 'en') { - $imgflag = $uploads['baseurl'] . '/2012/04/english_flag.jpg'; + $imgflag = $uploads['baseurl'] . '/2013/03/english_flag.jpg'; } if ($l['language_code'] == 'fr') { - $imgflag = $imgflag = $uploads['baseurl'] . '/2012/04/french_flag.jpg'; + $imgflag = $imgflag = $uploads['baseurl'] . '/2013/03/french_flag.jpg'; + } + if ($l['language_code'] == 'ru') { + $imgflag = $imgflag = $uploads['baseurl'] . '/2013/03/russian_flag.jpg'; } - /*if ($l['language_code'] == 'ru') { - $imgflag = $imgflag = $uploads['baseurl'] . '/2012/04/french_flag.jpg'; - }*/ $l['country_flag_url'] = $imgflag; $idiomas[$l['language_code']] = $l; } @@ -40,3 +40,9 @@ function language_selector_flags() { } } } + +function the_slug() { + $post_data = get_post($post->ID, ARRAY_A); + $slug = $post_data['post_name']; + return $slug; +} diff --git a/www/header.php b/www/header.php index b15a604..abf6266 100644 --- a/www/header.php +++ b/www/header.php @@ -185,7 +185,7 @@
- +
diff --git a/www/index.php b/www/index.php index eb217d8..680736b 100644 --- a/www/index.php +++ b/www/index.php @@ -6,15 +6,16 @@ get_header(); ?> + + +
 
diff --git a/www/page.php b/www/page.php index c06ad4c..3d2a474 100644 --- a/www/page.php +++ b/www/page.php @@ -28,7 +28,7 @@ get_header(); ?> - +