/[libdata]/branches/paul/admin/console.phtml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/paul/admin/console.phtml

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

revision 66 by dpavlin, Fri Dec 5 18:40:01 2003 UTC revision 67 by dpavlin, Thu Mar 18 19:24:54 2004 UTC
# Line 17  printf("<link rel=\"stylesheet\" href=\" Line 17  printf("<link rel=\"stylesheet\" href=\"
17  printf("</HEAD>\n");  printf("</HEAD>\n");
18    
19    
20    // Default access settings
21    $sess_time_human = "";
22    $sess_staff_account = "";
23    $sess_staff_id = 0;
24    $sess_access_level = 0;
25    $sess_access = "";
26    $sess_last_name = "";
27    $sess_first_name = "";
28    
29    
30  // Page header  // Page header
31  require_once ($GLOBAL_ADMIN_HEADER);  require_once ($GLOBAL_ADMIN_HEADER);
32    
# Line 81  if(isset($libsession) && $sess_access_le Line 91  if(isset($libsession) && $sess_access_le
91                          <?php                          <?php
92                                  printf("<form method = \"POST\" action = \"subject_builder.phtml\" >\n");                                  printf("<form method = \"POST\" action = \"subject_builder.phtml\" >\n");
93                                  printf("<select name = \"subject_id\" size=\"6\">\n");                                  printf("<select name = \"subject_id\" size=\"6\">\n");
94                                  dropDownAuthSubjects($con, $sess_access_level, $sess_staff_id);                                  dropDownAuthSubjects($sess_access_level, $sess_staff_id);
95                                  printf("</select>\n");                                  printf("</select>\n");
96                                  print "<br>\n";                                  print "<br>\n";
97                                  printf("<input type = \"Submit\" value = \"Edit Page\" > ");                                  printf("<input type = \"Submit\" value = \"Edit Page\" > ");
# Line 97  if(isset($libsession) && $sess_access_le Line 107  if(isset($libsession) && $sess_access_le
107                          <form method = "POST" action = "scribe.phtml">                          <form method = "POST" action = "scribe.phtml">
108                                  <select name = "page_id" size="6">                                  <select name = "page_id" size="6">
109                                  <?php                                  <?php
110                                  dropDownAuthCourses($con, $sess_access_level, $sess_staff_id);                                  dropDownAuthCourses($sess_access_level, $sess_staff_id);
111                                  ?>                                  ?>
112                                  </select><br>                                  </select><br>
113                                  <input type = "submit" value = "Edit or Delete Page"><br>                                  <input type = "submit" value = "Edit or Delete Page"><br>
# Line 111  if(isset($libsession) && $sess_access_le Line 121  if(isset($libsession) && $sess_access_le
121                          <form method = "POST" action = "scribe.phtml">                          <form method = "POST" action = "scribe.phtml">
122                                  <select name = "page_id" size="6">                                  <select name = "page_id" size="6">
123                                  <?php                                  <?php
124                                  dropDownAuthPages($con, $sess_access_level, $sess_staff_id);                                  dropDownAuthPages($sess_access_level, $sess_staff_id);
125                                  ?>                                  ?>
126                                  </select><br>                                  </select><br>
127                                  <input type = "submit" value = "Edit or Delete Page">                                  <input type = "submit" value = "Edit or Delete Page">
# Line 167  if(isset($libsession) && $sess_access_le Line 177  if(isset($libsession) && $sess_access_le
177                                  <b>Initial Master Subject:</b><br>                                  <b>Initial Master Subject:</b><br>
178                                                                    
179                                  <select name = "mastersubject_id">                                  <select name = "mastersubject_id">
180                                          <?php dropDownFieldOmit($con, "mastersubject", "mastersubject", "mastersubject_id", " WHERE mastersubject_id <> 2"); ?>                                          <?php dropDownFieldOmit("mastersubject", "mastersubject", "mastersubject_id", " WHERE mastersubject_id <> 2"); ?>
181                                  </select><br><br>                                  </select><br><br>
182                                                                    
183                                  <b>Limit to Master Information Type:</b><br>                                  <b>Limit to Master Information Type:</b><br>
184                                                                    
185                                  <select name = "masterinfotype_id">                                  <select name = "masterinfotype_id">
186                                          <?php dropDownFieldOmit($con, "masterinfotype", "masterinfotype", "masterinfotype_id", " WHERE masterinfotype_id > 0"); ?>                                          <?php dropDownFieldOmit("masterinfotype", "masterinfotype", "masterinfotype_id", " WHERE masterinfotype_id > 0"); ?>
187                                  </select>                                  </select>
188                                                                    
189                                  <br><br>                                  <br><br>
# Line 228  if(isset($libsession) && $sess_access_le Line 238  if(isset($libsession) && $sess_access_le
238                  <td>                  <td>
239    
240                                  <select name ="infotype_id">                                  <select name ="infotype_id">
241                                  <?php dropDownFieldOmit($con, "infotype", "infotype", "infotype_id", " WHERE infotype_id > 0 ");  ?>                                  <?php dropDownFieldOmit("infotype", "infotype", "infotype_id", " WHERE infotype_id > 0 ");  ?>
242                                  </select>                                  </select>
243                  </td>                  </td>
244                  <td width="30%">                  <td width="30%">
# Line 245  if(isset($libsession) && $sess_access_le Line 255  if(isset($libsession) && $sess_access_le
255                  <form method="POST" action="masterinfotype_drill.phtml">                  <form method="POST" action="masterinfotype_drill.phtml">
256                  <td>                  <td>
257                                  <select name ="masterinfotype_id">                                  <select name ="masterinfotype_id">
258                                  <?php dropDownFieldOmit($con, "masterinfotype", "masterinfotype", "masterinfotype_id", " WHERE masterinfotype_id > 0 ");  ?>                                  <?php dropDownFieldOmit("masterinfotype", "masterinfotype", "masterinfotype_id", " WHERE masterinfotype_id > 0 ");  ?>
259                                  </select>                                  </select>
260                  </td>                  </td>
261                  <td>                  <td>
# Line 263  if(isset($libsession) && $sess_access_le Line 273  if(isset($libsession) && $sess_access_le
273                  <form method="POST" action="mastersubject_drill.phtml">                  <form method="POST" action="mastersubject_drill.phtml">
274                  <td>                  <td>
275                                  <select name ="mastersubject_id">                                  <select name ="mastersubject_id">
276                                  <?php dropDownFieldOmit($con, "mastersubject", "mastersubject", "mastersubject_id", " WHERE mastersubject_id > 0 ");  ?>                                  <?php dropDownFieldOmit("mastersubject", "mastersubject", "mastersubject_id", " WHERE mastersubject_id > 0 ");  ?>
277                                  </select>                                  </select>
278                  </td>                  </td>
279                  <td>                  <td>

Legend:
Removed from v.66  
changed lines
  Added in v.67

  ViewVC Help
Powered by ViewVC 1.1.26