1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Forum - created global, moved notify lan to global, added NAME/DESC LAN for plugin.xml

This commit is contained in:
Moc 2013-09-16 12:57:42 +02:00
parent 2176c625fb
commit 2042ecd473
3 changed files with 32 additions and 4 deletions

View File

@ -0,0 +1,26 @@
<?php
define("LAN_PLUGIN_FORUM_NAME", "Forum");
define("LAN_PLUGIN_FORUM_DESC", "This plugin is a fully featured forum system.");
// Notify
define('FORUM_NT_1', 'Forum Events');
define('FORUM_NT_2', 'Thread');
define('FORUM_NT_3', 'Post');
define('FORUM_NT_4', 'added by');
define('FORUM_NT_5', 'moved by');
define('FORUM_NT_6', 'Forum - Thread created');
define('FORUM_NT_7', 'Forum - Thread created by new user');
define('FORUM_NT_8', 'Forum - Thread deleted');
define('FORUM_NT_9', 'Forum - Thread split');
define('FORUM_NT_10', 'Forum - Post deleted');
define('FORUM_NT_11', 'Forum - Post reported');
define('FORUM_NT_NEWTHREAD', 'New thread created');
define('FORUM_NT_NEWTHREAD_PROB', 'New thread created by probationary member');
define('FORUM_NT_THREAD_DELETED', 'Thread deleted');
define('FORUM_NT_THREAD_SPLIT', 'Thread split');
define('FORUM_NT_POST_DELETED', 'Post deleted');
define('FORUM_NT_POST_REPORTED', 'Post reported');
?>

View File

@ -15,7 +15,9 @@
*
*/
define('FORUM_NT_1', 'Forum Events');
// DEPRECATED FILE - NOTIFY LAN ARE NOW IN GLOBAL
/*define('FORUM_NT_1', 'Forum Events');
define('FORUM_NT_2', 'Thread');
define('FORUM_NT_3', 'Post');
define('FORUM_NT_4', 'added by');
@ -32,4 +34,4 @@ define('FORUM_NT_NEWTHREAD_PROB', 'New thread created by probationary member');
define('FORUM_NT_THREAD_DELETED', 'Thread deleted');
define('FORUM_NT_THREAD_SPLIT', 'Thread split');
define('FORUM_NT_POST_DELETED', 'Post deleted');
define('FORUM_NT_POST_REPORTED', 'Post reported');
define('FORUM_NT_POST_REPORTED', 'Post reported');*/

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<e107Plugin name="Forum" lan="" version="2.0" date="2012-08-01" compatibility="2.0" installRequired="true">
<e107Plugin name="Forum" lan="LAN_PLUGIN_FORUM_NAME" version="2.0" date="2012-08-01" compatibility="2.0" installRequired="true">
<author name="e107 Inc." url="http://e107.org" />
<description lan="">This plugin is a fully featured Forum system</description>
<description lan="LAN_PLUGIN_FORUM_DESC">This plugin is a fully featured forum system</description>
<category>content</category>
<adminLinks>
<link url='forum_admin.php' description='Configure Forum' icon='images/forums_32.png' iconSmall='images/forums_16.png' primary='true' >Configure Forum</link>