Plugin Directory

Changeset 2100635


Ignore:
Timestamp:
06/04/2019 07:55:33 PM (7 years ago)
Author:
inderjeetsingh
Message:

design

Location:
post-thanks
Files:
2 edited

Legend:

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

    r2100587 r2100635  
    2727        echo '
    2828        <br>
    29         <br>
    30         <br>
    3129    <div class="container" style="border:solid; border-color:blue; padding:15px;">
    32   <h2>Post Thank You ---- Menu</h2>
     30  <h2 style="font-weight: 900;
     31    font-style: italic;
     32    font-size: -webkit-xxx-large;">Post Thank You ---- Menu</h2>
    3333    <form action="' . $_SERVER['REQUEST_URI'] . '" method="post">
    34     <p>Display or Hide text:</p>
     34    <p style ="font-weight: 900;
     35    font-style: italic;
     36    font-size: large;">Display or Hide text:</p>
    3537    <div class="radio">
    36       <label><input type="radio" name="displayhide" value="block" checked>Display text</label>
     38      <label style="font-weight: 900;
     39    font-style: italic;
     40    font-size: inherit;"><input type="radio" name="displayhide" value="block" checked>Display text</label>
    3741    </div>
    3842    <div class="radio">
    39       <label><input type="radio" name="displayhide" value="none">Hide text</label>
     43      <label style="font-weight: 900;
     44    font-style: italic;
     45    font-size: inherit;"><input type="radio" name="displayhide" value="none">Hide text</label>
    4046    </div>
    4147        <br>
     48    <div>
     49    <p style="font-weight: 900;
     50    font-style: italic;
     51    font-size: large;">Enter your text here:</p>
     52    <textarea cols="21" rows="3" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea>
     53    <br>
     54    </div>
    4255        <br>
    4356    <div>
    44     <p>Enter your text here:</p>
    45     <textarea cols="21" rows="4" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea>
    46     <br>( Eg. Thank you for reading! )
    47     </div>
    48         <br>
    49         <br>
    50     <div>
    51     <p>Select text color:</p>
     57    <p style="font-weight: 900;
     58    font-style: italic;
     59    font-size: large;">Set text color:</p>
    5260    <input type ="text" name="textcolor">' . ( isset( $_POST['textcolor']) ? $textcolor : null ) . '
    53     <br>(Color name or Hex codes supported.)
     61    <br>
    5462    </div>
    5563    <br>
    5664    <br>
    57     <br>
    58     <input type="submit" name="submit" value="Submit"/>
     65    <input type="submit" name="submit" value="Submit" style="font-weight: 900;
     66    font-style: italic;
     67    font-size: x-large;"/>
    5968    </form>
    6069    </div>
     
    6271
    6372    if (!isset($_POST['text'])) {
    64         echo '<div style="border:solid; padding:15px;">Current text active is: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
     73        echo '<div style="border:solid; padding:15px;"><p style="font-weight: 900;
     74    font-style: italic;
     75    font-size: large;">Current text active is: </p><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
    6576        get_option( 'post_thanks_text' ).'</div></div>';
    6677        exit;
     
    7889    add_option( 'post_thanks_text_displayhide', $showhide );
    7990    update_option( 'post_thanks_text_displayhide', $showhide );
    80     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' ).'">'.
     91    echo '<div style="border:solid; padding:15px;"><br><div style="font-weight: 900;
     92    font-style: italic;
     93    font-size: large;">Following text added in end of all posts: </div> <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
    8194        get_option( 'post_thanks_text' ).'</div></div>';
    8295}
  • post-thanks/trunk/postthankyou.php

    r2100587 r2100635  
    2727        echo '
    2828        <br>
    29         <br>
    30         <br>
    3129    <div class="container" style="border:solid; border-color:blue; padding:15px;">
    32   <h2>Post Thank You ---- Menu</h2>
     30  <h2 style="font-weight: 900;
     31    font-style: italic;
     32    font-size: -webkit-xxx-large;">Post Thank You ---- Menu</h2>
    3333    <form action="' . $_SERVER['REQUEST_URI'] . '" method="post">
    34     <p>Display or Hide text:</p>
     34    <p style ="font-weight: 900;
     35    font-style: italic;
     36    font-size: large;">Display or Hide text:</p>
    3537    <div class="radio">
    36       <label><input type="radio" name="displayhide" value="block" checked>Display text</label>
     38      <label style="font-weight: 900;
     39    font-style: italic;
     40    font-size: inherit;"><input type="radio" name="displayhide" value="block" checked>Display text</label>
    3741    </div>
    3842    <div class="radio">
    39       <label><input type="radio" name="displayhide" value="none">Hide text</label>
     43      <label style="font-weight: 900;
     44    font-style: italic;
     45    font-size: inherit;"><input type="radio" name="displayhide" value="none">Hide text</label>
    4046    </div>
    4147        <br>
     48    <div>
     49    <p style="font-weight: 900;
     50    font-style: italic;
     51    font-size: large;">Enter your text here:</p>
     52    <textarea cols="21" rows="3" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea>
     53    <br>
     54    </div>
    4255        <br>
    4356    <div>
    44     <p>Enter your text here:</p>
    45     <textarea cols="21" rows="4" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea>
    46     <br>( Eg. Thank you for reading! )
    47     </div>
    48         <br>
    49         <br>
    50     <div>
    51     <p>Select text color:</p>
     57    <p style="font-weight: 900;
     58    font-style: italic;
     59    font-size: large;">Set text color:</p>
    5260    <input type ="text" name="textcolor">' . ( isset( $_POST['textcolor']) ? $textcolor : null ) . '
    53     <br>(Color name or Hex codes supported.)
     61    <br>
    5462    </div>
    5563    <br>
    5664    <br>
    57     <br>
    58     <input type="submit" name="submit" value="Submit"/>
     65    <input type="submit" name="submit" value="Submit" style="font-weight: 900;
     66    font-style: italic;
     67    font-size: x-large;"/>
    5968    </form>
    6069    </div>
     
    6271
    6372    if (!isset($_POST['text'])) {
    64         echo '<div style="border:solid; padding:15px;">Current text active is: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
     73        echo '<div style="border:solid; padding:15px;"><p style="font-weight: 900;
     74    font-style: italic;
     75    font-size: large;">Current text active is: </p><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
    6576        get_option( 'post_thanks_text' ).'</div></div>';
    6677        exit;
     
    7889    add_option( 'post_thanks_text_displayhide', $showhide );
    7990    update_option( 'post_thanks_text_displayhide', $showhide );
    80     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' ).'">'.
     91    echo '<div style="border:solid; padding:15px;"><br><div style="font-weight: 900;
     92    font-style: italic;
     93    font-size: large;">Following text added in end of all posts: </div> <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'.
    8194        get_option( 'post_thanks_text' ).'</div></div>';
    8295}
Note: See TracChangeset for help on using the changeset viewer.