Plugin Directory

Changeset 2342338


Ignore:
Timestamp:
07/17/2020 01:48:26 PM (6 years ago)
Author:
whassan
Message:
  • fix started page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ki-live-video-conferences/trunk/admin/templates/settings.php

    r2342283 r2342338  
    55    exit();
    66}
    7 
     7$active = KiFunctions::v_get('active');
     8if (!empty($active)){
     9    if ($active == 'learning') $active = 'education';
     10    if ($active == 'healthcare') $active = 'medicine';
     11    if ($active == 'video_platform') $active = 'video_platform';
     12}
    813?>
    914<div class="ki_options_page_settings">
     
    2530                                <select id="video_chat_select_purpose" name="<?php echo KI_VC_SLUG; ?>[video_chat_select_purpose]">
    2631                                    <?php $selected = Settings::get_option( 'video_chat_select_purpose', 'medicine' ); ?>
     32                                    <?php  if (!empty($active)) $selected = $active;?>
    2733                                    <option value="medicine" <?php selected( $selected, 'medicine' ); ?>><?php _e( 'Medicine', 'ki-live-video-conferences' ); ?></option>
    2834                                    <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.