From d17e5dbabfd5e33c3a52583eb25d23cdc8bd5aad Mon Sep 17 00:00:00 2001 From: david Date: Tue, 26 Mar 2013 17:57:55 +0000 Subject: [PATCH] Cambios git-svn-id: https://192.168.0.254/svn/Proyectos.EstudioJuridicoAlmagro_Web/trunk@4 c22fe52d-42d7-ba4f-95f7-33effcf65713 --- www/404.php | 2 +- www/functions.php | 18 ++++--- www/header.php | 2 +- www/index.php | 7 +-- www/page.php | 2 +- www/single-standard.php | 16 +++--- www/single.php | 5 +- www/wpv_common/helpers/base.php | 2 +- www/wpv_theme/assets/css/default.css | 8 +-- www/wpv_theme/assets/css/layout.css | 35 ++++++++++--- www/wpv_theme/assets/css/paginas.css | 60 ++++++++++++++++++++-- www/wpv_theme/assets/css/slider_styles.css | 4 +- www/wpv_theme/assets/css/typography.css | 2 +- www/wpv_theme/helpers/base.php | 12 +++-- 14 files changed, 129 insertions(+), 46 deletions(-) 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(); ?> - +