Home
last modified time | relevance | path

Searched refs:opt (Results 201 – 225 of 249) sorted by path

12345678910

/plugin/siteexport/syntax/
H A Dtoc.php132 foreach ($data['options'] as $opt) {
133 switch ($opt) {
/plugin/socialshareprivacy/
H A Daction.php51 foreach($options as $opt) {
52 $opt_value=$this->getConf("$opt");
53 $parts = explode("_", $opt, 2);
/plugin/socialshareprivacy2/
H A Daction.php55 foreach ($options as $opt) {
56 $opt_value=$this->getConf("$opt");
57 $parts = explode("_", $opt, 2);
84 foreach ($options as $opt) {
85 list($service, $setting) = explode("_", $opt, 2);
86 $value = $this->getConf($opt);
/plugin/sortablejs/
H A Dsyntax.php112 foreach( $oa as $opt ) {
113 $explodedOption = explode( "=", $opt );
151 $ret .= ' sort'.$opt;
/plugin/sqlcomp/
H A Dsyntax.php95 foreach($o as $opt) {
96 $opt = strtolower($opt);
97 if(ctype_digit($opt)) {
98 $opts['refresh'] = $opt;
101 msg($this->getLang("syntax_option").': "'.$opt.'"', -1);
/plugin/sqlite/
H A DSQLiteDB.php320 * Get a config value from the opt table
322 * @param string $opt Config name
327 public function getOpt($opt, $default = null)
329 $value = $this->queryValue("SELECT val FROM opts WHERE opt = ?", [$opt]);
337 * Set a config value in the opt table
339 * @param $opt
343 public function setOpt($opt, $value)
345 $this->exec('REPLACE INTO opts (opt,val) VALUES (?,?)', [$opt,
298 getOpt($opt, $default = null) global() argument
314 setOpt($opt, $value) global() argument
[all...]
H A Ddb.sql2 CREATE TABLE opts (opt,val); field
3 CREATE UNIQUE INDEX idx_opt ON opts(opt);
/plugin/sqlraw/
H A Dsyntax.php288 $opt = array('content' => '');
295 $opt['content'] = $http->get($url);
300 $opt['file'] = cleanID($url);
301 if(!strlen(getNS($opt['file'])))
302 $opt['file'] = $INFO['namespace'].':'.$opt['file'];
303 if (auth_quickaclcheck(getNS($opt['file']).':*') < AUTH_READ) {
307 $file = mediaFN($opt['file']);
308 $opt['content'] = io_readFile($file);
310 if(!utf8_check($opt['content'])) $opt['content'] = utf8_encode($opt['content']);
316 if(!$opt['content']){
[all …]
/plugin/statistics/
H A Dadmin.php18 protected $opt = ''; variable in admin_plugin_statistics
111 $this->opt = preg_replace('/[^a-z]+/', '', $_REQUEST['opt']);
112 if(!in_array($this->opt, $this->allowedpages)) $this->opt = 'dashboard';
139 $method = 'html_' . $this->opt;
141 echo '<div class="plg_stats_' . $this->opt . '">';
142 echo '<h2>' . $this->getLang($this->opt) . '</h2>';
168 '?do=admin&amp;page=statistics&amp;opt=' . $page . '&amp;f=' . $this->from . '&amp;t=' . $this->to,
176 '?do=admin&amp;page=statistics&amp;opt
[all...]
/plugin/struct/action/
H A Dbureaucracy.php64 $schema = new Schema($helper->opt['label']);
74 $field->opt = $helper->opt; // copy all the settings to each field
75 $field->opt['label'] = $column->getFullQualifiedLabel();
110 $field->opt['struct_pids'] = [];
122 $field->opt['struct_pids'][] = $pid;
130 $field->opt['value'] = $new_value;
158 $tosave[$tbl][$lbl] = $field->opt['struct_pids'];
/plugin/struct/helper/
H A Dfield.php34 $this->column = $this->findColumn($this->opt['label']);
64 if (!isset($this->opt['optional'])) {
69 $label = $this->opt['label'];
75 $this->opt['value'] = $value;
133 $value = $this->opt['value'];
162 $preparedValue = $this->opt['value'] ?? ($this->column->isMulti() ? [] : '');
203 $required = empty($this->opt['optional']) ? ' <sup>*</sup>' : '';
/plugin/struct/meta/
H A DAccessTable.php443 [$sql, $opt] = $this->buildGetDataSQL($idColumn);
445 return $this->sqlite->queryAll($sql, $opt);
H A DSchema.php78 $opt = [$table, $ts];
85 $opt = [$table];
87 $schema = $this->sqlite->queryAll($sql, $opt);
/plugin/struct/types/
H A DCheckbox.php34 $opt = array_shift($options);
36 if ($rawvalue == $opt) {
41 $opt = hsc($opt);
44 'value' => $opt,
51 return "<label><input $attributes>&nbsp;$opt</label>";
68 foreach ($this->getOptions() as $opt) {
69 if (in_array($opt, $rawvalues)) {
77 'value' => $opt,
86 $opt
[all...]
H A DDropdown.php42 foreach ($this->getOptions() as $opt => $val) {
43 if ($opt == $rawvalue) {
49 $html .= "<option $selected value=\"" . hsc($opt) . "\">" . hsc($val) . '</option>';
76 foreach ($this->getOptions() as $raw => $opt) {
83 $html .= "<option $selected value=\"" . hsc($raw) . "\">" . hsc($opt) . '</option>';
H A DTag.php59 $opt = ["%$lookup%"];
64 $rows = $sqlite->queryAll($sql, $opt);
/plugin/structcombolookup/types/
H A DNarrowingLookup.php116 foreach($this->getNarrowByOptions() as $opt => $val) {
117 if($opt == $this->getRawValueNarrowingValue($rawvalue)) {
123 $html .= "<option $selected value=\"" . hsc($opt) . "\">" . hsc($val) . '</option>';
150 foreach($this->getOptions() as $opt => $option) {
152 if($opt == $rawvalue) {
158 …$html .= "<option data-parent=\"" . hsc($parent) . "\" $selected value=\"" . hsc($opt) . "\">" . h…
/plugin/structsection/
H A Dyarn.lock323 "@webassemblyjs/wasm-opt" "1.9.1"
338 "@webassemblyjs/wasm-opt@1.9.1":
340 …resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.1.tgz#fbdf8943a825e6…
/plugin/subjectindex/syntax/
H A Dindex.php50 $opt = array();
109 $opt[$key] = $value;
115 if ($opt['default'] === true) {
118 return $opt;
136 $section_entries = $all_entries->filtered($opt['section'], $opt['regex']);
138 … $lines = $this->_create_index($section_entries, $all_pages, $opt['hideatoz'], $opt['proper']);
243 $outer_border = ($opt['border'] == 'outside' || $opt['border'] == 'both') ? 'border' : '';
244 … $inner_border = ($opt['border'] == 'inside' || $opt['border'] == 'both') ? 'inner-border' : '';
249 if ($opt['label'] != '') {
255 $cols = $opt['cols'];
[all …]
/plugin/superacl/
H A Dadmin.php130 foreach((array) $_REQUEST['acl'] as $where => $opt){
131 foreach($opt as $who => $perm){
/plugin/switchpanel/
H A Dsyntax.php47 $opt = array(
108 $opt[ $sKey ] = $sVal;
247 return $opt;
306 if( $opt[ 'group' ] > 0 ){
314 $iGroup = $opt[ 'group' ];
316 …( $opt[ 'showEars' ] ? ( $opt[ 'elementWidth' ] * 4 ) : ( $opt[ 'elementSeparatorWidth' ] * 2 ) ) …
367 if( $opt[ 'showEars' ] ){
393 …_screw_none::getSvg( ( $iWidthSvg - $opt[ 'elementSeparatorWidth' ] - $opt[ 'screwWidth' ] ), $iPo…
402 $iIndexX = $opt[ 'showEars' ] ? ( $opt[ 'elementWidth' ] * 2 ) : $opt[ 'elementSeparatorWidth' ];
427 $iMoveX = $opt[ 'elementWidth' ] - $opt[ 'elementSeparatorWidth' ];
[all …]
/plugin/switchpanel/tpl/
H A Dswitchpanel.case.2of.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
20 $sColor = $opt[ 'color' ];
26 $sLabelBgColor = $opt[ 'labelBgColor' ];
32 $sLabelTxtColor = $opt[ 'labelTxtColor' ];
38 …$sSvg .= '<rect x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.$opt[ 'elemen…
39 …$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.( $opt[ 'elementHeight' ] / 2.65 )…
40opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 3.6 ) ).'" style="font-w…
41 … ( $opt[ 'elementWidth' ] / 8 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" width="'.( …
42 …<circle cx="'.( $iX + ( $opt[ 'elementWidth' ] / 3.2 ) ).'" cy="'.( $iY + ( $opt[ 'elementHeight' …
43 …<circle cx="'.( $iX + ( $opt[ 'elementWidth' ] / 1.45 ) ).'" cy="'.( $iY + ( $opt[ 'elementHeight'…
[all …]
H A Dswitchpanel.case.close.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
20 $sColor = $opt[ 'color' ];
26 $sLabelBgColor = $opt[ 'labelBgColor' ];
32 $sLabelTxtColor = $opt[ 'labelTxtColor' ];
38 …$sSvg .= '<rect x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.$opt[ 'elemen…
40 …$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.( $opt[ 'elementHeight' ] / 2.65 )…
41opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 3.6 ) ).'" style="font-w…
42opt[ 'elementWidth' ] / 8 ) ).'" y1="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" x2="'.( ( $iX …
43opt[ 'elementWidth' ] / 8 ) ) + ( $opt[ 'elementWidth' ] / 1.35 ) ).'" y1="'.( $iY + ( $opt[ 'elem…
44 … ( $opt[ 'elementWidth' ] / 8 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" width="'.( …
[all …]
H A Dswitchpanel.case.gbic.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
6 …et( $oCase[ 'options' ][ 'target' ] ) ? $oCase[ 'options' ][ 'target' ] : $opt[ 'target' ] ).'" st…
20 $sColor = $opt[ 'color' ];
26 $sLabelBgColor = $opt[ 'labelBgColor' ];
32 $sLabelTxtColor = $opt[ 'labelTxtColor' ];
38 …$sSvg .= '<rect x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.$opt[ 'elemen…
39 …$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.( $opt[ 'elementHeight' ] / 2.65 )…
40opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 3.6 ) ).'" style="font-w…
41 … ( $opt[ 'elementWidth' ] / 8 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" width="'.( …
44 …$opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 1.25 ) ).'" text-anchor…
H A Dswitchpanel.case.none.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument

12345678910