/[libdata]/branches/paul/admin/scribe_debug.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_debug.phtml

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

revision 3 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 Debugger</h2>\n");          printf("<h2>CourseLib/PageScribe Page Debugger</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                  // Debugger                  // Debugger
63                  $passed = errorTrap($con, $page_id);                  $passed = errorTrap($page_id);
64    
65          }          }
66          else printf("Page %s not found!", $page_id);          else printf("Page %s not found!", $page_id);
# Line 61  if(isset($libsession) && $sess_access_le Line 71  if(isset($libsession) && $sess_access_le
71    
72                  printf("<br><br><center>\n");                  printf("<br><br><center>\n");
73                  printf("<table width=\"90%%\" class=\"backLight\" border=\"1\">\n");                  printf("<table width=\"90%%\" class=\"backLight\" border=\"1\">\n");
74                  printf("<tr><td class=\"cellPlain\">Error(s) Found (#%d)</td></tr>\n", $page_id);                  printf("<tr><td class=\"cellPlain\">Error(s) Found on Page (ID# %d)</td></tr>\n", $page_id);
75                  printf("<tr><td><br>\n");                  printf("<tr><td><br>\n");
76                  printf("<b>Page Fix Options</b><br>\n");                  printf("<b>Page Fix Options</b><br>\n");
77                  printf("Note: the following options range from least to most destructive.  It is ");                  printf("Note: the following options range from least to most destructive.  It is ");

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

  ViewVC Help
Powered by ViewVC 1.1.26