|
From: Benjamin C. <bc...@us...> - 2002-05-08 01:10:03
|
Update of /cvsroot/phpbt/phpbt/templates/default/admin
In directory usw-pr-cvs1:/tmp/cvs-serv23782/default/admin
Modified Files:
component-edit.html configure.html group-edit.html
grouplist.html os-edit.html oslist.html project-edit.html
projectlist.html resolution-edit.html resolutionlist.html
severity-edit.html severitylist.html status-edit.html
statuslist.html userlist.html version-edit.html
Log Message:
Fixes bug #553239 - Use PHP_SELF instead of SCRIPT_NAME
Index: component-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/component-edit.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- component-edit.html 11 Apr 2002 16:08:05 -0000 1.2
+++ component-edit.html 8 May 2002 01:10:00 -0000 1.3
@@ -11,7 +11,7 @@
<b>{$page_title}</b>
<hr size="1">
{if $error}<div class="error">{$error}</div>{/if}
- <form action="{$SCRIPT_NAME}" method="post">
+ <form action="{$smarty.server.PHP_SELF}" method="post">
<table border="0">
<input type="hidden" name="do" value="component">
<input type="hidden" name="componentid" value="{$component_id}">
Index: configure.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/configure.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- configure.html 3 Apr 2002 00:57:10 -0000 1.3
+++ configure.html 8 May 2002 01:10:00 -0000 1.4
@@ -1,5 +1,5 @@
{include file="admin/header.html" page_title="Configuration"}
-<form action="{$SCRIPT_NAME}" method="post">
+<form action="{$smarty.server.PHP_SELF}" method="post">
<table border="0" width="640">
<tr>
<td valign="top">
Index: group-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/group-edit.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- group-edit.html 3 Apr 2002 00:57:10 -0000 1.1
+++ group-edit.html 8 May 2002 01:10:00 -0000 1.2
@@ -10,7 +10,7 @@
{/if}
<b>{$action} Group </b>
<hr size="1">
-<form action="{$SCRIPT_NAME}" method="post">
+<form action="{$smarty.server.PHP_SELF}" method="post">
<input type="hidden" name="group_id" value="{$group_id}">
<input type="hidden" name="use_js" value="{$smarty.request.use_js}">
<table border='0'>
Index: grouplist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/grouplist.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- grouplist.html 7 May 2002 11:36:06 -0000 1.4
+++ grouplist.html 8 May 2002 01:10:00 -0000 1.5
@@ -2,7 +2,7 @@
<script language="JavaScript">
<!--
- var me = '{$SCRIPT_NAME}';
+ var me = '{$smarty.server.PHP_SELF}';
{literal}
function popupGroup(id) {
@@ -14,7 +14,7 @@
<table border="0" width="100%">
<tr>
<td valign="top">
- <b> Group List</b> - <a href="{$SCRIPT_NAME}?op=edit&group_id=0" onClick="popupGroup(0); return false;">{$STRING.addnew} Group</a>
+ <b> Group List</b> - <a href="{$smarty.server.PHP_SELF}?op=edit&group_id=0" onClick="popupGroup(0); return false;">{$STRING.addnew} Group</a>
<hr size="1">
<table border="0" width="100%">
<tr>
@@ -24,14 +24,14 @@
</tr>
{section name=group loop=$groups}
<tr{if $smarty.section.group.iteration is even} class="alt"{/if}>
- <td><a href="{$SCRIPT_NAME}?op=edit&group_id={$groups[group].group_id}" onClick="popupGroup({$groups[group].group_id}); return false;">{$groups[group].group_name|stripslashes}</a></td>
+ <td><a href="{$smarty.server.PHP_SELF}?op=edit&group_id={$groups[group].group_id}" onClick="popupGroup({$groups[group].group_id}); return false;">{$groups[group].group_name|stripslashes}</a></td>
<td align="center">{$groups[group].count}</td>
<td align="center">
{if $groups[group].locked}
Locked
{else}
- <a href="{$SCRIPT_NAME}?op=del&group_id={$groups[group].group_id}" onClick="return confirm('This will remove all user assignments to this group and the group itself. Continue?')">Delete</a> |
- <a href="{$SCRIPT_NAME}?op=purge&group_id={$groups[group].group_id}" onClick="return confirm('This will remove all user assignments to this group. Continue?')">Purge</a>
+ <a href="{$smarty.server.PHP_SELF}?op=del&group_id={$groups[group].group_id}" onClick="return confirm('This will remove all user assignments to this group and the group itself. Continue?')">Delete</a> |
+ <a href="{$smarty.server.PHP_SELF}?op=purge&group_id={$groups[group].group_id}" onClick="return confirm('This will remove all user assignments to this group. Continue?')">Purge</a>
{/if}
</td>
</tr>
Index: os-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/os-edit.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- os-edit.html 3 Apr 2002 18:24:48 -0000 1.2
+++ os-edit.html 8 May 2002 01:10:00 -0000 1.3
@@ -10,7 +10,7 @@
{/if}
<b>{$action} OS </b>
<hr size="1">
-<form action="{$SCRIPT_NAME}" method="post">
+<form action="{$smarty.server.PHP_SELF}" method="post">
<input type="hidden" name="os_id" value="{$os_id}">
<input type="hidden" name="use_js" value="{$smarty.request.use_js}">
<table border='0'>
Index: oslist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/oslist.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- oslist.html 7 May 2002 11:37:29 -0000 1.7
+++ oslist.html 8 May 2002 01:10:00 -0000 1.8
@@ -2,7 +2,7 @@
<script language="JavaScript">
<!--
- var me = '{$SCRIPT_NAME}';
+ var me = '{$smarty.server.PHP_SELF}';
{literal}
function popupOS(id) {
@@ -14,7 +14,7 @@
<table border="0" width="100%">
<tr>
<td valign="top">
- <b> OS List</b> - <a href="{$SCRIPT_NAME}?op=edit&os_id=0" onClick="popupOS(0); return false;">{$STRING.addnew} OS</a>
+ <b> OS List</b> - <a href="{$smarty.server.PHP_SELF}?op=edit&os_id=0" onClick="popupOS(0); return false;">{$STRING.addnew} OS</a>
<hr size="1">
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr>
@@ -25,12 +25,12 @@
</tr>
{section name=os loop=$oses}
<tr{if $smarty.section.os.iteration is even} class="alt"{/if}>
- <td><a href="{$SCRIPT_NAME}?op=edit&os_id={$oses[os].os_id}" onClick="popupOS({$oses[os].os_id}); return false;">{$oses[os].os_name|stripslashes}</a></td>
+ <td><a href="{$smarty.server.PHP_SELF}?op=edit&os_id={$oses[os].os_id}" onClick="popupOS({$oses[os].os_id}); return false;">{$oses[os].os_name|stripslashes}</a></td>
<td> {$oses[os].regex}</td>
<td align="center">{$oses[os].sort_order}</td>
<td align="center">
{if not $oses[os].bug_count}
- <a href="{$SCRIPT_NAME}?op=del&os_id={$oses[os].os_id}" onClick="return confirm('Are you sure you want to delete this OS?')">Delete</a>
+ <a href="{$smarty.server.PHP_SELF}?op=del&os_id={$oses[os].os_id}" onClick="return confirm('Are you sure you want to delete this OS?')">Delete</a>
{/if}
</td>
</tr>
Index: project-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/project-edit.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- project-edit.html 7 May 2002 11:44:11 -0000 1.8
+++ project-edit.html 8 May 2002 01:10:00 -0000 1.9
@@ -2,7 +2,7 @@
<script language="JavaScript">
<!--
- var me = '{$SCRIPT_NAME}';
+ var me = '{$smarty.server.PHP_SELF}';
var projectId = '{$project_id}';
{literal}
@@ -19,7 +19,7 @@
// -->
</script>
-<form action="{$SCRIPT_NAME}" method="post">
+<form action="{$smarty.server.PHP_SELF}" method="post">
<input type="hidden" name="id" value="{$project_id}">
<input type="hidden" name="do" value="project">
<table border="0" cellpadding="2" cellspacing="2" width="100%">
@@ -64,7 +64,7 @@
<tr>
<td width="50%" valign="top">
<br>
- <b>Versions</b> - <a href="{$SCRIPT_NAME}?op=edit_version&project_id={$project_id}&id=0" onClick="return popupVersion(0);">{$STRING.addnew} Version</a>
+ <b>Versions</b> - <a href="{$smarty.server.PHP_SELF}?op=edit_version&project_id={$project_id}&id=0" onClick="return popupVersion(0);">{$STRING.addnew} Version</a>
<hr size="1">
<table border="0" cellpadding="2" width="100%">
<tr>
@@ -75,10 +75,10 @@
</tr>
{section name=version loop=$versions}
<tr{if $smarty.section.version.iteration is even} class="alt"{/if}>
- <td><a href="{$SCRIPT_NAME}?op=edit_version&id={$versions[version].version_id}" onClick="popupVersion({$versions[version].version_id}); return false;">{$versions[version].version_name|stripslashes}</a></td>
+ <td><a href="{$smarty.server.PHP_SELF}?op=edit_version&id={$versions[version].version_id}" onClick="popupVersion({$versions[version].version_id}); return false;">{$versions[version].version_name|stripslashes}</a></td>
<td align="center">{$versions[version].created_date|date:DATE_FORMAT}</td>
<td align="center">{if $versions[version].active}Yes{else}No{/if}</td>
- <td align="center">{if not $versions[version].bug_count}<a href="{$SCRIPT_NAME}?op=del_version&id={$versions[version].version_id}&project_id={$project_id}">Delete</a>{/if}</td>
+ <td align="center">{if not $versions[version].bug_count}<a href="{$smarty.server.PHP_SELF}?op=del_version&id={$versions[version].version_id}&project_id={$project_id}">Delete</a>{/if}</td>
</tr>
{sectionelse}
<tr>
@@ -89,7 +89,7 @@
</td>
<td width="50%" valign="top">
<br>
- <b>Components</b> - <a href="{$SCRIPT_NAME}?op=edit_component&project_id={$project_id}&id=0" onClick="return popupComponent(0);">{$STRING.addnew} Component</a>
+ <b>Components</b> - <a href="{$smarty.server.PHP_SELF}?op=edit_component&project_id={$project_id}&id=0" onClick="return popupComponent(0);">{$STRING.addnew} Component</a>
<hr size="1">
<table border="0" cellpadding="2" width="100%">
<tr>
@@ -100,10 +100,10 @@
</tr>
{section name=component loop=$components}
<tr{if $smarty.section.component.iteration is even} class="alt"{/if}>
- <td><a href="{$SCRIPT_NAME}?op=edit_component&id={$components[component].component_id}" onClick="popupComponent({$components[component].component_id}); return false;">{$components[component].component_name|stripslashes}</a></td>
+ <td><a href="{$smarty.server.PHP_SELF}?op=edit_component&id={$components[component].component_id}" onClick="popupComponent({$components[component].component_id}); return false;">{$components[component].component_name|stripslashes}</a></td>
<td align="center">{$components[component].created_date|date:DATE_FORMAT}</td>
<td align="center">{if $components[component].active}Yes{else}No{/if}</td>
- <td align="center">{if not $components[component].bug_count}<a href="{$SCRIPT_NAME}?op=del_component&id={$components[component].component_id}&project_id={$project_id}">Delete</a>{/if}</td>
+ <td align="center">{if not $components[component].bug_count}<a href="{$smarty.server.PHP_SELF}?op=del_component&id={$components[component].component_id}&project_id={$project_id}">Delete</a>{/if}</td>
</tr>
{sectionelse}
<tr>
Index: projectlist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/projectlist.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- projectlist.html 11 Apr 2002 16:08:05 -0000 1.5
+++ projectlist.html 8 May 2002 01:10:00 -0000 1.6
@@ -3,7 +3,7 @@
<table border="0" width="100%">
<tr>
<td valign="top">
- <b> Project List</b> - <a href="{$SCRIPT_NAME}?op=add">{$STRING.addnew} Project</a>
+ <b> Project List</b> - <a href="{$smarty.server.PHP_SELF}?op=add">{$STRING.addnew} Project</a>
<hr size="1">
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr>
@@ -13,7 +13,7 @@
</tr>
{section name=project loop=$projects}
<tr{if $smarty.section.project.iteration is even} class="alt"{/if}>
- <td><a href="{$SCRIPT_NAME}?op=edit&id={$projects[project].project_id}">{$projects[project].project_name|stripslashes}</a></td>
+ <td><a href="{$smarty.server.PHP_SELF}?op=edit&id={$projects[project].project_id}">{$projects[project].project_name|stripslashes}</a></td>
<td align="center">{$projects[project].created_date|date:DATE_FORMAT}</td>
<td align="center">{if $projects[project].active}Yes{else}No{/if}</td>
</tr>
Index: resolution-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/resolution-edit.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- resolution-edit.html 3 Apr 2002 18:24:48 -0000 1.1
+++ resolution-edit.html 8 May 2002 01:10:00 -0000 1.2
@@ -10,7 +10,7 @@
{/if}
<b>{$action} Resolution </b>
<hr size="1">
-<form action="{$SCRIPT_NAME}" method="post">
+<form action="{$smarty.server.PHP_SELF}" method="post">
<input type="hidden" name="resolution_id" value="{$resolution_id}">
<input type="hidden" name="use_js" value="{$smarty.request.use_js}">
<table border='0'>
Index: resolutionlist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/resolutionlist.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- resolutionlist.html 7 May 2002 11:44:11 -0000 1.9
+++ resolutionlist.html 8 May 2002 01:10:00 -0000 1.10
@@ -2,7 +2,7 @@
<script language="JavaScript">
<!--
- var me = '{$SCRIPT_NAME}';
+ var me = '{$smarty.server.PHP_SELF}';
{literal}
function popupResolution(id) {
@@ -14,7 +14,7 @@
<table border="0" width="100%">
<tr>
<td valign="top">
- <b> Resolution List</b> - <a href="{$SCRIPT_NAME}?op=edit&resolution_id=0" onClick="popupResolution(0); return false;">{$STRING.addnew} Resolution</a>
+ <b> Resolution List</b> - <a href="{$smarty.server.PHP_SELF}?op=edit&resolution_id=0" onClick="popupResolution(0); return false;">{$STRING.addnew} Resolution</a>
<hr size="1">
<table border="0" cellpadding="2" cellspacing="1">
<tr>
@@ -25,12 +25,12 @@
</tr>
{section name=resolution loop=$resolutions}
<tr{if $smarty.section.resolution.iteration is even} class="alt"{/if}>
- <td><a href="{$SCRIPT_NAME}?op=edit&resolution_id={$resolutions[resolution].resolution_id}" onClick="popupResolution({$resolutions[resolution].resolution_id}); return false;">{$resolutions[resolution].resolution_name|stripslashes}</a></td>
+ <td><a href="{$smarty.server.PHP_SELF}?op=edit&resolution_id={$resolutions[resolution].resolution_id}" onClick="popupResolution({$resolutions[resolution].resolution_id}); return false;">{$resolutions[resolution].resolution_name|stripslashes}</a></td>
<td> {$resolutions[resolution].resolution_desc}</td>
<td align="center">{$resolutions[resolution].sort_order}</td>
<td align="center">
{if not $resolutions[resolution].bug_count}
- <a href="{$SCRIPT_NAME}?op=del&resolution_id={$resolutions[resolution].resolution_id}" onClick="return confirm('Are you sure you want to delete this resolution?')">Delete</a>
+ <a href="{$smarty.server.PHP_SELF}?op=del&resolution_id={$resolutions[resolution].resolution_id}" onClick="return confirm('Are you sure you want to delete this resolution?')">Delete</a>
{/if}
</td>
</tr>
Index: severity-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/severity-edit.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- severity-edit.html 3 Apr 2002 00:57:10 -0000 1.1
+++ severity-edit.html 8 May 2002 01:10:00 -0000 1.2
@@ -10,7 +10,7 @@
{/if}
<b>{$action} Severity </b>
<hr size="1">
-<form action="{$SCRIPT_NAME}" method="post">
+<form action="{$smarty.server.PHP_SELF}" method="post">
<input type="hidden" name="severity_id" value="{$severity_id}">
<input type="hidden" name="use_js" value="{$smarty.request.use_js}">
<table border='0'>
Index: severitylist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/severitylist.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- severitylist.html 7 May 2002 11:44:11 -0000 1.7
+++ severitylist.html 8 May 2002 01:10:00 -0000 1.8
@@ -2,7 +2,7 @@
<script language="JavaScript">
<!--
- var me = '{$SCRIPT_NAME}';
+ var me = '{$smarty.server.PHP_SELF}';
{literal}
function popupSeverity(id) {
@@ -14,7 +14,7 @@
<table border="0" width="100%">
<tr>
<td valign="top">
- <b> Severity List</b> - <a href="{$SCRIPT_NAME}?op=edit&severity_id=0" onClick="popupSeverity(0); return false;">{$STRING.addnew} Severity</a>
+ <b> Severity List</b> - <a href="{$smarty.server.PHP_SELF}?op=edit&severity_id=0" onClick="popupSeverity(0); return false;">{$STRING.addnew} Severity</a>
<hr size="1">
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr>
@@ -25,12 +25,12 @@
</tr>
{section name=severity loop=$severities}
<tr{if $smarty.section.severity.iteration is even} class="alt"{/if}>
- <td><a href="{$SCRIPT_NAME}?op=edit&severity_id={$severities[severity].severity_id}" onClick="popupSeverity({$severities[severity].severity_id}); return false;">{$severities[severity].severity_name|stripslashes}</a></td>
+ <td><a href="{$smarty.server.PHP_SELF}?op=edit&severity_id={$severities[severity].severity_id}" onClick="popupSeverity({$severities[severity].severity_id}); return false;">{$severities[severity].severity_name|stripslashes}</a></td>
<td> {$severities[severity].severity_desc}</td>
<td align="center">{$severities[severity].sort_order}</td>
<td align="center">
{if not $severities[severity].bug_count}
- <a href="{$SCRIPT_NAME}?op=del&severity_id={$severities[severity].severity_id}" onClick="return confirm('Are you sure you want to delete this severity?')">Delete</a>
+ <a href="{$smarty.server.PHP_SELF}?op=del&severity_id={$severities[severity].severity_id}" onClick="return confirm('Are you sure you want to delete this severity?')">Delete</a>
{/if}
</td>
</tr>
Index: status-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/status-edit.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- status-edit.html 3 Apr 2002 00:57:10 -0000 1.1
+++ status-edit.html 8 May 2002 01:10:00 -0000 1.2
@@ -10,7 +10,7 @@
{/if}
<b>{$action} Status </b>
<hr size="1">
-<form action="{$SCRIPT_NAME}" method="post">
+<form action="{$smarty.server.PHP_SELF}" method="post">
<input type="hidden" name="status_id" value="{$status_id}">
<input type="hidden" name="use_js" value="{$smarty.request.use_js}">
<table border='0'>
Index: statuslist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/statuslist.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- statuslist.html 7 May 2002 11:44:11 -0000 1.7
+++ statuslist.html 8 May 2002 01:10:00 -0000 1.8
@@ -2,7 +2,7 @@
<script language="JavaScript">
<!--
- var me = '{$SCRIPT_NAME}';
+ var me = '{$smarty.server.PHP_SELF}';
{literal}
function popupStatus(id) {
@@ -14,7 +14,7 @@
<table border="0" width="100%">
<tr>
<td valign="top">
- <b> Status List</b> - <a href="{$SCRIPT_NAME}?op=edit&status_id=0" onClick="popupStatus(0); return false;">{$STRING.addnew} Status</a>
+ <b> Status List</b> - <a href="{$smarty.server.PHP_SELF}?op=edit&status_id=0" onClick="popupStatus(0); return false;">{$STRING.addnew} Status</a>
<hr size="1">
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr>
@@ -25,12 +25,12 @@
</tr>
{section name=status loop=$statuses}
<tr{if $smarty.section.status.iteration is even} class="alt"{/if}>
- <td><a href="{$SCRIPT_NAME}?op=edit&status_id={$statuses[status].status_id}" onClick="popupStatus({$statuses[status].status_id}); return false;">{$statuses[status].status_name|stripslashes}</a></td>
+ <td><a href="{$smarty.server.PHP_SELF}?op=edit&status_id={$statuses[status].status_id}" onClick="popupStatus({$statuses[status].status_id}); return false;">{$statuses[status].status_name|stripslashes}</a></td>
<td> {$statuses[status].status_desc}</td>
<td align="center">{$statuses[status].sort_order}</td>
<td align="center">
{if not $statuses[status].bug_count}
- <a href="{$SCRIPT_NAME}?op=del&status_id={$statuses[status].status_id}" onClick="return confirm('Are you sure you want to delete this status?')">Delete</a>
+ <a href="{$smarty.server.PHP_SELF}?op=del&status_id={$statuses[status].status_id}" onClick="return confirm('Are you sure you want to delete this status?')">Delete</a>
{/if}
</td>
</tr>
Index: userlist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/userlist.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- userlist.html 2 May 2002 08:35:38 -0000 1.9
+++ userlist.html 8 May 2002 01:10:00 -0000 1.10
@@ -2,7 +2,7 @@
<script language="JavaScript">
<!--
- var me = '{$SCRIPT_NAME}';
+ var me = '{$smarty.server.PHP_SELF}';
{literal}
function popupUser(id) {
@@ -14,11 +14,11 @@
<table border="0" width="100%">
<tr>
<td valign="top">
- <b> User List</b> - <a href="{$SCRIPT_NAME}?op=edit&user_id=0&filter={$filter}" onClick="popupUser(0); return false;">{$STRING.addnew} User</a>
+ <b> User List</b> - <a href="{$smarty.server.PHP_SELF}?op=edit&user_id=0&filter={$filter}" onClick="popupUser(0); return false;">{$STRING.addnew} User</a>
<hr size="1">
<form>
<div align="center">
- <select name="filter" onChange="document.location.href='{$SCRIPT_NAME}?filter=' + this.options[this.selectedIndex].value">{build_select box=user_filter selected=$filter}</select>
+ <select name="filter" onChange="document.location.href='{$smarty.server.PHP_SELF}?filter=' + this.options[this.selectedIndex].value">{build_select box=user_filter selected=$filter}</select>
<input type="submit" value="Filter">
</div>
</form>
@@ -31,7 +31,7 @@
</tr>
{section name=user loop=$users}
<tr{if $smarty.section.user.iteration is even} class="alt"{/if}>
- <td><a href="{$SCRIPT_NAME}?op=edit&user_id={$users[user].user_id}&filter={$filter}" onClick="popupUser({$users[user].user_id}); return false;">{$users[user].login|stripslashes}</a></td>
+ <td><a href="{$smarty.server.PHP_SELF}?op=edit&user_id={$users[user].user_id}&filter={$filter}" onClick="popupUser({$users[user].user_id}); return false;">{$users[user].login|stripslashes}</a></td>
<td align="center">{$users[user].first_name|stripslashes} {$users[user].last_name|stripslashes}</td>
<td align="center">{$users[user].created_date|date:DATE_FORMAT}</td>
<td align="center">{if $users[user].active}Yes{else}No{/if}</td>
Index: version-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/version-edit.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- version-edit.html 11 Apr 2002 16:08:05 -0000 1.2
+++ version-edit.html 8 May 2002 01:10:00 -0000 1.3
@@ -11,7 +11,7 @@
<b>{$page_title}</b>
<hr size="1">
{if $error}<div class="error">{$error}</div>{/if}
- <form action="{$SCRIPT_NAME}" method="post">
+ <form action="{$smarty.server.PHP_SELF}" method="post">
<table border="0">
<input type="hidden" name="do" value="version">
<input type="hidden" name="versionid" value="{$version_id}">
|