Location: PHPKode > projects > Movim > movim-0.6/themes/movim/page.tpl
<?php /* -*- mode: html -*- */
?><!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title><?php $this->title();?></title>
    <link rel="shortcut icon" href="<?php $this->link_file('img/favicon.ico');?>" />
    <script src="http://openlayers.org/api/2.12/OpenLayers.js"></script>
    <script src="system/js/steditor.js"></script>

    <?php
    
    

    $this->addCss('css/animations.css');
    $this->addCss('css/forms.css');
    
    if(preg_match('/(alcatel|amoi|android|avantgo|blackberry|benq|cell|cricket|docomo|elaine|htc|iemobile|iphone|ipad|ipaq|ipod|j2me|java|midp|mini|mmp|mobi|motorola|nec-|nokia|palm|panasonic|philips|phone|sagem|sharp|sie-|smartphone|sony|symbian|t-mobile|telus|up\.browser|up\.link|vodafone|wap|webos|wireless|xda|xoom|zte)/i', $_SERVER['HTTP_USER_AGENT']))
    { 
        echo '
            <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport" />
            <meta name="viewport" content="width=device-width" />
            ';
        $this->addCss('css/mobile.css'); 
    } else { 
        $this->addCss('css/posts.css');
        $this->addCss('css/style2.css');
    }

    $this->scripts();
    
    $user = new User();

    $color = $user->getConfig('color');
    if(isset($color)) {
        echo '
        <style type="text/css">
            body { background-color: #'.$color.'; }
        </style>';
    }
    ?>

  </head>
<body onload="movim_onload();">
	<noscript>
        <style type="text/css">
            #nav {display:none;} #content {display: none;}
        </style>
        <div class="warning" style="width: 500px; margin: 0 auto;">
        <?php echo t("You don't have javascript enabled.  Good luck with that."); ?>
        </div>
    </noscript>
	<div id="nav">
	  <?php $this->menu();?>	
	</div>

	<div id="content">
	  <?php $this->content();?>
      
	  	<div id="footer">
			© <a href="http://www.movim.eu">Movim</a> - 2012 • Under <a href="http://www.gnu.org/licenses/agpl-3.0.html">GNU Affero General Public License</a>
		</div>
	</div>

  </body>
</html>
Return current item: Movim