Quote:
Originally Posted by Simon Lloyd
Is it possible to perhaps add a boolean something like in a php (don't know which one):
PHP Code:
if ($ldm_accep < '0') { $ldm_denied = true; } else { $ldm_denied = false; }
and then perhaps this in the links_agreement template (i guessed that one!):
PHP Code:
<if condition = "$ldm_denied"> <span class="highlight">$vbphrase[ll_agreement_declined]</span> </if>
to show just the declined message, it doesn't matter about an ok button as in the message i have a link to take them back to forums.
|
It's easier than that.
Edit the links_agreement template, and find these lines:
Code:
<if condition="$ldm_accept<0">
<span class="highlight">$vbphrase[ll_agreement_declined]</span>
</if>
<br /><br />
$vbphrase[ll_agreement]
and replace them with this:
Code:
<if condition="$ldm_accept<0">
<span class="highlight">$vbphrase[ll_agreement_declined]</span>
<else />
$vbphrase[ll_agreement]
</if>
That way, the two phrases (ll_agreement and ll_agreement_declined) are kept totally separate.