Project

General

Profile

« Previous | Next » 

Revision e296b399

Added by Colin Fleming over 8 years ago

Tidy up "<script>" tags

Tidy up <script> tags by adding TYPE attribute

(https://doc.pfsense.org/index.php/Developer_Style_Guide#HTML_Specific_Rules)

(cherry picked from commit 463456964709015d4b1c591aa4251c831a39c71d)

View differences:

src/usr/local/www/pkg_mgr_install.php
521 521
	if ($firmwareupdate && $reboot_needed):
522 522

  
523 523
?>
524
<script>
524
<script type="text/javascript">
525 525
//<![CDATA[
526 526
events.push(function() {
527 527
	time = "<?=$guitimeout?>";
......
535 535

  
536 536
?>
537 537

  
538
<script>
538
<script type="text/javascript">
539 539
//<![CDATA[
540 540
// Update the progress indicator
541 541
// transition = true allows the bar to move at default speed, false = instantaneous
src/usr/local/www/system.php
584 584
?>
585 585
</div>
586 586

  
587
<script>
587
<script type="text/javascript">
588 588
//<![CDATA[
589 589
events.push(function() {
590 590

  
src/usr/local/www/system_advanced_misc.php
608 608

  
609 609
$ramdisk_msg = gettext('The \"Use Ramdisk\" setting has been changed. This will cause the firewall\nto reboot immediately after the new setting is saved.\n\nPlease confirm.');?>
610 610

  
611
<script>
611
<script type="text/javascript">
612 612
//<![CDATA[
613 613
events.push(function() {
614 614
	// Record the state of the Use Ramdisk checkbox on page load
src/usr/local/www/system_crlmanager.php
706 706
}
707 707
?>
708 708

  
709
<script>
709
<script type="text/javascript">
710 710
//<![CDATA[
711 711
events.push(function() {
712 712

  
src/usr/local/www/widgets/widgets/services_status.widget.php
154 154
	</div>
155 155
</form>
156 156

  
157
<script>
157
<script type="text/javascript">
158 158
//<![CDATA[
159 159
	events.push(function(){
160 160
		$("#showallservices").click(function() {

Also available in: Unified diff