~quam-plures-core/quam-plures/bug-614012

« back to all changes in this revision

Viewing changes to templates/evocamp/single.main.php

  • Committer: yabs
  • Author(s): EdB
  • Date: 2010-07-05 15:24:36 UTC
  • mfrom: (7501.1.4 everything_in_one)
  • Revision ID: yabs@innervisions.org.uk-20100705152436-zdfylg1djrbsi18o
Implementing the huge EdB branch ;)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
<?php
33
33
// --- --- --- --- --- --- --- --- --- --- ---
34
34
// --- LEFT SIDEBAR INCLUDED HERE ---
35
 
template_include( '_sidebar_left.inc.php' );
 
35
template_include( '_sidebar.inc.php' );
36
36
?>
37
37
 
38
38
<div id="content">
39
39
<?php
40
40
// messages generated from actions
41
 
messages();
 
41
messages( array() );
42
42
 
43
43
// display a message if list is empty
44
 
display_if_empty();
 
44
display_if_empty( array() );
45
45
 
46
46
// loop through as long as we have an Item...
47
47
while( $Item = & mainlist_get_item() )
48
48
{
49
 
        $Item->locale_temp_switch(); // temporarily switch to post locale
 
49
        $Item->locale_temp_switch(); // temporarily switch to item's locale
50
50
        ?>
51
51
 
52
52
        <div id="<?php $Item->anchor_id(); ?>" class="post post<?php $Item->status_raw(); ?>" lang="<?php $Item->lang(); ?>">
60
60
        // display issue date/time of item
61
61
        $Item->issue_date( array(
62
62
                'before' => /* TRANS: date */ T_('on').' ',
63
 
                'time_format' => 'M j, Y',
 
63
                'date_format' => 'M j, Y',
64
64
                'after' => '',
65
65
        ) );
66
66
 
82
82
        ?></p>
83
83
        <?php
84
84
        // --- --- --- --- --- --- --- --- --- --- ---
85
 
        // ---  POST CONTENT INCLUDED HERE ---
 
85
        // --- POST CONTENT INCLUDED HERE ---
86
86
        template_include( '_item_content.inc.php', array(
87
87
                'image_size' => 'fit-400',
88
88
        ) );
125
125
<?php
126
126
// --- --- --- --- --- --- --- --- --- --- ---
127
127
// --- RIGHT SIDEBAR INCLUDED HERE ---
128
 
template_include( '_sidebar_right.inc.php' );
 
128
template_include( '_sidebar_2.inc.php' );
129
129
?>
130
130
</div>
131
131