Example #1
0
                    </div><!-- end main-column-container -->
                    <div class="cl"></div>
                </div><!-- end main-column -->
<?php if ((is_string($tmp=(isset($this->scope["SIDEBARS"]) ? $this->scope["SIDEBARS"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp) && (is_string($tmp=(isset($this->scope["SIDEBLOCKS"]["right"]) ? $this->scope["SIDEBLOCKS"]["right"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?>
                <div id="right-column" class="sidebar">
<?php echo Dwoo_Plugin_include($this, "sidebar.tpl", null, null, null, '_root', null, array('blocks' => (is_string($tmp=(isset($this->scope["SIDEBLOCKS"]["right"]) ? $this->scope["SIDEBLOCKS"]["right"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)));?>

                </div>
<?php 
}?>

<?php if ((is_string($tmp=(isset($this->scope["SIDEBARS"]) ? $this->scope["SIDEBARS"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp) && (is_string($tmp=(isset($this->scope["SIDEBLOCKS"]["left"]) ? $this->scope["SIDEBLOCKS"]["left"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?>
                <div id="left-column" class="sidebar">
<?php echo Dwoo_Plugin_include($this, "sidebar.tpl", null, null, null, '_root', null, array('blocks' => (is_string($tmp=(isset($this->scope["SIDEBLOCKS"]["left"]) ? $this->scope["SIDEBLOCKS"]["left"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)));?>

                </div>
<?php 
}?>

				<div class="cb"></div>
        </div><!-- main-wrapper -->
    </div><!-- mainmiddle -->
    </div><!-- mainmiddlewrap -->
    <div id="footer-wrap" <?php if ((is_string($tmp=(isset($this->scope["editing"]) ? $this->scope["editing"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp) == true) {
?>class="editcontent"<?php 
}?>>
      <div id="footer">
        <div id="powered-by"><a href="http://mahara.org/"><img src="<?php echo Dwoo_Plugin_theme_url($this, 'images/powered_by_mahara.png', null);?>" border="0" alt="Powered by Mahara"></a></div>
        <!-- This site is powered by Mahara, an Open Source
<?php
/* template head */
if (class_exists('Dwoo_Plugin_counter', false)===false)
	$this->getLoader()->loadPlugin('counter');
if (function_exists('Dwoo_Plugin_include')===false)
	$this->getLoader()->loadPlugin('include');
/* end template head */ ob_start(); /* template body */ ;

$_fh3_data = (is_string($tmp=(isset($this->scope["blocks"]) ? $this->scope["blocks"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);
if ($this->isArray($_fh3_data) === true)
{
	foreach ($_fh3_data as $this->scope['sideblock'])
	{
/* -- foreach start output */

echo $this->classCall('counter', array("sidebar", null, null, null, null, 'sequence'));?><div<?php if ((is_string($tmp=(isset($this->scope["sideblock"]["id"]) ? $this->scope["sideblock"]["id"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?> id="<?php echo (is_string($tmp=$this->scope["sideblock"]["id"]) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);?>"<?php 
}?> class="sideblock sideblock-<?php echo (is_string($tmp=$this->scope["sequence"]) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);?>">
<?php echo Dwoo_Plugin_include($this, "sideblocks/".(is_string($tmp=(isset($this->scope["sideblock"]["name"]) ? $this->scope["sideblock"]["name"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp).".tpl", null, null, null, '_root', null, array('sbdata' => (is_string($tmp=(isset($this->scope["sideblock"]["data"]) ? $this->scope["sideblock"]["data"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)));?>


</div>
<?php 
/* -- foreach end output */
	}
}?>


<?php  /* end template body */
return $this->buffer . ob_get_clean();
?>
Example #3
0
	  ]
	<?php 
                /* -- foreach end output */
            }
        }
        ?>


<?php 
    } else {
        ?>
	<?php 
        if (is_file(isset($this->scope["boardlist"]) ? $this->scope["boardlist"] : null)) {
            ?>
		<?php 
            echo Dwoo_Plugin_include($this, isset($this->scope["boardlist"]) ? $this->scope["boardlist"] : null, null, null, null, '_root', null);
            ?>

	<?php 
        }
        ?>


<?php 
    }
    ?>

</div>
<?php 
}
?>
<?php
/* template head */
if (function_exists('Dwoo_Plugin_include')===false)
	$this->getLoader()->loadPlugin('include');
if (function_exists('Dwoo_Plugin_str')===false)
	$this->getLoader()->loadPlugin('str');
/* end template head */ ob_start(); /* template body */ ;
echo Dwoo_Plugin_include($this, "header.tpl", null, null, null, '_root', null);?>

<p><?php echo Dwoo_Plugin_str($this, 'siteoptionspagedescription', 'admin', null, null, null, null, null);?></p>
<?php echo (isset($this->scope["siteoptionform"]) ? $this->scope["siteoptionform"] : null);?>

<?php echo Dwoo_Plugin_include($this, "footer.tpl", null, null, null, '_root', null);?>


<?php  /* end template body */
return $this->buffer . ob_get_clean();
?>
                        <td></td>
                        <?php 
}
else {
?>
                        <td><?php if ((is_string($tmp=$this->readVarInto(array (  1 =>   array (    0 => '->',  ),  2 =>   array (    0 => 'install',  ),  3 =>   array (    0 => '',    1 => '',  ),), (isset($this->scope["upgrade"]) ? $this->scope["upgrade"]:null), true)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?> <?php echo Dwoo_Plugin_str($this, 'notinstalled', 'admin', null, null, null, null, null);?> <?php 
}
else {
?> <?php echo (is_string($tmp=$this->readVarInto(array (  1 =>   array (    0 => '->',  ),  2 =>   array (    0 => 'fromrelease',  ),  3 =>   array (    0 => '',    1 => '',  ),), $this->scope["upgrade"], false)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);?> <?php 
}?> </td>
                        <td><?php echo (is_string($tmp=$this->readVarInto(array (  1 =>   array (    0 => '->',  ),  2 =>   array (    0 => 'torelease',  ),  3 =>   array (    0 => '',    1 => '',  ),), $this->scope["upgrade"], false)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);?></td>
                        <?php 
}?>

                        <td id="<?php echo (is_string($tmp=$this->scope["name"]) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);?>" class="msgscol">&nbsp;</td>
                    </tr>
                <?php 
/* -- foreach end output */
	}
}?>

                </tbody>
            </table>
            <div id="finished" class="nojs-hidden-block"><?php echo Dwoo_Plugin_str($this, 'successfullyinstalled', 'admin', null, null, null, null, null);?> <a href="<?php echo (is_string($tmp=$this->scope["WWWROOT"]) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);?>admin/upgrade.php?finished=1"><?php echo Dwoo_Plugin_str($this, 'continue', 'admin', null, null, null, null, null);?></a></div>

<?php echo Dwoo_Plugin_include($this, 'admin/upgradefooter.tpl', null, null, null, '_root', null);?>

<?php  /* end template body */
return $this->buffer . ob_get_clean();
?>
              --></a><?php 
}?><!--
              --><?php if ((is_string($tmp=(isset($this->scope["feedlink"]) ? $this->scope["feedlink"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?> <a href="<?php echo (is_string($tmp=$this->scope["feedlink"]) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);?>"><!--
                --><img class="feedicon" src="<?php echo Dwoo_Plugin_theme_url($this, 'images/feed.png', null);?>"><!--
              --></a><?php 
}?><!--
            --></h2>
            <span class="cb"></span>
        </div><?php 
}?>

        <div class="blockinstance-content<?php if ((is_string($tmp=(isset($this->scope["retractable"]) ? $this->scope["retractable"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp) && (is_string($tmp=(isset($this->scope["retractedonload"]) ? $this->scope["retractedonload"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?> js-hidden<?php 
}?>">
            <?php echo (isset($this->scope["content"]) ? $this->scope["content"] : null);?>

        </div>
    </div>
    <?php if ((is_string($tmp=(isset($this->scope["retractable"]) ? $this->scope["retractable"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?>
        <script>
            <?php echo Dwoo_Plugin_include($this, "view/retractablejs.tpl", null, null, null, '_root', null, array('id' => (is_string($tmp=(isset($this->scope["id"]) ? $this->scope["id"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)));?>

        </script>
    <?php 
}?>

<?php  /* end template body */
return $this->buffer . ob_get_clean();
?>
elseif ((is_string($tmp=(isset($this->scope["view"]["owner"]) ? $this->scope["view"]["owner"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp) && (is_string($tmp=(isset($this->scope["loggedin"]) ? $this->scope["loggedin"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?>
                  <?php if ((is_string($tmp=(isset($this->scope["view"]["anonymous"]) ? $this->scope["view"]["anonymous"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?>
                    <?php if ((is_string($tmp=(isset($this->scope["view"]["staff_or_admin"]) ? $this->scope["view"]["staff_or_admin"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?>
                      <?php echo $this->assignInScope((is_string($tmp=(isset($this->scope["view"]["sharedby"]) ? $this->scope["view"]["sharedby"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp), 'realauthor');?>

                      <?php echo $this->assignInScope(profile_url((is_string($tmp=(isset($this->scope["view"]["user"]) ? $this->scope["view"]["user"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)), 'realauthorlink');?>

                    <?php 
}?>

                    <?php echo $this->assignInScope(get_string('anonymoususer'), 'author');?>

                    <?php echo Dwoo_Plugin_include($this, 'author.tpl', null, null, null, '_root', null);?>

                    <?php if ((is_string($tmp=(isset($this->scope["view"]["staff_or_admin"]) ? $this->scope["view"]["staff_or_admin"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?>
                      <?php echo $this->assignInScope(''.(is_string($tmp=((isset($this->scope["author_link_index"]) ? $this->scope["author_link_index"] : null) + 1)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp).'', 'author_link_index');?>

                    <?php 
}?>

                  <?php 
}
else {
?>
                    <a href="<?php echo profile_url((is_string($tmp=(isset($this->scope["view"]["user"]) ? $this->scope["view"]["user"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp));?>"><?php echo (is_string($tmp=$this->scope["view"]["sharedby"]) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);?></a>
                  <?php 
}?>
Example #8
0
<?php if (((is_string($tmp=(isset($this->scope["PAGEHEADING"]) ? $this->scope["PAGEHEADING"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp) !== null)) {
?>
                       <h1><?php echo (is_string($tmp=$this->scope["PAGEHEADING"]) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);
if ((is_string($tmp=(isset($this->scope["PAGEHELPNAME"]) ? $this->scope["PAGEHELPNAME"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?><span class="page-help-icon"><?php echo (isset($this->scope["PAGEHELPICON"]) ? $this->scope["PAGEHELPICON"] : null);?></span><?php 
}?></h1>
<?php 
}?>


<?php if ((is_string($tmp=(isset($this->scope["SUBPAGENAV"]) ? $this->scope["SUBPAGENAV"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {

if ((is_string($tmp=(isset($this->scope["SUBPAGETOP"]) ? $this->scope["SUBPAGETOP"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {
?>
                       <?php echo Dwoo_Plugin_include($this, (is_string($tmp=(isset($this->scope["SUBPAGETOP"]) ? $this->scope["SUBPAGETOP"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp), null, null, null, '_root', null);?>

<?php 
}?>

                       <div class="tabswrap">
                           <ul class="in-page-tabs">
<?php 
$_fh0_data = (is_string($tmp=(isset($this->scope["SUBPAGENAV"]) ? $this->scope["SUBPAGENAV"] : null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp);
if ($this->isArray($_fh0_data) === true)
{
	foreach ($_fh0_data as $this->scope['item'])
	{
/* -- foreach start output */
?>
                               <li <?php if ((is_string($tmp=(isset($this->scope["item"]["selected"]) ? $this->scope["item"]["selected"]:null)) ? htmlspecialchars($tmp, ENT_QUOTES, $this->charset) : $tmp)) {