SVN commit 1213469 by elenamramirez:

GUI: Added new logo for KDE Edu

 AM            edu/images/kdedu-logo.png  
 M  +3 -3      edu/kde-edu.css  
 M  +9 -72     media/includes/derry/template-top1.inc  


--- trunk/www/sites/www-devel/edu/kde-edu.css #1213468:1213469
@@ -1,9 +1,9 @@
-.header .toolbox { 
+/*.header .toolbox { 
   background-image: url('pics/kde-edu-22.png');
        background-repeat: no-repeat;
        background-position: 0 4px;
        padding-left: 40px;
-}
+}*/
 
 #main img.inline {
   padding:0;
@@ -70,4 +70,4 @@
 #main .edu-news-readmore {
   padding:5px 15px 15px 15px;
   text-align:right;
-}
\ No newline at end of file
+}
--- trunk/www/sites/www-devel/media/includes/derry/template-top1.inc 
#1213468:1213469
@@ -2,9 +2,8 @@
 ?>
     <div class="root">
        <div class="header">
-               <div class="toolbox">
-                <?php  include  $templatepath.'toolbox.inc'; ?>
-                       </div>
+                       <h1><a href="/"><img src="/images/kdedu-logo.png" 
title="The KDE Education Project" alt="KDEdu Logo" height="92px" 
width="174px"/></a></h1>
+                       <div class="search"><label for="search">Search 
</label><input type="text" id="search"/></div>
                        <?php
                          $template_menulist1 = "<li>";  // before the menu 
section title
                          $template_menulist2 = "<div class=\"sub\">";  // 
between the menu section title and the list of pages
@@ -17,7 +16,7 @@
                          $template_menuitem1 = ""; // before each link to a 
(sub)page without shown (sub)subpages
                          $template_menuitem2 = ""; // after each link to a 
(sub)page without shown (sub)subpages
 
-                         if ($site_menus > 0 && $templatepath == "chihuahua/") 
+                         if ($site_menus > 0 && $templatepath == "derry/") 
                          {
                                if (isset($site) && $site == "developer")
                                {
@@ -36,78 +35,16 @@
                                        
                                        echo '</div>';
                                }
-                               else
+                               else {
                                        $plasmaMenu->showHtml();
                          }
+                         }
                        ?>
                </div>
        <div class="content">
-       <script type="text/javascript" 
src="/media/javascripts/jquery-1.4.2.min.js"></script>
-       <script type="text/javascript" 
src="/media/javascripts/plasmaMenu.min.js"></script>     
-       <script type="text/javascript" 
src="/media/javascripts/jquery.cycle.all.min.js"></script>
-       <script type="text/javascript">
-               (function($) {
-                       var cache = [];
-                       // Arguments are image paths relative to the current 
page.
-                       $.preLoadImages = function() {
-                           var args_len = arguments.length;
-                           for (var i = args_len; i--;) {
-                               var cacheImage = document.createElement('img');
-                               cacheImage.src = arguments[i];
-                               cache.push(cacheImage);
-                           }
-                        }
-               })(jQuery)
                
-               $(document).ready(function() {
-                       $('.sub').hide();
-                       $('.toggle').show();
-                       $('.teaser_hide').css('display', 'block');
-                       <?php if (isset($teaser)) {     ?>
-                       // You need to add a comma after the php function 
output if there are more entries
-                       jQuery.preLoadImages(<?php $teaserImages->imageList(); 
?>,
-                                                                
"/media/images/plasmaMenu/menubox_top.png", 
-                                                                
"/media/images/plasmaMenu/menubox_body.png",
-                                                                
"/media/images/plasmaMenu/menubox_bottom.png");
-                       $('.teaser').cycle({
-                               fx: '<?php echo $teaserImages->options['fx']; 
?>',
-                               timeout: <?php echo 
$teaserImages->options['timeout']; ?>,
-                               speed: <?php echo 
$teaserImages->options['speed']; ?>,
-                               next : $('#next'),
-                               prev : $('#previous')
-                       });
-
-                       var show = function(e) {
-                               var teaserPosition = $('.teaser').offset();
-                               var next = $('#next');
-                               var prev = $('#previous');
-                               var left = (teaserPosition.left + 
$('.teaser').width()) / 2;
-                               next.css({top:teaserPosition.top, 
left:left}).show();
-                               
prev.css({top:teaserPosition.top+$('.teaser').height()-prev.height(), 
left:left}).show();
-                       };
-
-                       var hide = function(time) {
-                               $('#next').hide();
-                               $('#previous').hide();
-                       };
-
-                       var pause = function() {
-                               $('.teaser').cycle('pause');
-                       }
-
-                       var resume = function() {
-                               $('.teaser').cycle('resume');
-                       }
-
-                       $('.teaser').mouseover(show);
-                       $('.teaser').mouseout(hide);
-                       $('.teaser').mouseover(pause);
-                       $('.teaser').mouseout(resume);
-
-                       $('#next').mouseover(show);
-                       $('#previous').mouseover(show);
-                       
-                       <?php } ?>
-               });
-       </script><?php if (isset($teaser)) $teaserImages->generate(); ?>
     <div id="main">
+
+               <div class="toolbox">
+                <?php  include  $templatepath.'toolbox.inc'; ?>
+               </div>
\ No newline at end of file

Reply via email to