Lines Matching refs:pages
182 $pages = $ini[$t]['page'];
185 $this->process_array($pages, $newpagevars, $t, $user,$usrreplace);
187 $this->process_single($pages, $newpagevars, $t, $user,$usrreplace);
192 function process_array($pages, $newpagevars, $tpl, $user="",$usrreplace)
194 for ($i = 0; $i < count($pages); $i++) {
198 $res = $this->pagefromtemplate($tpl, $pages[$i], $newpagevars[$i], $user);
199 $result = $this->writePage($pages[$i], $res);
224 function process_single($pages, $newpagevars, $tpl, $user="",$usrreplace)
226 /* handles mutiple pages but single instance of newpagevars */
230 for ($i = 0; $i < count($pages); $i++) {
231 $res = $this->pagefromtemplate($tpl, $pages[$i], $newpagevars, $user);
232 $result = $this->writePage($pages[$i], $res);