Skip to content

Commit

Permalink
Merge pull request XoopsModules25x#33 from aerograf/master
Browse files Browse the repository at this point in the history
Add help message
  • Loading branch information
mambax7 authored Sep 15, 2017
2 parents f4739c9 + a1ae47f commit 944a110
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions admin/admin_digest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@

//if (!$newXoopsModuleGui) loadModuleAdminMenu(7,_AM_NEWBB_DIGESTADMIN);
// else $adminObject->displayNavigation(basename(__FILE__));
echo '<ul><li>' . _AM_NEWBB_DIGEST_HELP_1 . '</li>';
echo '<li>' . _AM_NEWBB_DIGEST_HELP_2 . '</li>';
echo '<li>' . _AM_NEWBB_DIGEST_HELP_3 . '</li>';
echo '<li>' . _AM_NEWBB_DIGEST_HELP_4 . '</li></ul>';
echo '<form action="' . xoops_getenv('PHP_SELF') . '" method="post">';
echo "<table border='0' cellpadding='4' cellspacing='1' width='100%' class='outer'>";
echo "<tr align='center'>";
Expand Down
1 change: 1 addition & 0 deletions admin/admin_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
// else $adminObject->displayNavigation(basename(__FILE__));
$adminObject->addItemButton($title_other, $item_other, $icon = 'add');
$adminObject->displayButton();
echo _AM_NEWBB_REPORTADMIN_HELP;
echo '<form action="' . xoops_getenv('PHP_SELF') . '" method="post">';
echo "<table border='0' cellpadding='4' cellspacing='1' width='100%' class='outer'>";
echo "<tr align='center'>";
Expand Down
5 changes: 5 additions & 0 deletions language/english/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
define('_AM_NEWBB_PERMSET', 'The permission has been set');
define('_AM_NEWBB_PERMNOTSET', 'The permission can not be set');
define('_AM_NEWBB_DIGEST', 'Send New Digest');
define('_AM_NEWBB_DIGEST_HELP_1', 'Allows you to create and send notifications about digest topics.');
define('_AM_NEWBB_DIGEST_HELP_2', 'Create a newsletter is possible only after the topic is marked as \'Digest\'.');
define('_AM_NEWBB_DIGEST_HELP_3', 'The dispatch is made only to users signed up for notification of digest topics.');
define('_AM_NEWBB_DIGEST_HELP_4', 'After creating and sending, do not delete the created messages. Otherwise they will be generated again.');
//define('_AM_NEWBB_DIGEST_PAST', '<span style="color:red;">Should be sent out %d minutes ago</span>');
//define('_AM_NEWBB_DIGEST_NEXT', 'Need to send out in %d minutes');
//define('_AM_NEWBB_DIGEST_ARCHIVE', 'Digest archive');
Expand Down Expand Up @@ -225,6 +229,7 @@
define('_AM_NEWBB_AUTHOR_WORD_EXTRA', 'Extra words by module Author');
// admin_report.php
define('_AM_NEWBB_REPORTADMIN', 'Reported posts manager');
define('_AM_NEWBB_REPORTADMIN_HELP', 'Allows you to view and process the user\'s appeal to messages from other users who appeared to them not to comply with forum rules, etc.');
define('_AM_NEWBB_PROCESSEDREPORT', 'View processed reports');
define('_AM_NEWBB_PROCESSREPORT', 'View new reports');
define('_AM_NEWBB_REPORTTITLE', 'Report title');
Expand Down

0 comments on commit 944a110

Please sign in to comment.