| @@ -83,70 +83,8 @@ | ||
| 83 | 83 | <?php esc_html_e('Choose the languages exposed to visitors via the selector. The default language is always enforced.', 'ai-builder'); ?> |
| 84 | 84 | </p> |
| 85 | 85 | </td> |
| 86 | 86 | </tr> |
| 87 | - <tr> | |
| 88 | - <th scope="row"><?php esc_html_e('Language switcher appearance', 'ai-builder'); ?></th> | |
| 89 | - <td> | |
| 90 | - <details> | |
| 91 | - <summary style="cursor:pointer;font-weight:500;"> | |
| 92 | - <?php esc_html_e('Customize the look of the front-end language switcher', 'ai-builder'); ?> | |
| 93 | - </summary> | |
| 94 | - <div style="margin-top:12px;padding-top:8px;border-top:1px solid #e5e7eb;"> | |
| 95 | - <p class="description"> | |
| 96 | - <?php esc_html_e('These options control the floating selector shown on the front-end (top-right corner).', 'ai-builder'); ?> | |
| 97 | - </p> | |
| 98 | - <table class="form-table" role="presentation"> | |
| 99 | - <tbody> | |
| 100 | - <tr> | |
| 101 | - <th scope="row"> | |
| 102 | - <label for="aibui-switcher-bg"><?php esc_html_e('Background color', 'ai-builder'); ?></label> | |
| 103 | - </th> | |
| 104 | - <td> | |
| 105 | - <input type="color" id="aibui-switcher-bg" name="switcher_bg" value="<?php echo esc_attr($translation_settings['switcher_bg']); ?>" /> | |
| 106 | - </td> | |
| 107 | - </tr> | |
| 108 | - <tr> | |
| 109 | - <th scope="row"> | |
| 110 | - <label for="aibui-switcher-text"><?php esc_html_e('Text color', 'ai-builder'); ?></label> | |
| 111 | - </th> | |
| 112 | - <td> | |
| 113 | - <input type="color" id="aibui-switcher-text" name="switcher_text" value="<?php echo esc_attr($translation_settings['switcher_text']); ?>" /> | |
| 114 | - </td> | |
| 115 | - </tr> | |
| 116 | - <tr> | |
| 117 | - <th scope="row"> | |
| 118 | - <label for="aibui-switcher-min-height"><?php esc_html_e('Minimum height (px)', 'ai-builder'); ?></label> | |
| 119 | - </th> | |
| 120 | - <td> | |
| 121 | - <input type="number" id="aibui-switcher-min-height" name="switcher_min_height" min="20" step="1" value="<?php echo esc_attr((int) $translation_settings['switcher_min_height']); ?>" /> | |
| 122 | - </td> | |
| 123 | - </tr> | |
| 124 | - <tr> | |
| 125 | - <th scope="row"> | |
| 126 | - <label for="aibui-switcher-min-width"><?php esc_html_e('Minimum width (px)', 'ai-builder'); ?></label> | |
| 127 | - </th> | |
| 128 | - <td> | |
| 129 | - <input type="number" id="aibui-switcher-min-width" name="switcher_min_width" min="80" step="1" value="<?php echo esc_attr((int) $translation_settings['switcher_min_width']); ?>" /> | |
| 130 | - </td> | |
| 131 | - </tr> | |
| 132 | - <tr> | |
| 133 | - <th scope="row"> | |
| 134 | - <label for="aibui-switcher-alpha"><?php esc_html_e('Background opacity', 'ai-builder'); ?></label> | |
| 135 | - </th> | |
| 136 | - <td> | |
| 137 | - <input type="number" id="aibui-switcher-alpha" name="switcher_alpha" min="0" max="1" step="0.05" value="<?php echo esc_attr($translation_settings['switcher_alpha']); ?>" /> | |
| 138 | - <p class="description"> | |
| 139 | - <?php esc_html_e('0 = fully transparent, 1 = fully opaque. Default is 0.9.', 'ai-builder'); ?> | |
| 140 | - </p> | |
| 141 | - </td> | |
| 142 | - </tr> | |
| 143 | - </tbody> | |
| 144 | - </table> | |
| 145 | - </div> | |
| 146 | - </details> | |
| 147 | - </td> | |
| 148 | - </tr> | |
| 149 | 87 | </tbody> |
| 150 | 88 | </table> |
| 151 | 89 | |
| 152 | 90 | <p class="submit"> |