rejetto forum
May 25, 2012, 01:29:58 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: to templaters: change on [deny]  (Read 718 times)
0 Members and 1 Guest are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« on: April 20, 2009, 06:04:32 AM »

this applies only to HFS 2.3

announce to all templaters:
since with version 2.3 users can deny requests for any reason in events [request] and [download], we need a generic "denial" page.
initially i thought of an [error] section, but i think the existing page [deny] fits well.
If you have reasons to think this is a bad design choice, let me know your reasons.
I clearly think it is a good choice, also because this is somewhat backward compatible.
You who are not using the default template in HFS 2.3 are therefore invite to update your templates so that section [deny] will display the generic error message given by %reason%.
E.g., in the default template, you'll see

Code:
[deny]
<h1>Unallowed</h1>
{.or|%reason%|This resource is not accessible..}

that means that when the %reason% is empty, the other default message will be displayed.

HAND
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 12, 2012, 02:06:31 PM
anything