Conferences Inter/Active: Button updates.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
//includes
|
||||
include "root.php";
|
||||
require_once "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
@@ -48,10 +48,13 @@
|
||||
$conference_display_name = str_replace("-", " ", $conference_name);
|
||||
$conference_display_name = str_replace("_", " ", $conference_display_name);
|
||||
|
||||
//show the header
|
||||
//include the header
|
||||
$document['title'] = $text['label-interactive'];
|
||||
require_once "resources/header.php";
|
||||
|
||||
?><script type="text/javascript">
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
function loadXmlHttp(url, id) {
|
||||
var f = this;
|
||||
f.xmlHttp = null;
|
||||
@@ -84,6 +87,18 @@ loadXmlHttp.prototype.stateChanged=function () {
|
||||
if (this.xmlHttp.readyState == 4 && (this.xmlHttp.status == 200 || !/^http/.test(window.location.href)))
|
||||
//this.el.innerHTML = this.xmlHttp.responseText;
|
||||
document.getElementById('ajax_reponse').innerHTML = this.xmlHttp.responseText;
|
||||
|
||||
//link table rows (except the last - the list_control_icons cell) on a table with a class of 'tr_hover', according to the href attribute of the <tr> tag
|
||||
$('.tr_hover tr,.list tr').each(function(i,e) {
|
||||
$(e).children('td:not(.list_control_icon,.list_control_icons,.tr_link_void,.list-row > .no-link,.list-row > .checkbox,.list-row > .button,.list-row > .action-button)').on('click', function() {
|
||||
var href = $(this).closest('tr').attr('href');
|
||||
var target = $(this).closest('tr').attr('target');
|
||||
if (href) {
|
||||
if (target) { window.open(href, target); }
|
||||
else { window.location = href; }
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
var requestTime = function() {
|
||||
@@ -115,22 +130,24 @@ var record_count = 0;
|
||||
</script>
|
||||
|
||||
<?php
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td align='left'>";
|
||||
echo " <b>".$text['label-interactive']."</b><br><br>\n";
|
||||
echo " ".$text['description-interactive']."\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td align=\"left\">\n";
|
||||
echo " <br>\n";
|
||||
echo " <div id=\"ajax_reponse\"></div>\n";
|
||||
echo " <div id=\"time_stamp\" style=\"visibility:hidden\">".date('Y-m-d-s')."</div>\n";
|
||||
echo " </td>";
|
||||
echo " </tr>";
|
||||
echo "</table>";
|
||||
|
||||
//show the header
|
||||
//page header
|
||||
echo "<div class='action_bar' id='action_bar'>\n";
|
||||
echo " <div class='heading'><b>".$text['label-interactive']."</b></div>\n";
|
||||
echo " <div class='actions'>\n";
|
||||
echo " </div>\n";
|
||||
echo " <div style='clear: both;'></div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
echo $text['description-interactive']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
//show the content
|
||||
echo "<div id='ajax_reponse'></div>\n";
|
||||
echo "<br /><br />\n";
|
||||
echo "<div id='time_stamp' style='visibility: hidden;>".date('Y-m-d-s')."</div>\n";
|
||||
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
?>
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user