| @@ -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;"> |