/[libdata]/branches/paul/admin/scribe_fix.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/scribe_fix.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 18  printf("<link rel=\"stylesheet\" href=\" Line 18  printf("<link rel=\"stylesheet\" href=\"
18  printf("</HEAD>\n");  printf("</HEAD>\n");
19    
20    
21    // Default access settings
22    $sess_time_human = "";
23    $sess_staff_account = "";
24    $sess_staff_id = 0;
25    $sess_access_level = 0;
26    $sess_access = "";
27    $sess_last_name = "";
28    $sess_first_name = "";
29    
30    
31  // Page header  // Page header
32  require_once ($GLOBAL_ADMIN_HEADER);  require_once ($GLOBAL_ADMIN_HEADER);
33    
# Line 45  if(isset($libsession) && $sess_access_le Line 55  if(isset($libsession) && $sess_access_le
55          printf("<h2>CourseLib/PageScribe Page Fix Tool</h2>\n");          printf("<h2>CourseLib/PageScribe Page Fix Tool</h2>\n");
56    
57          // Determine if page exists          // Determine if page exists
58          $exists = existsRow($con, "page", "page_id", $page_id);          $exists = existsRow("page", "page_id", $page_id);
59    
60          if ($exists == 1){          if ($exists == 1){
61                    
62                  // Fix Tool                  // Fix Tool
63                  scribeFix($con, $method, $page_id);                  scribeFix($method, $page_id);
64    
65          }          }
66          else printf("Page %s not found!", $page_id);          else printf("Page %s not found!", $page_id);

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

  ViewVC Help
Powered by ViewVC 1.1.26