Plugin Directory

Changeset 1858234


Ignore:
Timestamp:
04/14/2018 07:47:48 AM (8 years ago)
Author:
maulikearth
Message:

Code improvement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-notebook/trunk/admin-notebook.php

    r1851227 r1858234  
    77License: GPLv3
    88*/
    9 
    109add_action ( 'admin_head', "anwp_AdminNotebook" , "1" );
    1110add_action ( 'wp_head', "anwp_AdminNotebook" , "1" );
     
    1615
    1716function anwp_AdminNotebook(){
    18 
    1917    if ( ! is_admin() ) {
    2018        $view_flag = "1";
     
    3634function anwpNotebook(){
    3735    ?>
    38 
    3936    <div id="notebook">
    4037      <div id="notebookheader">Click here to move</div>
    4138      <textarea name="notebook_entry" id="notebook_entry" class="notebook_entry" onchange="update_notebook();" ><?php echo get_option( 'notebook_entry_'.get_current_user_id(), "Write Something here..."); ?></textarea>
    4239    </div>
    43 
    4440    <?php
    4541}
Note: See TracChangeset for help on using the changeset viewer.