Changeset 1214


Ignore:
Timestamp:
Apr 20, 2006, 12:07:52 AM (18 years ago)
Author:
rub
Message:

Issue ID 330/337:

o Fix last bugs
o Change class "errors" to class "infos"

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/notification_by_mail.php

    r1177 r1214  
    8383      }
    8484      $_POST[$post_keyname] = array_diff($_POST[$post_keyname], $check_key_treated);
    85      
     85
    8686      $must_repost = true;
    8787      array_push($page['errors'], sprintf(l10n('nbm_background_treatment_redirect'), $time_refresh));
     
    228228
    229229    // 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))
    231231    {
    232232      if (count($data_users) > 0)
     
    606606
    607607      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        {
    608614          $template->assign_block_vars(
    609615            $page['mode'].'.send_data.user_send_mail',
     
    619625              'LAST_SEND'=> $nbm_user['last_send']
    620626              ));
     627        }
     628      }
    621629    }
    622630
  • trunk/template/yoga/admin/notification_by_mail.tpl

    r1177 r1214  
    1919  <!-- BEGIN repost -->
    2020  <fieldset>
    21     <div class="errors">
     21    <div class="infos">
    2222      <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}/>
    2424      </p>
    2525    </div>
Note: See TracChangeset for help on using the changeset viewer.