Changeset 1818:1e16ea2fa58b for plugins/pings
- Timestamp:
- 09/08/13 04:25:25 (12 years ago)
- Branch:
- Ticket #1539
- Location:
- plugins/pings
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pings/lib.pings.php
r1398 r1818 65 65 $item .= 66 66 '<p class="ping-services"><label for="pings_do-'.$i.'" class="classic">'. 67 form::checkbox(array('pings_do[]','pings_do-'.$i),html::escapeHTML($v),in_array($v,$pings_do) ).' '.67 form::checkbox(array('pings_do[]','pings_do-'.$i),html::escapeHTML($v),in_array($v,$pings_do), 'check-ping-services').' '. 68 68 html::escapeHTML($k).'</label></p>'; 69 69 $i++; -
plugins/pings/post.js
r1699 r1818 4 4 p = $('<p></p>'); 5 5 p.addClass('ping-services'); 6 a = $('<a href="#"></a>'); 7 a.text(dotclear.msg.check_all); 8 a.click(function() { 9 $('p.ping-services input[type="checkbox"]').attr('checked','checked'); 10 return false; 11 }); 12 $('p.ping-services:last').after(p.append(a)); 6 $('p.ping-services:last').after(p); 7 dotclear.checkboxesHelpers($('p.ping-services:last').get(0), $('.check-ping-services')); 13 8 } 14 9 $('h5.ping-services').toggleWithLegend($('p.ping-services'),{
Note: See TracChangeset
for help on using the changeset viewer.