Lines Matching defs:newpagevars
85 function pagefromtemplate($template, $page, $newpagevars, $user = "")
98 }, explode(';', $newpagevars));
183 $newpagevars = $ini[$t]['newpagevars'];
184 if (is_array($newpagevars)) {
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)
196 $newpagevars[$i] = "$usrreplace;" . $newpagevars[$i];
198 $res = $this->pagefromtemplate($tpl, $pages[$i], $newpagevars[$i], $user);
203 echo "<table class = 'newpagevars' style = 'width:90%;margin:auto;'>\n";
224 function process_single($pages, $newpagevars, $tpl, $user="",$usrreplace)
226 /* handles mutiple pages but single instance of newpagevars */
228 $newpagevars = "$usrreplace;$newpagevars";
231 $res = $this->pagefromtemplate($tpl, $pages[$i], $newpagevars, $user);
236 echo "<table class = 'newpagevars' style = 'width:90%;margin:auto;'>\n";