0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
lib
/
wiki-plugins
/
[
Home
]
File: wikiplugin_payment.php
<?php // (c) Copyright 2002-2011 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: wikiplugin_payment.php 33195 2011-03-02 17:43:40Z changi67 $ function wikiplugin_payment_info() { return array( 'name' => tra('Payment'), 'documentaion' => 'PluginPayment', 'description' => tra('Show details of a payment request or invoice'), 'prefs' => array( 'wikiplugin_payment', 'payment_feature' ), 'icon' => 'pics/icons/money.png', 'params' => array( 'id' => array( 'required' => true, 'name' => tra('Payment Request Number'), 'description' => tra('Unique identifier of the payment request'), 'filter' => 'digits', 'default' => '', ) ) ); } function wikiplugin_payment( $data, $params ) { global $smarty; require_once 'lib/smarty_tiki/function.payment.php'; return '^~np~' . smarty_function_payment( $params, $smarty ) . '~/np~^'; }