Changeset 1074:57967b687622 for admin/plugin.php
- Timestamp:
- 12/17/12 15:17:30 (13 years ago)
- Branch:
- twig
- File:
-
- 1 edited
-
admin/plugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admin/plugin.php
r1070 r1074 59 59 ob_end_clean(); 60 60 61 # Check context and display 62 if ($_ctx->hasPageTitle() && !empty($res)) { 63 $has_content = true; 64 echo $res; 65 } 61 66 //* Keep this for old style plugins using dcPage 62 if (!$_ctx->hasPageTitle()) {67 elseif (!$_ctx->hasPageTitle()) { 63 68 64 69 if (preg_match('|<head>(.*?)</head|ms',$res,$m)) { … … 97 102 } 98 103 //*/ 99 # Check context and display100 if ($_ctx->hasPageTitle() && !empty($res)) {101 $has_content = true;102 echo $res;103 }104 104 } 105 105 # No plugin or content found
Note: See TracChangeset
for help on using the changeset viewer.
