plugins/admin/Home.php
changeset 1140 d90e55caba3a
parent 1081 745200a9cc2a
child 1170 71cb87b7dc3f
equal deleted inserted replaced
1137:9f928ce05b6b 1140:d90e55caba3a
    68       $n = $db->numrows();
    68       $n = $db->numrows();
    69       $um_flags = 'href="#" onclick="ajaxPage(\''.$paths->nslist['Admin'].'UserManager\'); return false;"';
    69       $um_flags = 'href="#" onclick="ajaxPage(\''.$paths->nslist['Admin'].'UserManager\'); return false;"';
    70       if ( $n == 1 )
    70       if ( $n == 1 )
    71         $s = $lang->get('acphome_msg_inactive_users_one', array('um_flags' => $um_flags));
    71         $s = $lang->get('acphome_msg_inactive_users_one', array('um_flags' => $um_flags));
    72       else
    72       else
    73         $s = $lang->get('acphome_msg_inactive_users_plural', array('um_flags' => $um_flags));
    73         $s = $lang->get('acphome_msg_inactive_users_plural', array('um_flags' => $um_flags, 'num_users' => $n));
    74       echo '<div class="acphome-box notice">
    74       echo '<div class="acphome-box notice">
    75               <h3>' . $lang->get('acphome_heading_inactive_users') . '</h3>
    75               <h3>' . $lang->get('acphome_heading_inactive_users') . '</h3>
    76               ' . $s . '
    76               ' . $s . '
    77             </div>';
    77             </div>';
    78     }
    78     }