Results 1 to 3 of 3

Thread: Remove "EDIT" from main.html (index page)

  1. #1
    Join Date
    Aug 2005
    Location
    Russia, Moscow
    Age
    45
    Posts
    29

    Default Remove "EDIT" from main.html (index page)

    Hello.
    How can I clean (remove) a line (link) "EDIT" from the main page?

    When I the administrator I see and can edit this page.

    When I the members I see this field, but cannot edit. How it to remove for members and agents? To leave only for the Administrator.

  2. #2
    Join Date
    Jul 2003
    Location
    California
    Age
    42
    Posts
    4,229

    Default

    this is a bug... don't be afraid to report bugs on the bug tracker so we see them.. things have a way of being burried on the forums and missed sometimes..

    I've fixed this in the SVN.. to temporarily patch your system edit line 98 of page_display.inc.php

    From:

    PHP Code:
    if ($_SESSION['admin_privs']) 
    To:

    PHP Code:
    if ($_SESSION['admin_privs'] == 'yes'
    Open-Realty 2 Documentation

    ~The Difference Between an ORDEAL and an ADVENTURE is ATTITUDE~

  3. #3
    Join Date
    Aug 2005
    Location
    Russia, Moscow
    Age
    45
    Posts
    29

    Default

    Mick, Thanks.
    This problem was solved.
    I did not know, what is it the bugs. Who knows... Can so it is necessary...
    If something I shall find, I shall write on the bug tracker...

    Excuse me for my English.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •