| verzia 1.12, 2017/06/09 15:02:37 |
verzia 1.13, 2024/11/20 07:21:07 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/extensions/phpMyEdit-slide.class.php,v 1.11 2007-09-02 22:30:00 nepto Exp $ */ |
/* $Platon: phpMyEdit/extensions/phpMyEdit-slide.class.php,v 1.12 2017/06/09 15:02:37 igor Exp $ */ |
| |
|
| /* |
/* |
| * Coding elapsed time: from 8:30 to 10:30 at 30th October 2002 |
* Coding elapsed time: from 8:30 to 10:30 at 30th October 2002 |
| Riadok 33 class phpMyEdit_slide extends phpMyEdit |
|
| Riadok 33 class phpMyEdit_slide extends phpMyEdit |
|
| // Extension options array |
// Extension options array |
| var $ext; |
var $ext; |
| |
|
| function phpMyEdit_slide($opts) /* {{{ */ |
function __construct($opts) /* {{{ */ |
| { |
{ |
| $execute = 1; |
$execute = 1; |
| isset($opts['execute']) && $execute = $opts['execute']; |
isset($opts['execute']) && $execute = $opts['execute']; |
| $opts['execute'] = 0; |
$opts['execute'] = 0; |
| parent::phpMyEdit($opts); |
parent::__construct($opts); |
| |
|
| $this->ext = $opts['ext']; |
$this->ext = $opts['ext']; |
| |
|
| $execute && $this->execute($opts); |
$execute && $this->execute(); |
| } /* }}} */ |
} /* }}} */ |
| |
|
| function execute($opts) /* {{{ */ |
function execute() /* {{{ */ |
| { |
{ |
| if ($this->get_sys_cgi_var('rec_change') |
if ($this->get_sys_cgi_var('rec_change') |
| && ($this->next_operation() || $this->prev_operation())) { |
&& ($this->next_operation() || $this->prev_operation())) { |
| Riadok 105 class phpMyEdit_slide extends phpMyEdit |
|
| Riadok 105 class phpMyEdit_slide extends phpMyEdit |
|
| array('code'=>'<input type="hidden" name="' |
array('code'=>'<input type="hidden" name="' |
| .$this->cgi['prefix']['sys'].'rec_next" value="'.$this->ext['next'].'">') |
.$this->cgi['prefix']['sys'].'rec_next" value="'.$this->ext['next'].'">') |
| ); |
); |
| |
|
| $this->recreate_fdd(); |
$this->recreate_fdd(); |
| $this->recreate_displayed(); |
$this->recreate_displayed(); |
| parent::execute(); |
parent::execute(); |