Lines Matching refs:cmd
71 $cmd = array_shift($lines);
72 $cmd = str_replace('photogallery', '', $cmd);
73 $cmd = trim($cmd, '- ');
74 if (!strpos('show|link',$cmd)) {
75 $cmd = 'show';
77 $data['command'] = $cmd;
189 if ($cmd == 'link'){
230 $cmd = $data['command'];
237 elseif($cmd == 'show')
277 $cmd = $data['command'];
279 if(($cmd == 'show') and (!$this->_media_folder_exists($data['ns']))){
282 }elseif (($cmd == 'link') and (!page_exists($data['pg']))){
547 $cmd = $data['command'];
557 if ($cmd == 'show'){
584 if ($cmd == 'show'){