Changeset 2342338
- Timestamp:
- 07/17/2020 01:48:26 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ki-live-video-conferences/trunk/admin/templates/settings.php
r2342283 r2342338 5 5 exit(); 6 6 } 7 7 $active = KiFunctions::v_get('active'); 8 if (!empty($active)){ 9 if ($active == 'learning') $active = 'education'; 10 if ($active == 'healthcare') $active = 'medicine'; 11 if ($active == 'video_platform') $active = 'video_platform'; 12 } 8 13 ?> 9 14 <div class="ki_options_page_settings"> … … 25 30 <select id="video_chat_select_purpose" name="<?php echo KI_VC_SLUG; ?>[video_chat_select_purpose]"> 26 31 <?php $selected = Settings::get_option( 'video_chat_select_purpose', 'medicine' ); ?> 32 <?php if (!empty($active)) $selected = $active;?> 27 33 <option value="medicine" <?php selected( $selected, 'medicine' ); ?>><?php _e( 'Medicine', 'ki-live-video-conferences' ); ?></option> 28 34 <option value="education" <?php selected( $selected, 'education' ); ?>><?php _e( 'Education', 'ki-live-video-conferences' ); ?></option>
Note: See TracChangeset
for help on using the changeset viewer.