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

« back to all changes in this revision

Viewing changes to templates/pluralism/_item_block.inc.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:
14
14
 * @package templates
15
15
 * @subpackage pluralism
16
16
 */
17
 
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
 
17
if( !defined('QP_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
18
18
 
19
19
global $Item;
20
20
 
30
30
<div id="<?php $Item->anchor_id(); ?>" class="<?php $Item->div_classes( $params ); ?>" lang="<?php $Item->lang(); ?>">
31
31
 
32
32
<?php
33
 
$Item->locale_temp_switch(); // temporarily switch to post locale
 
33
$Item->locale_temp_switch(); // temporarily switch to item's locale
34
34
 
35
35
if(     $Item->is_intro() )
36
36
{ // this is an 'intro' item
56
56
}
57
57
 
58
58
// --- --- --- --- --- --- --- --- --- --- ---
59
 
// ---  POST CONTENT INCLUDED HERE ---
 
59
// --- POST CONTENT INCLUDED HERE ---
60
60
template_include( '_item_content.inc.php' );
61
61
 
62
62
// display the item's tags