Changeset 636 for trunk/includes/global.php
- Timestamp:
- Dec 11, 2013, 12:15:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r632 r636 51 51 } 52 52 53 function ShowPageClass($Page) 54 { 55 global $TempPageContent, $System; 56 57 $System->Pages['temporary-page'] = get_class($Page); 58 $_SERVER['REDIRECT_QUERY_STRING'] = 'temporary-page'; 59 $System->PathItems = ProcessURL(); 60 $System->ShowPage(); 61 } 62 53 63 function ShowPage($Content) 54 64 { 55 65 global $TempPageContent, $System; 56 66 57 58 67 $TempPage = new TempPage($System); 68 $System->Pages['temporary-page'] = 'TempPage'; 59 69 $_SERVER['REDIRECT_QUERY_STRING'] = 'temporary-page'; 60 70 $TempPageContent = $Content; 61 71 $System->PathItems = ProcessURL(); 62 72 $System->ShowPage(); 63 73 }
Note:
See TracChangeset
for help on using the changeset viewer.