=======================================================================================================================================
Mod Title: Admin Notepad

Mod Version: 2.2

Mod Author: John Briggs

Mod Description:
This modification will provide a new tool in the administration panel to keep notes in a notepad for administrators only.

Mod Copyright:  2009 The XMB Group. All rights reserved.

Mod Compatibility: XMB 1.9.11 - updated by Robert Chapin (miqrogroove)

Mod Install Note: Before adding this modification to your forum you should back up all files related to this modification.

Mod License Note: This modification is released under the GPL v3 License. A copy is provided with this software.

Mod Author Note:
This modification is developed and released for use with XMB 1.9.11 which is provided by The XMB Group.

For Support Please Contact http://www.xmbgarage.com/

=======================================================================================================================================
=======
Step 1:
=======

===================================
Go To Admin Panel -> Insert Raw SQL
===================================

Insert the following line & click "Submit Changes" button.

ALTER TABLE `$table_settings` ADD `adminnotes` text NOT NULL;

=======================================================================================================================================
=======
Step 2:
=======

================================
Edit File: include/admin.inc.php
================================

==========
Find Code:
==========

    &raquo;&nbsp;<a href="tools.php?action=whosonlinedump"><?php echo $lang['cpwodump']?></a><br />
    </td>
    <td class="tablerow" align="left" valign="top" width="20%" bgcolor="<?php echo $THEME['altbg2']?>">

===============
Add Code Below:
===============

    <!-- Admin Notepad Mod Begin -->
    &raquo;&nbsp;<a href="cp_notepad.php"><?php echo $lang['Admin_Notes']?></a><br />
    <!-- Admini Notepad Mod End -->

=======================================================================================================================================
=======
Step 3:
=======

=================================
Edit File: include/online.inc.php
=================================

==========
Find Code:
==========

    } else if (false !== strpos($url, '/cp.php') || false !== strpos($url, '/cp2.php')

==================
Replace Code With:
==================

    } else if (false !== strpos($url, '/cp.php') || false !== strpos($url, '/cp2.php') || false !== strpos($url, '/cp_notepad.php')

=======================================================================================================================================
=======
Step 4:
=======

=====================
Edit File: header.php
=====================

==========
Find Code:
==========

/* Set Up HTML Templates and Themes */

===============
Add Code Above:
===============

// Admin Notepad Mod Begin
if (!isset($lang['Admin_Notes_Update'])) {
    require_once(ROOT.'include/translation.inc.php');
    $phrases = array();
    $phrases['Admin_Notes'] = "Admin Notepad";
    $phrases['Admin_Notes_Clear'] = "Clear Notes";
    $phrases['Admin_Notes_Cleared'] = "Admin Notepad Cleared Successfully!";
    $phrases['Admin_Notes_Note'] = "<small><strong>Note:</strong> Administrators can keep vital information &amp; notes here for personal records.</small>";
    $phrases['Admin_Notes_Submit'] = "Submit Notes";
    $phrases['Admin_Notes_Update'] = "Admin Notepad Updated Successfully!";
    setManyLangValues($phrases, $langfile);
    loadLang($langfile);
}
// Admin Notepad Mod End

=======================================================================================================================================
=======
Step 5:
=======

Upload provided file named "cp_notepad.php" to your forum directory.

=======================================================================================================================================