From: <dj...@us...> - 2012-01-11 18:06:24
|
Revision: 8698 http://xoops.svn.sourceforge.net/xoops/?rev=8698&view=rev Author: djculex Date: 2012-01-11 18:06:13 +0000 (Wed, 11 Jan 2012) Log Message: ----------- Adjusting admin Modified Paths: -------------- XoopsModules/smallworld/trunk/admin/menu.php XoopsModules/smallworld/trunk/index.php XoopsModules/smallworld/trunk/language/english/main.php XoopsModules/smallworld/trunk/language/english/modinfo.php XoopsModules/smallworld/trunk/xoops_version.php Modified: XoopsModules/smallworld/trunk/admin/menu.php =================================================================== --- XoopsModules/smallworld/trunk/admin/menu.php 2012-01-11 08:48:09 UTC (rev 8697) +++ XoopsModules/smallworld/trunk/admin/menu.php 2012-01-11 18:06:13 UTC (rev 8698) @@ -14,7 +14,33 @@ * @since 1.0.0 * @author Culex - homepage.: http://culex.dk & email.: cu...@cu... **/ +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); -$adminmenu[1]['title'] = _MI_SMALLWORLD_ADMENU; -$adminmenu[1]['link'] = 'admin/index.php'; +$i = 1; +$adminmenu[$i]['title'] = _MI_SMALLWORLD_ADMENU; +$adminmenu[$i]['link'] = 'admin/index.php#smallworldadmin_tab1'; +$adminmenu[$i]['icon'] = $pathIcon32."/home.png"; + +$i++; +$adminmenu[$i]['title'] = _MI_SMALLWORLDMENU_HELP; +$adminmenu[$i]['link'] = "admin/index.php#smallworldadmin_tab5"; +$adminmenu[$i]['icon'] = $pathIcon32."/help.png"; + +$i++; +$adminmenu[$i]['title'] = _MI_SMALLWORLDMENU_USERADMIN; +$adminmenu[$i]['link'] = "admin/index.php#smallworldadmin_tab3"; +$adminmenu[$i]['icon'] = $pathIcon32."/administration.png"; + +$i++; +$adminmenu[$i]['title'] = _MI_SMALLWORLDMENU_STATS; +$adminmenu[$i]['link'] = "admin/index.php#smallworldadmin_tab2"; +$adminmenu[$i]['icon'] = $pathIcon32."/stats.png"; + +$i++; +$adminmenu[$i]['title'] = _MI_SMALLWORLDMENU_ABOUT; +$adminmenu[$i]['link'] = "admin/about.php"; +$adminmenu[$i]['icon'] = $pathIcon32."/about.png"; ?> \ No newline at end of file Modified: XoopsModules/smallworld/trunk/index.php =================================================================== --- XoopsModules/smallworld/trunk/index.php 2012-01-11 08:48:09 UTC (rev 8697) +++ XoopsModules/smallworld/trunk/index.php 2012-01-11 18:06:13 UTC (rev 8698) @@ -68,6 +68,7 @@ $wm['msg_id'] = $data['msg_id']; $wm['orimessage'] = str_replace(array("\r", "\n"), '',stripWordsKeepUrl($data['message'])); $wm['message'] = smallworld_tolink(htmlentities($data['message'])); + $wm['message'] = str_replace(array('<','>'),array('<','>'), $wm['message']); $wm['created'] = smallworld_time_stamp($data['created']); $wm['username'] = $data['username']; $wm['uid_fk'] = $data['uid_fk']; Modified: XoopsModules/smallworld/trunk/language/english/main.php =================================================================== --- XoopsModules/smallworld/trunk/language/english/main.php 2012-01-11 08:48:09 UTC (rev 8697) +++ XoopsModules/smallworld/trunk/language/english/main.php 2012-01-11 18:06:13 UTC (rev 8698) @@ -245,7 +245,7 @@ define('_SMALLWORLD_IMAGE_EDIT_TITLE','Edit descriptions where neded at send'); define("_SMALLWORLD_WELCOME_TITLE","Welcome"); define("_SMALLWORLD_WELCOMETEXT",", welcome. Hope you'll enjoy your stay."); -define("_SMALLWORLD_UPLOADEDSOMEIMAGES"," Uploaded some new pictures <br/><br/>"); +define("_SMALLWORLD_UPLOADEDSOMEIMAGES"," Uploaded some new pictures <br/>"); /*-------------- Image gallery -------------*/ define("_SMALLWORLD_ALBUMTITLETEXT","Close album"); Modified: XoopsModules/smallworld/trunk/language/english/modinfo.php =================================================================== --- XoopsModules/smallworld/trunk/language/english/modinfo.php 2012-01-11 08:48:09 UTC (rev 8697) +++ XoopsModules/smallworld/trunk/language/english/modinfo.php 2012-01-11 18:06:13 UTC (rev 8698) @@ -18,6 +18,11 @@ define("_MI_SMALLWORLD_MODULE_NAME","Smallworld"); define ("_MI_SMALLWORLD_MODULE_DESC","A social network module in the small. With wall and profiling"); define('_MI_SMALLWORLD_ADMENU','Administration'); +define('_MI_SMALLWORLDMENU_INDEX','Index'); +define('_MI_SMALLWORLDMENU_STATS','Statistics'); +define('_MI_SMALLWORLDMENU_USERADMIN','User administration'); +define('_MI_SMALLWORLDMENU_HELP','Help'); +define('_MI_SMALLWORLDMENU_ABOUT','About'); /* -------- Configs ---------- */ Modified: XoopsModules/smallworld/trunk/xoops_version.php =================================================================== --- XoopsModules/smallworld/trunk/xoops_version.php 2012-01-11 08:48:09 UTC (rev 8697) +++ XoopsModules/smallworld/trunk/xoops_version.php 2012-01-11 18:06:13 UTC (rev 8698) @@ -18,14 +18,28 @@ $modversion['name'] = _MI_SMALLWORLD_MODULE_NAME; $modversion['version'] = 1.00; $modversion['description'] = _MI_SMALLWORLD_MODULE_DESC; -$modversion['author'] = "Culex"; -$modversion['credits'] = "Culex"; -$modversion['help'] = ""; -$modversion['license'] = "GPL see LICENSE"; +$modversion['author'] = "Michael Albertsen"; +$modversion['nickname'] = 'Culex'; +$modversion['credits'] = "Mariane, Mrsculex, Mamba, Rune"; +$modversion['website'] = 'www.culex.dk'; +$modversion['name_website'] = 'Culex.dk'; +$modversion['license'] = 'GNU GPL'; +$modversion['license_url'] = 'www.gnu.org/licenses/gpl-2.0.html/'; +$modversion['status_version'] = 'RC'; +$modversion['release_date'] = '2011/12/24'; +$modversion['help'] = 'index.php#smallworldadmin_tab5'; +$modversion['min_php'] = '5.3'; +$modversion['min_xoops'] = '2.5'; +$modversion['min_admin'] = '1.1'; +$modversion['min_db'] = array('mysql' => '5.0.7', 'mysqli' => '5.0.7'); +$modversion['system_menu'] = 1; $modversion['official'] = 0; $modversion['image'] = "images/smallworld.png"; $modversion['dirname'] = "smallworld"; +$modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; +$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; + // Admin $modversion['hasAdmin'] = 1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |