Changeset 1061

Show
Ignore:
Timestamp:
04/29/2008 10:31:40 PM (2 years ago)
Author:
BrianKoontz
Message:

#710 ported to 1.1.7. Refs #710, #749.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/actions/include/include.php

    r820 r1061  
    6262                unset($this->_included_page); 
    6363        } 
     64        else printf("<em class='error'>".ERROR_TARGET_ACL."</em>", $_included_page); 
    6465} 
    6566else 
  • trunk/lang/en/en.inc.php

    r1021 r1061  
    283283 
    284284/**#@+ 
    285  * Language constant used by the {@link include.php include} action 
     285 * Language constants used by the {@link include.php include} action 
    286286 */ 
    287287// include 
    288288define('ERROR_CIRCULAR_REFERENCE', 'Circular reference detected!'); 
     289define('ERROR_TARGET_ACL', "You aren't allowed to read included page <tt>%s</tt>"); 
     290 
    289291/**#@-*/ 
    290292