Check if the site allows new user registration
In a preprocess function for your template, add code something like:

$variables['is_registration_open'] = variable_get('user_register') == USER_REGISTER_VISITORS;


Then in your template:

&lt;?php if ($is_registration_open) : ?&gt;
&lt;h3&gt;Registration is open!&lt;/h3&gt;
&lt;?php endif; ?&gt;