Forums / Contribution-Writing Guidelines / Why does the currency form use link like this?

Why does the currency form use link like this?

Locked

Views: 2,383

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
3 May 2008, 4:05 AM
#1
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Why does the currency form use link like this?

    $content .= zen_draw_form('currencies_form', zen_href_link(basename(ereg_replace('.php','', $PHP_SELF)), '', $request_type, false), 'get');

I feel it's a bit weird? Why do we remove .php from the link?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

3 May 2008, 4:35 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Why does the currency form use link like this?

I think I got it, but still feel a bit weird. It's kinda inconsistent with the other forms (use current_page and zen_get_all_params for the form's action)

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me