Bureaucrats, emailconfirmed, Administrators
149
edits
Rdoursenaud (talk | contribs) m (Updated javascript conf name) |
|||
| Line 241: | Line 241: | ||
Otherwise, we must avoid forcing the column width. Reason is that, in most cases, the browser make a better works to define column width automatically than forced values, and it works whatever is the resolution. | Otherwise, we must avoid forcing the column width. Reason is that, in most cases, the browser make a better works to define column width automatically than forced values, and it works whatever is the resolution. | ||
* | * Javascript/ajax code and call to javascript files into php pages must be avoided. However, if you need to include javascript code, you must add a condition on "$conf->use_javascript_ajax" | ||
<source lang="php"> | <source lang="php"> | ||
if ($conf-> | if ($conf->use_javascript_ajax) { | ||
{ | ... // php code generating javascript here | ||
... // | |||
} | } | ||
</source> | </source> | ||