X-Git-Url: https://jasonwoof.com/gitweb/?p=contractor-progress.git;a=blobdiff_plain;f=tiny_agreement.php;h=4e5a39c43a693dfdec1400837e38b72c2557858a;hp=eb01cf1c84c0e082c8dfca0f2d93944b1b506a0e;hb=HEAD;hpb=a8968f20cd3b06b2cc19de6871019d4aaae6b79b diff --git a/tiny_agreement.php b/tiny_agreement.php index eb01cf1..4e5a39c 100644 --- a/tiny_agreement.php +++ b/tiny_agreement.php @@ -1,5 +1,20 @@ . + function tiny_agreement_get_fields() { $name = format_oneline($_REQUEST['name']); tem_set('name', $name); @@ -12,7 +27,7 @@ function tiny_agreement_get_fields() { function tiny_agreement_main() { if(!logged_in()) { $GLOBALS['url'] = this_url(); - return 'tiny_agreement'; + return 'login'; } pulldown('level', array( @@ -40,8 +55,6 @@ function tiny_agreement_main() { message('Something went wrong there. Please try again'); } } - - tem_sub('main_body'); } ?>