XoopsModules25x/mylinks

View on GitHub
language/english/modinfo.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/*
 * ****************************************************************************
 * mylinks - MODULE FOR XOOPS
 * Copyright (c) Hervé Thouzard of Instant Zero (http://www.instant-zero.com)
 *
 * You may not change or alter any portion of this comment or credits
 * of supporting developers from this source code or any supporting source code
 * which is considered copyrighted (c) material of the original comment or credit authors.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 */
/**
 * @copyright::  {@link http://www.instant-zero.com Hervé Thouzard of Instant Zero}
 * @license  ::    {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License}
 * @package  ::    mylinks
 * @author   ::     {@link http://www.instant-zero.com Hervé Thouzard of Instant Zero}
 * ****************************************************************************
 */
// Module Info

// The name of this module
define('_MI_MYLINKS_NAME', 'My Links');

// A brief description of this module
define('_MI_MYLINKS_DESC', 'Creates a web links section where users can search/submit/rate various web sites.');

// Names of blocks for this module (Not all module has blocks)
define('_MI_MYLINKS_BNAME1', 'Recent Links');
define('_MI_MYLINKS_BNAME1DESC', 'Shows recently added web links');
define('_MI_MYLINKS_BNAME2', 'Top Links');
define('_MI_MYLINKS_BNAME2DESC', 'Shows most visited web links');
define('_MI_MYLINKS_BNAME3', 'Random Link');
define('_MI_MYLINKS_BNAME3DESC', 'Shows a random link');

// Sub menu titles
define('_MI_MYLINKS_SMNAME1', 'Submit');
define('_MI_MYLINKS_SMNAME2', 'Popular');
define('_MI_MYLINKS_SMNAME3', 'Top Rated');
define('_MI_MYLINKS_SMNAME4', 'Most Recent');

// Names of admin menu items
define('_MI_MYLINKS_ADMENU2', 'Add/Edit Links');
define('_MI_MYLINKS_ADMENU3', 'Submitted Links');
define('_MI_MYLINKS_ADMENU4', 'Broken Links');
define('_MI_MYLINKS_ADMENU5', 'Modified Links');
define('_MI_MYLINKS_ADMENU6', 'Permissions');
define('_MI_MYLINKS_ADMENU7', 'Template Admin');

// Template Descriptions
define('_MI_MYLINKS_TPLDESC_BROKEN', 'Broken Link Template');
define('_MI_MYLINKS_TPLDESC_LINK', 'Link Template');
define('_MI_MYLINKS_TPLDESC_INDEX', 'Module Index Template');
define('_MI_MYLINKS_TPLDESC_MODLINK', 'Link Modification Template');
define('_MI_MYLINKS_TPLDESC_RATELINK', 'Rate Link Template');
define('_MI_MYLINKS_TPLDESC_SINGLELINK', 'Single Link Template');
define('_MI_MYLINKS_TPLDESC_SUBMIT', 'Submit Link Template');
define('_MI_MYLINKS_TPLDESC_TOPTEN', 'Top Ten Template');
define('_MI_MYLINKS_TPLDESC_VIEWCAT', 'View Category Template');
define('_MI_MYLINKS_TPLDESC_SEARCHINC', 'Search form include Template');
define('_MI_MYLINKS_TPLDESC_ATOM', 'ATOM Feed Template');
define('_MI_MYLINKS_TPLDESC_PDA', 'PDA Friendly Feed Template');
define('_MI_MYLINKS_TPLDESC_RSS', 'RSS Feed Template');

// Title of config items
define('_MI_MYLINKS_POPULAR', 'Select the number of hits for links to be marked as popular');
define('_MI_MYLINKS_NEWLINKS', 'Select the maximum number of new links displayed on top page');
define('_MI_MYLINKS_PERPAGE', 'Select the maximum number of links displayed in each page');
define('_MI_MYLINKS_USESHOTS', 'Display a screenshot image for each link');
define('_MI_MYLINKS_USEFRAMES', 'Would you like to display the linked page within a frame?');
define('_MI_MYLINKS_SHOTWIDTH', 'Maximum allowed width of each screenshot image (in pixels)');
define('_MI_MYLINKS_SHOTPROVIDER', 'Select the external screen shot provider');
define('_MI_MYLINKS_DISPATTR', 'Display shot attribution');
define('_MI_MYLINKS_SHOTPUBKEY', 'Shot provider primary key');
define('_MI_MYLINKS_SHOTPRIVKEY', 'Shot provider secondary key');
define('_MI_MYLINKS_ANONPOST', 'Allow anonymous users to post links?');
define('_MI_MYLINKS_AUTOAPPROVE', 'Auto approve new links without admin intervention?');
define('_MI_MYLINKS_INCADMIN', 'Include administrator visits in hit counter results?');
define('_MI_MYLINKS_SHOWEXTRAFUNC', 'Show extra functionality in link display?');
define('_MI_MYLINKS_CANPRINT', 'Select which users can print links');
define('_MI_MYLINKS_CANPDF', 'Select which users can create PDF files');
define('_MI_MYLINKS_CANBOOKMARK', 'Select which users can create a bookmark');
define('_MI_MYLINKS_CANQRCODE', 'Select which users can create a qrcode (3D barcode)');
define('_MI_MYLINKS_SHOWLOGO', 'Display the module header logo?');
define('_MI_MYLINKS_SHOWXOOPSSEARCH', 'Enable XOOPS sitewide search form in module templates?');
define('_MI_MYLINKS_SHOWTOOLBAR', 'Display horizontal menu at top of module templates?');
define('_MI_MYLINKS_SHOWLETTERS', 'Display horizontal category letter hyperlink menu at top of module templates?');
define('_MI_MYLINKS_SHOWFEED', 'Display RSS/Atom feed icons?');
define('_MI_MYLINKS_SHOWSITEINFO', 'Show site statistics information?');

// Description of each config items
define('_MI_MYLINKS_POPULARDSC', '');
define('_MI_MYLINKS_NEWLINKSDSC', '');
define('_MI_MYLINKS_PERPAGEDSC', '');
define('_MI_MYLINKS_USEFRAMEDSC', '');
define('_MI_MYLINKS_USESHOTSDSC', '');
define('_MI_MYLINKS_SHOTWIDTHDSC', '');
define('_MI_MYLINKS_SHOTPROVIDERDSC', 'Provider for screen shots if images from image directory are not used.');
define('_MI_MYLINKS_DISPATTRDSC', 'Some providers require you display an image attribution<br>Do not disable this unless you are sure.');
define('_MI_MYLINKS_SHOTPUBKEYDSC', 'Enter the primary (or public) key if required by shot provider service.');
define('_MI_MYLINKS_SHOTPRIVKEYDSC', 'Enter the secondary (or private) key if required by shot provider service.');
define('_MI_MYLINKS_AUTOAPPROVEDSC', '');
define('_MI_MYLINKS_INCADMINDSC', '');
define('_MI_MYLINKS_SHOWEXTRAFUNCDSC', 'Allow display of print, pdf, qrcode, bookmark options');
define('_MI_MYLINKS_CANPRINTDSC', '');
define('_MI_MYLINKS_CANPDFDSC', '');
define('_MI_MYLINKS_CANBOOKMARKDSC', '');
define('_MI_MYLINKS_CANQRCODEDSC', 'Note: QRCODE module must be installed for this option to function');
define('_MI_MYLINKS_SHOWLOGODSC', '');
define('_MI_MYLINKS_SHOWXOOPSSEARCHDSC', '');
define('_MI_MYLINKS_SHOWTOOLBARDSC', '');
define('_MI_MYLINKS_SHOWLETTERSDSC', '');
define('_MI_MYLINKS_SHOWFEEDDSC', '');
define('_MI_MYLINKS_SHOWSITEINFODSC', 'Show hyperlink menu to show Alexa, Archive, & Google stats');
define('_MI_MYLINKS_ANONTELLAFRIEND', 'Allow anonymous users to send tell-a-friend email');
define('_MI_MYLINKS_ANONTELLAFRIENDDSC', 'Yes will allow anonymous user to tell-a-friend.');

// Values for config items
define('_MI_MYLINKS_DISALLOW', 0);
define('_MI_MYLINKS_ALLOW', 1);
define('_MI_MYLINKS_MEMBERONLY', 2);
define('_MI_MYLINKS_ALLOWDSC', 'Allow all users');
define('_MI_MYLINKS_DISALLOWDSC', 'Disallow all users');
define('_MI_MYLINKS_MEMBERONLYDSC', 'Registered users only');

// Text for notifications
define('_MI_MYLINKS_GLOBAL_NOTIFY', 'Global');
define('_MI_MYLINKS_GLOBAL_NOTIFYDSC', 'Global links notification options.');

define('_MI_MYLINKS_CATEGORY_NOTIFY', 'Category');
define('_MI_MYLINKS_CATEGORY_NOTIFYDSC', 'Notification options that apply to the current link category.');

define('_MI_MYLINKS_LINK_NOTIFY', 'Link');
define('_MI_MYLINKS_LINK_NOTIFYDSC', 'Notification options that aply to the current link.');

define('_MI_MYLINKS_GLOBAL_NEWCATEGORY_NOTIFY', 'New Category');
define('_MI_MYLINKS_GLOBAL_NEWCATEGORY_NOTIFYCAP', 'Notify me when a new link category is created.');
define('_MI_MYLINKS_GLOBAL_NEWCATEGORY_NOTIFYDSC', 'Receive notification when a new link category is created.');
define('_MI_MYLINKS_GLOBAL_NEWCATEGORY_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New link category');

define('_MI_MYLINKS_GLOBAL_LINKMODIFY_NOTIFY', 'Modify Link Requested');
define('_MI_MYLINKS_GLOBAL_LINKMODIFY_NOTIFYCAP', 'Notify me of any link modification request.');
define('_MI_MYLINKS_GLOBAL_LINKMODIFY_NOTIFYDSC', 'Receive notification when any link modification request is submitted.');
define('_MI_MYLINKS_GLOBAL_LINKMODIFY_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Link Modification Requested');

define('_MI_MYLINKS_GLOBAL_LINKBROKEN_NOTIFY', 'Broken Link Submitted');
define('_MI_MYLINKS_GLOBAL_LINKBROKEN_NOTIFYCAP', 'Notify me of any broken link report.');
define('_MI_MYLINKS_GLOBAL_LINKBROKEN_NOTIFYDSC', 'Receive notification when any broken link report is submitted.');
define('_MI_MYLINKS_GLOBAL_LINKBROKEN_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Broken Link Reported');

define('_MI_MYLINKS_GLOBAL_LINKSUBMIT_NOTIFY', 'New Link Submitted');
define('_MI_MYLINKS_GLOBAL_LINKSUBMIT_NOTIFYCAP', 'Notify me when any new link is submitted (awaiting approval).');
define('_MI_MYLINKS_GLOBAL_LINKSUBMIT_NOTIFYDSC', 'Receive notification when any new link is submitted (awaiting approval).');
define('_MI_MYLINKS_GLOBAL_LINKSUBMIT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New link submitted');

define('_MI_MYLINKS_GLOBAL_NEWLINK_NOTIFY', 'New Link');
define('_MI_MYLINKS_GLOBAL_NEWLINK_NOTIFYCAP', 'Notify me when any new link is posted.');
define('_MI_MYLINKS_GLOBAL_NEWLINK_NOTIFYDSC', 'Receive notification when any new link is posted.');
define('_MI_MYLINKS_GLOBAL_NEWLINK_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New link');

define('_MI_MYLINKS_CATEGORY_LINKSUBMIT_NOTIFY', 'New Link Submitted');
define('_MI_MYLINKS_CATEGORY_LINKSUBMIT_NOTIFYCAP', 'Notify me when a new link is submitted (awaiting approval) to the current category.');
define('_MI_MYLINKS_CATEGORY_LINKSUBMIT_NOTIFYDSC', 'Receive notification when a new link is submitted (awaiting approval) to the current category.');
define('_MI_MYLINKS_CATEGORY_LINKSUBMIT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New link submitted in category');

define('_MI_MYLINKS_CATEGORY_NEWLINK_NOTIFY', 'New Link');
define('_MI_MYLINKS_CATEGORY_NEWLINK_NOTIFYCAP', 'Notify me when a new link is posted to the current category.');
define('_MI_MYLINKS_CATEGORY_NEWLINK_NOTIFYDSC', 'Receive notification when a new link is posted to the current category.');
define('_MI_MYLINKS_CATEGORY_NEWLINK_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New link in category');

define('_MI_MYLINKS_LINK_APPROVE_NOTIFY', 'Link Approved');
define('_MI_MYLINKS_LINK_APPROVE_NOTIFYCAP', 'Notify me when this link is approved.');
define('_MI_MYLINKS_LINK_APPROVE_NOTIFYDSC', 'Receive notification when this link is approved.');
define('_MI_MYLINKS_LINK_APPROVE_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Link approved');

// index.php
define('_MYLINKS_ADMIN_HOME', 'Home');
define('_MYLINKS_ADMIN_INDEX', 'FAQ');
define('_MYLINKS_ADMIN_ABOUT', 'About');
define('_MYLINKS_ADMIN_HELP', 'Help');
define('_MYLINKS_ADMIN_SLIDES', 'Slides');
define('_MYLINKS_ADMIN_PREFERENCES', 'Preferences');

define('_MYLINKS_ADMIN_HOME_DESC', 'Home');
define('_MI_MYLINKS_ADMENU2_DESC', 'Add/Edit Links');
define('_MI_MYLINKS_ADMENU3_DESC', 'Submitted Links');
define('_MI_MYLINKS_ADMENU4_DESC', 'Broken Links');
define('_MI_MYLINKS_ADMENU5_DESC', 'Modified Links');
define('_MI_MYLINKS_ADMENU6_DESC', 'Blocks/Group Admin');
define('_MI_MYLINKS_ADMENU7_DESC', 'Template Admin');
define('_MYLINKS_ADMIN_ABOUT_DESC', 'Info About the Module');
define('_MYLINKS_ADMIN_HELP_DESC', 'Help');

//Help
define('_MI_MYLINKS_DIRNAME', basename(dirname(dirname(__DIR__))));
define('_MI_MYLINKS_HELP_HEADER', __DIR__.'/help/helpheader.html');
define('_MI_MYLINKS_BACK_2_ADMIN','Back to Administration of ');
define('_MI_MYLINKS_HELP_OVERVIEW','Overview');