Changeset 370197
- Timestamp:
- 04/07/2011 03:31:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
simple-google-sitemap-xml/trunk/simple-google-sitemap-xml.php
r370195 r370197 265 265 ?> 266 266 <select name="gsxml_last_ch" id="gsxml_hf" type="text" value="<?php echo $gsxml_last_ch ?>" /> 267 <option value="Disable" <? if($gsxml_last_ch=="Disable") {echo 'selected';}?>>disable</option>268 <option value="Enable" <? if($gsxml_last_ch=="Enable") {echo 'selected';}?>>enable</option>267 <option value="Disable" <?php if($gsxml_last_ch=="Disable") {echo 'selected';}?>>disable</option> 268 <option value="Enable" <?php if($gsxml_last_ch=="Enable") {echo 'selected';}?>>enable</option> 269 269 </select> 270 270 </td> … … 287 287 ?> 288 288 <select name="gsxml_pri_freq" id="gsxml_hf" type="text" value="<?php echo $gsxml_pri_freq ?>" /> 289 <option value="Disable" <? if($gsxml_pri_freq=="Disable") {echo 'selected';}?>>disable</option>290 <option value="Enable" <? if($gsxml_pri_freq=="Enable") {echo 'selected';}?>>enable</option>289 <option value="Disable" <?php if($gsxml_pri_freq=="Disable") {echo 'selected';}?>>disable</option> 290 <option value="Enable" <?php if($gsxml_pri_freq=="Enable") {echo 'selected';}?>>enable</option> 291 291 </select> 292 292 </td> … … 323 323 <td width="100"> 324 324 <select name="gsxml_hf" id="gsxml_hf" type="text" value="<?php echo get_option('gsxml_hf'); ?>" /> 325 <option value="always" <? if(get_option('gsxml_hf')=="always") {echo 'selected';}?>>always</option>326 <option value="hourly" <? if(get_option('gsxml_hf')=="hourly") {echo 'selected';}?>>hourly</option>327 <option value="weekly" <? if(get_option('gsxml_hf')=="weekly") {echo 'selected';}?>>weekly</option>328 <option value="monthly" <? if(get_option('gsxml_hf')=="monthly") {echo 'selected';}?>>monhtly</option>329 <option value="yearly" <? if(get_option('gsxml_hf')=="yearly") {echo 'selected';}?>>yearly</option>330 <option value="never" <? if(get_option('gsxml_hf')=="never") {echo 'selected';}?>>never</option>325 <option value="always" <?php if(get_option('gsxml_hf')=="always") {echo 'selected';}?>>always</option> 326 <option value="hourly" <?php if(get_option('gsxml_hf')=="hourly") {echo 'selected';}?>>hourly</option> 327 <option value="weekly" <?php if(get_option('gsxml_hf')=="weekly") {echo 'selected';}?>>weekly</option> 328 <option value="monthly" <?php if(get_option('gsxml_hf')=="monthly") {echo 'selected';}?>>monhtly</option> 329 <option value="yearly" <?php if(get_option('gsxml_hf')=="yearly") {echo 'selected';}?>>yearly</option> 330 <option value="never" <?php if(get_option('gsxml_hf')=="never") {echo 'selected';}?>>never</option> 331 331 </select> 332 332 </td> … … 359 359 <td width="100"> 360 360 <select name="gsxml_gf" id="gsxml_gf" type="text" value="<?php echo get_option('gsxml_gf'); ?>" /> 361 <option value="always" <? if(get_option('gsxml_gf')=='always') {echo 'selected';}?>>always</option>362 <option value="hourly" <? if(get_option('gsxml_gf')=='hourly') {echo 'selected';}?>>hourly</option>363 <option value="weekly" <? if(get_option('gsxml_gf')=='weekly') {echo 'selected';}?>>weekly</option>364 <option value="monthly" <? if(get_option('gsxml_gf')=='monthly') {echo 'selected';}?>>monthly</option>365 <option value="yearly" <? if(get_option('gsxml_gf')=='yearly') {echo 'selected';}?>>yearly</option>366 <option value="never" <? if(get_option('gsxml_gf')=='never') {echo 'selected';}?>>never</option>361 <option value="always" <?php if(get_option('gsxml_gf')=='always') {echo 'selected';}?>>always</option> 362 <option value="hourly" <?php if(get_option('gsxml_gf')=='hourly') {echo 'selected';}?>>hourly</option> 363 <option value="weekly" <?php if(get_option('gsxml_gf')=='weekly') {echo 'selected';}?>>weekly</option> 364 <option value="monthly" <?php if(get_option('gsxml_gf')=='monthly') {echo 'selected';}?>>monthly</option> 365 <option value="yearly" <?php if(get_option('gsxml_gf')=='yearly') {echo 'selected';}?>>yearly</option> 366 <option value="never" <?php if(get_option('gsxml_gf')=='never') {echo 'selected';}?>>never</option> 367 367 </select> 368 368 </td> … … 375 375 </p> 376 376 <p style="font-weight:bold;">Categories: 377 <? 377 <?php 378 378 // if the value for the categories have neve been set, set to Yes 379 379 if (!get_option('gsxml_cat')) { $gsxml_cat = 'NotInclude';} … … 381 381 ?> 382 382 <select name="gsxml_cat" id="gsxml_cat" type="text" value="<?php echo $gsxml_tag ?>" /> 383 <option value="NotInclude" <? if($gsxml_cat=="NotInclude") {echo 'selected';}?>>do not include</option>384 <option value="Include" <? if($gsxml_cat=="Include") {echo 'selected';}?>>include</option>383 <option value="NotInclude" <?php if($gsxml_cat=="NotInclude") {echo 'selected';}?>>do not include</option> 384 <option value="Include" <?php if($gsxml_cat=="Include") {echo 'selected';}?>>include</option> 385 385 </select> 386 386 </p> 387 387 <p style="font-weight:bold;">Tags: 388 <? 388 <?php 389 389 // if the value for the tags have neve been set, set to Yes 390 390 if (!get_option('gsxml_tag')) { $gsxml_tag = 'NotInclude';} … … 392 392 ?> 393 393 <select name="gsxml_tag" id="gsxml_tag" type="text" value="<?php echo $gsxml_tag ?>" /> 394 <option value="NotInclude" <? if($gsxml_tag=="NotInclude") {echo 'selected';}?>>do not include</option>395 <option value="Include" <? if($gsxml_tag=="Include") {echo 'selected';}?>>include</option>394 <option value="NotInclude" <?php if($gsxml_tag=="NotInclude") {echo 'selected';}?>>do not include</option> 395 <option value="Include" <?php if($gsxml_tag=="Include") {echo 'selected';}?>>include</option> 396 396 </select> 397 397 </p>
Note: See TracChangeset
for help on using the changeset viewer.