/[scire]/trunk/scire/jobs.php
Gentoo

Diff of /trunk/scire/jobs.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 351 Revision 352
5$leftbar_menu = array(); 5$leftbar_menu = array();
6$leftbar_submenu = array(); 6$leftbar_submenu = array();
7$template = "jobs.tpl"; 7$template = "jobs.tpl";
8$error_msg = ""; 8$error_msg = "";
9 9
10check_action_access("View Jobs");
10############################################ 11############################################
11## Deal with submitted forms first. 12## Deal with submitted forms first.
12 13
13#Set information about the fields (display name, sortable) 14#Set information about the fields (display name, sortable)
14$f_attr = get_jobs_fields(); 15$f_attr = get_jobs_fields();
62if ($_POST['searchfield']) { 63if ($_POST['searchfield']) {
63 $error_msg .= "Um, yeah... not done yet."; 64 $error_msg .= "Um, yeah... not done yet.";
64} 65}
65 66
66#Gather groups of clients. it's a phpgacl command. 67#Gather groups of clients. it's a phpgacl command.
68$smarty->assign('leftbar_submenu_title', "Actions");
69if ( check_access("Add Job") ) {
70 add_leftbar($leftbar_submenu, "Add Job", "add_job.php");
71}
72$smarty->assign('client_groups', $client_groups);
73$smarty->assign('leftbar_menu', $leftbar_menu);
74$smarty->assign('leftbar_submenu', $leftbar_submenu);
67 75
68$smarty->assign('client_groups', $client_groups);
69$smarty->display('jobs.tpl'); 76$smarty->display('jobs.tpl');
70?> 77?>

Legend:
Removed from v.351  
changed lines
  Added in v.352

  ViewVC Help
Powered by ViewVC 1.1.20