coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: riley08 on June 11, 2004, 09:09:50 PM

Title: remove login
Post by: riley08 on June 11, 2004, 09:09:50 PM
I couldnt seem to post in Mods, but I am running 1.3 now.

Sorry but I couldn't find this..

How can I remove the Login button, so only the admin can login by going to login.php or something of the sort.

Thx

1.3 is great!
Title: Re: remove login
Post by: Casper on June 11, 2004, 09:41:00 PM
Open your theme.php.  Find the section
<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->


Change it to
<!-- BEGIN login -->
                   <!--     <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>  -->
<!-- END login -->


Note, do not remove the existing commented out bits from the file.