Lines Matching refs:JSINFO

104             global $INPUT, $JSINFO, $conf,$ID,$USERINFO;  
116 $JSINFO['tmplft_template'] = $conf['template'];
117 $JSINFO['tmplftacl'] = auth_quickaclcheck( $ID);
119 $JSINFO['tmplft_aclgen'] = $acl_levels[$this->getConf('acl_all')];
124 $JSINFO['tmplft_bgcolor'] = $background_color;
179 $JSINFO['tmplft_profile'] = '1';
182 $JSINFO['tmplft_profile'] = "";
186 $JSINFO['tmplft_search'] = '1';
188 else $JSINFO['tmplft_search'] = "";
198 global $JSINFO;
213 $JSINFO['tmplft_logo'] = trim($logo);
214 $JSINFO['tmplft_logo_width'] = trim($width);
223 $JSINFO['tmplft_logo'] = trim($logo);
224 $JSINFO['tmplft_logo_width'] = trim($width);
228 $JSINFO['tmplft_logo'] = trim($logo);
229 $JSINFO['tmplft_logo_width'] = trim($width);
236 global $JSINFO;
248 $JSINFO['tmplft_title'] = trim($names[$slot]);
256 $JSINFO['tmplft_title'] = trim($names[$i]);
258 else $JSINFO['tmplft_title'] = trim($names[0]);
264 global $JSINFO;
268 $JSINFO['tmplft_tag'] = date($opt);
283 $JSINFO['tmplft_tag'] = trim($tags[$slot]);
291 $JSINFO['tmplft_tag'] = trim($tags[$i]);
293 else $JSINFO['tmplft_tag'] = trim($tags[0]);
299 global $JSINFO, $INPUT;
306 $JSINFO['tmplft_sitetools'] = "$sitetools";
308 else $JSINFO['tmplft_sitetools'] = "";
319 $JSINFO['tmplft_pagetools'] = $pagetools;
321 else $JSINFO['tmplft_pagetools'] = "";
323 $JSINFO['tmplft_ptools_xcl'] = "";
329 if(!empty($xcl)) $JSINFO['tmplft_ptools_xcl'] = $xcl;
331 $mobile_pt = explode(',',$JSINFO['tmplft_pagetools']);
332 $mobile_st = explode(',',$JSINFO['tmplft_sitetools']);
335 $JSINFO['tmplft_mobile'] = implode('|',$mobile_ar);
338 if(isset($JSINFO['tmplft_ptools_xcl'] )) {
339 $pt_conf = array_diff($pt_conf, explode(',',$JSINFO['tmplft_ptools_xcl'] ));
343 $JSINFO['tmplft_actions'] = implode(',',$actions_ar);
344 $JSINFO['tmplft_mobile'] = implode('|',$actions_ar);
346 else $JSINFO['tmplft_actions'] = implode(',',$mobile_ar);
349 $JSINFO['tmplft_actions'] .= ',search';
352 $JSINFO['tmplft_actions'] .= ',profile';
354 if(preg_match('/revisions|recent/',$JSINFO['tmplft_actions'])) {
355 $JSINFO['tmplft_actions'] .= ',diff';
379 global $JSINFO;
385 if(empty($JSINFO['tmplftacl'])) {
386 $JSINFO['tmplftacl']=0;
388 …$acl = (($JSINFO['tmplftacl'] >= 0) && $JSINFO['tmplftacl'] <= $JSINFO['tmplft_aclgen']) ? true: …
392 if(isset($JSINFO['tmplft_ptools_xcl']) && !empty($JSINFO['tmplft_ptools_xcl'])) {
393 if(strpos($JSINFO['tmplft_ptools_xcl'],$act) !== false) { // if excluded allow
398 if(strpos($JSINFO['tmplft_actions'],$act) === false) { // if allowed action, allow