Changeset 1214
- Timestamp:
- Apr 20, 2006, 12:07:52 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/notification_by_mail.php
r1177 r1214 83 83 } 84 84 $_POST[$post_keyname] = array_diff($_POST[$post_keyname], $check_key_treated); 85 85 86 86 $must_repost = true; 87 87 array_push($page['errors'], sprintf(l10n('nbm_background_treatment_redirect'), $time_refresh)); … … 228 228 229 229 // Check if exist news to list user or send mails 230 if ((!$is_list_all_without_test == false) or ($is_action_send))230 if ((!$is_list_all_without_test) or ($is_action_send)) 231 231 { 232 232 if (count($data_users) > 0) … … 606 606 607 607 foreach ($data_users as $num => $nbm_user) 608 { 609 if ( 610 (!$must_repost) or // Not timeout, normal treatment 611 (($must_repost) and in_array($nbm_user['check_key'], $_POST['send_selection'])) // Must be repost, show only user to send 612 ) 613 { 608 614 $template->assign_block_vars( 609 615 $page['mode'].'.send_data.user_send_mail', … … 619 625 'LAST_SEND'=> $nbm_user['last_send'] 620 626 )); 627 } 628 } 621 629 } 622 630 -
trunk/template/yoga/admin/notification_by_mail.tpl
r1177 r1214 19 19 <!-- BEGIN repost --> 20 20 <fieldset> 21 <div class=" errors">21 <div class="infos"> 22 22 <p> 23 <input type="submit" value="{lang:nbm_repost_submit}" name="{ REPOST_SUBMIT_NAME}" {TAG_INPUT_ENABLED}/>23 <input type="submit" value="{lang:nbm_repost_submit}" name="{repost.REPOST_SUBMIT_NAME}" {TAG_INPUT_ENABLED}/> 24 24 </p> 25 25 </div>
Note: See TracChangeset
for help on using the changeset viewer.