PluginProbe
Tracking Code Manager / 1.5
Tracking Code Manager v1.5
2.8.0 2.7.0 trunk 1.11.8 1.11.9 1.12.0 1.12.1 1.12.2 1.12.3 1.4 1.5 2.0.0 2.0.1 2.0.13 2.0.14 2.0.15 2.0.16 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.2.0 All 29 releases
← All changes | includes/admin/editor.php +9 -5 1.41.5 View file →
@@ -168,9 +168,9 @@
168 168 $tcm->Form->divEnds();
169 169
170 170 $args=array('id'=>'tcm-except-div', 'name'=>'tcm-except-div');
171 171 $tcm->Form->divStarts($args);
172 - $tcm->Form->p('Except when?');
172 + $tcm->Form->p('Exclude when?');
173 173 tcm_formOptions('except', $snippet);
174 174 $tcm->Form->divEnds();
175 175
176 176 $tcm->Form->nonce('tcm_nonce', 'tcm_nonce');
@@ -201,12 +201,16 @@
201 201 <br/>
202 202 <?php
203 203
204 204 $options = array('public' => TRUE, '_builtin' => FALSE);
205 - $q = get_post_types($options, 'names');
206 - $q = array_merge($q, array('post', 'page'));
207 - sort($q);
208 - $q=implode(', ', $q);
205 + $q=get_post_types($options, 'names');
206 + if(is_array($q) && count($q)>0) {
207 + sort($q);
208 + $q=implode(', ', $q);
209 + $q='(<b>'.$q.'</b>)';
210 + } else {
211 + $q='';
212 + }
209 213
210 214 while($tcm->Lang->H('Notice.ProFeature'.$i)) { ?>
211 215 <div style="clear:both; margin-top: 2px;"></div>
212 216 <div style="float:left; vertical-align:middle; height:24px; margin-right:5px;">