Skip to content

Commit

Permalink
0.8.1
Browse files Browse the repository at this point in the history
* Miglioramenti CSS
* Rimossi alcuni file inutilizzati
  • Loading branch information
milesimarco committed Oct 6, 2014
1 parent dc5f5ca commit f2ab563
Show file tree
Hide file tree
Showing 18 changed files with 263 additions and 253 deletions.
Binary file added icone/Thumbs.db
Binary file not shown.
Binary file removed icone/c-email - Copia.png
Binary file not shown.
Binary file removed icone/c-indirizzo - Copia.png
Binary file not shown.
Binary file removed icone/c-telefono - Copia.png
Binary file not shown.
Binary file removed icone/genitori.gif
Binary file not shown.
Binary file removed icone/insegnanti.gif
Binary file not shown.
Binary file removed icone/segretaria.gif
Binary file not shown.
Binary file removed icone/studenti.gif
Binary file not shown.
Binary file added images/Thumbs.db
Binary file not shown.
Binary file removed images/fb-20.png
Binary file not shown.
Binary file removed images/topSfuma.jpg
Binary file not shown.
Binary file removed images/topSfumaRighe.jpg
Binary file not shown.
346 changes: 173 additions & 173 deletions include/impostazioni-pasw2015.php

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
<?php if (have_posts()){
while (have_posts()) : the_post();
?> <div class="post" id="post-<?php the_ID(); ?>">

<div class="lastmodified">
Ultima modifica: <?php the_modified_date('j F Y'); ?>
</div>

<h2 class="posttitle"><?php the_title(); ?></h2>

<?php $children = wp_list_pages('depth=1&title_li=&child_of='.$post->ID."&echo=0");
Expand Down
10 changes: 10 additions & 0 deletions page_noleftside.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
?>
<?php get_header(); ?>
<?php get_sidebar(); ?>
<style>
#centrecontent {
width: 77%;
}
</style>

<!-- breadcrumbs -->
<div id="path">
Expand All @@ -15,6 +20,11 @@
<?php if (have_posts()){
while (have_posts()) : the_post();
?> <div class="post" id="post-<?php the_ID(); ?>">

<div class="lastmodified">
Ultima modifica: <?php the_modified_date('j F Y'); ?>
</div>

<h2 class="posttitle"><?php the_title(); ?></h2>

<?php $children = wp_list_pages('depth=1&title_li=&child_of='.$post->ID."&echo=0");
Expand Down
2 changes: 1 addition & 1 deletion sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
}
echo '</div>';
} ?>
<div id="centrecontent" <?php if (get_option('pasw_fluid_layout') == '1') { echo 'style="width: 62%;"'; } ?> class="column">
<div id="centrecontent" class="column">
108 changes: 55 additions & 53 deletions single.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div id="centrecontent" class="column">

<!-- breadcrumbs -->
<div id="path">
Expand All @@ -16,23 +15,26 @@
<li><a href="#rightsidebar">vai alla navigazione contestuale</a></li>
</ul>
</div>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div class="post" id="post-<?php the_ID(); ?>">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div class="post" id="post-<?php the_ID(); ?>">

<div class="lastmodified">
Ultima modifica: <?php the_modified_date('j F Y'); ?>
</div>
<h2 class="posttitle"><?php the_title(); ?></h2>

<?php if ( function_exists('previous_cat_post') ) { ?>
<div id="postnavigation">
<ul>
<li class="navheader">Next Entries</li>
<?php next_cat_post($beforeGroup='', $afterGroup='', $beforeEach='<li>', $afterEach='</li>', $showtitle=true, $textForEach='(%) '); ?>
<li class="navheader">Previous Entries</li>
<?php previous_cat_post($beforeGroup='', $afterGroup='', $beforeEach='<li>', $afterEach='</li>', $showtitle=true, $textForEach='(%) '); ?>
</ul>
</div>
<?php } ?>

<h2 class="posttitle"><?php the_title(); ?></h2>

<?php if ( function_exists('previous_cat_post') ) { ?>
<div id="postnavigation">
<ul>
<li class="navheader">Next Entries</li>
<?php next_cat_post($beforeGroup='', $afterGroup='', $beforeEach='<li>', $afterEach='</li>', $showtitle=true, $textForEach='(%) '); ?>
<li class="navheader">Previous Entries</li>
<?php previous_cat_post($beforeGroup='', $afterGroup='', $beforeEach='<li>', $afterEach='</li>', $showtitle=true, $textForEach='(%) '); ?>
</ul>
</div>
<?php } ?>

<div class="postentry">
<?php if(!empty($post->post_excerpt)) {
//This post have an excerpt, let's display it
Expand All @@ -45,44 +47,44 @@
<?php the_content(__('Leggi il resto &raquo;')); ?>
<?php wp_link_pages(); ?>

<div class="postmeta">
<?php if (get_option('Pasw_Social')) : ?>
<div class="postmeta">
<?php if (get_option('Pasw_Social')) : ?>

<div style="float:right;margin: 6px;" class="share42init" data-url="<?php the_permalink() ?>" data-title="<?php the_title() ?>"></div>
<script type="text/javascript" src="<?php echo get_template_directory_uri() . '/share42/share42.js';?>"></script>
<div style="float:right;margin: 6px;" class="share42init" data-url="<?php the_permalink() ?>" data-title="<?php the_title() ?>"></div>
<script type="text/javascript" src="<?php echo get_template_directory_uri() . '/share42/share42.js';?>"></script>

<?php endif; ?>
<?php if (!is_page()) { ?>
<p><span class="postauthor">Pubblicato il <?php the_time('j M y') ?> alle <?php the_time() ?> da <?php echo get_the_author(); ?></span>
<br/><?php _e('Contenuto in:'); ?> <?php the_category(', ') ?>
<?php $posttags = get_the_tags($post->ID);
if ($posttags) { ?>
<span><br/>Tag:</span>
<?php
foreach($posttags as $tag) {
echo '<a href="';
echo get_tag_link($tag);
echo '">';
echo $tag->name . '';
echo '</a> ';
}
}
?>
<?php } ?></p>
</div>
<?php endif; ?>
<?php if (!is_page()) { ?>
<p><span class="postauthor">Pubblicato il <?php the_time('j F Y') ?> da <?php echo get_the_author(); ?></span>
<br/><?php _e('Contenuto in:'); ?> <?php the_category(', ') ?>
<?php $posttags = get_the_tags($post->ID);
if ($posttags) { ?>
<span><br/>Tag:</span>
<?php
foreach($posttags as $tag) {
echo '<a href="';
echo get_tag_link($tag);
echo '">';
echo $tag->name . '';
echo '</a> ';
}
}
?>
<?php } ?></p>
</div>
</div>
<p class="postfeedback">
</p>
</div>
<?php comments_template(); ?>
<?php endwhile; else : ?>
<h2><?php _e('Non trovato'); ?></h2>
<p><?php _e('Spiacenti, ma la pagina richiesta non � stata trovata.'); ?></p>
<?php endif; ?>
<p class="postfeedback">

</p>

</div>

<?php comments_template(); ?>

<?php endwhile; else : ?>
<h2><?php _e('Non trovato'); ?></h2>
<p><?php _e('Spiacenti, ma la pagina richiesta non � stata trovata.'); ?></p>
<?php endif; ?>
</div>
<?php include(TEMPLATEPATH . '/rightsidebar.php'); ?>
<?php get_footer(); ?>
<?php get_footer(); ?>
45 changes: 19 additions & 26 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@ display:table;
clear:both;
}

#menu-menu-orizzontale li:first-child a {
width: 18.5%;
text-align: center;
}

.sidebarleft-100-background {
background-color: #C2E2ED;
background-color: #C2E2ED;
width: 20%;
min-width: 170px;
position: absolute;
top: 170px;
top: 150px;
height: 20000px;
}

Expand Down Expand Up @@ -60,6 +66,12 @@ font-weight: bold;
margin-right: 5px;
}

.lastmodified {
float:right;
font-size: 0.7em;
padding-top: 10px;
}

.sotto-pagine {
background-color: #C2E2ED;
float: left;
Expand Down Expand Up @@ -179,6 +191,7 @@ padding:0;
width:98%;
overflow: hidden;
position: relative;
background-color: white;
}

#container {
Expand All @@ -191,6 +204,7 @@ clear:both;
float:left;
margin-top:0;
width:20%;
min-width: 170px;
overflow:hidden;
padding:0;
position:relative;
Expand All @@ -213,7 +227,7 @@ font-size: 0.7em;
margin:0;
padding:0 5px 5px 10px;
float:left;
width:58%;
width:60%;
}

#centrecontent .attachment-50x50 {
Expand All @@ -232,11 +246,9 @@ margin-top:3px;
min-height:120px;
overflow:hidden;
margin:0;
max-width:220px;
min-width:122px;
padding:5px 0 0;
width:20%;
/*background: url("images/middleSfuma.jpg") repeat-x scroll left top transparent;*/
width:18%;
}

#footer {
Expand Down Expand Up @@ -517,7 +529,6 @@ float:left;
}

#topbar ul {
margin-left:160px;
margin-top: 0px;
}

Expand Down Expand Up @@ -556,24 +567,7 @@ margin-top:-14px;
}

/******************* Main Content *******************/
/* Structure */
/*
#centrecontent h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
text-decoration: none;
}

*/
#centrecontent ul {
margin-top:0;
}
Expand Down Expand Up @@ -730,8 +724,7 @@ padding-left:20px;

#rightsidebar ul {
margin:10px;
/*padding: 0;*/
padding:0 8px;
padding: 0 0 0 8px;
list-style-type:none;
font-size:95%;
}
Expand Down

0 comments on commit f2ab563

Please sign in to comment.