Dotclear


Ignore:
Timestamp:
02/18/18 18:16:29 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

use strict and no more linter warnings/errors as far as possible, switch from inline js to separate loaded file

Location:
plugins/blogroll
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/blogroll/index.php

    r3707 r3709  
    169169    dcPage::jsLoad('js/jquery/jquery-ui.custom.js') . 
    170170    dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js') . 
    171     dcPage::jsLoad(dcPage::getPF('blogroll/blogroll.js')); 
     171    dcPage::jsLoad(dcPage::getPF('blogroll/js/blogroll.js')); 
    172172} 
    173173?> 
     
    328328            echo 
    329329            '<tr><td>' . form::checkbox(array('entries[]'), $i) . '</td>' . 
    330             '<td nowrap><a href="' . $url . '">' . $title . '</a>' . 
    331             '<input type="hidden" name="url[' . $i . ']" value="' . $url . '" />' . 
    332             '<input type="hidden" name="title[' . $i . ']" value="' . $title . '" />' . 
    333             '</td>' . 
    334             '<td>' . $desc . 
    335             '<input type="hidden" name="desc[' . $i . ']" value="' . $desc . '" />' . 
    336             '</td></tr>' . "\n"; 
     330                '<td nowrap><a href="' . $url . '">' . $title . '</a>' . 
     331                '<input type="hidden" name="url[' . $i . ']" value="' . $url . '" />' . 
     332                '<input type="hidden" name="title[' . $i . ']" value="' . $title . '" />' . 
     333                '</td>' . 
     334                '<td>' . $desc . 
     335                '<input type="hidden" name="desc[' . $i . ']" value="' . $desc . '" />' . 
     336                '</td></tr>' . "\n"; 
    337337            $i++; 
    338338        } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map