Minor format code.

1.9.x
Julio Montoya 12 years ago
parent 5763ad5e2e
commit b09deb9f9d
  1. 28
      main/admin/session_category_list.php

@ -17,18 +17,19 @@ api_protect_admin_script(true);
// setting the section (for the tabs) // setting the section (for the tabs)
$this_section = SECTION_PLATFORM_ADMIN; $this_section = SECTION_PLATFORM_ADMIN;
$htmlHeadXtra[] = '<script> $htmlHeadXtra[] =
function selectAll(idCheck,numRows,action) { '<script>
for(i=0;i<numRows;i++) { function selectAll(idCheck,numRows,action) {
idcheck = document.getElementById(idCheck+"_"+i); for(i=0;i<numRows;i++) {
if (action == "true"){ idcheck = document.getElementById(idCheck+"_"+i);
idcheck.checked = true; if (action == "true"){
} else { idcheck.checked = true;
idcheck.checked = false; } else {
} idcheck.checked = false;
} }
} }
</script>'; }
</script>';
$tbl_session_category = Database::get_main_table(TABLE_MAIN_SESSION_CATEGORY); $tbl_session_category = Database::get_main_table(TABLE_MAIN_SESSION_CATEGORY);
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION); $tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);
@ -238,4 +239,5 @@ if (isset($_GET['search']) && $_GET['search'] == 'advanced') {
<?php } ?> <?php } ?>
</table> </table>
<?php } Display::display_footer(); ?> <?php }
Display::display_footer();

Loading…
Cancel
Save