1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8//this script may only be included - so its better to die if called directly. 9if (strpos($_SERVER["SCRIPT_NAME"], basename(__FILE__)) !== false) { 10 header("location: index.php"); 11 exit; 12} 13 14/** 15 * @return array 16 */ 17function module_poweredby_info() 18{ 19 return [ 20 'name' => tra('Powered By'), 21 'description' => tra('Powered by Tiki, and others'), 22 'params' => [ 23 'tiki' => [ 24 'name' => tra('Tiki'), 25 'description' => tra('Shows "Powered by Tiki Wiki CMS Groupware" message') . ' (y/n)', 26 'filter' => 'alpha', 27 ], 28 'version' => [ 29 'name' => tra('Version'), 30 'description' => tra('Tiki version info') . ' (y/n)', 31 'filter' => 'alpha', 32 ], 33 'credits' => [ 34 'name' => tra('Credits'), 35 'description' => tra('Shows theme credits (contents of credits.tpl)') . ' (y/n)', 36 'filter' => 'alpha', 37 ], 38 'icons' => [ 39 'name' => tra('Icons'), 40 'description' => tra('Shows various "powered by" icons') . ' (y/n)', 41 'filter' => 'alpha', 42 ], 43 ], 44 ]; 45} 46 47/** 48 * @param $mod_reference 49 * @param $module_params 50 */ 51function module_poweredby($mod_reference, $module_params) 52{ 53} 54