Vergleich inc/functions_archive.php - 1.8.3 - 1.8.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 11Zeile 11
/**
* Output the archive page header.
*

/**
* Output the archive page header.
*

 * @param string The page title.
* @param string The full page title.
* @param string The full page URL.

 * @param string $title The page title.
* @param string $fulltitle The full page title.
* @param string $fullurl The full page URL.

 */
function archive_header($title="", $fulltitle="", $fullurl="")
{

 */
function archive_header($title="", $fulltitle="", $fullurl="")
{

Zeile 121Zeile 121
/**
* Output multipage navigation.
*

/**
* Output multipage navigation.
*

 * @param int The total number of items.
* @param int The items per page.
* @param int The current page.
* @param string The URL base.

 * @param int $count The total number of items.
* @param int $perpage The items per page.
* @param int $page The current page.
* @param string $url The URL base.

*/
function archive_multipage($count, $perpage, $page, $url)
{

*/
function archive_multipage($count, $perpage, $page, $url)
{

Zeile 172Zeile 172
<div class="navigation"><?php echo $nav; ?></div>
</div>
<div id="footer">

<div class="navigation"><?php echo $nav; ?></div>
</div>
<div id="footer">

<?php echo $lang->powered_by; ?> <a href="http://www.mybb.com">MyBB</a><?php echo $mybbversion; ?>, &copy; 2002-<?php echo date("Y"); ?> <a href="http://www.mybb.com">MyBB Group</a>

<?php echo $lang->powered_by; ?> <a href="https://mybb.com">MyBB</a><?php echo $mybbversion; ?>, &copy; 2002-<?php echo date("Y"); ?> <a href="https://mybb.com">MyBB Group</a>

</div>
</body>
</html>

</div>
</body>
</html>

Zeile 182Zeile 182
/**
* Output an archive error.
*

/**
* Output an archive error.
*

 * @param string The error language string identifier.

 * @param string $error The error language string identifier.

 */
function archive_error($error)
{

 */
function archive_error($error)
{

Zeile 222Zeile 222
/**
* Check the password given on a certain forum for validity
*

/**
* Check the password given on a certain forum for validity
*

 * @param int The forum ID
* @param boolean The Parent ID


 * @param int $fid The forum ID
* @param int $pid The Parent ID
* @return bool Returns false on failure

 */
function check_forum_password_archive($fid, $pid=0)
{

 */
function check_forum_password_archive($fid, $pid=0)
{

	global $forum_cache;

	global $forum_cache, $mybb;


if(!is_array($forum_cache))
{


if(!is_array($forum_cache))
{

Zeile 260Zeile 261
	$password = $forum_cache[$fid]['password'];
if($password)
{

	$password = $forum_cache[$fid]['password'];
if($password)
{

		if(!$mybb->cookies['forumpass'][$fid] || ($mybb->cookies['forumpass'][$fid] && md5($mybb->user['uid'].$password) != $mybb->cookies['forumpass'][$fid]))

		if(!$mybb->cookies['forumpass'][$fid] || ($mybb->cookies['forumpass'][$fid] && md5($mybb->user['uid'].$password) !== $mybb->cookies['forumpass'][$fid]))

		{
archive_error_no_permission();
}
}
}

		{
archive_error_no_permission();
}
}
}

?>