timer_links

From CashCrusaderWiki

(Difference between revisions)
Jump to: navigation, search
(timer_links action description)
Current revision (14:10, 20 December 2009) (edit) (undo)
m (tweak)
 
Line 1: Line 1:
{{DISPLAYTITLE:timer_links}}
{{DISPLAYTITLE:timer_links}}
-
Action ''timer_links'' can be used to create '''Report Abuse''' and '''Open In New Window''' links to timer bar.
+
Action ''timer_links'' can be used to create '''Report Abuse''' and '''Open In New Window''' links into the timer bar.

Current revision

Action timer_links can be used to create Report Abuse and Open In New Window links into the timer bar.


Required CashCrusader version: 2.19


Example usage:

<?php action('timer_links','abuse,Report Abuse,timer_link'); ?>

<?php action('timer_links','open_in_new_window,Open in new window,timer_link'); ?>


Details, from left to right:

There are three arguments used with this feature and they are separated by comma.

1) The link to create, can be abuse or open_in_new_window
2) Text shown in the link
3) CSS class for the link


Example CSS:

You can use following CSS snippet to change color of the links

 <style>
 A:link.timer_link{color:black; text-decoration:none}
 A:visited.timer_link{color:black; text-decoration:none}
 A:active.timer_link{color:black; text-decoration:none}
 A:hover.timer_link{color:black; text-decoration:underline;}
 </style>


Files:

Above codes can be used in

/pages/account_credited.php
/pages/points_timer.php
/pages/cash_timer.php


Notes:

Abuse report link takes to /pages/abuse_report.php and that page needs abuse_report_form action.

Personal tools
Administration manual