Plugin Directory

Changeset 2100580


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

technical issue solve

Location:
post-thanks
Files:
2 edited

Legend:

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

    r2100577 r2100580  
    2929        <br>
    3030        <br>
    31     <div class="container" style="border:solid; border-color:blue; padding:15px;">
     31    <div class="container">
    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 cols="21" rows="4" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea>
     45    <textarea 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.)
    5352    </div>
    5453    <br>
     
    6160
    6261    if (!isset($_POST['text'])) {
    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>';
     62        echo '<br><br>Please enter a custom text to update in all posts.';
    6563        exit;
    6664    } else {
     
    7775    add_option( 'post_thanks_text_displayhide', $showhide );
    7876    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' ).'">'.
    80         get_option( 'post_thanks_text' ).'</div></div>';
    8177}
    8278
     
    8985       
    9086    if($post_thanks_text == ''){
    91         echo "Please enter text";
     87        return $content;
    9288    }
    9389    else {
  • post-thanks/trunk/postthankyou.php

    r2100577 r2100580  
    8989       
    9090    if($post_thanks_text == ''){
    91         echo "Please enter text";
     91        return $content;
    9292    }
    9393    else {
Note: See TracChangeset for help on using the changeset viewer.