Copy the images of the home page from the theme (images/home)
authorWikimedia Espana <wmes@canberra>
Sat, 7 Jul 2012 16:24:11 +0000 (09:24 -0700)
committerWikimedia Espana <wmes@canberra>
Sat, 7 Jul 2012 16:28:02 +0000 (09:28 -0700)
28 files changed:
HomePageWMES.php
images/Actividades.png [new file with mode: 0755]
images/Donar.png [new file with mode: 0755]
images/Participa.png [new file with mode: 0755]
images/Prensa.png [new file with mode: 0755]
images/blog-body.jpg [new file with mode: 0755]
images/blog-body.png [new file with mode: 0755]
images/menu-gradient.png [new file with mode: 0755]
images/more_blue.png [new file with mode: 0755]
images/more_gray.png [new file with mode: 0755]
images/more_green.png [new file with mode: 0755]
images/more_whiteoverred.png [new file with mode: 0755]
images/sep.jpg [new file with mode: 0755]
images/slide-0.jpg [new file with mode: 0755]
images/slide-1.jpg [new file with mode: 0755]
images/slide-2.jpg [new file with mode: 0755]
images/slide-2.png [new file with mode: 0755]
images/slide-3.jpg [new file with mode: 0755]
images/slide-3.png [new file with mode: 0755]
images/slide-4.jpg [new file with mode: 0755]
images/slide-4.png [new file with mode: 0755]
images/stripes-grey-footer.png [new file with mode: 0755]
images/stripes-grey-menu.png [new file with mode: 0755]
images/stripes-grey.png [new file with mode: 0755]
images/top-menu-item-selected.png [new file with mode: 0755]
images/top-menu-item.png [new file with mode: 0755]
images/whitearrow.png [new file with mode: 0755]
style.css

index e5196d276660877515cd8b2f7a0e85d64ee0cb42..ea911dfecc2f04c2629639672d43575f345e6e7b 100644 (file)
@@ -31,7 +31,7 @@ function efSetupHomepageWMES(&$parser) {
 function landingbox($nombre, $class, $texto, $enlace2, $titulo2) {                           \r
   global $wgExtensionAssetsPath;\r
                 $nombre = htmlspecialchars( $nombre );\r
-                $imagen = "$wgExtensionAssetsPath/HomePageWMES/images/home/" . $nombre . ".png";\r
+                $imagen = "$wgExtensionAssetsPath/HomePageWMES/images/" . $nombre . ".png";\r
                 $link = "/" . lcfirst( $nombre );\r
                 $boxname = strtolower( $nombre ) . "_box";\r
 \r
@@ -80,7 +80,7 @@ function efHookHomepageWMES( $input, array $args, Parser $parser, PPFrame $frame
                     global $wgExtensionAssetsPath;\r
                     $str = '';\r
                     foreach ( $slideshow as $num => $text) {\r
-                      $slidepath = "$wgExtensionAssetsPath/HomePageWMES/images/home/slide-$num.jpg"; \r
+                      $slidepath = "$wgExtensionAssetsPath/HomePageWMES/images/slide-$num.jpg"; \r
                       $str .= "<li id=\"slideshow-item-$num\" class=\"slideshow-item\"";\r
                       if ( $num ) $str .= ' style="display: none"';\r
                       $str .= ">" .\r
@@ -96,7 +96,7 @@ function efHookHomepageWMES( $input, array $args, Parser $parser, PPFrame $frame
               </div>' .\r
               '<div class="dm_widget content_landingbox">\r
                 <div class="dm_widget_inner prensa_box">\r
-                  <div class="landingbox" style="background: url(/wp-content/themes/wmes-theme/images/home/Prensa.png) repeat 100% 100%; height:81px;width:602px;">' .\r
+                  <div class="landingbox" style="background: url(' . "'$wgExtensionAssetsPath/HomePageWMES/images/Prensa.png'" .') repeat 100% 100%; height:81px;width:602px;">' .\r
                     '<a class="link" href="/blog" title="Blog"><h3 class="landingbox_title">Blog</h3></a>' . \r
                     '<a class="link landingbox_more" href="/blog" title="Blog"><p>MÁS</p></a>' . \r
                     '<a class="link" href="/blog" title="Blog"><p class="landingbox_body">Artículos y noticias<br/>sobre conocimiento libre</p></a>' . \r
diff --git a/images/Actividades.png b/images/Actividades.png
new file mode 100755 (executable)
index 0000000..599a092
Binary files /dev/null and b/images/Actividades.png differ
diff --git a/images/Donar.png b/images/Donar.png
new file mode 100755 (executable)
index 0000000..1f32157
Binary files /dev/null and b/images/Donar.png differ
diff --git a/images/Participa.png b/images/Participa.png
new file mode 100755 (executable)
index 0000000..f9b4074
Binary files /dev/null and b/images/Participa.png differ
diff --git a/images/Prensa.png b/images/Prensa.png
new file mode 100755 (executable)
index 0000000..8001de8
Binary files /dev/null and b/images/Prensa.png differ
diff --git a/images/blog-body.jpg b/images/blog-body.jpg
new file mode 100755 (executable)
index 0000000..0944f79
Binary files /dev/null and b/images/blog-body.jpg differ
diff --git a/images/blog-body.png b/images/blog-body.png
new file mode 100755 (executable)
index 0000000..79e5e4e
Binary files /dev/null and b/images/blog-body.png differ
diff --git a/images/menu-gradient.png b/images/menu-gradient.png
new file mode 100755 (executable)
index 0000000..598e494
Binary files /dev/null and b/images/menu-gradient.png differ
diff --git a/images/more_blue.png b/images/more_blue.png
new file mode 100755 (executable)
index 0000000..c183936
Binary files /dev/null and b/images/more_blue.png differ
diff --git a/images/more_gray.png b/images/more_gray.png
new file mode 100755 (executable)
index 0000000..5374d23
Binary files /dev/null and b/images/more_gray.png differ
diff --git a/images/more_green.png b/images/more_green.png
new file mode 100755 (executable)
index 0000000..c0d0136
Binary files /dev/null and b/images/more_green.png differ
diff --git a/images/more_whiteoverred.png b/images/more_whiteoverred.png
new file mode 100755 (executable)
index 0000000..1f680ee
Binary files /dev/null and b/images/more_whiteoverred.png differ
diff --git a/images/sep.jpg b/images/sep.jpg
new file mode 100755 (executable)
index 0000000..b49682b
Binary files /dev/null and b/images/sep.jpg differ
diff --git a/images/slide-0.jpg b/images/slide-0.jpg
new file mode 100755 (executable)
index 0000000..741ea20
Binary files /dev/null and b/images/slide-0.jpg differ
diff --git a/images/slide-1.jpg b/images/slide-1.jpg
new file mode 100755 (executable)
index 0000000..cf677b4
Binary files /dev/null and b/images/slide-1.jpg differ
diff --git a/images/slide-2.jpg b/images/slide-2.jpg
new file mode 100755 (executable)
index 0000000..58069f3
Binary files /dev/null and b/images/slide-2.jpg differ
diff --git a/images/slide-2.png b/images/slide-2.png
new file mode 100755 (executable)
index 0000000..0a702e8
Binary files /dev/null and b/images/slide-2.png differ
diff --git a/images/slide-3.jpg b/images/slide-3.jpg
new file mode 100755 (executable)
index 0000000..96c6ac0
Binary files /dev/null and b/images/slide-3.jpg differ
diff --git a/images/slide-3.png b/images/slide-3.png
new file mode 100755 (executable)
index 0000000..6e5cf7f
Binary files /dev/null and b/images/slide-3.png differ
diff --git a/images/slide-4.jpg b/images/slide-4.jpg
new file mode 100755 (executable)
index 0000000..a71ae87
Binary files /dev/null and b/images/slide-4.jpg differ
diff --git a/images/slide-4.png b/images/slide-4.png
new file mode 100755 (executable)
index 0000000..231c8f0
Binary files /dev/null and b/images/slide-4.png differ
diff --git a/images/stripes-grey-footer.png b/images/stripes-grey-footer.png
new file mode 100755 (executable)
index 0000000..fde79b4
Binary files /dev/null and b/images/stripes-grey-footer.png differ
diff --git a/images/stripes-grey-menu.png b/images/stripes-grey-menu.png
new file mode 100755 (executable)
index 0000000..b49b3f4
Binary files /dev/null and b/images/stripes-grey-menu.png differ
diff --git a/images/stripes-grey.png b/images/stripes-grey.png
new file mode 100755 (executable)
index 0000000..bd0adcc
Binary files /dev/null and b/images/stripes-grey.png differ
diff --git a/images/top-menu-item-selected.png b/images/top-menu-item-selected.png
new file mode 100755 (executable)
index 0000000..9119075
Binary files /dev/null and b/images/top-menu-item-selected.png differ
diff --git a/images/top-menu-item.png b/images/top-menu-item.png
new file mode 100755 (executable)
index 0000000..5ea36a7
Binary files /dev/null and b/images/top-menu-item.png differ
diff --git a/images/whitearrow.png b/images/whitearrow.png
new file mode 100755 (executable)
index 0000000..8f756f8
Binary files /dev/null and b/images/whitearrow.png differ
index 27e5618f7df8341eb8ade9990ebad231a6afa902..be62d0bd635c083f01d5dfca9bc375165f372993 100755 (executable)
--- a/style.css
+++ b/style.css
@@ -39,7 +39,7 @@
 }
 
 .actividades_box .landingbox_more{
-  background: url(http://blog.wikimedia-es.org/wp-content/themes/wmes-theme/images/home/more_blue.png) repeat 100% 100%;
+  background: url(images/more_blue.png) repeat 100% 100%;
   color: white;
 }
 
@@ -51,7 +51,7 @@
 }
 
 .participa_box .landingbox_more{
-  background: url(http://blog.wikimedia-es.org/wp-content/themes/wmes-theme/images/home/more_whiteoverred.png) repeat 100% 100%;
+  background: url(images/more_whiteoverred.png) repeat 100% 100%;
   color: #900;
 }
 .participa_box .landingbox_more a{
@@ -64,7 +64,7 @@
 }
 
 .donar_box .landingbox_more{
-  background: url(http://blog.wikimedia-es.org/wp-content/themes/wmes-theme/images/home/more_green.png) repeat 100% 100%;
+  background: url(images/more_green.png) repeat 100% 100%;
   color: white;
 }
 
@@ -73,7 +73,7 @@
 }
 
 .prensa_box .landingbox_more{
-  background: url(http://blog.wikimedia-es.org/wp-content/themes/wmes-theme/images/home/more_gray.png) repeat 100% 100%;
+  background: url(images/more_gray.png) repeat 100% 100%;
   color: white;
 }