0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: monitor.php
<?php // (c) Copyright 2002-2015 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: monitor.php 53803 2015-02-06 00:42:50Z jyhem $ function prefs_monitor_list() { return array( 'monitor_enabled' => array( 'name' => tr('Notifications'), 'description' => tr('Allows users to control the notifications they receive based on content changes.'), 'type' => 'flag', 'default' => 'n', 'help' => 'Notifications', ), 'monitor_digest' => array( 'name' => tr('Notification Digests'), 'description' => tr('Enable the digest notifications, requires cron job'), 'type' => 'flag', 'default' => 'n', 'help' => 'Notifications#Digests', ), 'monitor_individual_clear' => array( 'name' => tr('Clear individual notifications'), 'description' => tr('Allow users to selectively clear notifications instead of simply having a clear-all button.'), 'type' => 'flag', 'default' => 'n', ), 'monitor_count_refresh_interval' => array( 'name' => tr('Notification count refresh interval'), 'description' => tr('Show unread notification count and refresh every [x] seconds.'), 'type' => 'text', 'filter' => 'int', 'default' => 0, 'shorthint' => tr('seconds'), 'size' => 5, 'hint' => tr('0 to disable, every refresh causes a hit on the server, try to leave this above 60 seconds.'), ), 'monitor_reply_email_pattern' => array( 'name' => tr('Notification Reply-To email pattern'), 'description' => tr('Email model to use for the notification email reply-to address.'), 'type' => 'text', 'filter' => 'email', 'default' => '', 'hint' => tr('noreply+PLACEHOLDER@example.com'), 'dependencies' => ['feature_mailin'], ), ); }