_e("Hidden/Visible", 'mailing-group-module'); ?> </th> <th width="8%"><?php _e("Actions", 'mailing-group-module'); ?> </th> </tr> </thead> <tbody> <?php if ($totcount > 0) { foreach ($custom_emails as $email_id => $custom_email_info) { $title = stripslashes($custom_email_info['title']); if (strlen($custom_email_info['message']) > 100) { $message = wpmg_stringlength(nl2br(stripslashes($custom_email_info['message'])), 100); } else { $message = nl2br(stripslashes($custom_email_info['message'])); } $visible = $custom_email_info['visible']; $act = "hid"; $lablestatus = __("Visible", 'mailing-group-module'); if ($visible == 0) { $act = "vis"; $lablestatus = __("Hidden", 'mailing-group-module'); } ?> <tr> <td width="40%"><?php echo $title; ?>
<th width="35%"><?php _e("Message", 'mailing-group-module'); ?> </th> <th width="8%"><?php _e("Actions", 'mailing-group-module'); ?> </th> </tr> </thead> <tbody> <?php if ($totcount > 0) { foreach ($admin_emails as $email_id => $email_info) { $title = stripslashes($email_info['title']); $desc = wpmg_stringlength(nl2br(stripslashes($email_info['message'])), 50); ?> <tr> <td width="40%"><?php echo $title; ?> </td> <td width="40%"><?php echo $desc; ?> </td> <td width="10%" class="last"> <a href="admin.php?page=wpmg_mailinggroup_adminmessageadd&act=upd&id=<?php echo $email_id; ?> " class="edit_record" title="<?php