Added jumpbox output for all profile pages

git-svn-id: file:///svn/phpbb/trunk@312 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-05-17 15:14:11 +00:00
parent b621f70cd1
commit a16d51a4a5
3 changed files with 55 additions and 5 deletions

View file

@ -213,8 +213,15 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
include('includes/page_header.'.$phpEx);
$template->set_filenames(array(
"body" => "profile_view_body.tpl")
"body" => "profile_view_body.tpl",
"jumpbox" => "jumpbox.tpl")
);
$jumpbox = make_jumpbox();
$template->assign_vars(array(
"JUMPBOX_LIST" => $jumpbox,
"SELECT_NAME" => POST_FORUM_URL)
);
$template->assign_var_from_handle("JUMPBOX", "jumpbox");
//
// End header
//
@ -449,7 +456,15 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
}
$template->set_filenames(array(
"body" => "profile_add_body.tpl"));
"body" => "profile_add_body.tpl",
"jumpbox" => "jumpbox.tpl")
);
$jumpbox = make_jumpbox();
$template->assign_vars(array(
"JUMPBOX_LIST" => $jumpbox,
"SELECT_NAME" => POST_FORUM_URL)
);
$template->assign_var_from_handle("JUMPBOX", "jumpbox");
$template->assign_vars(array(
"COPPA" => 0,
"MODE" => $mode,
@ -579,8 +594,15 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
// conditions/coppa
//
$template->set_filenames(array(
"body" => "agreement.tpl")
"body" => "agreement.tpl",
"jumpbox" => "jumpbox.tpl")
);
$jumpbox = make_jumpbox();
$template->assign_vars(array(
"JUMPBOX_LIST" => $jumpbox,
"SELECT_NAME" => POST_FORUM_URL)
);
$template->assign_var_from_handle("JUMPBOX", "jumpbox");
$template->assign_vars(array(
"COPPA" => $coppa,
@ -729,9 +751,15 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
// new user reg details
//
$template->set_filenames(array(
"body" => "profile_add_body.tpl")
"body" => "profile_add_body.tpl",
"jumpbox" => "jumpbox.tpl")
);
$jumpbox = make_jumpbox();
$template->assign_vars(array(
"JUMPBOX_LIST" => $jumpbox,
"SELECT_NAME" => POST_FORUM_URL)
);
$template->assign_var_from_handle("JUMPBOX", "jumpbox");
$template->assign_vars(array(
"MODE" => $mode,
"USERNAME" => $username,

View file

@ -63,3 +63,18 @@
</form>
</td>
</tr>
<tr>
<td align="center"><table border="0" width="100%" cellpadding="0" cellspacing="1">
<tr>
<td style="{font-size: 8pt;}" align="right" ><table cellpadding="0" cellspacing="1" border="0" bgcolor="#000000">
<tr>
<td bgcolor="#CCCCCC"><table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
<td style="{font-size:8pt; height:55px;}" align="right">{JUMPBOX}</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>

View file

@ -61,3 +61,10 @@
</table></td>
</tr>
</table></div>
<div align="center"><table cellspacing="2" border="0" width="98%">
<tr>
<td width="40%" valign="top"><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}"><b>{S_TIMEZONE}</b></font></td>
<td align="right" valign="top" nowrap>{JUMPBOX}</td>
</tr>
</table></div>