Lines Matching refs:tag_conf
124 foreach ($new_tag_config as $key => $tag_conf) {
125 $this->tag_config[$key] = $tag_conf;
132 foreach ($this->tag_config as $key => &$tag_conf) {
134 if (!isset($tag_conf['enabled']) || !$tag_conf['enabled']) continue;
137 if (strlen($tag_conf['docu_url']) <= 0) {
138 $tag_conf['enabled'] = false;
142 … if (strlen($tag_conf['remote_url']) > 0 && strlen($tag_conf['update_period']) <= 0) {
143 $tag_conf['enabled'] = false;
149 unset($tag_conf);
154 foreach ($this->tag_config as $key => $tag_conf) {
155 if (isset($tag_conf['delete']) && $tag_conf['delete']) {
171 foreach ($this->tag_config as $key => $tag_conf) {
172 if (isset($tag_conf['new_name']) && $key !== $tag_conf['new_name']) {
175 $newName = $tag_conf['new_name'];
177 $this->tag_config[$newName] = $tag_conf;
242 foreach ($this->tag_config as $key => $tag_conf) {
248 if ($tag_conf['delete']) $checkbox->attrs(['checked' => 'checked']);
254 if ($tag_conf['enabled']) $checkbox->attrs(['checked' => 'checked']);
260 if ($tag_conf['force_runner']) $checkbox->attrs(['checked' => 'checked']);
275 if (isset($tag_conf['new_name'])) {
276 $new_name->val($tag_conf['new_name']);
293 ->val($tag_conf['docu_url']);
300 ->val($tag_conf['remote_url']);
307 ->val($tag_conf['update_period']);
309 if ($tag_conf['update_period'] > 0) {
313 if ($now - $tag_conf['update_period'] >= $timestamp) {
325 ->val($tag_conf['description']);