equal
deleted
inserted
replaced
2200 $t_loc = "Time: {$f}s"; |
2200 $t_loc = "Time: {$f}s"; |
2201 $t_loc_long = "Generated in {$f}sec"; |
2201 $t_loc_long = "Generated in {$f}sec"; |
2202 $q_loc = '<a href="' . $this->tpl_strings['REPORT_URI'] . '">' . ( is_object($db) ? "{$db->num_queries} SQL" : 'Queries: N/A' ) . '</a>'; |
2202 $q_loc = '<a href="' . $this->tpl_strings['REPORT_URI'] . '">' . ( is_object($db) ? "{$db->num_queries} SQL" : 'Queries: N/A' ) . '</a>'; |
2203 $dbg = $t_loc; |
2203 $dbg = $t_loc; |
2204 $dbg_long = $t_loc_long; |
2204 $dbg_long = $t_loc_long; |
2205 if ( $session->user_level >= USER_LEVEL_ADMIN ) |
2205 if ( is_object($session) ) |
2206 { |
2206 { |
2207 $dbg .= " | $q_loc"; |
2207 if ( $session->user_level >= USER_LEVEL_ADMIN ) |
2208 $dbg_long .= " | $q_loc"; |
2208 { |
|
2209 $dbg .= " | $q_loc"; |
|
2210 $dbg_long .= " | $q_loc"; |
|
2211 } |
2209 } |
2212 } |
2210 $t = str_replace('[[EnanoPoweredLink]]', 'Powered by <a href="http://enanocms.org/" onclick="window.open(this.href); return false;">Enano</a>', $t); |
2213 $t = str_replace('[[EnanoPoweredLink]]', 'Powered by <a href="http://enanocms.org/" onclick="window.open(this.href); return false;">Enano</a>', $t); |
2211 $t = str_replace('[[EnanoPoweredLinkLong]]', 'Website engine powered by <a href="http://enanocms.org/" onclick="window.open(this.href); return false;">Enano</a>', $t); |
2214 $t = str_replace('[[EnanoPoweredLinkLong]]', 'Website engine powered by <a href="http://enanocms.org/" onclick="window.open(this.href); return false;">Enano</a>', $t); |
2212 } |
2215 } |
2213 |
2216 |