1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-19 12:11:55 +02:00

Forum plugin - remove unused pref for reporting forum posts

And updated help text

Related to #1028
240d509fd0
This commit is contained in:
Tijn Kuyper 2019-10-02 10:51:59 +02:00
parent 11b87ff174
commit b4066cfed9
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2
2 changed files with 6 additions and 4 deletions

View File

@ -177,7 +177,7 @@ if(!deftrue('OLD_FORUMADMIN'))
'track' => array('title' => FORLAN_200, 'type'=>'boolean', 'data' => 'int','help'=>FORLAN_201),
'trackemail' => array('title' => FORLAN_202, 'type'=>'boolean', 'data' => 'int','help'=>FORLAN_203),
'redirect' => array('title' => FORLAN_112, 'type'=>'boolean', 'data' => 'int','help'=>FORLAN_113),
'reported_post_email' => array('title' => FORLAN_116, 'type'=>'boolean', 'data' => 'int','help'=>FORLAN_122),
//'reported_post_email' => array('title' => FORLAN_116, 'type'=>'boolean', 'data' => 'int','help'=>FORLAN_122),
'tooltip' => array('title' => FORLAN_126, 'type'=>'boolean', 'data' => 'int','help'=>FORLAN_127),
'ranks' => array('title' => FORLAN_63, 'type'=>'boolean', 'data' => 'int','help'=>''),
'tiplength' => array('title' => FORLAN_128, 'type'=>'number', 'data' => 'int','help'=>FORLAN_129),
@ -1043,8 +1043,10 @@ if(!deftrue('OLD_FORUMADMIN'))
public function renderHelp()
{
return array('caption'=>LAN_HELP, 'text'=>FORLAN_189);
$help_text = str_replace("[br]", "<br />", FORLAN_189);
$help_text = str_replace(array("[", "]"), array("<a href='".e_ADMIN_ABS."notify.php'>"), $help_text);
return array('caption' => LAN_HELP, 'text' => $help_text);
}
}

View File

@ -212,7 +212,7 @@ define("FORLAN_185", "Indicates who can create new threads");
define("FORLAN_186", "Threads per page");
define("FORLAN_187", "Number of threads displayed per page");
// define("FORLAN_188", "Latest Posts");
define("FORLAN_189", "Click the 'delete' button to delete the report.<br /><br />Click the 'view' button to view the topic/thread");
define("FORLAN_189", "Click the 'delete' button to delete the report.[br][br]Click the 'view' button to view the topic/thread.[br][br]To be notified of any new reports, please see to the [notify settings].");
define("FORLAN_200", "Topic tracking");
define("FORLAN_201", "Enable this to allow your users to track topics.");