|
From: Benjamin C. <bc...@us...> - 2002-05-18 03:00:04
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv28289
Modified Files:
configure.php group.php os.php project.php resolution.php
severity.php status.php user.php
Log Message:
Moving back to wrap.html from header/footer.html
Index: configure.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/configure.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- configure.php 9 Apr 2002 20:44:52 -0000 1.8
+++ configure.php 18 May 2002 03:00:00 -0000 1.9
@@ -40,7 +40,7 @@
}
$t->assign('vars', $db->getAll('select * from '.TBL_CONFIGURATION));
-$t->display('admin/configure.html');
+$t->wrap('admin/configure.html', 'configuration');
?>
Index: group.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/group.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- group.php 9 Apr 2002 20:44:52 -0000 1.9
+++ group.php 18 May 2002 03:00:00 -0000 1.10
@@ -76,7 +76,7 @@
$t->assign($_pv);
}
$t->assign('error', $error);
- $t->display('admin/group-edit.html');
+ $t->wrap('admin/group-edit.html', ($groupid ? 'editgroup' : 'addgroup'));
}
@@ -107,7 +107,7 @@
sorting_headers($me, $headers, $order, $sort, "page=$page");
- $t->display('admin/grouplist.html');
+ $t->wrap('admin/grouplist.html', 'group');
}
$perm->check('Admin');
Index: os.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/os.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- os.php 9 Apr 2002 20:44:52 -0000 1.26
+++ os.php 18 May 2002 03:00:00 -0000 1.27
@@ -78,7 +78,7 @@
$t->assign($_pv);
}
$t->assign('error', $error);
- $t->display('admin/os-edit.html');
+ $t->wrap('admin/os-edit.html', ($osid ? 'editos' : 'addos'));
}
@@ -110,7 +110,7 @@
sorting_headers($me, $headers, $order, $sort, "page=$page");
- $t->display('admin/oslist.html');
+ $t->wrap('admin/oslist.html', 'os');
}
$perm->check('Admin');
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- project.php 13 Apr 2002 14:51:57 -0000 1.41
+++ project.php 18 May 2002 03:00:00 -0000 1.42
@@ -82,7 +82,7 @@
}
}
$t->assign('error', $error);
- $t->display('admin/version-edit.html');
+ $t->wrap('admin/version-edit.html', ($versionid ? 'editversion' : 'addversion'));
}
function del_component($componentid, $projectid) {
@@ -146,7 +146,7 @@
}
}
$t->assign('error', $error);
- $t->display('admin/component-edit.html');
+ $t->wrap('admin/component-edit.html', ($componentid ? 'editcomponent' : 'addcomponent'));
}
function save_project($projectid = 0) {
@@ -255,14 +255,14 @@
$projectid))
));
- $t->display('admin/project-edit.html');
+ $t->wrap('admin/project-edit.html', 'editproject');
} else {
if (!empty($_pv)) {
$t->assign($_pv);
} else {
$t->assign('active', 1);
}
- $t->display('admin/project-add.html');
+ $t->wrap('admin/project-add.html', 'addproject');
}
}
@@ -292,7 +292,7 @@
sorting_headers($me, $headers, $order, $sort);
- $t->display('admin/projectlist.html');
+ $t->wrap('admin/projectlist.html', 'project');
}
$perm->check('Admin');
Index: resolution.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/resolution.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- resolution.php 9 Apr 2002 20:44:52 -0000 1.28
+++ resolution.php 18 May 2002 03:00:00 -0000 1.29
@@ -85,7 +85,7 @@
$t->assign($_pv);
}
$t->assign('error', $error);
- $t->display('admin/resolution-edit.html');
+ $t->wrap('admin/resolution-edit.html', ($resolutionid ? 'editresolution' : 'addresolution'));
}
@@ -117,7 +117,7 @@
sorting_headers($me, $headers, $order, $sort, "page=$page");
- $t->display('admin/resolutionlist.html');
+ $t->wrap('admin/resolutionlist.html', 'resolution');
}
$perm->check('Admin');
Index: severity.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/severity.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- severity.php 9 Apr 2002 20:44:52 -0000 1.23
+++ severity.php 18 May 2002 03:00:00 -0000 1.24
@@ -86,7 +86,7 @@
$t->assign($_pv);
}
$t->assign('error', $error);
- $t->display('admin/severity-edit.html');
+ $t->wrap('admin/severity-edit.html', ($severityid ? 'editseverity' : 'addseverity'));
}
@@ -120,7 +120,7 @@
sorting_headers($me, $headers, $order, $sort);
- $t->display('admin/severitylist.html');
+ $t->wrap('admin/severitylist.html', 'severity');
}
$perm->check('Admin');
Index: status.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/status.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- status.php 9 Apr 2002 20:44:52 -0000 1.27
+++ status.php 18 May 2002 03:00:00 -0000 1.28
@@ -85,7 +85,7 @@
$t->assign($_pv);
}
$t->assign('error', $error);
- $t->display('admin/status-edit.html');
+ $t->wrap('admin/status-edit.html', ($statusid ? 'editstatus' : 'addstatus'));
}
@@ -117,7 +117,7 @@
sorting_headers($me, $headers, $order, $sort);
- $t->display('admin/statuslist.html');
+ $t->wrap('admin/statuslist.html', 'status');
}
$perm->check('Admin');
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- user.php 12 Apr 2002 12:01:22 -0000 1.48
+++ user.php 18 May 2002 03:00:00 -0000 1.49
@@ -169,7 +169,7 @@
// The number of admins in the system
$t->assign('numadmins', $db->getOne('select count(*) from '.TBL_USER_GROUP.
' where group_id = 1'));
- $t->display('admin/user-edit.html');
+ $t->wrap('admin/user-edit.html', ($userid ? 'edituser' : 'adduser'));
}
function list_items($userid = 0, $error = '') {
@@ -214,7 +214,7 @@
sorting_headers($me, $headers, $order, $sort, "page=$page&filter=$user_filter");
$t->assign('filter', $user_filter);
- $t->display('admin/userlist.html');
+ $t->wrap('admin/userlist.html', 'user');
}
$perm->check('Admin');
|