Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: misc.php 5476 2011-06-24 14:49:59Z Tomm $
| * $Id: misc.php 5641 2011-10-26 09:36:44Z Tomm $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 99 | Zeile 99 |
---|
elseif($mybb->input['action'] == "clearpass") { $plugins->run_hooks("misc_clearpass");
|
elseif($mybb->input['action'] == "clearpass") { $plugins->run_hooks("misc_clearpass");
|
| verify_post_check($mybb->input['my_post_key']);
|
if($mybb->input['fid']) {
| if($mybb->input['fid']) {
|
Zeile 150 | Zeile 152 |
---|
eval("\$rules = \"".$templates->get("misc_rules_forum")."\";"); output_page($rules);
|
eval("\$rules = \"".$templates->get("misc_rules_forum")."\";"); output_page($rules);
|
}
| }
|
} elseif($mybb->input['action'] == "help")
| } elseif($mybb->input['action'] == "help")
|
Zeile 176 | Zeile 178 |
---|
$plugins->run_hooks("misc_help_helpdoc_start");
if($helpdoc['usetranslation'] == 1)
|
$plugins->run_hooks("misc_help_helpdoc_start");
if($helpdoc['usetranslation'] == 1)
|
{
| {
|
$langnamevar = "d".$helpdoc['hid']."_name"; $langdescvar = "d".$helpdoc['hid']."_desc"; $langdocvar = "d".$helpdoc['hid']."_document"; if($lang->$langnamevar)
|
$langnamevar = "d".$helpdoc['hid']."_name"; $langdescvar = "d".$helpdoc['hid']."_desc"; $langdocvar = "d".$helpdoc['hid']."_document"; if($lang->$langnamevar)
|
{
| {
|
$helpdoc['name'] = $lang->$langnamevar; } if($lang->$langdescvar) { $helpdoc['description'] = $lang->$langdescvar;
|
$helpdoc['name'] = $lang->$langnamevar; } if($lang->$langdescvar) { $helpdoc['description'] = $lang->$langdescvar;
|
}
| }
|
if($lang->$langdocvar) { $helpdoc['document'] = $lang->$langdocvar;
| if($lang->$langdocvar) { $helpdoc['document'] = $lang->$langdocvar;
|
Zeile 199 | Zeile 201 |
---|
} } add_breadcrumb($helpdoc['name']);
|
} } add_breadcrumb($helpdoc['name']);
|
$plugins->run_hooks("misc_help_helpdoc_end");
| $plugins->run_hooks("misc_help_helpdoc_end");
|
eval("\$helppage = \"".$templates->get("misc_help_helpdoc")."\";"); output_page($helppage); }
| eval("\$helppage = \"".$templates->get("misc_help_helpdoc")."\";"); output_page($helppage); }
|
Zeile 304 | Zeile 306 |
---|
{ error_no_permission(); }
|
{ error_no_permission(); }
|
if($mybb->input['removebuddy'])
| if($mybb->input['removebuddy'] && verify_post_check($mybb->input['my_post_key']))
|
{ $buddies = $mybb->user['buddylist']; $namesarray = explode(",",$buddies);
| { $buddies = $mybb->user['buddylist']; $namesarray = explode(",",$buddies);
|
Zeile 352 | Zeile 355 |
---|
if($buddy['avatar']) {
|
if($buddy['avatar']) {
|
| $buddy['avatar'] = htmlspecialchars_uni($buddy['avatar']);
|
if($buddy['avatardimensions']) { require_once MYBB_ROOT."inc/functions_image.php";
| if($buddy['avatardimensions']) { require_once MYBB_ROOT."inc/functions_image.php";
|