Plugin Directory

Changeset 2869178


Ignore:
Timestamp:
02/22/2023 07:29:18 AM (3 years ago)
Author:
sutharkaran10
Message:

add css for better use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • php-server-configuration/trunk/phpinfo-info.php

    r2869176 r2869178  
    11<?php
    2 
    3 add_action('admin_head', 'transparent_admin_bg_color');
    4 
    5 function transparent_admin_bg_color() {
    6   echo '#adminmenu a {
    7         background: transparent!important;
    8     }
    9   </style>';
    10 }
    11 
     2/* Add CSS For better visiblites */
    123defined('ABSPATH') or die('Unauthorized Access');
    134echo '<div class="wrap"><center><h1>PHP-Info</h1><h4>Disable it once you are done debugging.</h4></center>';
    145    phpinfo();
    15 echo '</div>';
     6echo '</div><style>#adminmenu a,body a:link{background: transparent!important;}</style>';
    167exit;
Note: See TracChangeset for help on using the changeset viewer.