diff --git a/archive.php b/archive.php index dce8b4a..4a269d7 100644 --- a/archive.php +++ b/archive.php @@ -1,63 +1,75 @@ -
- + -

+

-
- -
+
+ +
-

Archivio

-
'; at_archive_buttons(); } ?> - - - -
- - - - - +

Archivio

+
'; at_archive_buttons(); } ?> -

-
- -
- - - -

-

- -
-
- -
- + + +
+ + + + + + +

+
+ +
+
+ + +

+

+ +
+
+ +
+ - \ No newline at end of file + diff --git a/archive2.php b/archive2.php deleted file mode 100644 index 54082ba..0000000 --- a/archive2.php +++ /dev/null @@ -1,93 +0,0 @@ - - -
- -
- -
- - - - - - - -

Archivio per la categoria ''

- -

Archivio del

- -

Archivio

- -

Archivio anno

- -

Risultati della ricerca

- -

Archivio autore

- -

Archivi

- -

Archivi per argomento (tag) ''

- - - -

- -

-
- -
- - -
- -
- - \ No newline at end of file diff --git a/functions.php b/functions.php index 65e54a2..7a7cc8c 100644 --- a/functions.php +++ b/functions.php @@ -1,4 +1,4 @@ - 'white', - 'default-image' => '', - 'default-repeat' => '' + 'default-color' => 'white', + 'default-image' => '', + 'default-repeat' => '' ); add_theme_support( 'custom-background', $defaults ); $args = array( - 'width' => 1150, - 'height' => 125, - 'default-image' => '' + 'width' => 1150, + 'height' => 125, + 'default-image' => '' ); add_theme_support( 'custom-header', $args ); @@ -139,29 +141,29 @@ function pasw2015_widgets_init() { } add_action( 'widgets_init', 'pasw2015_widgets_init' ); -/* returns the count of comments or pings depending */ -function comment_count_special($post_id, $comment_type) +/* returns the count of comments or pings depending */ +function comment_count_special($post_id, $comment_type) { - $the_post_comments = get_comments('post_id=' . $post_id); - $comments_by_type = &separate_comments($the_post_comments); - return count($comments_by_type[$comment_type]); -} -/* Only return comment counts */ -add_filter('get_comments_number', 'comment_count', 0); -function comment_count( $count ) + $the_post_comments = get_comments('post_id=' . $post_id); + $comments_by_type = &separate_comments($the_post_comments); + return count($comments_by_type[$comment_type]); +} +/* Only return comment counts */ +add_filter('get_comments_number', 'comment_count', 0); +function comment_count( $count ) { - global $id; - global $nearlysprung; - if ($nearlysprung->option['splitpings'] != "yes") - { - return $count; - } - else - { - return comment_count_special($id, 'comment'); - } -} -function ns_comments($comment, $args, $depth) + global $id; + global $nearlysprung; + if ($nearlysprung->option['splitpings'] != "yes") + { + return $count; + } + else + { + return comment_count_special($id, 'comment'); + } +} +function ns_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?>
  • id="li-comment-"> @@ -175,7 +177,7 @@ function ns_comments($comment, $args, $depth)
    - + @
    @@ -194,7 +196,7 @@ function ns_trackbacks($comment, $args, $depth) { %s said,'), get_comment_author_link()) ?>
    - + @
    @@ -206,18 +208,18 @@ function ns_trackbacks($comment, $args, $depth) { function wpgov_update() { $options = array( - 'name' => get_bloginfo('name'), - 'key' => md5(get_option('pasw_key')), - 'address' => get_option('pasw_indirizzo_scuola'), - 'version' => get_option('pasw2015_version'), - 'domain' => site_url()); + 'name' => get_bloginfo('name'), + 'key' => md5(get_option('pasw_key')), + 'address' => get_option('pasw_indirizzo_scuola'), + 'version' => get_option('pasw2015_version'), + 'domain' => site_url()); $ch = curl_init(); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch,CURLOPT_URL,'http://pasw2015.wpgov.it/welcome.php'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $options); $result = curl_exec($ch); curl_close($ch); } -?> \ No newline at end of file +?> diff --git a/header.php b/header.php index cc80c72..db3a174 100644 --- a/header.php +++ b/header.php @@ -43,16 +43,16 @@ - + @@ -61,6 +61,8 @@
    > +
    +
    Navigazione veloce @@ -80,27 +82,27 @@
  • Esci
  • '; - } else if (!get_option('pasw_menu_login')) { - $append_link .= '
  • Log in
  • '; - } - $append_link .= ''; - - if(function_exists('wp_nav_menu') && has_nav_menu( 'menu-2' ) ) { - wp_nav_menu( array( 'menu' => '', 'items_wrap' => $append_link, 'container' => '', 'menu_class' => 'menu-principale-responsivo', 'theme_location' => 'menu-2' ) ); - } else { - echo ' - '; - } + $append_link = ''; + + if(function_exists('wp_nav_menu') && has_nav_menu( 'menu-2' ) ) { + wp_nav_menu( array( 'menu' => '', 'items_wrap' => $append_link, 'container' => '', 'menu_class' => 'menu-principale-responsivo', 'theme_location' => 'menu-2' ) ); + } else { + echo ' + '; + } ?> -
    \ No newline at end of file +
    diff --git a/images/menuSfuma-inv.jpg b/images/menuSfuma-inv.jpg deleted file mode 100644 index ed87ba6..0000000 Binary files a/images/menuSfuma-inv.jpg and /dev/null differ diff --git a/images/menuSfuma.jpg b/images/menuSfuma.jpg deleted file mode 100644 index b53b7b4..0000000 Binary files a/images/menuSfuma.jpg and /dev/null differ diff --git a/images/menuSfumablu.jpg b/images/menuSfumablu.jpg deleted file mode 100644 index 097b911..0000000 Binary files a/images/menuSfumablu.jpg and /dev/null differ diff --git a/images/menuSfumamarrone.jpg b/images/menuSfumamarrone.jpg deleted file mode 100644 index 275bcb8..0000000 Binary files a/images/menuSfumamarrone.jpg and /dev/null differ diff --git a/images/menuSfumarosso.jpg b/images/menuSfumarosso.jpg deleted file mode 100644 index 3516155..0000000 Binary files a/images/menuSfumarosso.jpg and /dev/null differ diff --git a/images/menuSfumaviola.jpg b/images/menuSfumaviola.jpg deleted file mode 100644 index 43d0d0f..0000000 Binary files a/images/menuSfumaviola.jpg and /dev/null differ diff --git a/images/side_back.jpg b/images/side_back.jpg deleted file mode 100644 index d1284a5..0000000 Binary files a/images/side_back.jpg and /dev/null differ diff --git a/include/moduli-pasw2015.php b/include/moduli-pasw2015.php index aee6eb6..aad74e6 100644 --- a/include/moduli-pasw2015.php +++ b/include/moduli-pasw2015.php @@ -1,77 +1,100 @@ - -

    Funzioni aggiuntive integrate

    -

    - In questa pagina puoi gestire le funzioni speciali presenti in Pasw2015. -

    - + if (isset($_GET['switchsidebar']) || wp_verify_nonce($_GET['switchsidebar'], 'switchsidebar')) { + if (get_option('pasw_msidebar') == 0) { + update_option('pasw_msidebar', '1'); + } else { + update_option('pasw_msidebar', '0'); + } + } + + ?> + +

    Funzioni aggiuntive integrate

    +

    + In questa pagina puoi gestire le funzioni speciali presenti in Pasw2015. +

    +
    - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - + + + + -
    - - PluginDescrizione
    PluginDescrizione
    Categorie nelle Pagine
    - - - - - -
    -
    -

    Questa funzione offre la possibilità di mostrare, in una pagina, la lista degli ultimi 5 articoli prelevati da una categoria di WordPress. -
    Una volta attivato, comparirà un nuovo riquadro nel back-end per la modifica delle pagine. -
    Sconsigliamo di abilitare questa funzione su nuove installazioni in quanto il CMS offre nativamente alternative migliori nella maggior parte dei casi

    -
    -
    + + PluginDescrizione
    PluginDescrizione
    Categorie nelle Pagine
    + + + + + +
    +
    +

    Questa funzione offre la possibilità di mostrare, in una pagina, la lista degli ultimi 5 articoli prelevati da una categoria di WordPress. +
    Una volta attivato, comparirà un nuovo riquadro nel back-end per la modifica delle pagine. +
    Sconsigliamo di abilitare questa funzione su nuove installazioni in quanto il CMS offre nativamente alternative migliori nella maggior parte dei casi

    +
    +
    Sidebars Generator
    + + + + + +
    +
    +

    Crea e gestisci più barre laterali e associale alle pagine.

    +
    +
    Tassonomia destinatari
    - - - - - -
    -
    -

    Funzione dormiente - per il momento -

    -
    -
    Tassonomia destinatari
    + + + + + +
    +
    +

    Funzione dormiente - per il momento -

    +
    +
    + - \ No newline at end of file + diff --git a/include/multiple-sidebars.php b/include/multiple-sidebars.php new file mode 100644 index 0000000..2892fae --- /dev/null +++ b/include/multiple-sidebars.php @@ -0,0 +1,428 @@ +. +*/ + + +/* +* Modifiche effettuate +* Cambiato il nome della classe con pasw_sidebar_generator, +* in modo da prevenire conflitti con il plugin originale. +* Aggiunta Sidebar(sidebar-2) come predefinita. +*/ + +class pasw_sidebar_generator { + + function pasw_sidebar_generator(){ + add_action('init',array('pasw_sidebar_generator','init')); + add_action('admin_menu',array('pasw_sidebar_generator','admin_menu')); + add_action('admin_print_scripts', array('pasw_sidebar_generator','admin_print_scripts')); + add_action('wp_ajax_add_sidebar', array('pasw_sidebar_generator','add_sidebar') ); + add_action('wp_ajax_remove_sidebar', array('pasw_sidebar_generator','remove_sidebar') ); + + //edit posts/pages + add_action('edit_form_advanced', array('pasw_sidebar_generator', 'edit_form')); + add_action('edit_page_form', array('pasw_sidebar_generator', 'edit_form')); + + //save posts/pages + add_action('edit_post', array('pasw_sidebar_generator', 'save_form')); + add_action('publish_post', array('pasw_sidebar_generator', 'save_form')); + add_action('save_post', array('pasw_sidebar_generator', 'save_form')); + add_action('edit_page_form', array('pasw_sidebar_generator', 'save_form')); + + } + + function init(){ + //go through each sidebar and register it + $sidebars = pasw_sidebar_generator::get_sidebars(); + + + if(is_array($sidebars)){ + foreach($sidebars as $sidebar){ + $sidebar_class = pasw_sidebar_generator::name_to_class($sidebar); + register_sidebar(array( + 'name'=>$sidebar, + 'description' => 'Sidebar destra Personalizzata.' + )); + } + } + } + + function admin_print_scripts(){ + wp_print_scripts( array( 'sack' )); + ?> + + Remove]'); + //cellLeft.appendChild(textNode) + + var cellLeft = row.insertCell(2); + removeLink = document.createElement('a'); + linkText = document.createTextNode('remove'); + removeLink.setAttribute('onclick', 'remove_sidebar_link(\'$name\')'); + removeLink.setAttribute('href', 'javacript:void(0)'); + + removeLink.appendChild(linkText); + cellLeft.appendChild(removeLink); + + + "; + + + die( "$js"); + } + + function remove_sidebar(){ + $sidebars = pasw_sidebar_generator::get_sidebars(); + $name = str_replace(array("\n","\r","\t"),'',$_POST['sidebar_name']); + $id = pasw_sidebar_generator::name_to_class($name); + if(!isset($sidebars[$id])){ + die("alert('La Sidebar non esiste.')"); + } + $row_number = $_POST['row_number']; + unset($sidebars[$id]); + pasw_sidebar_generator::update_sidebars($sidebars); + $js = " + var tbl = document.getElementById('sbg_table'); + tbl.deleteRow($row_number) + + "; + die($js); + } + + function admin_menu(){ + add_submenu_page('pasw2015', 'Sidebar Pasw', 'Sidebar', 'manage_options', 'pasw-sidebar-generator', 'pasw_sidebar_generator::admin_page' ); + +} + + function admin_page(){ + ?> + +
    +

    Barre Laterali PASW

    +
    + + + + + + + + + + + + + + + + + +
    Nome SidebarClasse CSSRimuovi
    rimuovi
    Nessuna Sidebars definita


    + + +
    + ID; + } + $selected_sidebar = get_post_meta($post_id, 'sbg_selected_sidebar', true); + if(!is_array($selected_sidebar)){ + $tmp = $selected_sidebar; + $selected_sidebar = array(); + $selected_sidebar[0] = $tmp; + } + $selected_sidebar_replacement = get_post_meta($post_id, 'sbg_selected_sidebar_replacement', true); + if(!is_array($selected_sidebar_replacement)){ + $tmp = $selected_sidebar_replacement; + $selected_sidebar_replacement = array(); + $selected_sidebar_replacement[0] = $tmp; + } + ?> + +
    +
    +

    Pasw Sidebar

    +
    +
    + + +

    Seleziona la Sidebar che vuoi assegnare a questa pagina. Nota: Bisogna prima creare una sidebar da Aspetto > Pasw Sidebars. +

    +
      + +
    • + + + +
    • + +
    +
    +
    +
    +
    + + get_queried_object(); + $selected_sidebar = get_post_meta($post->ID, 'sbg_selected_sidebar', true); + $selected_sidebar_replacement = get_post_meta($post->ID, 'sbg_selected_sidebar_replacement', true); + $did_sidebar = false; + //this page uses a generated sidebar + if($selected_sidebar != '' && $selected_sidebar != "0"){ + echo ""; + if(is_array($selected_sidebar) && !empty($selected_sidebar)){ + for($i=0;$i"; + dynamic_sidebar('sidebar-2');//default behavior + $did_sidebar = true; + break; + }elseif($name == "0" && $selected_sidebar[$i] == "0"){ + //we are replacing the default sidebar with something + //echo "\n\n"; + dynamic_sidebar($selected_sidebar_replacement[$i]);//default behavior + $did_sidebar = true; + break; + }elseif($selected_sidebar[$i] == $name){ + //we are replacing this $name + //echo "\n\n"; + $did_sidebar = true; + dynamic_sidebar($selected_sidebar_replacement[$i]);//default behavior + break; + } + //echo "\n"; + } + } + if($did_sidebar == true){ + echo ""; + return; + } + //go through without finding any replacements, lets just send them what they asked for + if($name != "0"){ + dynamic_sidebar($name); + }else{ + dynamic_sidebar('sidebar-2'); + } + echo ""; + return; + }else{ + if($name != "0"){ + dynamic_sidebar($name); + }else{ + dynamic_sidebar('sidebar-2'); + } + } + } + + /** + * replaces array of sidebar names + */ + function update_sidebars($sidebar_array){ + $sidebars = update_option('sbg_sidebars',$sidebar_array); + } + + /** + * gets the generated sidebars + */ + function get_sidebars(){ + $sidebars = get_option('sbg_sidebars'); + return $sidebars; + } + function name_to_class($name){ + $class = str_replace(array(' ',',','.','"',"'",'/',"\\",'+','=',')','(','*','&','^','%','$','#','@','!','~','`','<','>','?','[',']','{','}','|',':',),'',$name); + return $class; + } + +} +$sbg = new pasw_sidebar_generator; + +function generated_dynamic_sidebar($name='0'){ + pasw_sidebar_generator::get_sidebar($name); + return true; +} +?> diff --git a/include/welcome-pasw2015.php b/include/welcome-pasw2015.php index 3490060..46f41c3 100644 --- a/include/welcome-pasw2015.php +++ b/include/welcome-pasw2015.php @@ -6,63 +6,68 @@ function pasw2015_menu() { - add_menu_page('WordPress PASW 2015', 'Pasw 2015', 'manage_options', 'pasw2015', 'pasw2015_welcome', 'dashicons-screenoptions', 63); - add_submenu_page('pasw2015', 'Moduli', 'Moduli', 'manage_options', 'pasw2015-moduli', 'pasw2015_moduli' ); - add_submenu_page('pasw2015', 'Impostazioni', 'Impostazioni', 'manage_options', 'pasw2015-impostazioni', 'pasw2015_impostazioni' ); + add_menu_page('WordPress PASW 2015', 'Pasw 2015', 'manage_options', 'pasw2015', 'pasw2015_welcome', 'dashicons-screenoptions', 63); + add_submenu_page('pasw2015', 'Moduli', 'Moduli', 'manage_options', 'pasw2015-moduli', 'pasw2015_moduli' ); + add_submenu_page('pasw2015', 'Impostazioni', 'Impostazioni', 'manage_options', 'pasw2015-impostazioni', 'pasw2015_impostazioni' ); } function pasw2015_welcome() { ?> -
    -

    Benvenuto in Pasw 2015

    -
    Pasw2015 è il nuovo tema realizzato dalla Comunità di Pratica Porte Aperte sul Web. -
    Bello, accessibile e innovativo.
    -
    Pasw2015 - '; - $filename = get_theme_root() . '/pasw2015/style.css'; - if (file_exists($filename)) { - echo date ("d M Y", filemtime($filename)); - } - ?>
    +
    +

    Benvenuto in Pasw 2015

    +
    Pasw2015 è il nuovo tema realizzato dalla Comunità di Pratica Porte Aperte sul Web. +
    Bello, accessibile e innovativo.
    +
    Pasw2015 + '; + $filename = get_theme_root() . '/pasw2015/style.css'; + if (file_exists($filename)) { + echo date ("d M Y", filemtime($filename)); + } + ?>

    Con la collaborazione di...

    E il supporto di...

    @@ -73,7 +78,7 @@ function pasw2015_welcome() { ?> -

    +
    \ No newline at end of file +?> diff --git a/page.php b/page.php index 6ac9bc1..0df090f 100644 --- a/page.php +++ b/page.php @@ -1,6 +1,5 @@ -
    @@ -8,65 +7,65 @@
    -
    -

    +
    +

    - ID."&echo=0"); - if($children && get_option( 'pasw_submenu') != '3') { - //Genera CSS - if (get_option( 'pasw_submenu') == '0') { //Verticale SX + ID."&echo=0"); + if($children && get_option( 'pasw_submenu') != '3') { + //Genera CSS + if (get_option( 'pasw_submenu') == '0') { //Verticale SX - } else if (get_option( 'pasw_submenu') == '1') { //Verticale DX - $subcss=' style="float:right;"'; - } else if (get_option( 'pasw_submenu') == '2') { // Orizzontale - $subcss=' style="width:100%;"'; - echo ' - '; - } ?> -
    > -
      - ID); ?> -
    -
    - -
    - -
    -
    + } else if (get_option( 'pasw_submenu') == '1') { //Verticale DX + $subcss=' style="float:right;"'; + } else if (get_option( 'pasw_submenu') == '2') { // Orizzontale + $subcss=' style="width:100%;"'; + echo ' + '; + } ?> +
    > +
      + ID); ?> +
    +
    + +
    + +
    +
    post_title; - if ( get_option('pasw_catpage') != 0 && get_post_meta($post->ID, 'usrlo_pagina_categoria', true)!=-1 ) { - $categoria_pagina = get_post_meta($post->ID, 'usrlo_pagina_categoria', true); - if(isset($categoria_pagina)){ - echo '
    -
    '; + $TitoloPagina=$post->post_title; + if ( get_option('pasw_catpage') != 0 && get_post_meta($post->ID, 'usrlo_pagina_categoria', true)!=-1 ) { + $categoria_pagina = get_post_meta($post->ID, 'usrlo_pagina_categoria', true); + if(isset($categoria_pagina)){ + echo '
    +
    '; - $category_link = get_category_link( $categoria_pagina ); - echo 'Visualizza tutto »'; + $category_link = get_category_link( $categoria_pagina ); + echo 'Visualizza tutto »'; - echo '

    Ultime 5 ' . strtolower ( get_cat_name( $categoria_pagina)) . ' inserite:

    '; - global $post; - $myposts = get_posts('numberposts=5&category='.$categoria_pagina); - foreach($myposts as $post) : - setup_postdata($post); - global $more; - $more = 0; - ?> -

    - Ultime 5 ' . strtolower ( get_cat_name( $categoria_pagina)) . ' inserite:'; + global $post; + $myposts = get_posts('numberposts=5&category='.$categoria_pagina); + foreach($myposts as $post) : + setup_postdata($post); + global $more; + $more = 0; + ?> +

    + '; - } - } + echo '
    '; + } + } ?>
    \ No newline at end of file +include(TEMPLATEPATH . '/rightsidebar.php'); +get_footer(); +?> diff --git a/page_noleftside.php b/page_noleftside.php index fcac94b..29555ba 100644 --- a/page_noleftside.php +++ b/page_noleftside.php @@ -5,7 +5,6 @@ ?> -
    @@ -13,52 +12,52 @@
    -
    -

    +
    +

    - ID."&echo=0"); - if($children){ ?> -
    -
      - ID); ?> -
    -
    - -
    - -
    -
    + ID."&echo=0"); + if($children){ ?> +
    +
      + ID); ?> +
    +
    + +
    + +
    +
    post_title; - if ( get_post_meta($post->ID, 'usrlo_pagina_categoria', true)!=-1 ) { - $categoria_pagina = get_post_meta($post->ID, 'usrlo_pagina_categoria', true); - if(isset($categoria_pagina)){ - echo '
    -
    '; + $TitoloPagina=$post->post_title; + if ( get_post_meta($post->ID, 'usrlo_pagina_categoria', true)!=-1 ) { + $categoria_pagina = get_post_meta($post->ID, 'usrlo_pagina_categoria', true); + if(isset($categoria_pagina)){ + echo '
    +
    '; - $category_link = get_category_link( $categoria_pagina ); - echo 'Visualizza tutto »'; + $category_link = get_category_link( $categoria_pagina ); + echo 'Visualizza tutto »'; - echo '

    Ultime 5 ' . strtolower ( get_cat_name( $categoria_pagina)) . ' inserite:

    '; - global $post; - $myposts = get_posts('numberposts=5&category='.$categoria_pagina); - foreach($myposts as $post) : - setup_postdata($post); - global $more; - $more = 0; - ?> -

    - Ultime 5 ' . strtolower ( get_cat_name( $categoria_pagina)) . ' inserite:'; + global $post; + $myposts = get_posts('numberposts=5&category='.$categoria_pagina); + foreach($myposts as $post) : + setup_postdata($post); + global $more; + $more = 0; + ?> +

    + '; - } - } + echo '
    '; + } + } ?>
    \ No newline at end of file +get_footer(); +?> diff --git a/rightsidebar.php b/rightsidebar.php index d1d4698..58a9a2e 100644 --- a/rightsidebar.php +++ b/rightsidebar.php @@ -1,7 +1,11 @@ \ No newline at end of file +
    diff --git a/search.php b/search.php index 4037a7a..f0c23ce 100644 --- a/search.php +++ b/search.php @@ -1,35 +1,34 @@ -
    - -

    Risultati della ricerca

    + +

    Risultati della ricerca

    Di seguito sono elencati i risultati della ricerca. Speriamo che ci sia anche quello che stavi cercando.

    Se non hai trovato quello che sercavi, prova a fare una ricerca più generale.

    - - -
    -

    - - -
    - - -

    Nessun articolo trovato

    + + +
    +

    + + +
    + + +

    Nessun articolo trovato

    Siamo spiacenti, ma la tua ricerca non ha dato risultati!

    Prova ad allargare la ricerca.

    Prova ad inserire nel modulo di ricerca termini più generali.

    - - + +
    - \ No newline at end of file + diff --git a/sidebar.php b/sidebar.php index 3eab0a7..c0a972a 100644 --- a/sidebar.php +++ b/sidebar.php @@ -5,10 +5,11 @@
    '; + echo '
    '; - if(function_exists('wp_nav_menu')) { - wp_nav_menu( array( 'menu' => '', 'container' => '', 'menu_class' => '', 'theme_location' => 'menu-4' ) ); - } - echo '
    '; + if(function_exists('wp_nav_menu')) { + wp_nav_menu( array( 'menu' => '', 'container' => '', 'menu_class' => '', 'theme_location' => 'menu-4' ) ); + } + echo '
    '; } ?> +
    class="column"> diff --git a/style.css b/style.css index c04a5ed..2f60602 100644 --- a/style.css +++ b/style.css @@ -2,7 +2,7 @@ Theme Name: PASW 2015 Description: Author: Comunità di pratica Porte aperte sul web - USR Lombardia -Version: 0.7.2 +Version: 0.8 Tags: GitHub Theme URI: https://github.com/PorteAperteSulWeb/pasw2015 GitHub Branch: master @@ -16,10 +16,19 @@ display:table; clear:both; } +.sidebarleft-100-background { + background-color: #C2E2ED; +width: 20%; +position: absolute; +top: 170px; +height: 20000px; +} + .imglinks { margin:10px auto; width:100%; text-align:center; +position: relative; } .imglinks img { @@ -74,6 +83,15 @@ text-align: center; text-decoration: none; } +.sotto-pagine li:hover { +transition: background 0.5s, color 0.2s; +background-color: #25385D; +} + +.sotto-pagine li:hover a { +color:white; +} + .secondo-menu { background-color: #C2E2ED; height: 27px; @@ -155,11 +173,12 @@ height:100%; } #wrapper { -background:#fff url(images/side_back.jpg) no-repeat 0px 150px; box-shadow:0 0 5px #4F004F; margin:10px auto; padding:0; -width:96%; +width:98%; +overflow: hidden; +position: relative; } #container { @@ -171,9 +190,10 @@ clear:both; #leftsidebar { float:left; margin-top:0; -width:220px; +width:20%; overflow:hidden; padding:0; +position:relative; } .post-box-archive { @@ -193,7 +213,7 @@ font-size: 0.7em; margin:0; padding:0 5px 5px 10px; float:left; -width:57%; +width:58%; } #centrecontent .attachment-50x50 { @@ -207,7 +227,7 @@ width:57%; } #rightsidebar { -float:right; +float:left; margin-top:3px; min-height:120px; overflow:hidden; @@ -226,6 +246,7 @@ min-height:25px; background-color:#4F004F; color:#FFF; box-shadow: 0 0 10px #4F004F; +position: relative; } #footer a { diff --git a/tmpl_home.php b/tmpl_home.php index e994b25..d26ec48 100644 --- a/tmpl_home.php +++ b/tmpl_home.php @@ -5,16 +5,15 @@ ?> -
    - -
    - -
    -
    - + +
    + +
    +
    +
    - \ No newline at end of file +