Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Forum
➜ Announcements
➜ Forum improvement - improved [code] tags
Forum improvement - improved [code] tags
|
Postings by administrators only.
Refresh page
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Sat 22 Aug 2009 02:01 AM (UTC) |
Message
| The [code] tag has been improved. Using a stylesheet it now displays slightly indented, with a different colour background, and a border.
Example:
[code]
<triggers>
<trigger
custom_colour="2"
enabled="y"
expand_variables="y"
match="* is closed."
sequence="100"
>
<send>open @direction</send>
</trigger>
</triggers>
[/code]
... displays as:
<triggers>
<trigger
custom_colour="2"
enabled="y"
expand_variables="y"
match="* is closed."
sequence="100"
>
<send>open @direction</send>
</trigger>
</triggers>
If you don't see a box and different colour background, refresh your page (Reload Page) in your web browser to force it to reload the style sheet. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
6,073 views.
Postings by administrators only.
Refresh page
top