I can't seem to find this line in index.php?
Should I install the script before i run through these steps?
PHP Code:
-----------------------
open file:
-----------------------
admincp/index.php
-----------------------
search for:
-----------------------
$printhr = false;
if (can_administer('canadminstyles'))
{
I can however find these lines:
PHP Code:
if (can_administer('canadminstyles'))
{
$printhr = true;
construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify', '<br />');
construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />');
construct_nav_option($vbphrase['replacement_variable_manager'], 'replacement.php?do=modify', '<br />');
construct_nav_option($vbphrase['download_upload_styles'], 'template.php?do=files', '<br />');
construct_nav_option($vbphrase['find_updated_templates'], 'template.php?do=findupdates', '<br />');
construct_nav_group("$vbphrase[styles] & $vbphrase[templates]", '<hr />');
}
The difference is this:
PHP Code:
My index.php:
----------------------
if (can_administer('canadminstyles'))
{
$printhr = true;
----------------------
PHP Code:
Install.txt:
----------------------
$printhr = false;
if (can_administer('canadminstyles'))
{
----------------------
Is this the right place to insert the code?
*BUMP*