layouts
4 years ago
html-settings.php
4 years ago
index.html
4 years ago
irrp-settings.php
4 years ago
html-settings.php
48 lines
| 1 | <?php |
| 2 | if (!defined("ABSPATH")) { |
| 3 | exit(); |
| 4 | } |
| 5 | $activeTab = empty($_COOKIE["ir_active_tab"]) ? IrrPRedirection::$TABS["specific-url-redirections"] : trim(sanitize_text_field($_COOKIE["ir_active_tab"])); |
| 6 | ?> |
| 7 | <div class="custom-container" id="irrp_container_main"> |
| 8 | <div class="page"> |
| 9 | <?php include_once "layouts/common/delete-confirmation-prompt.php"; ?> |
| 10 | <h1 class="page__heading"><?php _e( "Welcome to Ultimate Redirect!", "redirect-redirection" ); ?></h1> |
| 11 | <div class="tabs-container"> |
| 12 | <div class="tabs"> |
| 13 | <button class="tabs__button <?php echo ($activeTab === IrrPRedirection::$TABS["specific-url-redirections"]) ? "tabs__button--active" : "" ?>" data-tab="<?php echo esc_attr(IrrPRedirection::$TABS["specific-url-redirections"]); ?>"><?php _e( "Specific URL Redirections", "redirect-redirection" ); ?></button> |
| 14 | <button class="tabs__button <?php echo ($activeTab === IrrPRedirection::$TABS["redirection-rules"]) ? "tabs__button--active" : "" ?>" data-tab="<?php echo esc_attr(IrrPRedirection::$TABS["redirection-rules"]); ?>"><?php _e( "Redirection Rules", "redirect-redirection" ); ?></button> |
| 15 | <button class="tabs__button <?php echo ($activeTab === IrrPRedirection::$TABS["automatic-redirects"]) ? "tabs__button--active" : "" ?>" data-tab="<?php echo esc_attr(IrrPRedirection::$TABS["automatic-redirects"]); ?>"><?php _e( "Automatic Redirects", "redirect-redirection" ); ?></button> |
| 16 | <button class="tabs__button <?php echo ($activeTab === IrrPRedirection::$TABS["change-urls"]) ? "tabs__button--active" : "" ?>" data-tab="<?php echo esc_attr(IrrPRedirection::$TABS["change-urls"]); ?>"><?php _e( "Change URLs", "redirect-redirection" ); ?></button> |
| 17 | </div> |
| 18 | </div> |
| 19 | <div class="page__block"> |
| 20 | <?php |
| 21 | if ($activeTab === IrrPRedirection::$TABS["redirection-rules"]) { |
| 22 | include_once "layouts/redirection-rules.php"; |
| 23 | } else if ($activeTab === IrrPRedirection::$TABS["automatic-redirects"]) { |
| 24 | include_once "layouts/automatic-redirects.php"; |
| 25 | } else if ($activeTab === IrrPRedirection::$TABS["change-urls"]) { |
| 26 | include_once "layouts/change-urls.php"; |
| 27 | } else { |
| 28 | include_once "layouts/specific-url-redirections.php"; |
| 29 | } |
| 30 | ?> |
| 31 | </div> |
| 32 | </div> |
| 33 | <jdiv class="label_e50 _bottom_ea7 notranslate" id="irrp_support_chat" style="background: linear-gradient(95deg, rgb(47, 50, 74) 20%, rgb(66, 72, 103) 80%);right: 30px;bottom: 0px;width: 310px;"> |
| 34 | <jdiv class="hoverl_bc6"></jdiv> |
| 35 | <jdiv class="text_468 _noAd_b4d contentTransitionWrap_c73" style="font-size: 15px;font-family: Arial, Arial;font-style: normal;color: rgb(240, 241, 241);position: absolute;top: 8px;line-height: 13px;"> |
| 36 | <span><?php _e('Connect with support (click to load)', 'redirect-redirection') ?></span><br> |
| 37 | <span style="color: #eee;font-size: 10px;"> |
| 38 | <?php _e('This will establish connection to the chat servers', 'redirect-redirection'); ?> |
| 39 | </span> |
| 40 | </jdiv> |
| 41 | <jdiv class="leafCont_180"> |
| 42 | <jdiv class="leaf_2cc _bottom_afb"> |
| 43 | <jdiv class="cssLeaf_464"></jdiv> |
| 44 | </jdiv> |
| 45 | </jdiv> |
| 46 | </jdiv> |
| 47 | </div> |
| 48 |