Plugin Directory

Changeset 2100582


Ignore:
Timestamp:
06/04/2019 06:12:49 PM (7 years ago)
Author:
inderjeetsingh
Message:

correction

Location:
post-thanks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • post-thanks/tags/1.1/postthankyou.php

    r2100580 r2100582  
    2929        <br>
    3030        <br>
    31     <div class="container">
     31    <div class="container" style="border:solid; border-color:blue; padding:15px;">
    3232  <h2>Post Thank You ---- Menu</h2>
    3333    <form action="' . $_SERVER['REQUEST_URI'] . '" method="post">
     
    4343    <div>
    4444    <p>Enter your text here:</p>
    45     <textarea name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea>
     45    <textarea cols="21" rows="4" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea>
    4646    </div>
    4747        <br>
     
    5050    <p>Select text color:</p>
    5151    <input type ="text" name="textcolor">' . ( isset( $_POST['textcolor']) ? $textcolor : null ) . '
     52    <br>(Color name or Hex codes supported.)
    5253    </div>
    5354    <br>
     
    6061
    6162    if (!isset($_POST['text'])) {
    62         echo '<br><br>Please enter a custom text to update in all posts.';
     63        echo '<div style="border:solid; padding:15px;">Current text active is: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
     64        get_option( 'post_thanks_text' ).'</div></div>';
    6365        exit;
    6466    } else {
     
    7577    add_option( 'post_thanks_text_displayhide', $showhide );
    7678    update_option( 'post_thanks_text_displayhide', $showhide );
     79    echo '<div style="border:solid; padding:15px;">Following text added in end of all posts: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
     80        get_option( 'post_thanks_text' ).'</div></div>';
    7781}
    7882
  • post-thanks/trunk/postthankyou.php

    r2100580 r2100582  
    7777    add_option( 'post_thanks_text_displayhide', $showhide );
    7878    update_option( 'post_thanks_text_displayhide', $showhide );
    79     echo '<div style="border:solid; padding:15px;">Following text updated: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
     79    echo '<div style="border:solid; padding:15px;">Following text added in end of all posts: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
    8080        get_option( 'post_thanks_text' ).'</div></div>';
    8181}
Note: See TracChangeset for help on using the changeset viewer.