Zeile 3 | Zeile 3 |
---|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html
| * Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html
|
*
|
*
|
* $Id: functions_archive.php 2419 2006-11-19 03:37:38Z Tikitiki $
| * $Id: functions_archive.php 3717 2008-03-16 22:09:01Z Tikitiki $
|
*/
/**
| */
/**
|
Zeile 180 | Zeile 180 |
---|
</div> </div> <div id="footer">
|
</div> </div> <div id="footer">
|
<?php echo $lang->powered_by; ?> <a href="http://www.mybboard.com">MyBB</a> <?php echo $mybbversion; ?><br /><?php echo $lang->copyright; ?> © 2002-<?php echo date("Y"); ?> <a href="http://www.mybboard.com">MyBB Group</a>
| <?php echo $lang->powered_by; ?> <a href="http://www.mybboard.net">MyBB</a> <?php echo $mybbversion; ?><br /><?php echo $lang->copyright; ?> © 2002-<?php echo date("Y"); ?> <a href="http://www.mybboard.net">MyBB Group</a>
|
</div> </body> </html>
| </div> </body> </html>
|
Zeile 216 | Zeile 216 |
---|
{ global $lang; archive_error($lang->archive_nopermission);
|
{ global $lang; archive_error($lang->archive_nopermission);
|
| }
/** * Check the password given on a certain forum for validity * * @param int The forum ID * @param boolean The Parent ID */ function check_forum_password_archive($fid, $pid=0) { global $forum_cache; $showform = true; if(!is_array($forum_cache)) { $forum_cache = cache_forums(); if(!$forum_cache) { return false; } }
// Loop through each of parent forums to ensure we have a password for them too $parents = explode(',', $forum_cache[$fid]['parentlist']); rsort($parents); if(!empty($parents)) { foreach($parents as $parent_id) { if($parent_id == $fid || $parent_id == $pid) { continue; } if($forum_cache[$parent_id]['password'] != "") { check_forum_password_archive($parent_id, $fid); } } } $password = $forum_cache[$fid]['password']; if($password) { archive_error_no_permission(); }
|
} ?>
| } ?>
|