Themes

My 1st site in CSS/XHTML: An experiment explained in detail

alain01  22-May-2006 14:08 8942 Reads   6 Comment(s) 

5) Mitres, part 2: How to color the active mitre

Ok, now, we have nice mitres, but i would have red color when mitres is active.

For modules:
<{if $xoops_dirname == 'wordpress'}>


<{if $xoops_dirname == 'xhld0'}>


For a mitres on a file:

Home page
<{if $SCRIPT_NAME == "/index.php"}>


Login/inscription
<{if ($xoops_requesturi|truncate:24:"":true) == "/user.php?xoops_redirect"}>

Why ?
Cause it's possible to have a redirection on this page.

At last, i put a test to replace "login/inscription" by "My accounting" when the member is connected.
<{if $xoops_isuser}>
// Onglet "My accounting"
<{else}>
// Onglet "login/inscription"
<{/if}>



6) W3C Validations

Resized ImageXHTML Validation


Resized ImageCSS Validation




Resized Image7) Downloading the theme

This new theme is available in free download here.



« 1 2 3 (4)
Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Who's Online

244 user(s) are online (6 user(s) are browsing Publisher)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits

Categories