Skip to content

Commit

Permalink
Continueing to make class and id conform to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannon committed Oct 11, 2024
1 parent 402a92a commit ca63731
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions about.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*
* @package WebCalendar
*/

/**
* Include the basics.
*
Expand All @@ -27,9 +28,10 @@
$replacements[] = '';
$data = preg_replace ( $patterns, $replacements, $data );
}

print_header ( ['css/about.css'], '', '', true, false, true );
echo '
<div id="creds">'
<div id="Creds">'
. ( empty ( $credits ) ? '
<a href="' . $PROGRAM_URL
. '" target="_blank" title="' . $PROGRAM_NAME . '">
Expand All @@ -39,22 +41,22 @@
<br>
<p>' . translate ( 'WebCalendar is a PHP application used...' ) . '</p>' : '' ) . '
</div>
<form id="aboutform" name="aboutform" action="about.php" method="post">';
<form id="AboutForm" name="aboutform" action="about.php" method="post">';
print_form_key();
echo '
<button type="submit" name="'
. ( empty ( $credits )
? 'Credits">' . translate ( 'Credits' )
: 'About">' . translate ( 'About' ) )
. '</button>
<button id="ok" name="ok" type="button" onclick="window.close()">'
<button id="OK" name="ok" type="button" onclick="window.close()">'
. translate ( 'OK' ) . '</button>
</form>'
. ( empty ( $credits ) ? '' : "
<script src=\"includes/js/v_h_scrolls.js\"></script>
<script>
function start() {
startScroll('creds', '$data');
startScroll('Creds', '$data');
}
</script>
" ) . print_trailer ( false,true,true );
Expand Down

0 comments on commit ca63731

Please sign in to comment.