示例#1
0
    <form class="form" id="program_listing" action="<?php 
echo root_url;
?>
tv/list" method="get">
    <div id="x_current_time"><?php 
echo t('Currently Browsing:  $1', strftime($_SESSION['date_statusbar'], $list_starttime));
?>
</div>
    <table id="x-jumpto" class="commandbox commands" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td class="x-jumpto"><span class='link' onclick="list_update($('date_select')[$('date_select').selectedIndex].value);"><?php 
echo t('Jump To');
?>
</span>:</td>
        <td class="x-hour"><?php 
hour_select('id="hour_select" onchange="list_update($(\'hour_select\')[$(\'hour_select\').selectedIndex].value);"');
?>
</td>
        <td class="x-day">
            <a class="link" onclick="list_update(<?php 
echo $list_starttime - 24 * 60 * 60;
?>
);">
                <img src="<?php 
echo skin_url;
?>
img/left.gif" alt="<?php 
echo t('left');
?>
">
            </a>
示例#2
0
function html_input_time_row($id, $label)
{
    return sprintf('<tr><th scope="row">%s</th><td>%s</td><td>%s</td></tr>', html_clean($label), hour_select($id) . minute_select($id) . second_select($id), html_clean($error));
}