Permalink
Browse files

Merge pull request #99 from Allineer/patch-5

Added hook to cache.php
  • Loading branch information...
2 parents 5ccdda0 + ff26a38 commit b46cab7070838ea0d8eefd41e45a95be9408a6a4 @ashcs ashcs committed Aug 31, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 include/cache.php
View
2 include/cache.php
@@ -351,6 +351,8 @@ function generate_quickjump_cache($group_id = false)
$redirect_tag = ($cur_forum['redirect_url'] != '') ? ' >>>' : '';
$output .= "\t\t\t\t".'<option value="'.$cur_forum['fid'].'"<?php echo ($forum_id == '.$cur_forum['fid'].') ? \' selected="selected"\' : \'\' ?>>'.forum_htmlencode($cur_forum['forum_name']).$redirect_tag.'</option>'."\n";
$forum_count++;
+
+ ($hook = get_hook('ch_fn_generate_quickjump_cache_forum_loop_end')) ? eval($hook) : null;
}
$output .= "\t\t\t".'</optgroup>'."\n\t\t".'</select>'."\n\t\t".'<input type="submit" id="qjump-submit" value="<?php echo $lang_common[\'Go\'] ?>" /></span>'."\n\t".'</div>'."\n".'</form>'."\n";

0 comments on commit b46cab7

Please sign in to comment.