Location: PHPKode > projects > PHP Ajax Forms Framework > pajff/forms/pajffok.php
<?php
/**
* Built-in OK modal dialog
* 
* <p>Form definition file</p>
* 
* {@link http://sourceforge.net/projects/pajff Project home}
* 
* @package PAjFF
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author Atanas Markov hide@address.com
* @version 0.0.2
* @copyright 2006 by Atanas Markov
*
* @subpackage pajffok
**/

/**
 * Define dialog HTML code
 *
 * @param pajff_session $session
 * @return string
 */
function pajffokForm($session){
    $result= "<p align=\"center\"><font size=\"4\">$session->title</font></p>
              <p></p>
              <p align=\"center\">$session->message</p>
              <p></p>
              <p align=\"center\">
              <input type=\"button\" value=\"     OK    \" id=\"ok\" name=\"ok\" onclick=\"".
		pajffSimpleEventReg('ok',$session,'','',false)
		."\">
              </p>";
    return $result;
}

?>
Return current item: PHP Ajax Forms Framework