tag
* array $aAttribs Any extra attributes: an associative array,
* where keys are attribute names, and values
* (which are optional and might be null)
* should be placed in double quotes as attribute
* values (optional; may not be present)
* string $trailing_text Any text given by the caller to be displayed
* after the edit list input
*
* @copyright 1999-2017 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @subpackage templates
*/
// retrieve the template vars
//
extract($t);
// Construct the add key/value inputs
//
//FIXME implement poss_key_folders here? probably not worth the trouble, is there a use case?
if ($use_input_widget) {
echo _("Add") . ' ' . $input_key_widget . ' ';
// FIXME: shall we allow these "poss value folders" (folder list selection for edit list values) for NON-Associative EDIT_LIST widgets?
if ($poss_value_folders) {
echo '';
}
else
echo $input_value_widget . ' ';
}
if (!empty($trailing_text))
echo ($trailing_text_small ? '' : '') . ($trailing_text_is_html ? $trailing_text : sm_encode_html_special_chars($trailing_text)) . ($trailing_text_small ? '' : '') . ' ';
// Construct the select input showing all current values in the list
//
echo '';
// Construct the delete input
//
if (!empty($possible_values) && $use_delete_widget)
echo ' ' . $checkbox_widget . ' ';