PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/demo2024feb.kerihosting.com/wp-content/plugins/pretty-link/app/views/groups/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/demo2024feb.kerihosting.com/wp-content/plugins/pretty-link/app/views/groups/new.php |
<?php if(!defined('ABSPATH')) die('You are not allowed to call this page directly.'); $name = isset($_POST['name']) ? esc_html($_POST['name']) : ''; ?> <div class="wrap"> <?php echo PrliAppHelper::page_title(__('New Group', 'pretty-link')); ?> <?php require(PRLI_VIEWS_PATH.'/shared/errors.php'); ?> <form name="form1" method="post" action="<?php echo admin_url("admin.php?page=pretty-link-groups"); ?>"> <input type="hidden" name="action" value="create"> <?php wp_nonce_field('update-options'); ?> <table class="form-table"> <tr class="form-field"> <td width="75px" valign="top"><?php _e('Name*:', 'pretty-link'); ?> </td> <td><input type="text" name="name" value="<?php echo $name; ?>" size="75"> <br/><span class="setting-description"><?php _e("This is how you'll identify your Group.", 'pretty-link'); ?></span></td> </tr> <tr class="form-field"> <td valign="top"><?php _e('Description:', 'pretty-link'); ?> </td> <td><textarea style="height: 100px;" name="description"><?php echo ((isset($_POST['description']))?sanitize_textarea_field($_POST['description']):''); ?></textarea> <br/><span class="setting-description"><?php _e('A Description of this group.', 'pretty-link'); ?></span></td> </tr> <tr class="form-field" valign="top"> <td valign="top"><?php _e('Links:', 'pretty-link'); ?> </td> <td valign="top"> <div style="height: 400px; width: 95%; border: 1px solid #8cbdd5; overflow: auto;"> <table width="100%" cellspacing="0"> <thead style="background-color: #dedede; padding: 0px; margin: 0px; line-height: 8px; font-size: 14px;"> <th width="50%" style="padding-left: 5px; margin: 0px;"><strong><?php _e('Name', 'pretty-link'); ?></strong></th> <th width="50%" style="padding-left: 5px; margin: 0px;"><strong><?php _e('Current Group', 'pretty-link'); ?></strong></th> </thead> <?php for($i = 0; $i < count($links); $i++) { $link = $links[$i]; ?> <tr style="line-height: 15px; font-size: 12px;<?php echo (($i%2)?' background-color: #efefef;':''); ?>"> <td style="min-width: 50%; width: 50%;"><input type="checkbox" style="width: 15px;" name="link[<?php echo $link->id; ?>]" <?php echo ((isset($_POST['link'][$link->id]) and $_POST['link'][$link->id] == 'on')?'checked="true"':''); ?>/> <?php echo htmlspecialchars(stripslashes($link->name)) . " <strong>(" . $link->slug . ")</strong>"; ?></td> <td style="min-width: 50%; width: 50%;"><?php echo htmlspecialchars(stripslashes($link->group_name)); ?></td> </tr> <?php } ?> </table> </div> <span class="setting-description"><?php _e('Select some links for this group. <strong>Note: each link can only be in one group at a time.</strong>', 'pretty-link'); ?></span> </td> </tr> </table> <p class="submit"> <input type="submit" class="button button-primary" name="submit" value="<?php _e('Create', 'pretty-link'); ?>" /> <a href="<?php echo admin_url("admin.php?page=pretty-link-groups"); ?>" class="button"><?php _e('Cancel', 'pretty-link'); ?></a> </p> </form> </div>