Lines Matching refs:vars

28 	function ADMINSTYLE($vars)  argument
30 $this->vars = $vars;
132 $this->session->setVar('editStyleFile', $this->vars['editStyleFile']);
133 $dir = strtolower($this->vars['editStyleFile']);
134 $fileName = $this->vars['editStyleFile'] . ".xml";
140 $this->session->setVar("style_shortName", $this->vars['editStyleFile']);
304 $dirName = OSBIB_STYLE_DIR . "/" . strtolower(trim($this->vars['styleShortName']));
305 $fileName = $dirName . "/" . strtoupper(trim($this->vars['styleShortName'])) . ".xml";
581 $pString .= FORM::hidden("editStyleFile", $this->vars['editStyleFile']) .
583 TABLE::td(MISC::b($this->vars['editStyleFile'] . ":  "),
1062 $fileString .= "<name>" . trim(stripslashes($this->vars['styleShortName'])) . "</name>";
1063 …$fileString .= "<description>" . htmlspecialchars(trim(stripslashes($this->vars['styleLongName'])))
1088 if(isset($this->vars[$input]))
1093 htmlspecialchars(stripslashes($this->vars[$input])) . "</$elementName>";
1126 if(isset($this->vars[$input]))
1131 htmlspecialchars(stripslashes($this->vars[$input])) . "</$elementName>";
1139 $input = trim(stripslashes($this->vars[$type]));
1151 $dirName = OSBIB_STYLE_DIR . "/" . strtolower(trim($this->vars['styleShortName']));
1154 $fileName = $dirName . "/" . strtoupper(trim($this->vars['styleShortName'])) . ".xml";
1169 if(!isset($this->vars[$name]))
1172 $name = $this->vars[$name];
1210 if(!trim($this->vars['styleShortName']))
1213 $this->session->setVar("style_shortName", trim($this->vars['styleShortName']));
1214 if(preg_match("/\s/", trim($this->vars['styleShortName'])))
1216 else if(!trim($this->vars['styleLongName']))
1218 else if(!trim($this->vars['cite_template']))
1220 else if(!trim($this->vars['style_genericBook']))
1222 else if(!trim($this->vars['style_genericArticle']))
1224 else if(!trim($this->vars['style_genericMisc']))
1228 if(!isset($this->vars[$input]))
1233 if(($this->vars['style_primaryCreatorList'] == 1) &&
1234 (!trim($this->vars['style_primaryCreatorListLimit']) ||
1235 (!$this->vars['style_primaryCreatorListMore'])))
1237 else if(($this->vars['style_primaryCreatorList'] == 1) &&
1238 (!is_numeric($this->vars['style_primaryCreatorListLimit']) ||
1239 !is_numeric($this->vars['style_primaryCreatorListMore'])))
1241 else if(($this->vars['style_otherCreatorList'] == 1) &&
1242 (!trim($this->vars['style_otherCreatorListLimit']) ||
1243 (!$this->vars['style_otherCreatorListMore'])))
1245 else if(($this->vars['style_otherCreatorList'] == 1) &&
1246 (!is_numeric($this->vars['style_otherCreatorListLimit']) ||
1247 !is_numeric($this->vars['style_otherCreatorListMore'])))
1249 else if(($this->vars['cite_creatorList'] == 1) &&
1250 (!trim($this->vars['cite_creatorListLimit']) ||
1251 (!$this->vars['cite_creatorListMore'])))
1253 else if(($this->vars['cite_creatorList'] == 1) &&
1254 (!is_numeric($this->vars['cite_creatorListLimit']) ||
1255 !is_numeric($this->vars['cite_creatorListMore'])))
1257 else if(($this->vars['cite_creatorListSubsequent'] == 1) &&
1258 (!trim($this->vars['cite_creatorListSubsequentLimit']) ||
1259 (!$this->vars['cite_creatorListSubsequentMore'])))
1261 else if(($this->vars['cite_creatorListSubsequent'] == 1) &&
1262 (!is_numeric($this->vars['cite_creatorListSubsequentLimit']) ||
1263 !is_numeric($this->vars['cite_creatorListSubsequentMore'])))
1265 else if(($this->vars['style_editorSwitch'] == 1) &&
1266 !trim($this->vars['style_editorSwitchIfYes']))
1268 else if(($this->vars['style_primaryCreatorRepeat'] == 2) &&
1269 !trim($this->vars['style_primaryCreatorRepeatString']))
1271 else if($this->vars['style_monthFormat'] == 2)
1275 if(!trim($this->vars["style_userMonth_$i"]))
1282 if(preg_match("/\s/", trim($this->vars['styleShortName'])))
1284 else if(array_key_exists(strtoupper(trim($this->vars['styleShortName'])), $this->styles))
1289 if(!array_key_exists('editStyleFile', $this->vars))
1304 if(trim($this->vars['styleLongName']))
1305 $this->session->setVar("style_longName", base64_encode(trim($this->vars['styleLongName'])));
1310 if(trim($this->vars[$type]))
1311 $this->session->setVar($type, base64_encode(trim($this->vars[$type])));
1316 $this->session->setVar($name, base64_encode(trim($this->vars[$name])));
1377 if(isset($this->vars[$input]))
1378 $this->session->setVar($input, base64_encode($this->vars[$input]));