svn: /web/pres2/trunk/ display.php

From: Date: Thu, 26 May 2011 22:30:06 +0000
Subject: svn: /web/pres2/trunk/ display.php
Groups: php.pres 
Request: Send a blank email to pres+get-1710@lists.php.net to get a copy of this message
rasmus Thu, 26 May 2011 22:30:06 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=311457 Log: Allow a slide to override the presentation's body_style Changed paths: U web/pres2/trunk/display.php Modified: web/pres2/trunk/display.php =================================================================== --- web/pres2/trunk/display.php 2011-05-26 22:28:27 UTC (rev 311456) +++ web/pres2/trunk/display.php 2011-05-26 22:30:06 UTC (rev 311457) @@ -102,7 +102,8 @@ } function _slide(&$slide) { - $body_style = $this->body_style; + if(!empty($slide->body_style) $body_style = $this->body_style; + else $body_style = $slide->body_style; $class = ''; if ($this->pres->template != 'php') {

« previous php.pres (#1710) next »