You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: OryNider <ory...@us...> - 2008-02-01 04:31:27
|
Update of /cvsroot/mxbb/mx_faq In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18034 Modified Files: faq.php rules.php Log Message: exploit security fix ;) Index: rules.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/rules.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** rules.php 1 Feb 2008 04:21:24 -0000 1.3 --- rules.php 1 Feb 2008 04:31:12 -0000 1.4 *************** *** 20,24 **** * ***************************************************************************/ ! if ( !defined('IN_PORTAL') ) { die("Hacking attempt"); --- 20,24 ---- * ***************************************************************************/ ! if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); Index: faq.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/faq.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** faq.php 1 Feb 2008 04:21:24 -0000 1.3 --- faq.php 1 Feb 2008 04:31:12 -0000 1.4 *************** *** 20,24 **** * ***************************************************************************/ ! if ( !defined('IN_PORTAL') ) { die("Hacking attempt"); --- 20,24 ---- * ***************************************************************************/ ! if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:53
|
Update of /cvsroot/mxbb/mx_faq/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14046 Added Files: index.htm lang_editor.php lang_faq.php lang_main_faq_editor.php lang_portal_faq.php lang_rules.php Log Message: missing files? --- NEW FILE: lang_editor.php --- <?php /*************************************************************************** * lang_editor.php [English] * ------------------- * begin : Apr 29 2007 * copyright : (C) 2007 Selven based on http://www.phpBB.com format * email : * * $Id: lang_editor.php,v 1.3 2008/02/01 04:21:47 orynider Exp $ * ****************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ $lang['editor'] = 'Edit Language'; $lang['editor_explain'] = 'This module allows you to edit and re-arrange your Rules & FAQ . You <u>should not</u> remove or alter the section entitled <b>phpBB 2 Issues</b>.'; $lang['select_language'] = 'Choose the language of the file you want to edit'; $lang['retrieve'] = 'Retrieve File'; $lang['block_delete'] = 'Are you sure you want to delete this block?'; $lang['quest_delete'] = 'Are you sure you wish to delete this question (and its answer)?'; $lang['quest_edit'] = 'Edit Entries'; $lang['quest_create'] = 'Create New entry'; $lang['quest_edit_explain'] = 'Edit the entry. You can also change the category if you wish.'; $lang['quest_create_explain'] = 'Type the new title and text and press Submit.'; $lang['block'] = 'Category'; $lang['quest'] = 'Title'; $lang['answer'] = 'Text'; $lang['block_name'] = 'Category Name'; $lang['block_rename'] = 'Rename a Category'; $lang['block_rename_explain'] = 'Change the name of a category in the file'; $lang['block_add'] = 'Add Category'; $lang['quest_add'] = 'Add Entry'; $lang['no_quests'] = 'No entries in this Category. This will prevent any category after this one being displayed. Delete the category or add one or more entries.'; $lang['no_blocks'] = 'No category defined. Add a new category by typing a name below.'; $lang['write_file'] = 'Could not write to the language file!'; $lang['write_file_explain'] = 'You must make the faqs language files in language/lang_english/ and in all your language folders <i>writeable</i> to use this control panel. On UNIX, this means running <code>chmod 666 filename</code>. Most FTP clients can do through the properties sheet for a file, otherwise you can use telnet or SSH.'; ?> --- NEW FILE: lang_main_faq_editor.php --- <?php /*************************************************************************** * lang_main_faq_editor.php [English] * ------------------- * begin : Sat jul 12 2003 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: lang_main_faq_editor.php,v 1.3 2008/02/01 04:21:47 orynider Exp $ * ****************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ $lang['Mx_Module_faq'] = 'Modules Faq'; $lang['Mx_Portal_faq'] = 'Portal Faq'; $lang['Forum_faq'] = 'Forum Faq'; $lang['BBcode_faq'] = 'BBcode Faq'; //+MOD: DHTML Collapsible FAQ MOD // Please note: %sHERE%s is used to dynamically building the A HREF tag, do not remove the percent signs (%) around HERE! $lang['dhtml_faq_noscript'] = "It appears that your browser does not support javascript or it has been disabled in your browser's settings.<br /><br />Please, click %sHERE%s to view a plain HTML version of this FAQ."; //-MOD: DHTML Collapsible FAQ MOD ?> --- NEW FILE: lang_faq.php --- <?php /*************************************************************************** This file was automatically generated by Admin FAQ Editor ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ // // To add an entry to your FAQ simply add a line to this file in this format: // $faq[] = array("question", "answer"); // If you want to separate a section enter $faq[] = array("--","Block heading goes here if wanted"); // Links will be created automatically // // DO NOT forget the ; at the end of the line. // Do NOT put double quotes (") in your FAQ entries, if you absolutely must then escape them ie. \"something\" // // The FAQ items will appear on the FAQ page in the same order they are listed in this file // $faq[] = array("--", "Faq & Rules Faq"); $faq[] = array("What is Faq & Rules module?", "Faq & Rules module is an script can permit to manage Frequently Answered Question and Rules for your portal, you can modify faq and rules directly from ACP."); $faq[] = array("How can i add faq in my modules?", "Is simple you just to add an file called lang_faq.php into language\lang_*\ in your modules folder, compiled in phpbb faq system."); $faq[] = array("Where i can submit my faq?", "Feel free to modific portal faqs they are just doned copying mxbb ones"); $faq[] = array("Can i manage modules faq from acp?", "Not in this version, the module faq management is too hard to develope, maybe in future"); $faq[] = array("Who has write this module?", "This module is an modified-ported version of numerous script: <br />Faq Original system by <a href=http://www.phpbb.com>PhpBB</a> <br />Editor system by <a href=http://phpms.sourceforge.net>Selven</a> <br />Faq Dhtml Collapsible system by <a href=http://www.phpmix.com>Markus Petrux</a> <br />Rules system by <a href=http://www.phpbb.com/community/viewtopic.php?f=15&t=423664>eviL<3</a>");?> --- NEW FILE: lang_portal_faq.php --- <?php /*************************************************************************** This file was automatically generated by Admin FAQ Editor ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ // // To add an entry to your FAQ simply add a line to this file in this format: // $faq[] = array("question", "answer"); // If you want to separate a section enter $faq[] = array("--","Block heading goes here if wanted"); // Links will be created automatically // // DO NOT forget the ; at the end of the line. // Do NOT put double quotes (") in your FAQ entries, if you absolutely must then escape them ie. \"something\" // // The FAQ items will appear on the FAQ page in the same order they are listed in this file // $faq[] = array("--", "Contents"); $faq[] = array("What is the MX-portal project all about? ", "<P>MX-portal is an addon portal CMS for phpbb forums, hosted at <A href=\"http://www.mx-system.com\">www.mx-system.com</A>.Unlike most portals or addons for phpbb mx system relies on a modular system, to provide a wide range of features including, news, downloads, albums and many others including third parties. The advantage of this modular system is that a module may be installed and administered without touching code </P>"); $faq[] = array("What are the requirements for running MX-portal? ", "- PHP4+ <br />- PHPBB 2.0x (latest version) <br />- MySQL or postresSQL Db's <br /> <br />Certain modules may require other requirements <br />recomended setup <br /> <br />- PHP4.3.3 or greater with safe mode off <br />- PHPBB 2.0x (latest version) <br />- MySQL 4.0"); $faq[] = array("How do i install/uninstall/upgrade the MX-portal? ", "Detailed installation instructions are given in the main <a href=http://www.mx-system.com/forum/viewtopic.php?t=1224>MX CORE RELEASE thread</a> a copy of which can be found in the core install. Anyone familiar with phpbb install will find mx install a breeze. Before starting make sure you have your db details and path to phpbb to hand. During the install its recomended you switch the default and admin theme to subSilver and the default and admin language to English, individual themes and languages can be added afterwards."); $faq[] = array("What's all this talk about modules? ", "MX-portal is modular, i.e. additional features extending the MX CORE are installed and handled as modules. These modules are released and maintained individually, and may also be written by the user himself. Popular modules are for example Album and download addons, knowledge base addon (this FAQ) and news managing systems..."); $faq[] = array("How do i install/uninstall/upgrade modules? ", "Each module has its own release and install thread. Check out the <a href=http://www.mx-system.com/forum/viewforum.php?f=11>release forum</a> for official modules releases and the < href=http://www.mx-system.com/forum/viewforum.php?f=31>beta/3rd party release forums</a> for user contributed modules."); $faq[] = array("Common installation problems... ", "First of all, you may want to validate all path settings were defined correctly for mx during install: <br /> <br />Validate the database path settings: <br />Browse to http://www.yourdomain.com/portaldir/admin/admin_mx_portal.php directly and validate current mx and phpbb paths. <br /> <br />For example: <br /> <br />mx path: http://www.yourdomain.com/mx/ <br />phpbb path: http://www.yourdomain.com/phpbb2/ <br /> <br />note: the traling slashes are important! <br /> <br />Validate relative phpbb path <br />Open the mx config.php file and checkout the relative phpbb path <br /> <br />For example: <br /> <br />../../../forum/ = ../../../ . '../phpbb2/'; <br /> <br />No other environmental paths are defined for mx! <br /> <br />Be sure to consult the install docs once more for more detailed info. <br /> <br />OTHER PROBLEMS: <br /> <br />Quote: <br />Funny path: ...admin/admin/... <br /> <br />This problem occurs when the MX paths are not correctly entered in the db during installation. Typically this happens if you call the mx_db_install.php file directly (and not mx_install.php as you're supposed to). You may either enter them directly in the db using phpmyadmin (or similar) or browse to the MX General Setup Page (yourmxurl/admin/admin_mx_portal.php) in the adminCP and edit according to instructions given in the main installation docs. <br /> <br />Quote: <br />\"Could not query database for theme info\" <br /> <br />Be sure either old mx config.php is deleted or emptied before attempting to install/upgrade mx <br /> <br />Quote: <br />Known issues with some phpbb mods and MX <br /> <br />- File Attachment mod is working fine with mx <br />- Cash mod is problematic...we're trying to find a cure... <br /> <br />Quote: <br />\"Call to undefined function: include_attach_lang()\" <br /> <br />This error mess has nothing to do with File Attachment mod...it's due to badly set db prefixes in the mx config.php. Be sure to validate the settings. <br /> <br />Quote: <br />Left frame entries are missing in AdminCP after MX installation <br /> <br />You're using themes in phpbb not yet installed for mx. Switch back to subSilver or install the theme for mx. <br /> <br />Quote: <br />\"Cannot add header information - headers already sent by\" <br /> <br />This error may occur in numerous situations: the mx files are uploaded to wrong place, the mx cahce file is unwritable, you have edited files incorrectly, you have a incompatible module installed or the module is buggy...thus this problem is hard to pinpoint and should be debugged in the support forums <br /> <br />Quote: <br />GZip, Server cache and other server related issues <br /> <br />Some servers feature cache and compression, which may distrurb the mx cache... <br /> <br />Further reading: <br />How to solve the ob_gzhandler problem <br /> <br />Quote: <br />\"Template->make_filename(): Error - file overall_header.tpl does not exist\" <br /> <br />You're using themes in phpbb not yet installed for mx. Switch back to subSilver or install the theme for mx. <br /> <br />Quote: <br />Information <br />Your mx-portal or module need to be upgraded, since its calling an old mx function include file. If you are coding yourself be sure to include the phpbb includes version of \" bbcode.php \" instead, i.e. replace mx_root_path with phpbb_root_path in the include call... <br /> <br /><a href=http://www.mx-system.com/forum/viewtopic.php?t=4100>http://www.mx-system.com/forum/viewtopic.php?t=4100</a>"); $faq[] = array("How does the AdminCP work for managing the portal? ", "In short, the portal consists of one or more pages (referred to by page=id in the url), and every page is composed of blocks. The MX core provide several types of basic blocks, for example textblocks, last message block, who's online block etc. Installed mx modules provide additional blocks designed for specific use. <br /> <br />Further reading: <br /><a href=http://www.mx-system.com/index.php?page=108&mode=article&k=1>- The Mx Portal Admin Panel - How does it work?<a>"); $faq[] = array("What about cache? ", "The MX-portal uses a cache feature, for faster page generation time. You may disable the cache by deleting the two *.xml files in the cache folder. <br />Also make sure the cache folder, and its files are writable."); $faq[] = array("Languages", "The MX-portal is multilangual, and all contributed translations are uploaded/found in the mx downlolad area. <br /> <br />Languages are installed by uploading the lang_ folder to the mx lang dir. <br />modules also have their own language and template modules <br /> <br />Note: If you've done a translation, please share (upload)..."); $faq[] = array("Themes ", "The MX-portal support standard phpbb themes, and all contributed themes are uploaded/found in the mx downlolad area. <br /> <br />Themes must first be installed for phpbb, THEN for mx. <br /> <br />Note: If you've done a cool theme, please share (upload)..."); $faq[] = array("I want to add my own theme/style - help? ", "A basic understanding of the phpbb themes approach is required and newbies should really start reading some introductory articles over at phpbb.com. <br /> <br /><a href=http://www.mx-system.com/index.php?page=108&mode=cat&cat=4>Further reading</a> <br /> <br />Themes are held in 2 places, for the core they are held in templates folder the layout is similar to that of phpbb with each theme having its own folder. Modules also hold themes in a template folder unlike the core most modules have a default theme that is used if the users current theme does not have any special templates."); $faq[] = array("How come MX and phpbb have different headers (top navigation) - help? ", "MX and phpbb are still two different site areas, and use each its own overall_header.tpl file...this is since mx is a phpbb addon and do not modify any phpbb files. <br /> <br />To make the site more mx-phpbb integrated, you need to edit the phpbb overall_header yourself making it look and feel like the portal's. <br /> <br /><a href=http://www.mx-system.com/index.php?page=108&mode=cat&cat=4>Further reading</a>"); $faq[] = array("I did try searching, but failed...?? ", "The phpBB search function is not very effective when common search phrases are used. Try to make your search more specific. But we stress the search function itself IS working. "); $faq[] = array("I want to create my own module - help? ", "Module development is pretty easy, once you've come to understand the basic hierarchy of mx and modules...and if knowing some php Mostly you start off from a phpbb mod (released over at phpbb.com) and adapt it for mx... <br /> <br /><a href=http://www.mx-system.com/index.php?page=108&mode=cat&cat=3>Further reading</a> <br /> <br />please don't forget to share your modules with others!"); $faq[] = array("Becoming a MX developer...using cvs ", "We are always looking for extra hands both in development and bug/beta tracking. Normally would be developers do a stint as bug trackers before joining the development team though it has been known for invitations to be issued to php developers from time to time. For more information on becoming a developer or bug tester please contact Haplo or Drift"); $faq[] = array("When is the next release / Can I test it? ", "We have learned from bitter experience not to give definate dates for releases though it is usually obvious by the hive of activity when such releases occur. In january 2004 we released mx 2.71rc this was our first fully supported stable version, and it is this that is the current basis development work, subsequent recent releases have been bug fixes. Plans for version mx3 are in the making. <br /> <br />How can you test up and coming releases? <br />Simply join the bug testing group, and start submitting bugs. beta testing is our way of saying thanks though since it usually involves yet more testing its something of a double edged sword "); $faq[] = array("How's the MX project organized? ", "The MX-portal was founded by MarcMoris, but this dev site is currently supervised by Haplo and Drift. <br />The Dev team are a mix of developers and coders from varying backgrounds. Togeather with the bug testers they try to expand mx into the best modular cms for phpbb their is."); ?> --- NEW FILE: lang_rules.php --- <?php /*************************************************************************** This file was automatically generated by Admin FAQ Editor ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ // // To add an entry to your FAQ simply add a line to this file in this format: // $faq[] = array("question", "answer"); // If you want to separate a section enter $faq[] = array("--","Block heading goes here if wanted"); // Links will be created automatically // // DO NOT forget the ; at the end of the line. // Do NOT put double quotes (") in your FAQ entries, if you absolutely must then escape them ie. \"something\" // // The FAQ items will appear on the FAQ page in the same order they are listed in this file // $faq[] = array("--", "Rules category"); $faq[] = array("Rules item", "<p>This item demonstrates the rules page. To edit/add/remove items, please edit.</p><p><em>HTML is also possible!</em> </p>"); ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:43
|
Update of /cvsroot/mxbb/mx_faq/docs/css In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14017/css Added Files: index.htm subSilver.css Log Message: missing files? --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: subSilver.css --- <? /** * * @package mxBB Portal 2.8.0 * @version $Id: subSilver.css,v 1.3 2008/02/01 04:21:36 orynider Exp $ * @copyright (c) 2002-2005 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @project_site http://www.mxbb.net * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * */ /** * Note that this is the original subSilver style, with a few minor changes * and additions done to suit our needs. All copyrights and essential credits are * of course listed below. * * Again, thanks to subBlue Design for making this CSS file available. * */ ?> /* The original subSilver Theme for phpBB version 2+ Created by subBlue design http://www.subBlue.com */ /* General page style. The scroll bar colours only visible in IE5.5+ */ body { background-color: #E5E5E5; scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; scrollbar-darkshadow-color: #98AAB1; } /* General font families for common tags */ font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif } a:link,a:active,a:visited { color : #006699; } a:hover { text-decoration: underline; color : #DD6900; } hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;} /* This is the border line & background colour round the entire page */ .bodyline { background-color: #FFFFFF; border: 1px #006699 solid; } /* This is the outline round the main forum tables */ .forumline { background-color: #FFFFFF; border: 2px #006699 solid; } /* Main table cell colours and backgrounds */ td.row1 { background-color: #EFEFEF; } td.row2 { background-color: #DEE3E7; } td.row3 { background-color: #D1D7DC; } /* This is for the table cell above the Topics, Post & Last posts on the index.php page By default this is the fading out gradiated silver background. However, you could replace this with a bitmap specific for each forum */ td.rowpic { background-color: #FFFFFF; background-image: url(images/cellpic2.jpg); background-repeat: repeat-y; } /* Header cells - the blue and silver gradient backgrounds */ th { color: #FFA34F; font-size: 11px; font-weight : bold; background-color: #006699; height: 25px; background-image: url(images/cellpic3.gif); } td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { background-image: url(images/cellpic1.gif); background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px; } /* Setting additional nice inner borders for the main table cells. The names indicate which sides the border will be on. Don't worry if you don't understand this, just ignore it :-) */ td.cat,td.catHead,td.catBottom { height: 29px; border-width: 0px 0px 0px 0px; } th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; } td.row3Right,td.spaceRow { background-color: #D1D7DC; border: #FFFFFF; border-style: solid; } th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; } th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; } th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; } th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; } th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; } th.thTop { border-width: 1px 0px 0px 0px; } th.thCornerL { border-width: 1px 0px 0px 1px; } th.thCornerR { border-width: 1px 1px 0px 0px; } /* The largest text used in the index page title and toptic title etc. */ .maintitle,h1,h2 { font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; text-decoration: none; line-height : 120%; color : #000000; } /* General text */ .gen { font-size : 12px; } .genmed { font-size : 11px; } .gensmall { font-size : 10px; } .gen,.genmed,.gensmall { color : #000000; } a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; } a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DD6900; text-decoration: underline; } /* The register, login, search etc links at the top of the page */ .mainmenu { font-size : 11px; color : #000000 } a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /* Forum category titles */ .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699} a.cattitle { text-decoration: none; color : #006699; } a.cattitle:hover{ text-decoration: underline; } /* Forum title: Text and link to the forums used in: index.php */ .forumlink { font-weight: bold; font-size: 12px; color : #006699; } a.forumlink { text-decoration: none; color : #006699; } a.forumlink:hover{ text-decoration: underline; color : #DD6900; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ .nav { font-weight: bold; font-size: 11px; color : #000000;} a.nav { text-decoration: none; color : #006699; } a.nav:hover { text-decoration: underline; } /* titles for the topics: could specify viewed link colour too */ .topictitle { font-weight: bold; font-size: 11px; color : #000000; } a.topictitle:link { text-decoration: none; color : #006699; } a.topictitle:visited { text-decoration: none; color : #5493B4; } a.topictitle:hover { text-decoration: underline; color : #DD6900; } /* Name of poster in viewmsg.php and viewtopic.php and other places */ .name { font-size : 11px; color : #000000;} /* Location, number of posts, post date etc */ .postdetails { font-size : 10px; color : #000000; } /* The content of the posts (body of text) */ .postbody { font-size : 12px;} a.postlink:link { text-decoration: none; color : #006699 } a.postlink:visited { text-decoration: none; color : #5493B4; } a.postlink:hover { text-decoration: underline; color : #DD6900} /* Quote & Code blocks */ .code { font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; background-color: #FAFAFA; border: #D1D7DC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } .quote { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; background-color: #FAFAFA; border: #D1D7DC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } /* Copyright and bottom info */ .copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} a.copyright { color: #444444; text-decoration: none;} a.copyright:hover { color: #000000; text-decoration: underline;} /* Form elements */ input,textarea, select { color : #000000; font: normal 11px Verdana, Arial, Helvetica, sans-serif; border-color : #000000; } /* The text input fields background colour */ input.post, textarea.post, select { background-color : #FFFFFF; } input { text-indent : 2px; } /* The buttons used for bbCode styling in message post */ input.button { background-color : #EFEFEF; color : #000000; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } /* The main submit button option */ input.mainoption { background-color : #FAFAFA; font-weight : bold; } /* None-bold submit button */ input.liteoption { background-color : #FAFAFA; font-weight : normal; } /* This is the line in the posting page which shows the rollover help line. This is actually a text box, but if set to be the same colour as the background no one will know ;) */ .helpline { background-color: #DEE3E7; border-style: none; } /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */ @import url("formIE.css"); /* Special mxBB-specific stuff */ p,ul,td { font-size:10pt; } .h2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt; font-weight: bold; } .h3 { color: blue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt; } ul.list { margin: 0; padding: 0; list-style: none; } ul.list ul { padding: 0; padding-left: 10px; margin: 0; list-style: none; } ul.list ul ul { margin: 0; } ul.list a { padding-left: 15px; color: #000000; } li.cat a { background: url(../images/li_bullet_blue.gif) no-repeat; font-weight: bold; } li.item a { color: #006699; background: url(../images/li_small_arrow_right_black.gif) no-repeat; font-weight: normal; } li.folder a { margin-left: 10px; background: url(../images/li_folders.gif) no-repeat; font-weight: normal; } li.cat ul ul a{ margin-left: 18px; background: url(../images/li_small_arrow_right_black.gif) no-repeat; font-weight: normal; } |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:40
|
Update of /cvsroot/mxbb/mx_faq/docs/pages In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14017/pages Added Files: doc_navigate.html index.htm main_doc_index.html Log Message: missing files? --- NEW FILE: doc_navigate.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>mxBB Portal :: Documentation Navigation</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="stylesheet" type="text/css" href="../css/subSilver.css" /> </head> <body bgcolor="#F0F0F0" text="#000000" link="#006699" vlink="#006699"> <table cellpadding="10" cellspacing="0" border="0" width="100%"> <tr> <td align="center"> <a href="http://www.mx-system.com" target="_blank" title="mxBB Portal 2.8.0"><img src="../images/mxbb-portal.gif" border="0" alt="mxBB Portal 2.8.0" /></a> </td> </tr> </table> <table cellpadding="10" cellspacing="0" border="0" width="100%"> <tr> <td> <ul class="list"> <li class="cat"><a class="genmed" name="main">Main</a> <ul class="list"> <li class="item"><a class="genmed" href="http://www.mx-system.com" target="_blank">mxBB Portal Project Site</a></li> <li class="item"><a class="genmed" href="http://www.mx-system.com/forum/viewtopic.php?t=9951" target="_blank">Support Topic</a></li> <li class="item"><a class="genmed" href="http://www.mx-system.com/index.php?page=4&action=file&file_id=371" target="_blank">Download</a></li> </ul> </li> <img style="display:block;" src="images/spacer.gif" alt="" width="1" height="8" border="0" /> <li class="cat"><a class="genmed" name="overview">Overview</a> <ul class="list"> <li class="item"><a class="genmed" href="main_doc_index.html#module" target="main">Module Information</a></li> <li class="item"><a class="genmed" href="main_doc_index.html#install" target="main">Installation Instructions</a></li> <li class="item"><a class="genmed" href="main_doc_index.html#themes" target="main">Additional Styles</a></li> <li class="item"><a class="genmed" href="main_doc_index.html#languages" target="main">Additional Languages</a></li> </ul> </li> </ul> </li> </td> </tr> </table> </body> </html> --- NEW FILE: main_doc_index.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>MXBB Faq & Rules :: Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="stylesheet" type="text/css" href="../css/subSilver.css" /> </head> <body > <a name="top"></a> <br /> <table class="bodyline" align="center" cellpadding="8" cellspacing="0" width="98%"> <tr> <td> <a name="module"></a> <b><font size="5">MXBB Module - FAQ & RULES V. 2.0.0</font></b><br /> <br /> <br /> <span style="font-weight: bold">Description</span><br /> Adding an complete Faq and Rules system to your portal, manageable directly from ACP without touching any row of code.<br /> <br /> <strong>Features</strong><br /> Fully integrated in mxBB system.<br /> TinyMCE support.<br /> Multilanguage support.<br /> Multitemplate Support.<br /> <br /> <strong>Author</strong><br /> Selven<br /> Based on original phpbb faq system<br /> Based on original rules page mod by eviL<3<br /> <br /> <strong>Designed for</strong> <br />mxBB Portal v. 2.8.0+ <br /><a name="install"></a> <span style="font-weight: bold">Installation Instructions</span> <br /> To install this module, follow these instructions.<br /> If you encounter any problems during install, visit the <a href="http://www.mx-system.com/forum/viewtopic.php?t=9951" target="_blank" class="postlink">support topic</a>.<br /> To summarize:<br /> If installing from scratch, use Install Module function into modules setup page of ACP.<br> If upgrading, use the Upgrade Module option into modules setup page of ACP.<br> If uninstalling, use the Uninstall Module option into modules setup page of ACP.<br> The modules use the same integration of <a href="http://tinymce.moxiecode.com" target="_blank" class="postlink">TinyMCE</a> editor of portal, to make it to work simply upload tinymce folder into modules/mx_shared folder.<br /> Important Note: The files in folder language/lang_english must be writable (on UNIX chmod 666 or higher), do it also for all other language you will install!<br /> <br /> <a href="#top"> Back to Top</a> <br /> <br /><a name="themes"> <span style="font-weight: bold">Additional Styles</span> <br /> First check if your style is already done. <br /> Styles are avaible <a href="http://www.mx-system.com/index.php?page=4" target="_blank" class="postlink">Here</a>.<br /> If exists, download and install in modules/mx_faq/template folder.<br /> If not, duplicate (copy and paste) any included template file, rename to match your style, adapt using any texteditor, save and upload.<br /> Important Note: The style must be present also in your forum, and portal to work!<br /> <br /> <a href="#top"> Back to Top</a> <br /> <br /><a name="languages"> <span style="font-weight: bold">Additional Languages</span> <br /> First check if your language is already translated. <br /> Translated languages are avaible <a href="http://www.mx-system.com/index.php?page=4" target="_blank" class="postlink">Here</a>.<br /> If exists, download and install in modules/mx_faq/language folder.<br /> If not, duplicate (copy and paste) any included language file, rename to match your language, translate using any texteditor, save and upload.<br /> <br /> <a href="#top"> Back to Top</a> <br /> </td> </tr> </table> <br /> <div align="center"><span class="copyright">mxBB Faq & Rules Team</span></div> </body> </html> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:40
|
Update of /cvsroot/mxbb/mx_faq/docs/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14017/images Added Files: cellpic1.gif cellpic2.jpg cellpic3.gif index.htm li_bullet_blue.gif li_folders.gif li_small_arrow_right_black.gif li_small_arrow_right_blue.gif li_small_square_black.gif mxbb-portal.gif spacer.gif Log Message: missing files? --- NEW FILE: li_folders.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: li_small_square_black.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: li_small_arrow_right_blue.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: li_bullet_blue.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic1.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mxbb-portal.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: li_small_arrow_right_black.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:29
|
Update of /cvsroot/mxbb/mx_faq In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13963 Added Files: db_install.php db_upgrade.php faq.php faq_rules.pak index.htm rules.php Log Message: missing files? --- NEW FILE: rules.php --- <?php /*************************************************************************** * rules.php * ------------------- * begin : Monday, Jun 24, 2006 * copyright : (C) 2006 phpBBModders * email : ad...@ph... * * $Id: rules.php,v 1.3 2008/02/01 04:21:24 orynider Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if ( !defined('IN_PORTAL') ) { die("Hacking attempt"); } // // Read Block Settings // $title = $mx_block->block_info['block_title']; $b_description = $mx_block->block_info['block_desc']; // Set vars to prevent naughtiness $faq = array(); // // Include the rules settings // include( $module_root_path.'language/lang_'.$board_config['default_lang'].'/lang_rules.'.$phpEx ); // // Pull the array data from the lang pack // $j = 0; $counter = 0; $counter_2 = 0; $faq_block = array(); $faq_block_titles = array(); for($i = 0; $i < count($faq); $i++) { if( $faq[$i][0] != '--' ) { $faq_block[$j][$counter]['id'] = $counter_2; $faq_block[$j][$counter]['question'] = $faq[$i][0]; $faq_block[$j][$counter]['answer'] = $faq[$i][1]; $counter++; $counter_2++; } else { $j = ( $counter != 0 ) ? $j + 1 : 0; $faq_block_titles[$j] = $faq[$i][1]; $counter = 0; } } // // Lets build a page ... // $page_title = $l_title; $template->set_filenames(array( //+MOD: DHTML Collapsible FAQ MOD 'body' => (isset($HTTP_GET_VARS['dhtml']) && $HTTP_GET_VARS['dhtml'] == 'no' ? 'rules_body.tpl' : 'rules_dhtml.tpl')) //-MOD: DHTML Collapsible FAQ MOD ); $template->assign_vars(array( //+MOD: DHTML Collapsible FAQ MOD 'U_CFAQ_JSLIB' => $module_root_path . 'templates/collapsible_faq.js', 'L_CFAQ_NOSCRIPT' => sprintf($lang['dhtml_faq_noscript'], ('<a href="'.append_sid("faq.$phpEx?dhtml=no".(isset($HTTP_GET_VARS['mode']) ? '&mode='.$HTTP_GET_VARS['mode'] : '')).'">'), '</a>'), //-MOD: DHTML Collapsible FAQ MOD 'L_FAQ_TITLE' => $l_title, 'L_BACK_TO_TOP' => $lang['Back_to_top']) ); for($i = 0; $i < count($faq_block); $i++) { if( count($faq_block[$i]) ) { $template->assign_block_vars('faq_block', array( 'BLOCK_TITLE' => $faq_block_titles[$i]) ); $template->assign_block_vars('faq_block_link', array( 'BLOCK_TITLE' => $faq_block_titles[$i]) ); for($j = 0; $j < count($faq_block[$i]); $j++) { $row_color = ( !($j % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($j % 2) ) ? $theme['td_class1'] : $theme['td_class2']; $template->assign_block_vars('faq_block.faq_row', array( 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], 'U_FAQ_ID' => $faq_block[$i][$j]['id']) ); $template->assign_block_vars('faq_block_link.faq_row_link', array( 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, 'FAQ_LINK' => $faq_block[$i][$j]['question'], 'U_FAQ_LINK' => '#' . $faq_block[$i][$j]['id']) ); } } } $template->pparse('body'); ?> --- NEW FILE: db_upgrade.php --- <?php /** * * @package mxBB Portal Module - mx_navmenu * @version $Id: db_upgrade.php,v 1.3 2008/02/01 04:21:24 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $mx_module_version = '2.0.1'; $mx_module_copy = 'Original mxBB <i>Faq & Rules</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; $message = "<b>This is a fresh install!</b><br/><br/>"; $sql = array(); $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: faq.php --- <?php /*************************************************************************** * faq.php * ------------------- * begin : Sunday, Jul 8, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: faq.php,v 1.3 2008/02/01 04:21:24 orynider Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if ( !defined('IN_PORTAL') ) { die("Hacking attempt"); } // // Read Block Settings // $title = $mx_block->block_info['block_title']; $b_description = $mx_block->block_info['block_desc']; $page1 = intval($HTTP_GET_VARS['page']); if ( $page1 > 0 ) { $page = $page1; } else { $page = 1; } // // Load common language // include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main_faq_editor.' . $phpEx); // Set vars to prevent naughtiness $faq = array(); // // Load the appropriate faq file // if( isset($HTTP_GET_VARS['mode']) ) { switch( $HTTP_GET_VARS['mode'] ) { case 'forum': $lang_file = 'lang_faq'; $l_title = $lang['FAQ']; break; case 'bbcode': $lang_file = 'lang_bbcode'; $l_title = $lang['BBCode_guide']; break; case 'portal': $lang_file = 'lang_portal_faq'; $l_title = $lang['Mx_Portal_faq']; break; case 'module': $lang_file = 'lang_faq_module'; $l_title = $lang['Mx_Module_faq']; break; default: $lang_file = 'lang_portal_faq'; $l_title = $lang['Mx_Portal_faq']; break; } } else { $lang_file = 'lang_portal_faq'; $l_title = $lang['Mx_Portal_faq']; } if($HTTP_GET_VARS['mode']== 'forum') { include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/' . $lang_file . '.' . $phpEx); } elseif($HTTP_GET_VARS['mode']== 'bbcode') { include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/' . $lang_file . '.' . $phpEx); } elseif($HTTP_GET_VARS['mode']== 'module') { include($module_root_path . 'language/' . $lang_file . '.' . $phpEx); } else { include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/' . $lang_file . '.' . $phpEx); } // // Pull the array data from the lang pack // $j = 0; $counter = 0; $counter_2 = 0; $faq_block = array(); $faq_block_titles = array(); for($i = 0; $i < count($faq); $i++) { if( $faq[$i][0] != '--' ) { $faq_block[$j][$counter]['id'] = $counter_2; $faq_block[$j][$counter]['question'] = $faq[$i][0]; $faq_block[$j][$counter]['answer'] = $faq[$i][1]; $counter++; $counter_2++; } else { $j = ( $counter != 0 ) ? $j + 1 : 0; $faq_block_titles[$j] = $faq[$i][1]; $counter = 0; } } $template->set_filenames(array( //+MOD: DHTML Collapsible FAQ MOD 'body' => (isset($HTTP_GET_VARS['dhtml']) && $HTTP_GET_VARS['dhtml'] == 'no' ? 'faq_body.tpl' : 'faq_dhtml.tpl')) //-MOD: DHTML Collapsible FAQ MOD ); $template->assign_vars(array( 'U_PORTAL_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=portal", 'L_PORTAL_FAQ' => $lang['Mx_Portal_faq'], 'U_MODULE_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=module", 'L_MODULE_FAQ' => $lang['Mx_Module_faq'], 'U_FORUM_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=forum", 'L_FORUM_FAQ' => $lang['Forum_faq'], 'U_BBCODE_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=bbcode", 'L_BBCODE_FAQ' => $lang['BBcode_faq'], //+MOD: DHTML Collapsible FAQ MOD 'U_CFAQ_JSLIB' => $module_root_path . 'templates/collapsible_faq.js', 'L_CFAQ_NOSCRIPT' => sprintf($lang['dhtml_faq_noscript'], ('<a href="'.append_sid("faq.$phpEx?dhtml=no".(isset($HTTP_GET_VARS['mode']) ? '&mode='.$HTTP_GET_VARS['mode'] : '')).'">'), '</a>'), //-MOD: DHTML Collapsible FAQ MOD 'L_FAQ_TITLE' => $l_title, 'L_BACK_TO_TOP' => $lang['Back_to_top']) ); for($i = 0; $i < count($faq_block); $i++) { if( count($faq_block[$i]) ) { $template->assign_block_vars('faq_block', array( 'BLOCK_TITLE' => $faq_block_titles[$i]) ); $template->assign_block_vars('faq_block_link', array( 'BLOCK_TITLE' => $faq_block_titles[$i]) ); for($j = 0; $j < count($faq_block[$i]); $j++) { $row_color = ( !($j % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($j % 2) ) ? $theme['td_class1'] : $theme['td_class2']; $template->assign_block_vars('faq_block.faq_row', array( 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], 'U_FAQ_ID' => $faq_block[$i][$j]['id']) ); $template->assign_block_vars('faq_block_link.faq_row_link', array( 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, 'FAQ_LINK' => $faq_block[$i][$j]['question'], 'U_FAQ_LINK' => '#' . $faq_block[$i][$j]['id']) ); } } } $template->pparse('body'); ?> --- NEW FILE: db_install.php --- <?php /** * * @package mxBB Portal Module - mx_navmenu * @version $Id: db_install.php,v 1.3 2008/02/01 04:21:24 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $mx_module_version = '2.0.1'; $mx_module_copy = 'Original mxBB <i>Faq & Rules</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; $message = "<b>This is a fresh install!</b><br/><br/>"; $sql = array(); $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: faq_rules.pak --- module=+:52=+:Mx Faq and Rules=+:modules/mx_faq/=+:Faq and Rules Manager=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:52=+:54=+:MX Faq=+:Faq page=+:faq.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - MX Faq=+:Demo block=+:54=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:52=+:55=+:Mx Rules=+:Rules page=+:rules.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Mx Rules=+:Demo block=+:55=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:29
|
Update of /cvsroot/mxbb/mx_faq/templates In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13963/templates Added Files: collapsible_faq.js index.htm Log Message: missing files? --- NEW FILE: collapsible_faq.js --- /************************************************************* * DHTML Collapsible FAQ MOD v1.0.0 * * Copyright (C) 2004, Markus (http://www.phpmix.com) * This script is released under GPL License. * Feel free to use this script (or part of it) wherever you need * it ...but please, give credit to original author. Thank you. :-) * We will also appreciate any links you could give us. * * Enjoy! ;-) *************************************************************/ function _CFAQ() { this.lastOpened = ''; return this; } _CFAQ.prototype.IsDisplaySupported = function() { if( window.opera && !document.childNodes ) return false; if( document.getElementById || document.all ) return true; return false; } _CFAQ.prototype.getQueryVar = function(varName) { var q = window.location.search.substring(1); var v = q.split('&'); for( var i=0; i < v.length; i++ ) { var p = v[i].split('='); if( p[0] == varName ) return p[1]; } return null; } _CFAQ.prototype.getObj = function(obj) { return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); } _CFAQ.prototype.displayObj = function(obj, status) { var x = this.getObj(obj); if( x && x.style ) x.style.display = status; } _CFAQ.prototype.display = function(faq_id, isLink) { if( this.IsDisplaySupported() ) { if( !isLink ) { if( this.lastOpened != '' ) { this.displayObj(this.lastOpened, 'none'); } if( this.lastOpened != faq_id ) { this.displayObj(faq_id, ''); this.lastOpened = faq_id; } else { this.lastOpened = ''; } } return false; } return true; } var CFAQ = new _CFAQ(); if( !CFAQ.IsDisplaySupported() ) { var u_faq = window.location.href; u_faq += ( u_faq.indexOf('?') > 0 ? '&' : '?' ) + 'dhtml=no'; window.location.replace(u_faq); } --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:27
|
Update of /cvsroot/mxbb/mx_faq/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13963/includes Added Files: functions_tiny.php index.htm Log Message: missing files? --- NEW FILE: functions_tiny.php --- <? /*************************************************************************** * function_tiny.php * ------------------- * begin : Oct 1, 2006 * copyright : (C) 2006 Selven * email : N/A * * $Id: functions_tiny.php,v 1.4 2008/02/01 04:21:24 orynider Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * ***************************************************************************/ if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); } // // This switch is for enabling the wysiwyg html editor addon "tiny mce" // if ( file_exists( $tiny_path . 'blank.htm' ) ) { // //Definining language convertor array (phpbb use extended name tinyMCE use international code) // $convert = array( 'arabic' => 'ar', 'bulgarian' => 'bg', 'catalan' => 'ca', 'czech' => 'cs', 'danish' => 'da', 'german' => 'de', 'english' => 'en', 'estonian' => 'et', 'finnish' => 'fi', 'french' => 'fr', 'greek' => 'el', 'spanish' => 'es', 'gaelic' => 'gd', 'galego' => 'gl', 'gujarati' => 'gu', 'hebrew' => 'he', 'hindi' => 'hi', 'croatian' => 'hr', 'hungarian' => 'hu', 'icelandic' => 'is', 'indonesian' => 'id', 'italian' => 'it', 'japanese' => 'ja', 'korean' => 'ko', 'latvian' => 'lv', 'lithuanian' => 'lt', 'macedonian' => 'mk', 'dutch' => 'nl', 'norwegian' => 'no', 'punjabi' => 'pa', 'polish' => 'pl', 'portuguese' => 'pt', 'romanian' => 'ro', 'russian' => 'ru', 'slovenian' => 'sl', 'albanian' => 'sq', 'serbian' => 'sr', 'slovak' => 'sv', 'swedish' => 'sv', 'thai' => 'th', 'turkish' => 'tr', 'ukranian' => 'uk', 'urdu' => 'ur', 'viatnamese' => 'vi', 'chinese_simplified' => 'zh', ); // //Checking if language files are installed into tinyMCE // $user_lang = $userdata['user_lang']; if ( !file_exists( $tiny_path . 'langs/' . $convert[$user_lang] . '.js' ) ) { $user_lang = $board_config['default_lang']; if ( !file_exists( $tiny_path . 'langs/' . $convert[$user_lang] . '.js' ) ) { $user_lang = 'english'; } } // //Converting the found language for using in template // $tiny_lang = $convert[$user_lang]; // //checking what tinyMCE we want to use // if($board_config['gzip_compress'] == '1' & file_exists($tiny_path . 'tiny_mce_gzip.' . $phpEx)) { $tiny_script = $tiny_path . 'tiny_mce_gzip.' . $phpEx; } else { $tiny_script = $tiny_path . 'tiny_mce.js'; } $template->assign_block_vars( "tinyMCE", array( 'SCRIPT' => $tiny_script, 'LANG' => $tiny_lang, 'TEMPLATE' => $phpbb_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); } ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:27
|
Update of /cvsroot/mxbb/mx_faq/language In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13963/language Added Files: index.htm lang_faq_module.php Log Message: missing files? --- NEW FILE: lang_faq_module.php --- <? /*************************************************************************** * lang_faq_module.php * ------------------- * begin : Sat jul 12 2003 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: lang_faq_module.php,v 1.4 2008/02/01 04:21:24 orynider Exp $ * ****************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ $sql = "SELECT * FROM " . MODULE_TABLE . " ORDER BY module_id"; $result = $db -> sql_query($sql); if (!$result) { mx_message_die(GENERAL_ERROR, "Couldn't obtain modules from database", "", __LINE__, __FILE__, $sql); } $module = $db -> sql_fetchrowset($result); for( $i=0; $i < count($module); $i++) { if (file_exists($module[$i]['module_path'].'language/lang_' . $board_config['default_lang'] . '/lang_faq.php')) { include ($module[$i]['module_path'].'language/lang_' . $board_config['default_lang'] . '/lang_faq.php'); } elseif (file_exists($module[$i]['module_path'].'language/lang_english/lang_faq.php')) { include ($module[$i]['module_path'].'language/lang_english/lang_faq.php'); }; }; ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:27
|
Update of /cvsroot/mxbb/mx_faq/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13963/admin Added Files: admin_faq_editor.php index.htm Log Message: missing files? --- NEW FILE: admin_faq_editor.php --- <?php /*************************************************************************** * admin_faq_editor.php * ------------------- * begin : Mon Jul 31, 2002 * copyright : (C) 2007 Selven * email : N/A * * $Id: admin_faq_editor.php,v 1.3 2008/02/01 04:21:24 orynider Exp $ * ****************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if( !empty($setmodules) ) { $file = basename(__FILE__); $module['Faq_&_Rules']['Portal_Faq'] = 'modules/mx_faq/admin/'."$file?file=portal_faq"; $module['Faq_&_Rules']['Board_faq'] = 'modules/mx_faq/admin/'."$file?file=faq"; $module['Faq_&_Rules']['BBcode_faq'] = 'modules/mx_faq/admin/' ."$file?file=bbcode"; $module['Faq_&_Rules']['Rules'] = 'modules/mx_faq/admin/' ."$file?file=rules"; if(file_exists($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx)) { $module['Faq_manager']['attachment_faq'] = "$file?file=faq_attach"; } return; } /* okay here we go! */ define('Q', 0); define('A', 1); define('IN_PHPBB', 1); define('IN_PORTAL', 1); $phpEx = substr(strrchr(__FILE__, '.'), 1); $mx_root_path = "../../../"; $module_root_path = "../"; require($mx_root_path . '/admin/pagestart.' . $phpEx); include($phpbb_root_path."includes/functions_selects.$phpEx"); include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_editor.' . $phpEx); // //Starting tinyMCE integration // $tiny_path = $mx_root_path . 'modules/mx_shared/tinymce/jscripts/tiny_mce/'; include($module_root_path . 'includes/functions_tiny.' . $phpEx); /* this function takes the FAQ array generated as a result * of include'ing the lang_faq.php file and turns it into * a pair of arrays, $blocks and $quests. * $blocks - just contains numerically indexed block titles * $quests - is in the following format: * $quests[$block_number][$question_number][Q] - is the question * $quests[$block_number][$question_number][A] - is the answer */ function faq_to_array($faq) { $blocks = array(); $quests = array(); $block_no = -1; $quest_no = 0; for($i = 0; $i < count($faq); $i++) { if($faq[$i][0] == '--') { $block_no++; $blocks[$block_no] = $faq[$i][1]; $quests[$block_no] = array(); $quest_no = 0; } else { $quests[$block_no][$quest_no][Q] = $faq[$i][0]; $quests[$block_no][$quest_no][A] = $faq[$i][1]; $quest_no++; } } return array($blocks, $quests); } /* END function faq_to_array */ /* this function takes the array generated by faq_to_array and changes * it back into lines suitable for dumping to a lang_faq.php file. It * returns a numerically-indexed array of said lines. */ function array_to_faq($blocks, $quests) { $lines = array(); for($i = 0; $i < count($blocks); $i++) { $lines[] = '$faq[] = array("--", "'.str_replace('"', '\"', $blocks[$i]).'");'."\n"; for($j = 0; $j < count($quests[$i]); $j++) { if( !empty($quests[$i][$j][Q]) && !empty($quests[$i][$j][A]) ) { $lines[] = '$faq[] = array("'.str_replace('"', '\"', $quests[$i][$j][Q]).'", "'.str_replace('"', '\"', $quests[$i][$j][A]).'");'."\n"; } } $lines[] = "\n"; } return $lines; } /* END function array_to_faq */ /* this is the header which will be dumped to the FAQ * file each time we dump the page. Split up the < and * the ?php to avoid problems parsing this file!! */ $faq_header = '<'."?php /*************************************************************************** This file was automatically generated by Admin FAQ Editor ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ // // To add an entry to your FAQ simply add a line to this file in this format: // ".'$'."faq[] = array(\"question\", \"answer\"); // If you want to separate a section enter ".'$'."faq[] = array(\"--\",\"Block heading goes here if wanted\"); // Links will be created automatically // // DO NOT forget the ; at the end of the line. // Do NOT put double quotes (\") in your FAQ entries, if you absolutely must then escape them ie. \\\"something\\\" // // The FAQ items will appear on the FAQ page in the same order they are listed in this file //\n\n"; $faq_footer = "\n\n?" . '>'; // initially include the current FAQ or BBCode guide, depending on the file= in the query_string // initially include the current FAQ or BBCode guide, depending on the file= in the query_string $file = isset($HTTP_GET_VARS['file']) ? htmlspecialchars($HTTP_GET_VARS['file']) : 'portal_faq'; if($file == 'portal_faq' || $file == 'rules' ) { $file_root_path = "$module_root_path"; } else { $file_root_path = "$phpbb_root_path"; } if( !isset($HTTP_GET_VARS['language']) && !isset($HTTP_POST_VARS['language']) ) { $template->set_filenames(array( "body" => "admin/faq_select_lang_body.tpl") ); $template->assign_vars(array( 'L_LANGUAGE' => $lang['select_language'], 'LANGUAGE_SELECT' => language_select($board_config['default_lang'], 'language', $phpbb_realpath.'language'), 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file"), 'L_SUBMIT' => $lang['retrieve'], 'L_TITLE' => $lang['editor'], 'L_EXPLAIN' => $lang['editor_explain'] )); $template->pparse("body"); include($mx_root_path .'admin/page_footer_admin.'.$phpEx); exit; } // get the language we want to edit $language = isset($HTTP_GET_VARS['language']) ? $HTTP_GET_VARS['language'] : $HTTP_POST_VARS['language']; $language = phpbb_ltrim(basename(phpbb_rtrim($language)), "'"); if(!is_writable($file_root_path . 'language/lang_' . $language . '/lang_' . $file . '.' . $phpEx)) { message_die(GENERAL_ERROR, $lang['write_file_explain'], $lang['write_file'], __LINE__, __FILE__); } // the FAQ which will generate our $faq array include($file_root_path . 'language/lang_' . $language . '/lang_' . $file . '.' . $phpEx); // change into our array list($blocks, $quests) = faq_to_array($faq); // if we have a mode set this means we have to do something if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) { // fetch the mode and two commonly past variables $mode = isset($HTTP_GET_VARS['mode']) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode']; $block_no = intval(isset($HTTP_GET_VARS['block']) ? $HTTP_GET_VARS['block'] : (isset($HTTP_POST_VARS['block']) ? $HTTP_POST_VARS['block'] : 0 )); $quest_no = intval(isset($HTTP_GET_VARS['quest']) ? $HTTP_GET_VARS['quest'] : (isset($HTTP_POST_VARS['quest']) ? $HTTP_POST_VARS['quest'] : 0 )); switch($mode) { // create a new block as a result of typing the block name and pressing submit case 'block_new': $blocks[] = isset($HTTP_GET_VARS['block_title']) ? $HTTP_GET_VARS['block_title'] : $HTTP_POST_VARS['block_title']; $quests[] = array(); break; // result of pressing the delete link next to a block case 'block_del': $template->set_filenames(array( "confirm" => "confirm_body.tpl") ); $s_hidden_fields = '<input type="hidden" name="mode" value="block_del_confirm" />'; $s_hidden_fields .= '<input type="hidden" name="block" value="'.$block_no.'" />'; $template->assign_vars(array( "MESSAGE_TITLE" => $lang['Confirm'], "MESSAGE_TEXT" => $lang['block_delete'], "L_YES" => $lang['Yes'], "L_NO" => $lang['No'], "S_CONFIRM_ACTION" => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), "S_HIDDEN_FIELDS" => $s_hidden_fields )); $template->pparse("confirm"); include($mx_root_path .'admin/page_footer_admin.'.$phpEx); exit; // result of pressing YES on the block delete confirmation case 'block_del_confirm': if(isset($HTTP_GET_VARS['confirm']) || isset($HTTP_POST_VARS['confirm'])) { for($i = $block_no; $i < count($blocks); $i++) { $blocks[$i] = $blocks[$i+1]; $quests[$i] = $quests[$i+1]; } $last_id = count($blocks) - 1; unset($blocks[$last_id]); unset($quests[$last_id]); } break; // generate the edit screen as a result of pressing the edit link case 'block_edit': $template->set_filenames(array( "body" => "admin/faq_block_body.tpl") ); $template->assign_vars(array( 'L_TITLE' => $lang['block_rename'], 'L_EXPLAIN' => $lang['block_rename_explain'], 'L_SUBMIT' => $lang['Submit'], 'L_BLOCK_NAME' => $lang['block_name'], 'BLOCK_TITLE' => $blocks[$block_no], 'S_HIDDEN_FIELDS' => '<input type="hidden" name="mode" value="block_do_edit"><input type="hidden" name="block" value="'.$block_no.'">', 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language") )); $template->pparse("body"); include($mx_root_path .'admin/page_footer_admin.'.$phpEx); exit; // actually do the edit after pressing submit on the block edit screen case 'block_do_edit': $blocks[$block_no] = isset($HTTP_GET_VARS['block_title']) ? $HTTP_GET_VARS['block_title'] : $HTTP_POST_VARS['block_title']; break; // re-arrange the blocks after someone presses an UP link case 'block_up': if($block_no != 0) { $block_temp = $blocks[$block_no - 1]; $quest_temp = $quests[$block_no - 1]; $blocks[$block_no - 1] = $blocks[$block_no]; $quests[$block_no - 1] = $quests[$block_no]; $blocks[$block_no] = $block_temp; $quests[$block_no] = $quest_temp; unset($block_temp); unset($quest_temp); } break; // re-arrange the blocks after someone presses an DOWN link case 'block_dn': if($block_no != (count($blocks) - 1)) { $block_temp = $blocks[$block_no + 1]; $quest_temp = $quests[$block_no + 1]; $blocks[$block_no + 1] = $blocks[$block_no]; $quests[$block_no + 1] = $quests[$block_no]; $blocks[$block_no] = $block_temp; $quests[$block_no] = $quest_temp; unset($block_temp); unset($quest_temp); } break; // create a new question as a result of typing a question on the main page case 'quest_new': $template->set_filenames(array( "body" => "admin/faq_quest_body.tpl") ); $s_block_list = ''; $s_selected_block = intval(isset($HTTP_GET_VARS['block']) ? $HTTP_GET_VARS['block'] : $HTTP_POST_VARS['block']); for($i = 0; $i < count($blocks); $i++) { $is_selected = ($s_selected_block == $i) ? 'selected="selected"' : ''; $s_block_list .= '<option value="'.$i.'"'.$is_selected.'>' . $blocks[$i] . '</option>'; } $template->assign_vars(array( 'L_TITLE' => $lang['quest_create'], 'L_EXPLAIN' => $lang['quest_create_explain'], 'L_BLOCK' => $lang['block'], 'L_QUESTION' => $lang['quest'], 'L_ANSWER' => $lang['answer'], 'L_SUBMIT' => $lang['Submit'], 'QUESTION' => htmlspecialchars(stripslashes(isset($HTTP_GET_VARS['quest_title']) ? $HTTP_GET_VARS['quest_title'] : $HTTP_POST_VARS['quest_title'])), 'ANSWER' => '', 'S_BLOCK_LIST' => $s_block_list, 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), 'S_HIDDEN_FIELDS' => '<input name="mode" type="hidden" value="quest_create"/>' )); $template->pparse("body"); include($mx_root_path .'admin/page_footer_admin.'.$phpEx); exit; // actually create the question when the user submits the new question form case 'quest_create': $question = isset($HTTP_GET_VARS['quest_title']) ? $HTTP_GET_VARS['quest_title'] : $HTTP_POST_VARS['quest_title']; $answer = str_replace("\n", "<br />", isset($HTTP_GET_VARS['answer']) ? $HTTP_GET_VARS['answer'] : $HTTP_POST_VARS['answer']); $new_id = count($quests[$block_no]); $quests[$block_no][$new_id][Q] = stripslashes($question); $quests[$block_no][$new_id][A] = stripslashes($answer); break; // present the question edit screen case 'quest_edit': $template->set_filenames(array( "body" => "admin/faq_quest_body.tpl") ); $s_block_list = ''; $s_selected_block = intval(isset($HTTP_GET_VARS['block']) ? $HTTP_GET_VARS['block'] : $HTTP_POST_VARS['block']); for($i = 0; $i < count($blocks); $i++) { $is_selected = ($s_selected_block == $i) ? ' selected' : ''; $s_block_list .= '<option value="'.$i.'"'.$is_selected.'>' . $blocks[$i] . '</option>'; } $template->assign_vars(array( 'L_TITLE' => $lang['quest_edit'], 'L_EXPLAIN' => $lang['quest_edit_explain'], 'L_BLOCK' => $lang['block'], 'L_QUESTION' => $lang['quest'], 'L_ANSWER' => $lang['answer'], 'L_SUBMIT' => $lang['Submit'], 'QUESTION' => htmlspecialchars($quests[$block_no][$quest_no][Q]), 'ANSWER' => htmlspecialchars(str_replace("<br />", "\n", $quests[$block_no][$quest_no][A])), 'S_BLOCK_LIST' => $s_block_list, 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), 'S_HIDDEN_FIELDS' => '<input name="quest" type="hidden" value="'.$quest_no.'"><input name="old_block" type="hidden" value="'.$block_no.'"><input name="mode" type="hidden" value="quest_do_edit">' )); $template->pparse("body"); include($mx_root_path .'admin/page_footer_admin.'.$phpEx); exit; case 'quest_do_edit': $old_block_no = intval(isset($HTTP_GET_VARS['old_block']) ? $HTTP_GET_VARS['old_block'] : $HTTP_POST_VARS['old_block']); $question = stripslashes(isset($HTTP_GET_VARS['quest_title']) ? $HTTP_GET_VARS['quest_title'] : $HTTP_POST_VARS['quest_title']); $answer = str_replace("\n", "<br />", stripslashes(isset($HTTP_GET_VARS['answer']) ? $HTTP_GET_VARS['answer'] : $HTTP_POST_VARS['answer'])); if($block_no == $old_block_no) { // standard edit where we don't change blocks $quests[$block_no][$quest_no][Q] = $question; $quests[$block_no][$quest_no][A] = $answer; } else { // edit where we move blocks for($i = $quest_no; $i < count($quests[$old_block_no]); $i++) { $quests[$old_block_no][$i] = $quests[$old_block_no][$i+1]; } unset($quests[$old_block_no][count($quests[$old_block_no]) - 1]); $new_id = count($quests[$block_no]); $quests[$block_no][$new_id][Q] = $question; $quests[$block_no][$new_id][A] = $answer; } break; // delete a question: confirm box case 'quest_del': $template->set_filenames(array( "confirm" => "confirm_body.tpl") ); $s_hidden_fields = '<input type="hidden" name="mode" value="quest_del_confirm" />'; $s_hidden_fields .= '<input type="hidden" name="block" value="'.$block_no.'" />'; $s_hidden_fields .= '<input type="hidden" name="quest" value="'.$quest_no.'" />'; $template->assign_vars(array( "MESSAGE_TITLE" => $lang['Confirm'], "MESSAGE_TEXT" => $lang['quest_delete'], "L_YES" => $lang['Yes'], "L_NO" => $lang['No'], "S_CONFIRM_ACTION" => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), "S_HIDDEN_FIELDS" => $s_hidden_fields )); $template->pparse("confirm"); include($mx_root_path .'admin/page_footer_admin.'.$phpEx); exit; // delete is confirmed or rejected case 'quest_del_confirm': if(isset($HTTP_GET_VARS['confirm']) || isset($HTTP_POST_VARS['confirm'])) { for($i = $quest_no; $i < count($quests[$block_no]); $i++) { $quests[$block_no][$i] = $quests[$block_no][$i+1]; } unset($quests[$block_no][count($quests[$block_no]) - 1]); } break; // move a question upwards case 'quest_up': if($quest_no != 0) { $temp = $quests[$block_no][$quest_no - 1]; $quests[$block_no][$quest_no - 1] = $quests[$block_no][$quest_no]; $quests[$block_no][$quest_no] = $temp; unset($temp); } break; // move a question downwards case 'quest_dn': if($quest_no != (count($quests[$block_no]) - 1)) { $temp = $quests[$block_no][$quest_no + 1]; $quests[$block_no][$quest_no + 1] = $quests[$block_no][$quest_no]; $quests[$block_no][$quest_no] = $temp; unset($temp); } break; } // write these changes back to the FAQ file $fp = fopen($file_root_path . 'language/lang_' . $language . '/lang_' . $file . '.' . $phpEx, 'w'); if($fp) { fwrite($fp, $faq_header); $lines = array_to_faq($blocks, $quests); for($i = 0; $i < count($lines); $i++) { fwrite($fp, $lines[$i]); } fwrite($fp, $faq_footer); } else { message_die(GENERAL_ERROR, $lang['write_file_explain'], $lang['write_file'], __LINE__, __FILE__); } } // if we've got this far without exiting we just dump the default page $template->set_filenames(array( "body" => "admin/faq_editor_body.tpl") ); $template->assign_vars(array( 'L_TITLE' => $lang['editor'], 'L_EXPLAIN' => $lang['editor_explain'], 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), 'L_ADD_BLOCK' => $lang['block_add'], 'L_ADD_QUESTION' => $lang['quest_add'], 'L_EDIT' => $lang['Edit'], 'L_DELETE' => $lang['Delete'], 'L_MOVE_UP' => $lang['Move_up'], 'L_MOVE_DOWN' => $lang['Move_down'], 'L_NO_QUESTIONS' => $lang['no_quests'], 'L_NO_BLOCKS' => $lang['no_blocks'] )); $k = 0; if(count($blocks) > 0) { for($i = 0; $i < count($blocks); $i++) { $template->assign_block_vars("blockrow", array( 'BLOCK_TITLE' => $blocks[$i], 'BLOCK_NUMBER' => "$i", 'BLOCK_ANCHOR' => $anchor_code, 'U_BLOCK_EDIT' => append_sid("admin_faq_editor.$phpEx?mode=block_edit&block=$i&file=$file&language=$language"), 'U_BLOCK_MOVE_UP' => append_sid("admin_faq_editor.$phpEx?mode=block_up&block=$i&file=$file&language=$language"), 'U_BLOCK_MOVE_DOWN' => append_sid("admin_faq_editor.$phpEx?mode=block_dn&block=$i&file=$file&language=$language"), 'U_BLOCK_DELETE' => append_sid("admin_faq_editor.$phpEx?mode=block_del&block=$i&file=$file&language=$language") )); if(count($quests[$i]) > 0) { for($j = 0; $j < count($quests[$i]); $j++) { $template->assign_block_vars("blockrow.questrow", array( 'QUEST_TITLE' => $quests[$i][$j][Q], 'U_QUEST' => append_sid("admin_faq_editor.$phpEx?mode=quest_edit&block=$i&quest=$j&file=$file&language=$language"), 'U_QUEST_EDIT' => append_sid("admin_faq_editor.$phpEx?mode=quest_edit&block=$i&quest=$j&file=$file&language=$language"), 'U_QUEST_MOVE_UP' => append_sid("admin_faq_editor.$phpEx?mode=quest_up&block=$i&quest=$j&file=$file&language=$language"), 'U_QUEST_MOVE_DOWN' => append_sid("admin_faq_editor.$phpEx?mode=quest_dn&block=$i&quest=$j&file=$file&language=$language"), 'U_QUEST_DELETE' => append_sid("admin_faq_editor.$phpEx?mode=quest_del&block=$i&quest=$j&file=$file&language=$language") )); $k++; } } else { $template->assign_block_vars("blockrow.no_questions", array()); } } } else { $template->assign_block_vars("no_blocks", array()); } $template->pparse("body"); include($mx_root_path .'admin/page_footer_admin.'.$phpEx); include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_faq_editor.' . $phpEx); ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 04:21:27
|
Update of /cvsroot/mxbb/mx_faq/docs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13963/docs Added Files: index.html Log Message: missing files? --- NEW FILE: index.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>MXBB Faq & Rules :: Documentation</title> <meta http-equiv="Content-Type" content="text/xhtml;" /> </head> <frameset cols="238,*" rows="*"> <frame name="nav" src="pages/doc_navigate.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" /> <frame name="main" src="pages/main_doc_index.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" /> <!-- What if the user's browser doesn't support frames? --> <noframes> <body bgcolor="#FFFFFF" text="#000000"> <p>Sorry, but your browser seems to not support frames. To view this document, you'll have to either enable frames, or upgrade your browser so that it supports frames.</p> </body> </noframes> </frameset> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 04:20:12
|
Update of /cvsroot/mxbb/mx_faq/language/lang_romanian In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13243/lang_romanian Log Message: Directory /cvsroot/mxbb/mx_faq/language/lang_romanian added to the repository |
Update of /cvsroot/mxbb/mx_xs/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7080 Added Files: _xs_test.tpl cache.tpl clone.tpl clone2.tpl config.tpl downloads.tpl edit.tpl edit_data.tpl edit_data_list.tpl edit_file.tpl export.tpl export2.tpl export_data.tpl export_data2.tpl frame_top.tpl frameset.tpl ftp.tpl import.tpl import2.tpl index.tpl install.tpl message.tpl style_config.tpl styles.tpl uninstall.tpl update.tpl update2.tpl xs_footer.tpl xs_header.tpl Log Message: idem --- NEW FILE: clone2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * clone2.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_CLONE_STYLE}</h1> <p>{L_XS_CLONE_STYLE_EXPLAIN}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_CLONE_STYLE}</th> </tr> <tr> <td class="explain" colspan="2" align="left">{L_XS_CLONE_STYLE_EXPLAIN2}</td> </tr> <!-- BEGIN styles --> <tr> <td class="row1">{styles.L_CLONE}<br /><span class="gensmall">{L_XS_CLONE_STYLE_EXPLAIN3}</span></td> <td class="row2"><form action="{FORM_ACTION}" method="post" style="display: inline;">{S_HIDDEN_FIELDS}<input type="hidden" name="clone_style" value="{styles.ID}" /><input type="text" class="post" name="clone_name" value="{styles.STYLE}" size="30" /> <input type="submit" class="mainoption" value="{L_SUBMIT}" /></form></td> </tr> <!-- END styles --> <tr> <th class="thHead" colspan="2">{L_CLONE_STYLE3}</th> </tr> <tr> <td class="explain" colspan="2" align="left">{L_XS_CLONE_STYLE_EXPLAIN4}</td> </tr> <form action="{FORM_ACTION}" name="clone" method="post"><input type="hidden" name="clone_tpl" value="{CLONE_TEMPLATE}" />{S_HIDDEN_FIELDS} <tr> <td class="row1">{L_XS_CLONE_NEWDIR_NAME}</td> <td class="row2"><input type="text" class="post" name="clone_style_name" value="{CLONE_TEMPLATE}" size="30" <!-- BEGIN switch_onchange --> onkeyup="document.clone.clone_style_name_0.value=document.clone.clone_style_name.value" <!-- END switch_onchange --> /></td> </tr> <!-- BEGIN switch_select_style --> <tr> <td class="row1">{L_XS_CLONE_SELECT}<br /><span class="gensmall">{L_XS_CLONE_SELECT_EXPLAIN}</span></td> <td class="row2" nowrap="nowrap"> <!-- BEGIN style --> <input type="hidden" name="clone_style_id_{switch_select_style.style.NUM}" value="{switch_select_style.style.ID}" /> <input type="checkbox" name="clone_style_{switch_select_style.style.NUM}" checked="checked" /> <input type="text" class="post" name="clone_style_name_{switch_select_style.style.NUM}" value="{switch_select_style.style.NAME}" title="{switch_select_style.style.NAME}" size="30" /><br /> <!-- END style --> </td> </tr> <!-- END switch_select_style --> <!-- BEGIN switch_select_nostyle --> <tr> <td class="row1">{L_XS_CLONE_NEWNAME}</td> <td class="row2" nowrap="nowrap"> <input type="hidden" name="clone_style_id_0" value="{STYLE_ID}" /> <input type="hidden" name="clone_style_0" value="checked" /> <input type="text" class="post" name="clone_style_name_0" value="{STYLE_NAME}" title="{STYLE_NAME}" size="30" /> </td> </tr> <!-- END switch_select_nostyle --> <input type="hidden" name="total" value="{TOTAL}" /> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </form> </table> --- NEW FILE: update.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * update.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_UPDATES}</h1> <p>{L_XS_UPDATES_COMMENT}</p> <form action="{UPDATE_URL}" method="post"> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th colspan="4" class="thHead" align="center">{L_XS_UPDATES}</th> </tr> <tr> <td colspan="4" class="row1" width="100%" align="left">{L_XS_UPDATE_INFO1}</td> </tr> <tr> <th class="thCornerL" colspan="2" align="center" nowrap="nowrap">{L_XS_UPDATE_NAME}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_TYPE}</th> <th class="thCornerR" align="center" nowrap="nowrap">{L_XS_UPDATE_CURRENT_VERSION}</th> </tr> <!-- BEGIN row --> <input type="hidden" name="{row.VAR}item" value="{row.ITEM}" /> <tr> <td class="{row.ROW_CLASS}"><!-- BEGIN url --><input type="checkbox" name="{row.VAR}checked" checked="checked" /><!-- END url --><!-- BEGIN nourl --><input type="hidden" name="{row.VAR}checked" value="0" /><!-- END nourl --></td> <td class="{row.ROW_CLASS}" width="100%"><span class="gen">{row.NAME}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.TYPE}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.VERSION}</span></td> </tr> <!-- END row --> <tr> <td colspan="4" class="row1" align="left" valign="middle"><span class="gen">{L_XS_UPDATE_TIMEOUT} <input type="text" name="timeout" value="180" size="6" /></span></td> </tr> <tr> <td class="catBottom" colspan="4" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_XS_UPDATE_CONTINUE}" class="mainoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: install.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * install.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_INSTALL_STYLES}</h1> <p>{L_XS_INSTALL_STYLES_EXPLAIN2}</p> <form action="{U_ACTION}" method="post" style="display: inline">{S_HIDDEN_FIELDS}<input type="hidden" name="total" value="{TOTAL}" /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_INSTALL_STYLES}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_INSTALL}</span></td> <td class="catRight" align="center"><span class="gen">{L_XS_SELECT}</span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.STYLE}</span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.THEME}</span></td> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><a href="{styles.U_INSTALL}">{L_XS_INSTALL_LC}</a></span></td> <td class="{styles.ROW_CLASS}" align="center"><input type="checkbox" name="{styles.CB_NAME}" /><input type="hidden" name="{styles.CB_NAME}_style" value="{styles.STYLE}" /><input type="hidden" name="{styles.CB_NAME}_num" value="{styles.NUM}" /></td> </tr> <!-- END styles --> <tr> <td class="catBottom" colspan="4" align="center"><input type="submit" name="submit" value="{L_XS_INSTALL}" class="mainoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: xs_header.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * xs_header.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <html> <head> <meta http-equiv="Content-Style-Type" content="text/css"> <link rel="stylesheet" href="{XS_PATH}style.css" type="text/css"> <style> <!-- body { background-color: #E5E5E5; background-image: url('{XS_PATH}images/top_bg2.gif'); background-position: top left; background-repeat: repeat-x; margin-top: 5px; margin-bottom: 5px; margin-left: 2px; margin-right: 2px; } --> </style> </head> <body> <table width="100%" height="100%" cellspacing="0" cellpadding="2" class="bodyline"> <tr> <td align="left" valign="top" style="padding: 5px;"> <table width="100%" cellspacing="0" cellpadding="3" class="navbar"> <tr> <td align="left" nowrap="nowrap"> <!-- BEGIN nav_left --> {nav_left.ITEM} <!-- END nav_left --> </td> <td align="right" nowrap="nowrap"> <!-- BEGIN nav_right --> {nav_right.ITEM} <!-- END nav_right --> </td> </tr> </table> <br /> --- NEW FILE: uninstall.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * uninstall.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:53 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_UNINSTALL_STYLES}</h1> <p>{L_XS_UNINSTALL_STYLES_EXPLAIN2}</p> <!-- BEGIN left_refresh --> <script language="JavaScript"> <!-- top.nav.location = top.nav.location; // '{left_refresh.ACTION}'; //--> </script> <!-- END left_refresh --> <!-- BEGIN removed --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_Information}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_STYLE_REMOVED}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END removed --> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_UNINSTALL_STYLES}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_UNINSTALL}</span></td> <td class="catRight" align="center"><span class="gen">{L_XS_REMOVE_FILES}</span></td> </tr> <!-- BEGIN styles --> <!-- BEGIN item --> <tr> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.item.THEME}</span></td> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><a href="{styles.item.U_DELETE}">{L_XS_UNINSTALL_LC}</a></td> <!-- BEGIN delete --> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><a href="{styles.item.delete.U_DELETE}">{L_XS_UNINSTALL2_LC}</a></span></td> <!-- END delete --> <!-- BEGIN nodelete --> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"> </td> <!-- END nodelete --> </tr> <!-- END item --> <!-- END styles --> </table> <br /> --- NEW FILE: import.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * import.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:53 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_IMPORT_STYLES}</h1> <p>{L_XS_IMPORT_EXPLAIN}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" align="center" nowrap="nowrap">{L_XS_FILE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_TEMPLATE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_STYLES}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPLOAD_TIME}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_COMMENT}</th> <th class="thCornerR" align="center" nowrap="nowrap">{L_XS_OPTIONS}</th> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left"><span class="gensmall">{styles.FILE2}</span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen"><!-- BEGIN valid -->{styles.TEMPLATE}<!-- END valid --><!-- BEGIN error -->-<!-- END error --></span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen"><!-- BEGIN list -->{list.STYLE}<br /><!-- END list --></span></td> <td class="{styles.ROW_CLASS}" align="center" nowrap="nowrap"><span class="genmed"><!-- BEGIN valid -->{styles.DATE}<!-- END valid --><!-- BEGIN error -->-<!-- END error --></span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gensmall"><!-- BEGIN valid -->{styles.COMMENT}<!-- END valid --><!-- BEGIN error -->{styles.error.ERROR}<!-- END error --></span></td> <td class="{styles.ROW_CLASS}" align="center"> <!-- BEGIN valid --> [<a href="{styles.U_IMPORT}">{L_XS_IMPORT_LC}</a>] [<a href="{styles.U_LIST}">{L_XS_LIST_FILES_LC}</a>] <!-- END valid --> [<a href="{styles.U_DELETE}">{L_XS_DELETE_FILE_LC}</a>] </td> </tr> <!-- END styles --> <!-- BEGIN nostyles --> <tr> <td colspan="6" align="center" class="row1"><span class="gen">{L_XS_IMPORT_NO_CACHED}</span></td> </tr> <!-- END nostyles --> </table> <br /> <table width="100%"> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_ADD_STYLES}</th> </tr> <tr> <td class="row1">{L_XS_ADD_STYLES_WEB}:</td> <td class="row2" nowrap="nowrap"> <form action="{U_SCRIPT}" method="post" style="display: inline;"><input type="hidden" name="action" value="web" />{S_HIDDEN_FIELDS} <input type="text" name="source" size="40" value="http://" /> <input type="submit" value="{L_XS_ADD_STYLES_WEB_GET}" class="mainoption" /> </form> </tr> </tr> <tr> <td class="row1">{L_XS_ADD_STYLES_COPY}:</td> <td class="row2" nowrap="nowrap"> <form action="{U_SCRIPT}" method="post" style="display: inline;"><input type="hidden" name="action" value="copy" />{S_HIDDEN_FIELDS} <input type="text" name="source" size="40" value="" /> <input type="submit" value="{L_XS_ADD_STYLES_COPY_GET}" class="mainoption" /> </form> </tr> </tr> <tr> <td class="row1">{L_XS_ADD_STYLES_UPLOAD}:</td> <td class="row2" nowrap="nowrap"> <form action="{U_SCRIPT}" method="post" enctype="multipart/form-data" style="display: inline;"><input type="hidden" name="action" value="upload" />{S_HIDDEN_FIELDS} <input type="file" name="source" size="30" /> <input type="submit" value="{L_XS_ADD_STYLES_UPLOAD_GET}" class="mainoption" /> </form> </tr> </tr> </table> <br /> --- NEW FILE: export.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * export.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_EXPORT_STYLE}</h1> <p>{L_XS_EXPORT_STYLE_EXPLAIN}</p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="3">{L_XS_EXPORT_STYLE}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLES}</span></td> <td class="catRight" align="center"><span class="gen"> </span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.STYLES}</span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_EXPORT}">{L_XS_EXPORT_STYLE_LC}</a></span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: clone.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * clone.tpl * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_CLONE_STYLES}</h1> <p>{L_XS_CLONE_STYLE_EXPLAIN}</p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_CLONE_STYLES}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLES}</span></td> <td class="catRight" align="center"><span class="gen"> </span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.STYLES}</span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_CLONE}">{L_XS_CLONE_STYLE_LC}</a></span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: import2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * import2.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <form action="{FORM_ACTION}" method="post">{S_RETURN}<input type="hidden" name="import" value="{IMPORT_FILENAME}" /><table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_IMPORT_TPL}</th> </tr> <tr> <td class="row1" align="left" colspan="2"><span class="gensmall">{L_XS_IMPORT_TPL_COMMENT}<br /><br />{L_XS_IMPORT_TPL_FILENAME} {STYLE_FILENAME}<br />{L_XS_IMPORT_TPL_TPLNAME} {STYLE_TEMPLATE}<br />{L_XS_IMPORT_TPL_COMMENT2} {STYLE_COMMENT}<br /></span></td> </tr> <!-- BEGIN switch_select_style --> <tr> <td class="row1"><span class="gen">{L_XS_IMPORT_SELECT_STYLES}</span></td> <td class="row2" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="1"> <!-- BEGIN style --> <tr> <td nowrap="nowrap"><span class="gen"><label><input type="checkbox" name="import_install_{switch_select_style.style.NUM}" checked="checked" /> {switch_select_style.style.NAME}</label></span></td> <td nowrap="nowrap"><span class="gen"> (<label><input type="radio" name="import_default" value="{switch_select_style.style.NUM}" /> {L_XS_IMPORT_INSTALL_DEF_LC}</label>)</span></td> </tr> <!-- END style --> </table></td> </tr> <!-- END switch_select_style --> <!-- BEGIN switch_select_nostyle --> <tr> <td class="row1"><span class="gen">{L_XS_IMPORT_INSTALL_STYLE}</span></td> <td class="row2" nowrap="nowrap"><span class="gen"><label><input type="checkbox" name="import_install_0" /> {STYLE_NAME}</label> (<label><input type="radio" name="import_default_0" /> {L_XS_IMPORT_INSTALL_DEF_LC}</label>)</span></td> </tr> <!-- END switch_select_nostyle --> <input type="hidden" name="total" value="{TOTAL}" /> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_XS_IMPORT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: export2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * export2.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_EXPORT_STYLE}</h1> <p>{L_XS_EXPORT_STYLE_EXPLAIN}</p> <form action="{FORM_ACTION}" method="post"><input type="hidden" name="export" value="{EXPORT_TEMPLATE}" /><table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1">{L_XS_EXPORT_TPL_NAME}:</td> <td class="row2"><input type="text" class="post" name="export_template" value="{EXPORT_TEMPLATE}" size="30" /></td> </tr> <!-- BEGIN switch_select_style --> <tr> <td class="row1">{L_XS_EXPORT_STYLE_NAMES}:</td> <td class="row2" nowrap="nowrap"> <!-- BEGIN style --> <input type="hidden" name="export_style_id_{switch_select_style.style.NUM}" value="{switch_select_style.style.ID}" /> <input type="checkbox" name="export_style_{switch_select_style.style.NUM}" checked="checked" /> <input type="text" class="post" name="export_style_name_{switch_select_style.style.NUM}" value="{switch_select_style.style.NAME}" title="{switch_select_style.style.NAME}" size="30" /><br /> <!-- END style --> </td> </tr> <!-- END switch_select_style --> <!-- BEGIN switch_select_nostyle --> <tr> <td class="row1">{L_XS_EXPORT_STYLE_NAME}:</td> <td class="row2" nowrap="nowrap"> <input type="hidden" name="export_style_id_0" value="{STYLE_ID}" /> <input type="hidden" name="export_style_0" value="checked" /> <input type="text" class="post" name="export_style_name_0" value="{STYLE_NAME}" title="{STYLE_NAME}" size="30" /> </td> </tr> <!-- END switch_select_nostyle --> <tr> <td class="row1">{L_XS_EXPORT_STYLE_COMMENT}:</td> <td class="row2"><input type="text" class="post" name="export_comment" maxlength="250" size="50" value="" /></td> </tr> <tr> <td class="row1">{L_XS_EXPORT_WHERE}:</td> <td class="row2" nowrap="nowrap"><table width="100%" cellspacing="0" cellpadding="1"> <tr> <td colspan="2"><input type="radio" name="export_to" value="save" {SEND_METHOD_SAVE} /> {L_XS_EXPORT_WHERE_DOWNLOAD}</td> </tr> <tr><td colspan="2"><br /></td></tr> <tr> <td colspan="2"><input type="radio" name="export_to" value="file" {SEND_METHOD_FILE} /> {L_XS_EXPORT_WHERE_STORE}</td> </tr> <tr> <td width="20%" nowrap="nowrap"> {L_XS_EXPORT_WHERE_STORE_DIR}:</td> <td width="60%"><input class="post" type="text" name="export_to_dir" value="{SEND_DATA_DIR}" size="30" /></td> </tr> <tr><td colspan="2"><br /></td></tr> <tr> <td colspan="2"><input type="radio" name="export_to" value="ftp" {SEND_METHOD_FTP} /> {L_XS_EXPORT_WHERE_FTP}</td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_HOST}:</td> <td><input class="post" type="text" name="export_to_ftp_host" value="{SEND_DATA_HOST}" size="30" /></td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_LOGIN}:</td> <td><input class="post" type="text" name="export_to_ftp_login" value="{SEND_DATA_LOGIN}" size="30" /></td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_PASS}:</td> <td><input class="post" type="text" name="export_to_ftp_pass" value="" size="30" /></td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_REMOTEDIR}:</td> <td><input class="post" type="text" name="export_to_ftp_dir" value="{SEND_DATA_FTPDIR}" size="30" /></td> </tr> </table></td> </tr> <tr> <td class="row1">{L_XS_EXPORT_FILENAME}:</td> <td class="row2"><input class="post" type="text" name="export_filename" value="{EXPORT_TEMPLATE}.style" size="30" /></td> </tr> <input type="hidden" name="total" value="{TOTAL}" /> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: styles.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * styles.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_DEF_TITLE}</h1> <p>{L_XS_DEF_EXPLAIN}</p> <!-- BEGIN list_users --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_XS_STYLES_USERS}</th> </tr> <tr> <td class="row1"><span class="gen"> <table border="0" cellspacing="0" cellpadding="1"> <!-- BEGIN user --> <tr> <td>{user.NUM}:</td> <td> </td> <td>[{user.ID}]</td> <td> </td> <td>{user.NAME}</td> </tr> <!-- END user --> </table> </span></td> </tr> </table> <br /> <!-- END list_users --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" align="center" nowrap="nowrap">{L_XS_ID}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_STYLE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_TEMPLATE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_USERS}</th> <th class="thCornerR" colspan="2" align="center" nowrap="nowrap">{L_XS_OPTIONS}</th> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><!-- BEGIN default --><b><!-- END default -->{styles.ID}<!-- BEGIN default --></b><!-- END default --></span></td> <td class="{styles.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen"><!-- BEGIN default --><b><!-- END default -->{styles.STYLE}<!-- BEGIN default --></b><!-- END default --></span></td> <td class="{styles.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen"><!-- BEGIN default --><b><!-- END default -->{styles.TEMPLATE}<!-- BEGIN default --></b><!-- END default --></span></td> <td class="{styles.ROW_CLASS}" align="center"><!-- BEGIN default --><b><!-- END default --><!-- BEGIN users --><a href="{styles.U_TOTAL}"><!-- END users -->{styles.TOTAL}<!-- BEGIN users --></a><!-- END users --><!-- BEGIN default --></b><!-- END default --></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall"> <!-- BEGIN default --> <!-- BEGIN override --> [<a href="{styles.U_OVERRIDE}">{L_XS_STYLES_NO_OVERRIDE}</a>] <!-- END override --> <!-- BEGIN nooverride --> [<a href="{styles.U_OVERRIDE}">{L_XS_STYLES_DO_OVERRIDE}</a>] <!-- END nooverride --> <!-- END default --> <!-- BEGIN nodefault --> [<a href="{styles.U_DEFAULT}">{L_XS_STYLES_SET_DEFAULT}</a>] <!-- BEGIN admin_only --> [<a href="{styles.nodefault.admin_only.U_CHANGE}">{L_XS_STYLES_MAKE_PUBLIC}</a>] <!-- END admin_only --> <!-- BEGIN public --> [<a href="{styles.nodefault.public.U_CHANGE}">{L_XS_STYLES_MAKE_ADMIN}</a>] <!-- END public --> <!-- END nodefault --> <br /> [<a href="{styles.U_SWITCHALL}">{L_XS_STYLES_SWITCH_ALL}</a>] </span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gensmall"> <!-- BEGIN total --> <form action="{U_SCRIPT}" method="get" name="select_{styles.ID}" onsubmit="if(document.select_{styles.ID}.style.value == -1){return false;}" style="display: inline;">{S_HIDDEN_FIELDS}<input type="hidden" name="moveaway" value="{styles.ID}" /> <select name="movestyle" onchange="document.select_{styles.ID}.submit();"> <option value="">{L_XS_STYLES_SWITCH_ALL2}</option> <option value="0">{L_XS_STYLES_DEFSTYLE}</option> <optgroup label="{L_XS_STYLES_AVAILABLE}"> <?php for($i=0; $i<$styles_count; $i++) if($i != $styles_i) { $item = &$this->_tpldata['styles.'][$i]; echo '<option value="', $item['ID'], '">', $item['STYLE'], '</option>'; } ?> </optgroup> </select> </form> <!-- END total --> <!-- BEGIN none --> <!-- END none --> </span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: ftp.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * ftp.tpl * ------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_FTP_TITLE}</h1> <!-- BEGIN xs_ftp_local --> <p>{L_XS_FTP_COMMENT1}</p> <!-- END xs_ftp_local --> <!-- BEGIN xs_ftp_nolocal --> <p>{L_XS_FTP_COMMENT2}</p> <!-- END xs_ftp_nolocal --> <!-- BEGIN error --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_ERROR}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{error.MSG}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <!-- END error --> <form name="ftp" action="{FORM_ACTION}" method="post">{S_HIDDEN_FIELDS}{S_EXTRA_FIELDS}<table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <!-- BEGIN xs_ftp_local --> <tr> <th class="thHead" colspan="2">{L_XS_FTP_CONFIG}</td> </tr> <tr> <td class="row1">{L_XS_FTP_SELECT_METHOD}:</td> <td class="row2" nowrap="nowrap"> <input type="radio" name="xs_ftp_local" value="1" /> {L_XS_FTP_SELECT_LOCAL}<br /> <input type="radio" name="xs_ftp_local" value="" checked="checked" /> {L_XS_FTP_SELECT_FTP}<br /> </td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_FTP_SETTINGS}</th> </tr> <!-- END xs_ftp_local --> <!-- BEGIN xs_ftp_nolocal --> <input type="hidden" name="xs_ftp_local" value="" /> <tr> <th class="thHead" colspan="2">{L_XS_FTP_SETTINGS}</th> </tr> <!-- END xs_ftp_nolocal --> <tr> <td class="row1">{L_XS_FTP_HOST}{HOST_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_host" value="{XS_FTP_HOST}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_LOGIN}{LOGIN_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_login" value="{XS_FTP_LOGIN}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_PATH}{PATH_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_path" value="{XS_FTP_PATH}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_PASS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_pass" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: edit_file.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * edit_file.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <script language="JavaScript" type="text/javascript"> <!-- function xs_replace() { var old = document.edit.content.value; var search = document.edit.edit_replace1.value; var replace = document.edit.edit_replace2.value; var data = ''; var pos = old.indexOf(search); if(pos == -1) { alert('{L_XS_FILEEDIT_SEARCH_NOMATCH}'); } else { data = old.substring(0, pos) + replace + old.substring(pos + search.length, old.length); document.edit.edit_replace3.value = old; document.edit.content.value = data; alert('{L_XS_FILEEDIT_SEARCH_MATCH1}'); } } function xs_replace_all() { var old = document.edit.content.value; var search = document.edit.edit_replace1.value; var replace = document.edit.edit_replace2.value; var data = ''; var pos = old.indexOf(search); var count = 0; var backup = old; if(pos == -1) { alert('{L_XS_FILEEDIT_SEARCH_NOMATCH}'); } else { while(pos >= 0) { data = data + old.substring(0, pos) + replace; old = old.substring(pos + search.length, old.length); pos = old.indexOf(search); count ++; } data = data + old; document.edit.edit_replace3.value = backup; document.edit.content.value = data; alert('{L_XS_FILEEDIT_SEARCH_MATCHES}'); } } function xs_replace_restore() { var data = document.edit.edit_replace3.value; if(data.length < 1) { alert('{L_XS_FILEEDIT_NOUNDO}'); } else { document.edit.content.value = data; alert('{L_XS_FILEEDIT_UNDO_COMPLETE}'); } } //--> </script> <h1>{L_XS_EDIT_TEMPLATES}</h1> <p>{L_XS_EDIT_TEMPLATE_COMMENT2}</p> <form action="{U_ACTION}" method="post" enctype="multipart/form-data" name="edit" style="display: inline;">{S_HIDDEN_FIELDS}{S_FILTER}<input type="hidden" name="dir" value="{DIR}" /><input type="hidden" name="edit" value="{FILE}" /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th>{L_XS_FILEEDIT_EDIT_NAME} {FULLFILE}</th> </tr> <tr> <td class="row3" align="left" valign="middle"><span class="genmed"> {L_XS_FILEEDIT_LOCATION} <!-- BEGIN tree --> {tree.SEPARATOR} <a href="{tree.URL}">{tree.ITEM}</a> <!-- END tree --> / <a href="{U_EDIT}">{FILE}</a> | [<a href="{U_EDIT}">{L_XS_FILEEDIT_RELOAD_LC}</a>] [<a href="{U_DOWNLOAD}">{L_XS_FILEEDIT_DOWNLOAD_LC}</a>] </span></td> </tr> <tr> <td class="row1" align="left"><textarea name="content" cols="120" rows="35" style="width: 100%">{CONTENT}</textarea></td> </tr> <tr> <td class="row1" align="left"><span class="gen"><label><input type="checkbox" name="trim" checked="checked" /> {L_XS_FILEEDIT_TRIM}</label></span></td> </tr> <tr> <th>{L_XS_FILEEDIT_FUNCTIONS}</th> </tr> <input type="hidden" name="edit_replace3" value="" /> <tr> <td class="row1" align="left"><span class="genmed"> {L_XS_FILEEDIT_REPLACE1}<textarea name="edit_replace1" class="post" cols="20" rows="2"></textarea>{L_XS_FILEEDIT_REPLACE2}<textarea name="edit_replace2" class="post" cols="20" rows="2"></textarea> [<a href="javascript:void(0);" onclick="xs_replace();">{L_XS_FILEEDIT_REPLACE_FIRST_LC}</a>] [<a href="javascript:void(0);" onclick="xs_replace_all();">{L_XS_FILEEDIT_REPLACE_ALL_LC}</a>] [<a href="javascript:void(0)" onclick="xs_replace_restore();">{L_XS_FILEEDIT_REPLACE_UNDO_LC}</a>]<br /> </span></td> </tr> <tr> <th>{L_XS_FILEEDIT_BACKUPS}</th> </tr> <tr> <td class="row1" align="left"><span class="genmed"> [<a href="{U_BACKUP}">{L_XS_FILEEDIT_BACKUPS_SAVE_LC}</a>]<br /> <!-- BEGIN backup --> {backup.TIME} [<a href="{backup.U_VIEW}">{L_XS_FILEEDIT_BACKUPS_SHOW_LC}</a>] [<a href="{backup.U_RESTORE}">{L_XS_FILEEDIT_BACKUPS_RESTORE_LC}</a>] [<a href="{backup.U_DOWNLOAD}">{L_XS_FILEEDIT_BACKUPS_DOWNLOAD_LC}</a>] [<a href="{backup.U_DELETE}">{L_XS_FILEEDIT_BACKUPS_DELETE_LC}</a>]<br /> <!-- END backup --> </span></td> </tr> <tr> <th>{L_XS_FILEEDIT_UPLOAD}</th> </tr> <tr> <td class="row1" align="left" valign="middle"><span class="genmed"> {L_XS_FILEEDIT_UPLOAD_FILE} <input type="file" name="upload" class="post" /> </span></td> </tr> <tr> <td class="catBottom" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" name="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: config.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * confir.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_CONFIG_MAINTITLE}</h1> <p>{L_XS_CONFIG_SUBTITLE}</p> <!-- BEGIN left_refresh --> <script language="JavaScript"> <!-- top.nav.location = top.nav.location; // '{left_refresh.ACTION}'; //--> </script> <!-- END left_refresh --> <!-- BEGIN switch_updated --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_XS_CONFIG_UPDATED}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_CONFIG_UPDATED_EXPLAIN}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END switch_updated --> <!-- BEGIN switch_xs_warning --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_XS_CONFIG_WARNING}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_CONFIG_WARNING_EXPLAIN}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END switch_xs_warning --> <!-- BEGIN noftp --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_Error}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_FTP_COMMENT3}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END noftp --> <!-- BEGIN ftperror --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_Error}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{ftperror.ERROR}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END ftperror --> <form name="config" action="{FORM_ACTION}" method="post" style="display: inline;"><table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_CONFIG_TITLE}</th> </tr> <tr> <td class="row1">{L_XS_CONFIG_NAVBAR}<br /><span class="gensmall">{L_XS_CONFIG_NAVBAR_EXPLAIN}</span></td> <td class="row2" nowrap="nowrap"> <!-- BEGIN shownav --> <label><input type="checkbox" name="shownav_{shownav.NUM}" {shownav.CHECKED} /> {shownav.LABEL}</label><br /> <!-- END shownav --> </td> </tr> <tr> <td class="row1">{L_XS_CONFIG_DEF_TEMPLATE}<br /><span class="gensmall">{L_XS_CONFIG_DEF_TEMPLATE_EXPLAIN}</span></td> <td class="row2"><input class="post" type="text" name="xs_def_template" value="{XS_DEF_TEMPLATE}" /></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_CHECK_SWITCHES}<br /><span class="gensmall">{L_XS_CONFIG_CHECK_SWITCHES_EXPLAIN}</span></td> <td class="row2"> <label><input type="radio" name="xs_check_switches" value="0" {XS_CHECK_SWITCHES_0} /> {L_XS_CONFIG_CHECK_SWITCHES_0}</label><br /> <br /> <label><input type="radio" name="xs_check_switches" value="2" {XS_CHECK_SWITCHES_2} /> {L_XS_CONFIG_CHECK_SWITCHES_2}</label><br /> <br /> <label><input type="radio" name="xs_check_switches" value="1" {XS_CHECK_SWITCHES_1} /> {L_XS_CONFIG_CHECK_SWITCHES_1}</label> </td> </tr> <tr> <td class="row1">{L_XS_CONFIG_SHOW_ERRORS}<br /><span class="gensmall">{L_XS_CONFIG_SHOW_ERROR_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_warn_includes" value="1" {XS_WARN_INCLUDES_1} /> {L_YES}</label> <label><input type="radio" name="xs_warn_includes" value="0" {XS_WARN_INCLUDES_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_TPL_COMMENTS}<br /><span class="gensmall">{L_XS_CONFIG_TPL_COMMENTS_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_add_comments" value="1" {XS_ADD_COMMENTS_1} /> {L_YES}</label> <label><input type="radio" name="xs_add_comments" value="0" {XS_ADD_COMMENTS_0} /> {L_NO}</label></td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_CONFIG_CACHE}</th> </tr> <tr> <td class="row1">{L_XS_CONFIG_USE_CACHE}<br /><span class="gensmall">{L_XS_CONFIG_USE_CACHE_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_use_cache" value="1" {XS_USE_CACHE_1} /> {L_YES}</label> <label><input type="radio" name="xs_use_cache" value="0" {XS_USE_CACHE_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_AUTO_COMPILE}<br /><span class="gensmall">{L_XS_CONFIG_AUTO_COMPILE_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_auto_compile" value="1" {XS_AUTO_COMPILE_1} /> {L_YES}</label> <label><input type="radio" name="xs_auto_compile" value="0" {XS_AUTO_COMPILE_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_AUTO_RECOMPILE}<br /><span class="gensmall">{L_XS_CONFIG_AUTO_RECOMPILE_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_auto_recompile" value="1" {XS_AUTO_RECOMPILE_1} /> {L_YES}</label> <label><input type="radio" name="xs_auto_recompile" value="0" {XS_AUTO_RECOMPILE_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_PHP}<br /><span class="gensmall">{L_XS_CONFIG_PHP_EXPLAIN}</span></td> <td class="row2"><input class="post" type="text" name="xs_php" value="{XS_PHP}" /></td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_FTP_CONFIG}</th> </tr> <tr> <td class="explain" colspan="2" align="left">{L_XS_FTP_EXPLAIN}</td> </tr> <tr> <td class="row1">{L_XS_FTP_HOST}{HOST_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_host" value="{XS_FTP_HOST}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_LOGIN}{LOGIN_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_login" value="{XS_FTP_LOGIN}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_PATH}{PATH_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_path" value="{XS_FTP_PATH}" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> <br clear="all" /> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_DEBUG_HEADER}</th> </tr> <tr> <td colspan="2" class="explain" align="left">{L_XS_DEBUG_EXPLAIN}</td> </tr> <tr> <th class="thHead" colspan="2">{XS_DEBUG_HDR1}</th> </tr> <tr> <td class="row1" align="left"><span class="gen">{L_XS_DEBUG_TPL_NAME}</span></td> <td class="row2" align="left"><span class="gen">{XS_DEBUG_FILENAME1}</span></td> </tr> <tr> <td class="row1" align="left"><span class="gen">{L_XS_DEBUG_CACHE_FILENAME}</span></td> <td class="row2" align="left"><span class="gen">{XS_DEBUG_FILENAME2}</span></td> </tr> <tr> <td class="row1" align="left"><span class="gen">{L_XS_DEBUG_DATA}</span></td> <td class="row2" align="left"><span class="gensmall">{XS_DEBUG_DATA}</span></td> </tr> </table> --- NEW FILE: update2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * update2.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_UPDATES}</h1> <p>{L_XS_UPDATES_COMMENT2}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" align="center" nowrap="nowrap">{L_XS_UPDATE_NAME}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_TYPE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_CURRENT_VERSION}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_LATEST_VERSION}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_DOWNLOADINFO}</th> <th class="thCornerR" align="center" nowrap="nowrap">{L_XS_UPDATE_FILEINFO}</th> </tr> <!-- BEGIN row --> <tr> <td class="{row.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen">{row.ITEM}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.TYPE}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.VERSION}</span></td> <!-- BEGIN update --> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.update.VERSION}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gensmall"> <!-- BEGIN updated -->[<a href="{row.update.UPDATE}" target="_blank">{L_XS_DOWNLOAD_LC}</a>]<!-- END updated --> <!-- BEGIN import -->[<a href="{row.update.U_IMPORT}">{L_XS_IMPORT_LC}</a>]<!-- END import --> </span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gensmall"><!-- BEGIN info -->[<a href="{row.update.INFO}" target="_blank">{L_XS_INFO_LC}</a>]<!-- END info --><!-- BEGIN noinfo --> <!-- END noinfo --></span></td> <!-- END update --> <!-- BEGIN noupdate --> <td colspan="2" class="{row.ROW_CLASS}" align="left" nowrap="nowrap"><span class="genmed">{row.noupdate.MESSAGE}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gensmall"><!-- BEGIN info -->[<a href="{row.noupdate.INFO}" target="_blank">{L_XS_INFO_LC}</a>]<!-- END info --><!-- BEGIN noinfo --> <!-- END noinfo --></span></td> <!-- END noupdate --> <!-- BEGIN error --> <td colspan="2" class="{row.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen">{row.error.ERROR}</span></td> <td class="{row.ROW_CLASS}"> </td> <!-- END error --> </tr> <!-- END row --> <tr> <td class="catBottom" colspan="6" align="center">{COUNT_TOTAL}, {COUNT_ERROR}, {COUNT_UPDATE}</td> </tr> </table> <br /> --- NEW FILE: cache.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * cache.tpl * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_MANAGE_CACHE}</h1> <p> {L_XS_MANAGE_CACHE_EXPLAIN2} {RESULT} </p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_MANAGE_CACHE}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLES}</span></td> <td class="cat" align="center"><span class="gen"><span class="gen"><a href="{U_CLEAR_ALL}">{L_XS_CLEAR_ALL_LC}</a></span></td> <td class="catRight" align="center"><span class="gen"><span class="gen"><a href="{U_COMPILE_ALL}" onclick="return confirm('{L_XS_CACHE_CONFIRM}'); ">{L_XS_COMPILE_ALL_LC}</a></span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.STYLES}</span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_CLEAR}">{L_XS_CLEAR_CACHE_LC}</a></span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_COMPILE}">{L_XS_COMPILE_CACHE_LC}</a></span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: edit_data.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * edit_data.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:53 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_EDIT_STYLES_DATA}</h1> <p>{L_XS_EDITDATA_EXPLAIN}</p> <form action="{U_ACTION}" method="post">{S_HIDDEN_FIELDS}<input type="hidden" name="edit" value="{ID}" /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="3">{L_XS_EDIT_STYLES_DATA}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_EDITDATA_VAR}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_EDITDATA_VALUE}</span></td> <td class="catRight" align="center"><span class="gen">{L_XS_EDITDATA_COMMENT}</span></td> </tr> <!-- BEGIN row --> <tr> <td class="{row.ROW_CLASS}" align="left" width="40%"><span class="gen">{row.TEXT}:</span><!-- IF row.EXPLAIN --><span class="gensmall"><br />{row.EXPLAIN}</span><!-- ENDIF --></td> <td class="{row.ROW_CLASS}" align="left"><input type="text" class="post" name="edit_{row.VAR}" maxlength="{row.LEN}" size="{row.SIZE}" value="{row.VALUE}" /></td> <!-- BEGIN name --> <td class="{row.ROW_CLASS}" align="left"><input type="text" class="post" name="name_{row.VAR}" maxlength="50" value="{row.name.DATA}" size="50" title="{row.name.DATA}" /></td> <!-- END name --> <!-- BEGIN noname --> <td class="{row.ROW_CLASS}"><span class="gen"> </span></td> <!-- END noname --> </tr> <!-- END row --> <tr> <td class="catBottom" colspan="3" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" name="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: downloads.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * downloads.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_DOWNLOAD_STYLES}</h1> <p>{L_XS_DOWNLOAD_EXPLAIN2}</p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th class="thHead" colspan="2">{L_XS_DOWNLOAD_LOCATIONS}</th> </tr> <!-- BEGIN url --> <tr> <td class="{url.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen">{url.NUM1}. {url.TITLE} [<a href="{url.U_DOWNLOAD}">{L_XS_CLICK_HERE_LC}</a>]</span></td> <td class="{url.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gensmall">{url.URL} [<a href="{url.U_EDIT}">{L_XS_EDIT_LC}</a>]</span></td> </tr> <!-- END url --> <!-- BEGIN edit --> <tr> <th colspan="2" class="thHead">{L_XS_EDIT_LINK}</th> </tr> <form action="{U_POST}" method="post">{S_HIDDEN_FIELDS}<input type="hidden" name="edit" value="{edit.ID}" /> <tr> <td class="row1" align="left">{L_XS_LINK_TITLE}:</td><td class="row2"><input type="text" class="post" name="edit_title" value="{edit.TITLE}" /></td> </tr> <tr> <td class="row1" align="left">{L_XS_LINK_URL}:</td><td class="row2"><input type="text" class="post" name="edit_url" value="{edit.URL}" /></td> </tr> <tr> <td class="row1" align="left">{L_XS_DELETE}:</td><td class="row2"><input type="checkbox" name="edit_delete" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </form> <!-- END edit --> <tr> <th colspan="2" class="thHead">{L_XS_ADD_LINK}</th> </tr> <form action="{U_POST}" method="post">{S_HIDDEN_FIELDS} <tr> <td class="row1" align="left">{L_XS_LINK_TITLE}:</td><td class="row2"><input type="text" class="post" name="add_title" /></td> </tr> <tr> <td class="row1" align="left">{L_XS_LINK_URL}:</td><td class="row2"><input type="text" class="post" name="add_url" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </form> </table> <br /> --- NEW FILE: index.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * index.tpl * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 80 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_TITLE}</h1> <p>{L_XS_MAIN_COMMENT1}</p> <table cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_MAIN_TITLE}</th> </tr> <tr> <td class="row1">{L_XS_CONFIGURATION}:<br /><span class="gensmall">{L_XS_CONFIGURATION_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_CONFIG}">{L_XS_SET_CONFIGURATION_LC}</a>]</td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_INSTALL_UNINSTALL_STYLES}</th> </tr> <tr> <td class="row1">{L_XS_INSTALL_STYLES}:<br /><span class="gensmall">{L_XS_INSTALL_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_INSTALL_STYLES}">{L_XS_INSTALL_STYLES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_UNINSTALL_STYLES}:<br /><span class="gensmall">{L_XS_UNINSTALL_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_UNINSTALL_STYLES}">{L_XS_UNINSTALL_STYLES_LC}</a>]</td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_MANAGE_STYLES}</th> </tr> <tr> <td class="row1">{L_XS_DEFAULT_STYLE}:<br /><span class="gensmall">{L_XS_DEFAULT_STYLE_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_DEFAULT_STYLE}">{L_XS_SET_DEFAULT_STYLE_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_MANAGE_CACHE}:<br /><span class="gensmall">{L_XS_MANAGE_CACHE_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_MANAGE_CACHE}">{L_XS_MANAGE_CACHE_LC}</a>]</td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_IMPORT_EXPORT_STYLES}</th> </tr> <tr> <td class="explain" colspan="2">{L_XS_MAIN_COMMENT2}</td> </tr> <tr> <td class="row1">{L_XS_IMPORT_STYLES}:<br /><span class="gensmall">{L_XS_IMPORT_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_IMPORT_STYLES}">{L_XS_IMPORT_STYLES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_EXPORT_STYLES}:<br /><span class="gensmall">{L_XS_EXPORT_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EXPORT_STYLES}">{L_XS_EXPORT_STYLES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_CLONE_STYLES}:<br /><span class="gensmall">{L_XS_CLONE_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_CLONE_STYLE}">{L_XS_CLONE_STYLES_LC}</a>]</td> </tr> <!-- <tr> <td class="row1">{L_XS_DOWNLOAD_STYLES}:<br /><span class="gensmall">{L_XS_DOWNLOAD_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_DOWNLOAD_STYLES}">{L_XS_DOWNLOAD_STYLES_LC}</a>]</td> </tr> --> <tr> <th class="thHead" colspan="2">{L_XS_EDIT_TEMPLATES}</th> </tr> <tr> <td class="row1">{L_XS_EDIT_TEMPLATES}:<br /><span class="gensmall">{L_XS_EDIT_TEMPLATES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EDIT_STYLES}">{L_XS_EDIT_TEMPLATES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_EDIT_STYLES_DATA}:<br /><span class="gensmall">{L_XS_EDIT_STYLES_DATA_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EDIT_STYLES_DATA}">{L_XS_EDIT_STYLES_DATA_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_EXPORT_STYLES_DATA}:<br /><span class="gensmall">{L_XS_EXPORT_STYLES_DATA_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EXPORT_DATA}">{L_XS_EXPORT_STYLES_DATA_LC}</a>]</td> </tr> <!-- IF S_SHOW_UPDATES --> <tr> <th class="thHead" colspan="2">{L_XS_OTHER_FUNCTIONS}</th> </tr> <tr> <td class="row1">{L_XS_CHECK_FOR_UPDATES}:<br /><span class="gensmall">{L_XS_CHECK_FOR_UPDATES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_UPDATES}">{L_XS_CHECK_FOR_UPDATES_LC}</a>]</td> </tr> <!-- ENDIF --> </table> <br clear="all" /> --- NEW FILE: message.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * message.tpl * ... [truncated message content] |
Update of /cvsroot/mxbb/mx_xs/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6166/admin Modified Files: xs_cache.php xs_chmod.php xs_clone.php xs_config.php xs_download.php xs_edit.php xs_edit_data.php xs_export.php xs_export_data.php xs_frame_top.php xs_frameset.php xs_import.php xs_include.php xs_include_import2.php xs_index.php xs_install.php xs_style_config.php xs_styles.php xs_uninstall.php xs_update.php Log Message: upgrade, some features require swiches to work with phpBB3 backend. Index: xs_include.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_include.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_include.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_include.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 15,20 **** } - - if(defined('XS_INCLUDED')) { --- 15,18 ---- *************** *** 188,192 **** define('XS_UPDATE_MOD', 2); define('XS_UPDATE_PHPBB', 3); ! define('XS_TPL_PATH', './../' . $tplEx . '/'); define('XS_BACKUP_PREFIX', 'backup.'); define('XS_BACKUP_EXT', '.backup'); --- 186,190 ---- define('XS_UPDATE_MOD', 2); define('XS_UPDATE_PHPBB', 3); ! define('XS_TPL_PATH', '_core/'); define('XS_BACKUP_PREFIX', 'backup.'); define('XS_BACKUP_EXT', '.backup'); *************** *** 214,218 **** $template->preparse = 'xs_header'; $template->postparse = 'xs_footer'; ! $template->assign_block_vars('nav_left',array('ITEM' => '<a href="' . append_sid('xs_index.'.$phpEx) . '">' . $lang['xs_menu'] . '</a>')); } --- 212,216 ---- $template->preparse = 'xs_header'; $template->postparse = 'xs_footer'; ! $template->assign_block_vars('nav_left',array('ITEM' => '<a href="' . mx_append_sid('xs_index.'.$phpEx) . '">' . $lang['xs_menu'] . '</a>')); } Index: xs_edit.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_edit.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_edit.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_edit.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 52,56 **** ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_edit.'.$phpEx.$filter_str) . '">' . $lang['xs_edit_templates'] . '</a>')); $editable = array('.htm', '.html', '.tpl', '.css', '.txt', '.cfg', '.xml', '.php', '.htaccess'); --- 52,56 ---- ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_edit.'.$phpEx.$filter_str) . '">' . $lang['xs_edit_templates'] . '</a>')); $editable = array('.htm', '.html', '.tpl', '.css', '.txt', '.cfg', '.xml', '.php', '.htaccess'); *************** *** 75,81 **** $current_dir_root = $current_dir ? $current_dir . '/' : ''; ! $return_dir = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir)), $lang['xs_edittpl_back_dir']); $return_url = $return_dir; ! $return_url_root = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), $lang['xs_edittpl_back_dir']); --- 75,81 ---- $current_dir_root = $current_dir ? $current_dir . '/' : ''; ! $return_dir = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir)), $lang['xs_edittpl_back_dir']); $return_url = $return_dir; ! $return_url_root = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), $lang['xs_edittpl_back_dir']); *************** *** 83,87 **** 'FILTER_EXT' => htmlspecialchars($filter_data['ext']), 'FILTER_DATA' => htmlspecialchars($filter_data['data']), ! 'FILTER_URL' => append_sid('xs_edit.'.$phpEx), 'FILTER_DIR' => htmlspecialchars($current_dir), 'S_FILTER' => '<input type="hidden" name="filter" value="' . htmlspecialchars($filter) . '" />' --- 83,87 ---- 'FILTER_EXT' => htmlspecialchars($filter_data['ext']), 'FILTER_DATA' => htmlspecialchars($filter_data['data']), ! 'FILTER_URL' => mx_append_sid('xs_edit.'.$phpEx), 'FILTER_DIR' => htmlspecialchars($current_dir), 'S_FILTER' => '<input type="hidden" name="filter" value="' . htmlspecialchars($filter) . '" />' *************** *** 106,110 **** $HTTP_POST_VARS['content'] = addslashes(implode('', @file($backup_name))); unset($HTTP_GET_VARS['edit']); ! $return_file = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; } --- 106,110 ---- $HTTP_POST_VARS['content'] = addslashes(implode('', @file($backup_name))); unset($HTTP_GET_VARS['edit']); ! $return_file = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; } *************** *** 135,147 **** 'filter' => $filter, ); ! $return_file = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; // get ftp configuration $write_local = false; ! if(!get_ftp_config(append_sid('xs_edit.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(append_sid('xs_edit.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { --- 135,147 ---- 'filter' => $filter, ); ! $return_file = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; // get ftp configuration $write_local = false; ! if(!get_ftp_config(mx_append_sid('xs_edit.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(mx_append_sid('xs_edit.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { *************** *** 228,239 **** xs_exit(); } ! $return_file = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; $template->assign_vars(array( ! 'U_ACTION' => append_sid('xs_edit.'.$phpEx), ! 'U_BROWSE' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir)), ! 'U_EDIT' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), ! 'U_BACKUP' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dobackup=1&dir='.urlencode($current_dir).'&edit='.urlencode($file)), ! 'U_DOWNLOAD' => append_sid('xs_edit.'.$phpEx.$filter_str.'&download=1&dir='.urlencode($current_dir).'&edit='.urlencode($file)), 'CURRENT_DIR' => htmlspecialchars($current_dir_full), 'DIR' => htmlspecialchars($current_dir), --- 228,239 ---- xs_exit(); } ! $return_file = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; $template->assign_vars(array( ! 'U_ACTION' => mx_append_sid('xs_edit.'.$phpEx), ! 'U_BROWSE' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir)), ! 'U_EDIT' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), ! 'U_BACKUP' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dobackup=1&dir='.urlencode($current_dir).'&edit='.urlencode($file)), ! 'U_DOWNLOAD' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&download=1&dir='.urlencode($current_dir).'&edit='.urlencode($file)), 'CURRENT_DIR' => htmlspecialchars($current_dir_full), 'DIR' => htmlspecialchars($current_dir), *************** *** 245,249 **** if($current_dir_full) { ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.$current_dir) . '">' . htmlspecialchars($current_dir_full) . '</a>')); } --- 245,249 ---- if($current_dir_full) { ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.$current_dir) . '">' . htmlspecialchars($current_dir_full) . '</a>')); } *************** *** 252,256 **** $template->assign_block_vars('tree', array( 'ITEM' => 'phpBB', ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), 'SEPARATOR' => '', )); --- 252,256 ---- $template->assign_block_vars('tree', array( 'ITEM' => 'phpBB', ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), 'SEPARATOR' => '', )); *************** *** 266,270 **** $template->assign_block_vars('tree', array( 'ITEM' => htmlspecialchars($dirs[$i]), ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), 'SEPARATOR' => '/', )); --- 266,270 ---- $template->assign_block_vars('tree', array( 'ITEM' => htmlspecialchars($dirs[$i]), ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), 'SEPARATOR' => '/', )); *************** *** 324,331 **** $template->assign_block_vars('backup', array( 'TIME' => create_date($board_config['default_dateformat'], $backups[$i], $board_config['board_timezone']), ! 'U_RESTORE' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&restore='.$backups[$i]), ! 'U_DELETE' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&delbackup='.$backups[$i]), ! 'U_DOWNLOAD' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&downloadbackup='.$backups[$i]), ! 'U_VIEW' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&viewbackup='.$backups[$i]), ) ); --- 324,331 ---- $template->assign_block_vars('backup', array( 'TIME' => create_date($board_config['default_dateformat'], $backups[$i], $board_config['board_timezone']), ! 'U_RESTORE' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&restore='.$backups[$i]), ! 'U_DELETE' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&delbackup='.$backups[$i]), ! 'U_DOWNLOAD' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&downloadbackup='.$backups[$i]), ! 'U_VIEW' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&viewbackup='.$backups[$i]), ) ); *************** *** 347,351 **** $template->assign_block_vars('tree', array( 'ITEM' => 'phpBB', ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), 'SEPARATOR' => '', )); --- 347,351 ---- $template->assign_block_vars('tree', array( 'ITEM' => 'phpBB', ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), 'SEPARATOR' => '', )); *************** *** 361,365 **** $template->assign_block_vars('tree', array( 'ITEM' => htmlspecialchars($dirs[$i]), ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), 'SEPARATOR' => '/', )); --- 361,365 ---- $template->assign_block_vars('tree', array( 'ITEM' => htmlspecialchars($dirs[$i]), ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), 'SEPARATOR' => '/', )); *************** *** 436,440 **** 'NAME' => '..', 'FULLNAME' => htmlspecialchars($back_dir ? $back_dir . '/' : ''), ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($back_dir)), ) ); --- 436,440 ---- 'NAME' => '..', 'FULLNAME' => htmlspecialchars($back_dir ? $back_dir . '/' : ''), ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($back_dir)), ) ); *************** *** 450,454 **** 'NAME' => htmlspecialchars($dir), 'FULLNAME' => htmlspecialchars($current_dir_root . $dir), ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), ) ); --- 450,454 ---- 'NAME' => htmlspecialchars($dir), 'FULLNAME' => htmlspecialchars($current_dir_root . $dir), ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), ) ); *************** *** 481,485 **** 'SIZE' => @filesize($localfile), 'TIME' => $filetime, ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)) ) ); --- 481,485 ---- 'SIZE' => @filesize($localfile), 'TIME' => $filetime, ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)) ) ); Index: xs_include_import2.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_include_import2.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_include_import2.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_include_import2.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 36,40 **** } ! $lang['xs_import_back'] = str_replace('{URL}', append_sid('xs_import.'.$phpEx), $lang['xs_import_back']); // list of text types. only last 4 characters of filename --- 36,40 ---- } ! $lang['xs_import_back'] = str_replace('{URL}', mx_append_sid('xs_import.'.$phpEx), $lang['xs_import_back']); // list of text types. only last 4 characters of filename *************** *** 191,195 **** { // show as text ! $str = '<div align="left">' . $lang['xs_import_list_contents'] . $f . ' [<a href="' . append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($f) . '&get_content=1') . '">' . $lang['xs_import_download_lc'] . '</a>]<br /><br />'; $str .= '<textarea cols="120" rows="30" style="width: 100%">' . htmlspecialchars($contents) . '</textarea>'; $str .= '</div>'; --- 191,195 ---- { // show as text ! $str = '<div align="left">' . $lang['xs_import_list_contents'] . $f . ' [<a href="' . mx_append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($f) . '&get_content=1') . '">' . $lang['xs_import_download_lc'] . '</a>]<br /><br />'; $str .= '<textarea cols="120" rows="30" style="width: 100%">' . htmlspecialchars($contents) . '</textarea>'; $str .= '</div>'; *************** *** 267,273 **** if(xs_in_array($ext, $text_types) || xs_in_array($ext, $img_types)) { ! $str .= '[<a href="' . append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($var)) . '">' . $lang['xs_import_view_lc'] . '</a>] '; } ! $str .= '[<a href="' . append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($var)) . '&get_content=1">' . $lang['xs_import_download_lc'] . '</a>] '; } $str .= str_replace('{NUM}', $value['size'], $lang['xs_import_file_size']) . '</td></tr>'; --- 267,273 ---- if(xs_in_array($ext, $text_types) || xs_in_array($ext, $img_types)) { ! $str .= '[<a href="' . mx_append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($var)) . '">' . $lang['xs_import_view_lc'] . '</a>] '; } ! $str .= '[<a href="' . mx_append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($var)) . '&get_content=1">' . $lang['xs_import_download_lc'] . '</a>] '; } $str .= str_replace('{NUM}', $value['size'], $lang['xs_import_file_size']) . '</td></tr>'; Index: xs_export_data.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_export_data.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_export_data.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_export_data.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 11,15 **** ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 11,15 ---- ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 21,25 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 21,25 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 27,33 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_export_data.'.$phpEx) . '">' . $lang['xs_edit_styles_data'] . '</a>')); ! $lang['xs_export_data_back'] = str_replace('{URL}', append_sid('xs_export_data.'.$phpEx), $lang['xs_export_data_back']); // --- 27,33 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_export_data.'.$phpEx) . '">' . $lang['xs_edit_styles_data'] . '</a>')); ! $lang['xs_export_data_back'] = str_replace('{URL}', mx_append_sid('xs_export_data.'.$phpEx), $lang['xs_export_data_back']); // *************** *** 61,65 **** 'TOTAL' => count($theme_rowset), 'EXPORT' => htmlspecialchars($export), ! 'U_ACTION' => append_sid("xs_export_data.{$phpEx}") ) ); --- 61,65 ---- 'TOTAL' => count($theme_rowset), 'EXPORT' => htmlspecialchars($export), ! 'U_ACTION' => mx_append_sid("xs_export_data.{$phpEx}") ) ); *************** *** 102,110 **** } $write_local = false; ! if(!get_ftp_config(append_sid('xs_export_data.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(append_sid('xs_export_data.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { --- 102,110 ---- } $write_local = false; ! if(!get_ftp_config(mx_append_sid('xs_export_data.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(mx_append_sid('xs_export_data.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { Index: xs_index.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_index.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_index.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 28,49 **** if(isset($HTTP_GET_VARS['showwarning'])) { ! $msg = str_replace('{URL}', append_sid('xs_index.'.$phpEx), $lang['xs_main_comment3']); xs_message($lang['Information'], $msg); } $template->assign_vars(array( ! 'U_CONFIG' => append_sid('xs_config.'.$phpEx), ! 'U_DEFAULT_STYLE' => append_sid('xs_styles.'.$phpEx), ! 'U_MANAGE_CACHE' => append_sid('xs_cache.'.$phpEx), ! 'U_IMPORT_STYLES' => append_sid('xs_import.'.$phpEx), ! 'U_EXPORT_STYLES' => append_sid('xs_export.'.$phpEx), ! 'U_CLONE_STYLE' => append_sid('xs_clone.'.$phpEx), ! 'U_DOWNLOAD_STYLES' => append_sid('xs_download.'.$phpEx), ! 'U_INSTALL_STYLES' => append_sid('xs_install.'.$phpEx), ! 'U_UNINSTALL_STYLES' => append_sid('xs_uninstall.'.$phpEx), ! 'U_EDIT_STYLES' => append_sid('xs_edit.'.$phpEx), ! 'U_EDIT_STYLES_DATA' => append_sid('xs_edit_data.'.$phpEx), ! 'U_EXPORT_DATA' => append_sid('xs_export_data.'.$phpEx), ! 'U_UPDATES' => append_sid('xs_update.'.$phpEx), 'S_SHOW_UPDATES' => defined('XS_ENABLE_UPDATES') ? 1 : 0, )); --- 28,49 ---- if(isset($HTTP_GET_VARS['showwarning'])) { ! $msg = str_replace('{URL}', mx_append_sid('xs_index.'.$phpEx), $lang['xs_main_comment3']); xs_message($lang['Information'], $msg); } $template->assign_vars(array( ! 'U_CONFIG' => mx_append_sid('xs_config.'.$phpEx), ! 'U_DEFAULT_STYLE' => mx_append_sid('xs_styles.'.$phpEx), ! 'U_MANAGE_CACHE' => mx_append_sid('xs_cache.'.$phpEx), ! 'U_IMPORT_STYLES' => mx_append_sid('xs_import.'.$phpEx), ! 'U_EXPORT_STYLES' => mx_append_sid('xs_export.'.$phpEx), ! 'U_CLONE_STYLE' => mx_append_sid('xs_clone.'.$phpEx), ! 'U_DOWNLOAD_STYLES' => mx_append_sid('xs_download.'.$phpEx), ! 'U_INSTALL_STYLES' => mx_append_sid('xs_install.'.$phpEx), ! 'U_UNINSTALL_STYLES' => mx_append_sid('xs_uninstall.'.$phpEx), ! 'U_EDIT_STYLES' => mx_append_sid('xs_edit.'.$phpEx), ! 'U_EDIT_STYLES_DATA' => mx_append_sid('xs_edit_data.'.$phpEx), ! 'U_EXPORT_DATA' => mx_append_sid('xs_export_data.'.$phpEx), ! 'U_UPDATES' => mx_append_sid('xs_update.'.$phpEx), 'S_SHOW_UPDATES' => defined('XS_ENABLE_UPDATES') ? 1 : 0, )); Index: xs_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_install.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_install.php 13 Sep 2007 00:24:20 -0000 1.1 --- xs_install.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 11,15 **** ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 11,15 ---- ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 21,25 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 21,25 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 27,34 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_install.'.$phpEx) . '">' . $lang['xs_install_styles'] . '</a>')); ! $lang['xs_install_back'] = str_replace('{URL}', append_sid('xs_install.'.$phpEx), $lang['xs_install_back']); ! $lang['xs_goto_default'] = str_replace('{URL}', append_sid('xs_styles.'.$phpEx), $lang['xs_goto_default']); // remove timeout. useful for forum with 100+ styles --- 27,34 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_install.'.$phpEx) . '">' . $lang['xs_install_styles'] . '</a>')); ! $lang['xs_install_back'] = str_replace('{URL}', mx_append_sid('xs_install.'.$phpEx), $lang['xs_install_back']); ! $lang['xs_goto_default'] = str_replace('{URL}', mx_append_sid('xs_styles.'.$phpEx), $lang['xs_goto_default']); // remove timeout. useful for forum with 100+ styles *************** *** 44,48 **** { $template->assign_block_vars('left_refresh', array( ! 'ACTION' => append_sid('index.' . $phpEx . '?pane=left') )); } --- 44,48 ---- { $template->assign_block_vars('left_refresh', array( ! 'ACTION' => mx_append_sid('index.' . $phpEx . '?pane=left') )); } *************** *** 81,85 **** { $template->assign_block_vars('left_refresh', array( ! 'ACTION' => append_sid('index.' . $phpEx . '?pane=left') )); } --- 81,85 ---- { $template->assign_block_vars('left_refresh', array( ! 'ACTION' => mx_append_sid('index.' . $phpEx . '?pane=left') )); } *************** *** 148,152 **** 'STYLE' => htmlspecialchars($value['template_name']), 'THEME' => htmlspecialchars($value['style_name']), ! 'U_INSTALL' => append_sid('xs_install.'.$phpEx.'?style='.urlencode($value['template_name']).'&num='.$value['num']), 'CB_NAME' => 'install_'.$j, 'NUM' => $value['num'], --- 148,152 ---- 'STYLE' => htmlspecialchars($value['template_name']), 'THEME' => htmlspecialchars($value['style_name']), ! 'U_INSTALL' => mx_append_sid('xs_install.'.$phpEx.'?style='.urlencode($value['template_name']).'&num='.$value['num']), 'CB_NAME' => 'install_'.$j, 'NUM' => $value['num'], *************** *** 157,161 **** $template->assign_vars(array( ! 'U_INSTALL' => append_sid('xs_install.'.$phpEx), 'TOTAL' => count($styles) )); --- 157,161 ---- $template->assign_vars(array( ! 'U_INSTALL' => mx_append_sid('xs_install.'.$phpEx), 'TOTAL' => count($styles) )); Index: xs_download.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_download.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_download.php 13 Sep 2007 00:24:18 -0000 1.1 --- xs_download.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 11,15 **** ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 11,15 ---- ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 21,25 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 21,25 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 27,32 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_import.'.$phpEx) . '">' . $lang['xs_import_styles'] . '</a>')); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_download.'.$phpEx) . '">' . $lang['xs_download_styles'] . '</a>')); // submit url --- 27,32 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_import.'.$phpEx) . '">' . $lang['xs_import_styles'] . '</a>')); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_download.'.$phpEx) . '">' . $lang['xs_download_styles'] . '</a>')); // submit url *************** *** 44,48 **** ); $str = '<form action="' . $board_config[$var] . '" method="post" style="display: inline;" target="main"><input type="hidden" name="data" value="' . htmlspecialchars(serialize($import_data)) . '" /><input type="submit" value="' . $lang['xs_continue'] . '" class="post" /></form>'; ! $message = $lang['xs_import_download_warning'] . '<br /><br />' . $str . '<br /><br />' . str_replace('{URL}', append_sid('xs_download.'.$phpEx), $lang['xs_download_back']); xs_message($lang['Information'], $message); } --- 44,48 ---- ); $str = '<form action="' . $board_config[$var] . '" method="post" style="display: inline;" target="main"><input type="hidden" name="data" value="' . htmlspecialchars(serialize($import_data)) . '" /><input type="submit" value="' . $lang['xs_continue'] . '" class="post" /></form>'; ! $message = $lang['xs_import_download_warning'] . '<br /><br />' . $str . '<br /><br />' . str_replace('{URL}', mx_append_sid('xs_download.'.$phpEx), $lang['xs_download_back']); xs_message($lang['Information'], $message); } *************** *** 140,150 **** 'URL' => htmlspecialchars($board_config['xs_downloads_'.$i]), 'TITLE' => htmlspecialchars($board_config['xs_downloads_title_'.$i]), ! 'U_DOWNLOAD' => append_sid('xs_download.'.$phpEx.'?url='.$i), ! 'U_EDIT' => append_sid('xs_download.'.$phpEx.'?edit='.$i), )); } $template->assign_vars(array( ! 'U_POST' => append_sid('xs_download.'.$phpEx) )); --- 140,150 ---- 'URL' => htmlspecialchars($board_config['xs_downloads_'.$i]), 'TITLE' => htmlspecialchars($board_config['xs_downloads_title_'.$i]), ! 'U_DOWNLOAD' => mx_append_sid('xs_download.'.$phpEx.'?url='.$i), ! 'U_EDIT' => mx_append_sid('xs_download.'.$phpEx.'?edit='.$i), )); } $template->assign_vars(array( ! 'U_POST' => mx_append_sid('xs_download.'.$phpEx) )); Index: xs_chmod.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_chmod.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_chmod.php 13 Sep 2007 00:24:18 -0000 1.1 --- xs_chmod.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 26,33 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_config.'.$phpEx) . '">' . $lang['xs_configuration'] . '</a>')); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_chmod.'.$phpEx) . '">' . $lang['xs_chmod'] . '</a>')); ! $lang['xs_chmod_return'] = str_replace('{URL}', append_sid('xs_config.'.$phpEx), $lang['xs_chmod_return']); $lang['xs_chmod_message1'] .= $lang['xs_chmod_return']; $lang['xs_chmod_error1'] .= $lang['xs_chmod_return']; --- 26,33 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_config.'.$phpEx) . '">' . $lang['xs_configuration'] . '</a>')); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_chmod.'.$phpEx) . '">' . $lang['xs_chmod'] . '</a>')); ! $lang['xs_chmod_return'] = str_replace('{URL}', mx_append_sid('xs_config.'.$phpEx), $lang['xs_chmod_return']); $lang['xs_chmod_message1'] .= $lang['xs_chmod_return']; $lang['xs_chmod_error1'] .= $lang['xs_chmod_return']; *************** *** 38,46 **** } ! if(!get_ftp_config(append_sid('xs_chmod.'.$phpEx), array(), false)) { exit; } ! xs_ftp_connect(append_sid('xs_chmod.'.$phpEx), array(), true); if($ftp === XS_FTP_LOCAL) --- 38,46 ---- } ! if(!get_ftp_config(mx_append_sid('xs_chmod.'.$phpEx), array(), false)) { exit; } ! xs_ftp_connect(mx_append_sid('xs_chmod.'.$phpEx), array(), true); if($ftp === XS_FTP_LOCAL) Index: xs_style_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_style_config.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_style_config.php 13 Sep 2007 00:24:20 -0000 1.1 --- xs_style_config.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,27 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } ! define('IN_XS', true); include_once('xs_include.' . $phpEx); --- 20,27 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } ! @define('IN_XS', true); include_once('xs_include.' . $phpEx); *************** *** 46,50 **** } $template->assign_block_vars('left_refresh', array( ! 'ACTION' => append_sid('index.' . $phpEx . '?pane=left') )); xs_error($lang['xs_invalid_style_name']); --- 46,50 ---- } $template->assign_block_vars('left_refresh', array( ! 'ACTION' => mx_append_sid('index.' . $phpEx . '?pane=left') )); xs_error($lang['xs_invalid_style_name']); *************** *** 168,172 **** )); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_style_config.'.$phpEx.'?tpl='.urlencode($tpl)) . '">' . $lang['xs_style_configuration'] . ': ' . $tpl . '</a>')); $template->set_filenames(array('body' => XS_TPL_PATH . 'style_config.'.$tplEx)); --- 168,172 ---- )); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_style_config.'.$phpEx.'?tpl='.urlencode($tpl)) . '">' . $lang['xs_style_configuration'] . ': ' . $tpl . '</a>')); $template->set_filenames(array('body' => XS_TPL_PATH . 'style_config.'.$tplEx)); Index: xs_frameset.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_frameset.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_frameset.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_frameset.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 28,32 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 28,32 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 59,77 **** $content_url = array( ! 'config' => append_sid('xs_config.'.$get_data), ! 'install' => append_sid('xs_install.'.$get_data), ! 'uninstall' => append_sid('xs_uninstall.'.$get_data), ! 'default' => append_sid('xs_styles.'.$get_data), ! 'cache' => append_sid('xs_cache.'.$get_data), ! 'import' => append_sid('xs_import.'.$get_data), ! 'export' => append_sid('xs_export.'.$get_data), ! 'clone' => append_sid('xs_clone.'.$get_data), ! 'download' => append_sid('xs_download.'.$get_data), ! 'edittpl' => append_sid('xs_edit.'.$get_data), ! 'editdb' => append_sid('xs_edit_data.'.$get_data), ! 'exportdb' => append_sid('xs_export_data.'.$get_data), ! 'updates' => append_sid('xs_update.'.$get_data), ! 'portal' => append_sid('xs_portal.'.$get_data), ! 'style_config' => append_sid('xs_style_config.'.$get_data), ); --- 59,77 ---- $content_url = array( ! 'config' => mx_append_sid('xs_config.'.$get_data), ! 'install' => mx_append_sid('xs_install.'.$get_data), ! 'uninstall' => mx_append_sid('xs_uninstall.'.$get_data), ! 'default' => mx_append_sid('xs_styles.'.$get_data), ! 'cache' => mx_append_sid('xs_cache.'.$get_data), ! 'import' => mx_append_sid('xs_import.'.$get_data), ! 'export' => mx_append_sid('xs_export.'.$get_data), ! 'clone' => mx_append_sid('xs_clone.'.$get_data), ! 'download' => mx_append_sid('xs_download.'.$get_data), ! 'edittpl' => mx_append_sid('xs_edit.'.$get_data), ! 'editdb' => mx_append_sid('xs_edit_data.'.$get_data), ! 'exportdb' => mx_append_sid('xs_export_data.'.$get_data), ! 'updates' => mx_append_sid('xs_update.'.$get_data), ! 'portal' => mx_append_sid('xs_portal.'.$get_data), ! 'style_config' => mx_append_sid('xs_style_config.'.$get_data), ); *************** *** 82,86 **** else { ! $content = append_sid('xs_index.'.$get_data); } --- 82,86 ---- else { ! $content = mx_append_sid('xs_index.'.$get_data); } *************** *** 88,92 **** $template->assign_vars(array( ! 'FRAME_TOP' => append_sid('xs_frame_top.'.$phpEx), 'FRAME_MAIN' => $content, )); --- 88,92 ---- $template->assign_vars(array( ! 'FRAME_TOP' => mx_append_sid('xs_frame_top.'.$phpEx), 'FRAME_MAIN' => $content, )); Index: xs_clone.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_clone.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_clone.php 13 Sep 2007 00:24:18 -0000 1.1 --- xs_clone.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 11,15 **** ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 11,15 ---- ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 21,25 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 21,25 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 27,33 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_clone.'.$phpEx) . '">' . $lang['xs_clone_styles'] . '</a>')); ! $lang['xs_clone_back'] = str_replace('{URL}', append_sid('xs_clone.'.$phpEx), $lang['xs_clone_back']); // --- 27,33 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_clone.'.$phpEx) . '">' . $lang['xs_clone_styles'] . '</a>')); ! $lang['xs_clone_back'] = str_replace('{URL}', mx_append_sid('xs_clone.'.$phpEx), $lang['xs_clone_back']); // *************** *** 152,160 **** // get ftp configuration $write_local = false; ! if(!get_ftp_config(append_sid('xs_clone.'.$phpEx), $request, true)) { xs_exit(); } ! xs_ftp_connect(append_sid('xs_clone.'.$phpEx), $request, true); if($ftp === XS_FTP_LOCAL) { --- 152,160 ---- // get ftp configuration $write_local = false; ! if(!get_ftp_config(mx_append_sid('xs_clone.'.$phpEx), $request, true)) { xs_exit(); } ! xs_ftp_connect(mx_append_sid('xs_clone.'.$phpEx), $request, true); if($ftp === XS_FTP_LOCAL) { *************** *** 246,250 **** // clone template $template->assign_vars(array( ! 'FORM_ACTION' => append_sid('xs_clone.'.$phpEx), 'CLONE_TEMPLATE' => htmlspecialchars($style), 'STYLE_ID' => $theme_rowset[0]['themes_id'], --- 246,250 ---- // clone template $template->assign_vars(array( ! 'FORM_ACTION' => mx_append_sid('xs_clone.'.$phpEx), 'CLONE_TEMPLATE' => htmlspecialchars($style), 'STYLE_ID' => $theme_rowset[0]['themes_id'], Index: xs_styles.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_styles.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_styles.php 13 Sep 2007 00:24:20 -0000 1.1 --- xs_styles.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 26,30 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_styles.'.$phpEx) . '">' . $lang['xs_default_style'] . '</a>')); // --- 26,30 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_styles.'.$phpEx) . '">' . $lang['xs_default_style'] . '</a>')); // *************** *** 159,166 **** 'ID' => $id, 'TOTAL' => $total, ! 'U_TOTAL' => append_sid('xs_styles.' . $phpEx . '?list=' . $id), ! 'U_DEFAULT' => append_sid('xs_styles.' . $phpEx . '?setdefault=' . $id), ! 'U_OVERRIDE' => append_sid('xs_styles.' . $phpEx . '?setoverride=' . ($style_override ? '0' : '1')), ! 'U_SWITCHALL' => append_sid('xs_styles.' . $phpEx . '?moveusers=' . $id), ) ); --- 159,166 ---- 'ID' => $id, 'TOTAL' => $total, ! 'U_TOTAL' => mx_append_sid('xs_styles.' . $phpEx . '?list=' . $id), ! 'U_DEFAULT' => mx_append_sid('xs_styles.' . $phpEx . '?setdefault=' . $id), ! 'U_OVERRIDE' => mx_append_sid('xs_styles.' . $phpEx . '?setoverride=' . ($style_override ? '0' : '1')), ! 'U_SWITCHALL' => mx_append_sid('xs_styles.' . $phpEx . '?moveusers=' . $id), ) ); *************** *** 189,193 **** { $template->assign_block_vars('styles.nodefault.admin_only', array( ! 'U_CHANGE' => append_sid('xs_styles.'.$phpEx.'?setadmin='.$id.'&admin=0') )); } --- 189,193 ---- { $template->assign_block_vars('styles.nodefault.admin_only', array( ! 'U_CHANGE' => mx_append_sid('xs_styles.'.$phpEx.'?setadmin='.$id.'&admin=0') )); } *************** *** 195,199 **** { $template->assign_block_vars('styles.nodefault.public', array( ! 'U_CHANGE' => append_sid('xs_styles.'.$phpEx.'?setadmin='.$id.'&admin=1') )); } --- 195,199 ---- { $template->assign_block_vars('styles.nodefault.public', array( ! 'U_CHANGE' => mx_append_sid('xs_styles.'.$phpEx.'?setadmin='.$id.'&admin=1') )); } Index: xs_export.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_export.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_export.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_export.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 26,32 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_export.'.$phpEx) . '">' . $lang['xs_export_styles'] . '</a>')); ! $lang['xs_export_back'] = str_replace('{URL}', append_sid('xs_export.'.$phpEx), $lang['xs_export_back']); // --- 26,32 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_export.'.$phpEx) . '">' . $lang['xs_export_styles'] . '</a>')); ! $lang['xs_export_back'] = str_replace('{URL}', mx_append_sid('xs_export.'.$phpEx), $lang['xs_export_back']); // *************** *** 62,66 **** $xs_send_method = $xs_send['method'] == 'ftp' ? 'ftp' : ($xs_send['method'] == 'file' ? 'file' : 'save'); $template->assign_vars(array( ! 'FORM_ACTION' => append_sid('xs_export.'.$phpEx), 'EXPORT_TEMPLATE' => htmlspecialchars($export), 'STYLE_ID' => $theme_rowset[0]['themes_id'], --- 62,66 ---- $xs_send_method = $xs_send['method'] == 'ftp' ? 'ftp' : ($xs_send['method'] == 'file' ? 'file' : 'save'); $template->assign_vars(array( ! 'FORM_ACTION' => mx_append_sid('xs_export.'.$phpEx), 'EXPORT_TEMPLATE' => htmlspecialchars($export), 'STYLE_ID' => $theme_rowset[0]['themes_id'], Index: xs_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_uninstall.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_uninstall.php 13 Sep 2007 00:24:20 -0000 1.1 --- xs_uninstall.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 26,33 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_uninstall.'.$phpEx) . '">' . $lang['xs_uninstall_styles'] . '</a>')); ! $lang['xs_uninstall_back'] = str_replace('{URL}', append_sid('xs_uninstall.'.$phpEx), $lang['xs_uninstall_back']); ! $lang['xs_goto_default'] = str_replace('{URL}', append_sid('xs_styles.'.$phpEx), $lang['xs_goto_default']); // --- 26,33 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_uninstall.'.$phpEx) . '">' . $lang['xs_uninstall_styles'] . '</a>')); ! $lang['xs_uninstall_back'] = str_replace('{URL}', mx_append_sid('xs_uninstall.'.$phpEx), $lang['xs_uninstall_back']); ! $lang['xs_goto_default'] = str_replace('{URL}', mx_append_sid('xs_styles.'.$phpEx), $lang['xs_goto_default']); // *************** *** 39,43 **** if($board_config['default_style'] == $remove_id) { ! xs_error(str_replace('{URL}', append_sid('xs_styles.'.$phpEx), $lang['xs_uninstall_default']) . '<br /><br />' . $lang['xs_uninstall_back']); } $sql = "SELECT themes_id, template_name, style_name FROM " . THEMES_TABLE . " WHERE themes_id='{$remove_id}'"; --- 39,43 ---- if($board_config['default_style'] == $remove_id) { ! xs_error(str_replace('{URL}', mx_append_sid('xs_styles.'.$phpEx), $lang['xs_uninstall_default']) . '<br /><br />' . $lang['xs_uninstall_back']); } $sql = "SELECT themes_id, template_name, style_name FROM " . THEMES_TABLE . " WHERE themes_id='{$remove_id}'"; *************** *** 67,71 **** $db->sql_query($sql); $template->assign_block_vars('left_refresh', array( ! 'ACTION' => append_sid('index.' . $phpEx . '?pane=left') )); // recache config table for cat_hierarchy 2.1.0 --- 67,71 ---- $db->sql_query($sql); $template->assign_block_vars('left_refresh', array( ! 'ACTION' => mx_append_sid('index.' . $phpEx . '?pane=left') )); // recache config table for cat_hierarchy 2.1.0 *************** *** 123,131 **** $remove = stripslashes($HTTP_POST_VARS['remove']); $params = array('remove' => $remove); ! if(!get_ftp_config(append_sid('xs_uninstall.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(append_sid('xs_uninstall.'.$phpEx), $params, true); $write_local = false; if($ftp === XS_FTP_LOCAL) --- 123,131 ---- $remove = stripslashes($HTTP_POST_VARS['remove']); $params = array('remove' => $remove); ! if(!get_ftp_config(mx_append_sid('xs_uninstall.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(mx_append_sid('xs_uninstall.'.$phpEx), $params, true); $write_local = false; if($ftp === XS_FTP_LOCAL) *************** *** 217,221 **** 'ID' => $styles[$i]['themes_id'], 'THEME' => htmlspecialchars($styles[$i]['style_name']), ! 'U_DELETE' => append_sid('xs_uninstall.'.$phpEx.'?remove='.$styles[$i]['themes_id'].'&nocfg=1'), ) ); --- 217,221 ---- 'ID' => $styles[$i]['themes_id'], 'THEME' => htmlspecialchars($styles[$i]['style_name']), ! 'U_DELETE' => mx_append_sid('xs_uninstall.'.$phpEx.'?remove='.$styles[$i]['themes_id'].'&nocfg=1'), ) ); *************** *** 229,237 **** 'ID' => $styles[$i]['themes_id'], 'THEME' => htmlspecialchars($styles[$i]['style_name']), ! 'U_DELETE' => append_sid('xs_uninstall.'.$phpEx.'?remove='.$styles[$i]['themes_id']), ) ); $template->assign_block_vars('styles.item.delete', array( ! 'U_DELETE' => append_sid('xs_uninstall.'.$phpEx.'?dir=1&remove='.$styles[$i]['themes_id']), ) ); --- 229,237 ---- 'ID' => $styles[$i]['themes_id'], 'THEME' => htmlspecialchars($styles[$i]['style_name']), ! 'U_DELETE' => mx_append_sid('xs_uninstall.'.$phpEx.'?remove='.$styles[$i]['themes_id']), ) ); $template->assign_block_vars('styles.item.delete', array( ! 'U_DELETE' => mx_append_sid('xs_uninstall.'.$phpEx.'?dir=1&remove='.$styles[$i]['themes_id']), ) ); Index: xs_frame_top.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_frame_top.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_frame_top.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_frame_top.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 24,44 **** $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_index.'.$phpEx), 'TEXT' => $lang['xs_menu_lc'] )); /* $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_download.'.$phpEx), 'TEXT' => $lang['xs_download_styles_lc'] )); */ $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_styles.'.$phpEx), 'TEXT' => $lang['xs_set_default_style_lc'] )); $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_import.'.$phpEx), 'TEXT' => $lang['xs_import_styles_lc'] )); $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_install.'.$phpEx), 'TEXT' => $lang['xs_install_styles_lc'] )); --- 24,44 ---- $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_index.'.$phpEx), 'TEXT' => $lang['xs_menu_lc'] )); /* $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_download.'.$phpEx), 'TEXT' => $lang['xs_download_styles_lc'] )); */ $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_styles.'.$phpEx), 'TEXT' => $lang['xs_set_default_style_lc'] )); $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_import.'.$phpEx), 'TEXT' => $lang['xs_import_styles_lc'] )); $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_install.'.$phpEx), 'TEXT' => $lang['xs_install_styles_lc'] )); Index: xs_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_config.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_config.php 13 Sep 2007 00:24:18 -0000 1.1 --- xs_config.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 11,16 **** ! define ('IN_PORTAL', 1); ! /* if(!empty ($setmodules)) --- 11,15 ---- ! @define ('IN_PORTAL', 1); /* if(!empty ($setmodules)) *************** *** 31,35 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 30,34 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 37,46 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_config.'.$phpEx) . '">' . $lang['xs_configuration'] . '</a>')); ! $lang['xs_config_updated_explain'] = str_replace('{URL}', append_sid('xs_config.'.$phpEx), $lang['xs_config_updated_explain']); $lang['xs_config_title'] = str_replace('{VERSION}', $template->xs_versiontxt, $lang['xs_config_title']); ! $lang['xs_config_warning_explain'] = str_replace('{URL}', append_sid('xs_chmod.'.$phpEx), $lang['xs_config_warning_explain']); ! $lang['xs_config_back'] = str_replace('{URL}', append_sid('xs_config.'.$phpEx), $lang['xs_config_back']); // --- 36,45 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_config.'.$phpEx) . '">' . $lang['xs_configuration'] . '</a>')); ! $lang['xs_config_updated_explain'] = str_replace('{URL}', mx_append_sid('xs_config.'.$phpEx), $lang['xs_config_updated_explain']); $lang['xs_config_title'] = str_replace('{VERSION}', $template->xs_versiontxt, $lang['xs_config_title']); ! $lang['xs_config_warning_explain'] = str_replace('{URL}', mx_append_sid('xs_chmod.'.$phpEx), $lang['xs_config_warning_explain']); ! $lang['xs_config_back'] = str_replace('{URL}', mx_append_sid('xs_config.'.$phpEx), $lang['xs_config_back']); // *************** *** 63,67 **** { $template->assign_block_vars('left_refresh', array( ! 'ACTION' => append_sid('index.' . $phpEx . '?pane=left') )); } --- 62,66 ---- { $template->assign_block_vars('left_refresh', array( ! 'ACTION' => mx_append_sid('index.' . $phpEx . '?pane=left') )); } *************** *** 176,180 **** 'XS_FTP_LOGIN' => defined('DEMO_MODE') ? '' : $xs_ftp_login, 'XS_FTP_PATH' => defined('DEMO_MODE') ? '' : $xs_ftp_path, ! 'FORM_ACTION' => append_sid('xs_config.' . $phpEx), )); --- 175,179 ---- 'XS_FTP_LOGIN' => defined('DEMO_MODE') ? '' : $xs_ftp_login, 'XS_FTP_PATH' => defined('DEMO_MODE') ? '' : $xs_ftp_path, ! 'FORM_ACTION' => mx_append_sid('xs_config.' . $phpEx), )); Index: xs_cache.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_cache.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_cache.php 13 Sep 2007 00:24:18 -0000 1.1 --- xs_cache.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 11,15 **** ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 11,15 ---- ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 21,25 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 21,25 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 27,31 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_cache.'.$phpEx) . '">' . $lang['xs_manage_cache'] . '</a>')); $data = ''; --- 27,31 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_cache.'.$phpEx) . '">' . $lang['xs_manage_cache'] . '</a>')); $data = ''; Index: xs_import.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_import.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xs_import.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_import.php 1 Feb 2008 04:02:25 -0000 1.2 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styl... [truncated message content] |
Update of /cvsroot/mxbb/mx_xs/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4091 Added Files: Tag: core28x _xs_test.tpl cache.tpl clone.tpl clone2.tpl config.tpl downloads.tpl edit.tpl edit_data.tpl edit_data_list.tpl edit_file.tpl export.tpl export2.tpl export_data.tpl export_data2.tpl frame_top.tpl frameset.tpl ftp.tpl import.tpl import2.tpl index.tpl install.tpl message.tpl style_config.tpl styles.tpl uninstall.tpl update.tpl update2.tpl xs_footer.tpl xs_header.tpl Log Message: upgrade --- NEW FILE: clone2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * clone2.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_CLONE_STYLE}</h1> <p>{L_XS_CLONE_STYLE_EXPLAIN}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_CLONE_STYLE}</th> </tr> <tr> <td class="explain" colspan="2" align="left">{L_XS_CLONE_STYLE_EXPLAIN2}</td> </tr> <!-- BEGIN styles --> <tr> <td class="row1">{styles.L_CLONE}<br /><span class="gensmall">{L_XS_CLONE_STYLE_EXPLAIN3}</span></td> <td class="row2"><form action="{FORM_ACTION}" method="post" style="display: inline;">{S_HIDDEN_FIELDS}<input type="hidden" name="clone_style" value="{styles.ID}" /><input type="text" class="post" name="clone_name" value="{styles.STYLE}" size="30" /> <input type="submit" class="mainoption" value="{L_SUBMIT}" /></form></td> </tr> <!-- END styles --> <tr> <th class="thHead" colspan="2">{L_CLONE_STYLE3}</th> </tr> <tr> <td class="explain" colspan="2" align="left">{L_XS_CLONE_STYLE_EXPLAIN4}</td> </tr> <form action="{FORM_ACTION}" name="clone" method="post"><input type="hidden" name="clone_tpl" value="{CLONE_TEMPLATE}" />{S_HIDDEN_FIELDS} <tr> <td class="row1">{L_XS_CLONE_NEWDIR_NAME}</td> <td class="row2"><input type="text" class="post" name="clone_style_name" value="{CLONE_TEMPLATE}" size="30" <!-- BEGIN switch_onchange --> onkeyup="document.clone.clone_style_name_0.value=document.clone.clone_style_name.value" <!-- END switch_onchange --> /></td> </tr> <!-- BEGIN switch_select_style --> <tr> <td class="row1">{L_XS_CLONE_SELECT}<br /><span class="gensmall">{L_XS_CLONE_SELECT_EXPLAIN}</span></td> <td class="row2" nowrap="nowrap"> <!-- BEGIN style --> <input type="hidden" name="clone_style_id_{switch_select_style.style.NUM}" value="{switch_select_style.style.ID}" /> <input type="checkbox" name="clone_style_{switch_select_style.style.NUM}" checked="checked" /> <input type="text" class="post" name="clone_style_name_{switch_select_style.style.NUM}" value="{switch_select_style.style.NAME}" title="{switch_select_style.style.NAME}" size="30" /><br /> <!-- END style --> </td> </tr> <!-- END switch_select_style --> <!-- BEGIN switch_select_nostyle --> <tr> <td class="row1">{L_XS_CLONE_NEWNAME}</td> <td class="row2" nowrap="nowrap"> <input type="hidden" name="clone_style_id_0" value="{STYLE_ID}" /> <input type="hidden" name="clone_style_0" value="checked" /> <input type="text" class="post" name="clone_style_name_0" value="{STYLE_NAME}" title="{STYLE_NAME}" size="30" /> </td> </tr> <!-- END switch_select_nostyle --> <input type="hidden" name="total" value="{TOTAL}" /> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </form> </table> --- NEW FILE: update.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * update.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_UPDATES}</h1> <p>{L_XS_UPDATES_COMMENT}</p> <form action="{UPDATE_URL}" method="post"> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th colspan="4" class="thHead" align="center">{L_XS_UPDATES}</th> </tr> <tr> <td colspan="4" class="row1" width="100%" align="left">{L_XS_UPDATE_INFO1}</td> </tr> <tr> <th class="thCornerL" colspan="2" align="center" nowrap="nowrap">{L_XS_UPDATE_NAME}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_TYPE}</th> <th class="thCornerR" align="center" nowrap="nowrap">{L_XS_UPDATE_CURRENT_VERSION}</th> </tr> <!-- BEGIN row --> <input type="hidden" name="{row.VAR}item" value="{row.ITEM}" /> <tr> <td class="{row.ROW_CLASS}"><!-- BEGIN url --><input type="checkbox" name="{row.VAR}checked" checked="checked" /><!-- END url --><!-- BEGIN nourl --><input type="hidden" name="{row.VAR}checked" value="0" /><!-- END nourl --></td> <td class="{row.ROW_CLASS}" width="100%"><span class="gen">{row.NAME}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.TYPE}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.VERSION}</span></td> </tr> <!-- END row --> <tr> <td colspan="4" class="row1" align="left" valign="middle"><span class="gen">{L_XS_UPDATE_TIMEOUT} <input type="text" name="timeout" value="180" size="6" /></span></td> </tr> <tr> <td class="catBottom" colspan="4" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_XS_UPDATE_CONTINUE}" class="mainoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: install.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * install.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_INSTALL_STYLES}</h1> <p>{L_XS_INSTALL_STYLES_EXPLAIN2}</p> <form action="{U_ACTION}" method="post" style="display: inline">{S_HIDDEN_FIELDS}<input type="hidden" name="total" value="{TOTAL}" /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_INSTALL_STYLES}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_INSTALL}</span></td> <td class="catRight" align="center"><span class="gen">{L_XS_SELECT}</span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.STYLE}</span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.THEME}</span></td> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><a href="{styles.U_INSTALL}">{L_XS_INSTALL_LC}</a></span></td> <td class="{styles.ROW_CLASS}" align="center"><input type="checkbox" name="{styles.CB_NAME}" /><input type="hidden" name="{styles.CB_NAME}_style" value="{styles.STYLE}" /><input type="hidden" name="{styles.CB_NAME}_num" value="{styles.NUM}" /></td> </tr> <!-- END styles --> <tr> <td class="catBottom" colspan="4" align="center"><input type="submit" name="submit" value="{L_XS_INSTALL}" class="mainoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: xs_header.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * xs_header.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <html> <head> <meta http-equiv="Content-Style-Type" content="text/css"> <link rel="stylesheet" href="{XS_PATH}style.css" type="text/css"> <style> <!-- body { background-color: #E5E5E5; background-image: url('{XS_PATH}images/top_bg2.gif'); background-position: top left; background-repeat: repeat-x; margin-top: 5px; margin-bottom: 5px; margin-left: 2px; margin-right: 2px; } --> </style> </head> <body> <table width="100%" height="100%" cellspacing="0" cellpadding="2" class="bodyline"> <tr> <td align="left" valign="top" style="padding: 5px;"> <table width="100%" cellspacing="0" cellpadding="3" class="navbar"> <tr> <td align="left" nowrap="nowrap"> <!-- BEGIN nav_left --> {nav_left.ITEM} <!-- END nav_left --> </td> <td align="right" nowrap="nowrap"> <!-- BEGIN nav_right --> {nav_right.ITEM} <!-- END nav_right --> </td> </tr> </table> <br /> --- NEW FILE: uninstall.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * uninstall.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:53 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_UNINSTALL_STYLES}</h1> <p>{L_XS_UNINSTALL_STYLES_EXPLAIN2}</p> <!-- BEGIN left_refresh --> <script language="JavaScript"> <!-- top.nav.location = top.nav.location; // '{left_refresh.ACTION}'; //--> </script> <!-- END left_refresh --> <!-- BEGIN removed --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_Information}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_STYLE_REMOVED}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END removed --> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_UNINSTALL_STYLES}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_UNINSTALL}</span></td> <td class="catRight" align="center"><span class="gen">{L_XS_REMOVE_FILES}</span></td> </tr> <!-- BEGIN styles --> <!-- BEGIN item --> <tr> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen">{styles.item.THEME}</span></td> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><a href="{styles.item.U_DELETE}">{L_XS_UNINSTALL_LC}</a></td> <!-- BEGIN delete --> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><a href="{styles.item.delete.U_DELETE}">{L_XS_UNINSTALL2_LC}</a></span></td> <!-- END delete --> <!-- BEGIN nodelete --> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"> </td> <!-- END nodelete --> </tr> <!-- END item --> <!-- END styles --> </table> <br /> --- NEW FILE: import.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * import.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:53 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_IMPORT_STYLES}</h1> <p>{L_XS_IMPORT_EXPLAIN}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" align="center" nowrap="nowrap">{L_XS_FILE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_TEMPLATE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_STYLES}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPLOAD_TIME}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_COMMENT}</th> <th class="thCornerR" align="center" nowrap="nowrap">{L_XS_OPTIONS}</th> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left"><span class="gensmall">{styles.FILE2}</span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen"><!-- BEGIN valid -->{styles.TEMPLATE}<!-- END valid --><!-- BEGIN error -->-<!-- END error --></span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gen"><!-- BEGIN list -->{list.STYLE}<br /><!-- END list --></span></td> <td class="{styles.ROW_CLASS}" align="center" nowrap="nowrap"><span class="genmed"><!-- BEGIN valid -->{styles.DATE}<!-- END valid --><!-- BEGIN error -->-<!-- END error --></span></td> <td class="{styles.ROW_CLASS}" align="left"><span class="gensmall"><!-- BEGIN valid -->{styles.COMMENT}<!-- END valid --><!-- BEGIN error -->{styles.error.ERROR}<!-- END error --></span></td> <td class="{styles.ROW_CLASS}" align="center"> <!-- BEGIN valid --> [<a href="{styles.U_IMPORT}">{L_XS_IMPORT_LC}</a>] [<a href="{styles.U_LIST}">{L_XS_LIST_FILES_LC}</a>] <!-- END valid --> [<a href="{styles.U_DELETE}">{L_XS_DELETE_FILE_LC}</a>] </td> </tr> <!-- END styles --> <!-- BEGIN nostyles --> <tr> <td colspan="6" align="center" class="row1"><span class="gen">{L_XS_IMPORT_NO_CACHED}</span></td> </tr> <!-- END nostyles --> </table> <br /> <table width="100%"> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_ADD_STYLES}</th> </tr> <tr> <td class="row1">{L_XS_ADD_STYLES_WEB}:</td> <td class="row2" nowrap="nowrap"> <form action="{U_SCRIPT}" method="post" style="display: inline;"><input type="hidden" name="action" value="web" />{S_HIDDEN_FIELDS} <input type="text" name="source" size="40" value="http://" /> <input type="submit" value="{L_XS_ADD_STYLES_WEB_GET}" class="mainoption" /> </form> </tr> </tr> <tr> <td class="row1">{L_XS_ADD_STYLES_COPY}:</td> <td class="row2" nowrap="nowrap"> <form action="{U_SCRIPT}" method="post" style="display: inline;"><input type="hidden" name="action" value="copy" />{S_HIDDEN_FIELDS} <input type="text" name="source" size="40" value="" /> <input type="submit" value="{L_XS_ADD_STYLES_COPY_GET}" class="mainoption" /> </form> </tr> </tr> <tr> <td class="row1">{L_XS_ADD_STYLES_UPLOAD}:</td> <td class="row2" nowrap="nowrap"> <form action="{U_SCRIPT}" method="post" enctype="multipart/form-data" style="display: inline;"><input type="hidden" name="action" value="upload" />{S_HIDDEN_FIELDS} <input type="file" name="source" size="30" /> <input type="submit" value="{L_XS_ADD_STYLES_UPLOAD_GET}" class="mainoption" /> </form> </tr> </tr> </table> <br /> --- NEW FILE: export.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * export.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_EXPORT_STYLE}</h1> <p>{L_XS_EXPORT_STYLE_EXPLAIN}</p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="3">{L_XS_EXPORT_STYLE}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLES}</span></td> <td class="catRight" align="center"><span class="gen"> </span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.STYLES}</span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_EXPORT}">{L_XS_EXPORT_STYLE_LC}</a></span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: clone.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * clone.tpl * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_CLONE_STYLES}</h1> <p>{L_XS_CLONE_STYLE_EXPLAIN}</p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_CLONE_STYLES}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLES}</span></td> <td class="catRight" align="center"><span class="gen"> </span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.STYLES}</span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_CLONE}">{L_XS_CLONE_STYLE_LC}</a></span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: import2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * import2.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <form action="{FORM_ACTION}" method="post">{S_RETURN}<input type="hidden" name="import" value="{IMPORT_FILENAME}" /><table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_IMPORT_TPL}</th> </tr> <tr> <td class="row1" align="left" colspan="2"><span class="gensmall">{L_XS_IMPORT_TPL_COMMENT}<br /><br />{L_XS_IMPORT_TPL_FILENAME} {STYLE_FILENAME}<br />{L_XS_IMPORT_TPL_TPLNAME} {STYLE_TEMPLATE}<br />{L_XS_IMPORT_TPL_COMMENT2} {STYLE_COMMENT}<br /></span></td> </tr> <!-- BEGIN switch_select_style --> <tr> <td class="row1"><span class="gen">{L_XS_IMPORT_SELECT_STYLES}</span></td> <td class="row2" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="1"> <!-- BEGIN style --> <tr> <td nowrap="nowrap"><span class="gen"><label><input type="checkbox" name="import_install_{switch_select_style.style.NUM}" checked="checked" /> {switch_select_style.style.NAME}</label></span></td> <td nowrap="nowrap"><span class="gen"> (<label><input type="radio" name="import_default" value="{switch_select_style.style.NUM}" /> {L_XS_IMPORT_INSTALL_DEF_LC}</label>)</span></td> </tr> <!-- END style --> </table></td> </tr> <!-- END switch_select_style --> <!-- BEGIN switch_select_nostyle --> <tr> <td class="row1"><span class="gen">{L_XS_IMPORT_INSTALL_STYLE}</span></td> <td class="row2" nowrap="nowrap"><span class="gen"><label><input type="checkbox" name="import_install_0" /> {STYLE_NAME}</label> (<label><input type="radio" name="import_default_0" /> {L_XS_IMPORT_INSTALL_DEF_LC}</label>)</span></td> </tr> <!-- END switch_select_nostyle --> <input type="hidden" name="total" value="{TOTAL}" /> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_XS_IMPORT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: export2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * export2.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_EXPORT_STYLE}</h1> <p>{L_XS_EXPORT_STYLE_EXPLAIN}</p> <form action="{FORM_ACTION}" method="post"><input type="hidden" name="export" value="{EXPORT_TEMPLATE}" /><table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1">{L_XS_EXPORT_TPL_NAME}:</td> <td class="row2"><input type="text" class="post" name="export_template" value="{EXPORT_TEMPLATE}" size="30" /></td> </tr> <!-- BEGIN switch_select_style --> <tr> <td class="row1">{L_XS_EXPORT_STYLE_NAMES}:</td> <td class="row2" nowrap="nowrap"> <!-- BEGIN style --> <input type="hidden" name="export_style_id_{switch_select_style.style.NUM}" value="{switch_select_style.style.ID}" /> <input type="checkbox" name="export_style_{switch_select_style.style.NUM}" checked="checked" /> <input type="text" class="post" name="export_style_name_{switch_select_style.style.NUM}" value="{switch_select_style.style.NAME}" title="{switch_select_style.style.NAME}" size="30" /><br /> <!-- END style --> </td> </tr> <!-- END switch_select_style --> <!-- BEGIN switch_select_nostyle --> <tr> <td class="row1">{L_XS_EXPORT_STYLE_NAME}:</td> <td class="row2" nowrap="nowrap"> <input type="hidden" name="export_style_id_0" value="{STYLE_ID}" /> <input type="hidden" name="export_style_0" value="checked" /> <input type="text" class="post" name="export_style_name_0" value="{STYLE_NAME}" title="{STYLE_NAME}" size="30" /> </td> </tr> <!-- END switch_select_nostyle --> <tr> <td class="row1">{L_XS_EXPORT_STYLE_COMMENT}:</td> <td class="row2"><input type="text" class="post" name="export_comment" maxlength="250" size="50" value="" /></td> </tr> <tr> <td class="row1">{L_XS_EXPORT_WHERE}:</td> <td class="row2" nowrap="nowrap"><table width="100%" cellspacing="0" cellpadding="1"> <tr> <td colspan="2"><input type="radio" name="export_to" value="save" {SEND_METHOD_SAVE} /> {L_XS_EXPORT_WHERE_DOWNLOAD}</td> </tr> <tr><td colspan="2"><br /></td></tr> <tr> <td colspan="2"><input type="radio" name="export_to" value="file" {SEND_METHOD_FILE} /> {L_XS_EXPORT_WHERE_STORE}</td> </tr> <tr> <td width="20%" nowrap="nowrap"> {L_XS_EXPORT_WHERE_STORE_DIR}:</td> <td width="60%"><input class="post" type="text" name="export_to_dir" value="{SEND_DATA_DIR}" size="30" /></td> </tr> <tr><td colspan="2"><br /></td></tr> <tr> <td colspan="2"><input type="radio" name="export_to" value="ftp" {SEND_METHOD_FTP} /> {L_XS_EXPORT_WHERE_FTP}</td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_HOST}:</td> <td><input class="post" type="text" name="export_to_ftp_host" value="{SEND_DATA_HOST}" size="30" /></td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_LOGIN}:</td> <td><input class="post" type="text" name="export_to_ftp_login" value="{SEND_DATA_LOGIN}" size="30" /></td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_PASS}:</td> <td><input class="post" type="text" name="export_to_ftp_pass" value="" size="30" /></td> </tr> <tr> <td nowrap="nowrap"> {L_XS_FTP_REMOTEDIR}:</td> <td><input class="post" type="text" name="export_to_ftp_dir" value="{SEND_DATA_FTPDIR}" size="30" /></td> </tr> </table></td> </tr> <tr> <td class="row1">{L_XS_EXPORT_FILENAME}:</td> <td class="row2"><input class="post" type="text" name="export_filename" value="{EXPORT_TEMPLATE}.style" size="30" /></td> </tr> <input type="hidden" name="total" value="{TOTAL}" /> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: styles.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * styles.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_DEF_TITLE}</h1> <p>{L_XS_DEF_EXPLAIN}</p> <!-- BEGIN list_users --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_XS_STYLES_USERS}</th> </tr> <tr> <td class="row1"><span class="gen"> <table border="0" cellspacing="0" cellpadding="1"> <!-- BEGIN user --> <tr> <td>{user.NUM}:</td> <td> </td> <td>[{user.ID}]</td> <td> </td> <td>{user.NAME}</td> </tr> <!-- END user --> </table> </span></td> </tr> </table> <br /> <!-- END list_users --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" align="center" nowrap="nowrap">{L_XS_ID}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_STYLE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_TEMPLATE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_USERS}</th> <th class="thCornerR" colspan="2" align="center" nowrap="nowrap">{L_XS_OPTIONS}</th> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="center"><span class="gen"><!-- BEGIN default --><b><!-- END default -->{styles.ID}<!-- BEGIN default --></b><!-- END default --></span></td> <td class="{styles.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen"><!-- BEGIN default --><b><!-- END default -->{styles.STYLE}<!-- BEGIN default --></b><!-- END default --></span></td> <td class="{styles.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen"><!-- BEGIN default --><b><!-- END default -->{styles.TEMPLATE}<!-- BEGIN default --></b><!-- END default --></span></td> <td class="{styles.ROW_CLASS}" align="center"><!-- BEGIN default --><b><!-- END default --><!-- BEGIN users --><a href="{styles.U_TOTAL}"><!-- END users -->{styles.TOTAL}<!-- BEGIN users --></a><!-- END users --><!-- BEGIN default --></b><!-- END default --></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall"> <!-- BEGIN default --> <!-- BEGIN override --> [<a href="{styles.U_OVERRIDE}">{L_XS_STYLES_NO_OVERRIDE}</a>] <!-- END override --> <!-- BEGIN nooverride --> [<a href="{styles.U_OVERRIDE}">{L_XS_STYLES_DO_OVERRIDE}</a>] <!-- END nooverride --> <!-- END default --> <!-- BEGIN nodefault --> [<a href="{styles.U_DEFAULT}">{L_XS_STYLES_SET_DEFAULT}</a>] <!-- BEGIN admin_only --> [<a href="{styles.nodefault.admin_only.U_CHANGE}">{L_XS_STYLES_MAKE_PUBLIC}</a>] <!-- END admin_only --> <!-- BEGIN public --> [<a href="{styles.nodefault.public.U_CHANGE}">{L_XS_STYLES_MAKE_ADMIN}</a>] <!-- END public --> <!-- END nodefault --> <br /> [<a href="{styles.U_SWITCHALL}">{L_XS_STYLES_SWITCH_ALL}</a>] </span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gensmall"> <!-- BEGIN total --> <form action="{U_SCRIPT}" method="get" name="select_{styles.ID}" onsubmit="if(document.select_{styles.ID}.style.value == -1){return false;}" style="display: inline;">{S_HIDDEN_FIELDS}<input type="hidden" name="moveaway" value="{styles.ID}" /> <select name="movestyle" onchange="document.select_{styles.ID}.submit();"> <option value="">{L_XS_STYLES_SWITCH_ALL2}</option> <option value="0">{L_XS_STYLES_DEFSTYLE}</option> <optgroup label="{L_XS_STYLES_AVAILABLE}"> <?php for($i=0; $i<$styles_count; $i++) if($i != $styles_i) { $item = &$this->_tpldata['styles.'][$i]; echo '<option value="', $item['ID'], '">', $item['STYLE'], '</option>'; } ?> </optgroup> </select> </form> <!-- END total --> <!-- BEGIN none --> <!-- END none --> </span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: ftp.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * ftp.tpl * ------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_FTP_TITLE}</h1> <!-- BEGIN xs_ftp_local --> <p>{L_XS_FTP_COMMENT1}</p> <!-- END xs_ftp_local --> <!-- BEGIN xs_ftp_nolocal --> <p>{L_XS_FTP_COMMENT2}</p> <!-- END xs_ftp_nolocal --> <!-- BEGIN error --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_ERROR}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{error.MSG}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <!-- END error --> <form name="ftp" action="{FORM_ACTION}" method="post">{S_HIDDEN_FIELDS}{S_EXTRA_FIELDS}<table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <!-- BEGIN xs_ftp_local --> <tr> <th class="thHead" colspan="2">{L_XS_FTP_CONFIG}</td> </tr> <tr> <td class="row1">{L_XS_FTP_SELECT_METHOD}:</td> <td class="row2" nowrap="nowrap"> <input type="radio" name="xs_ftp_local" value="1" /> {L_XS_FTP_SELECT_LOCAL}<br /> <input type="radio" name="xs_ftp_local" value="" checked="checked" /> {L_XS_FTP_SELECT_FTP}<br /> </td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_FTP_SETTINGS}</th> </tr> <!-- END xs_ftp_local --> <!-- BEGIN xs_ftp_nolocal --> <input type="hidden" name="xs_ftp_local" value="" /> <tr> <th class="thHead" colspan="2">{L_XS_FTP_SETTINGS}</th> </tr> <!-- END xs_ftp_nolocal --> <tr> <td class="row1">{L_XS_FTP_HOST}{HOST_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_host" value="{XS_FTP_HOST}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_LOGIN}{LOGIN_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_login" value="{XS_FTP_LOGIN}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_PATH}{PATH_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_path" value="{XS_FTP_PATH}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_PASS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_pass" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> --- NEW FILE: edit_file.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * edit_file.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <script language="JavaScript" type="text/javascript"> <!-- function xs_replace() { var old = document.edit.content.value; var search = document.edit.edit_replace1.value; var replace = document.edit.edit_replace2.value; var data = ''; var pos = old.indexOf(search); if(pos == -1) { alert('{L_XS_FILEEDIT_SEARCH_NOMATCH}'); } else { data = old.substring(0, pos) + replace + old.substring(pos + search.length, old.length); document.edit.edit_replace3.value = old; document.edit.content.value = data; alert('{L_XS_FILEEDIT_SEARCH_MATCH1}'); } } function xs_replace_all() { var old = document.edit.content.value; var search = document.edit.edit_replace1.value; var replace = document.edit.edit_replace2.value; var data = ''; var pos = old.indexOf(search); var count = 0; var backup = old; if(pos == -1) { alert('{L_XS_FILEEDIT_SEARCH_NOMATCH}'); } else { while(pos >= 0) { data = data + old.substring(0, pos) + replace; old = old.substring(pos + search.length, old.length); pos = old.indexOf(search); count ++; } data = data + old; document.edit.edit_replace3.value = backup; document.edit.content.value = data; alert('{L_XS_FILEEDIT_SEARCH_MATCHES}'); } } function xs_replace_restore() { var data = document.edit.edit_replace3.value; if(data.length < 1) { alert('{L_XS_FILEEDIT_NOUNDO}'); } else { document.edit.content.value = data; alert('{L_XS_FILEEDIT_UNDO_COMPLETE}'); } } //--> </script> <h1>{L_XS_EDIT_TEMPLATES}</h1> <p>{L_XS_EDIT_TEMPLATE_COMMENT2}</p> <form action="{U_ACTION}" method="post" enctype="multipart/form-data" name="edit" style="display: inline;">{S_HIDDEN_FIELDS}{S_FILTER}<input type="hidden" name="dir" value="{DIR}" /><input type="hidden" name="edit" value="{FILE}" /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th>{L_XS_FILEEDIT_EDIT_NAME} {FULLFILE}</th> </tr> <tr> <td class="row3" align="left" valign="middle"><span class="genmed"> {L_XS_FILEEDIT_LOCATION} <!-- BEGIN tree --> {tree.SEPARATOR} <a href="{tree.URL}">{tree.ITEM}</a> <!-- END tree --> / <a href="{U_EDIT}">{FILE}</a> | [<a href="{U_EDIT}">{L_XS_FILEEDIT_RELOAD_LC}</a>] [<a href="{U_DOWNLOAD}">{L_XS_FILEEDIT_DOWNLOAD_LC}</a>] </span></td> </tr> <tr> <td class="row1" align="left"><textarea name="content" cols="120" rows="35" style="width: 100%">{CONTENT}</textarea></td> </tr> <tr> <td class="row1" align="left"><span class="gen"><label><input type="checkbox" name="trim" checked="checked" /> {L_XS_FILEEDIT_TRIM}</label></span></td> </tr> <tr> <th>{L_XS_FILEEDIT_FUNCTIONS}</th> </tr> <input type="hidden" name="edit_replace3" value="" /> <tr> <td class="row1" align="left"><span class="genmed"> {L_XS_FILEEDIT_REPLACE1}<textarea name="edit_replace1" class="post" cols="20" rows="2"></textarea>{L_XS_FILEEDIT_REPLACE2}<textarea name="edit_replace2" class="post" cols="20" rows="2"></textarea> [<a href="javascript:void(0);" onclick="xs_replace();">{L_XS_FILEEDIT_REPLACE_FIRST_LC}</a>] [<a href="javascript:void(0);" onclick="xs_replace_all();">{L_XS_FILEEDIT_REPLACE_ALL_LC}</a>] [<a href="javascript:void(0)" onclick="xs_replace_restore();">{L_XS_FILEEDIT_REPLACE_UNDO_LC}</a>]<br /> </span></td> </tr> <tr> <th>{L_XS_FILEEDIT_BACKUPS}</th> </tr> <tr> <td class="row1" align="left"><span class="genmed"> [<a href="{U_BACKUP}">{L_XS_FILEEDIT_BACKUPS_SAVE_LC}</a>]<br /> <!-- BEGIN backup --> {backup.TIME} [<a href="{backup.U_VIEW}">{L_XS_FILEEDIT_BACKUPS_SHOW_LC}</a>] [<a href="{backup.U_RESTORE}">{L_XS_FILEEDIT_BACKUPS_RESTORE_LC}</a>] [<a href="{backup.U_DOWNLOAD}">{L_XS_FILEEDIT_BACKUPS_DOWNLOAD_LC}</a>] [<a href="{backup.U_DELETE}">{L_XS_FILEEDIT_BACKUPS_DELETE_LC}</a>]<br /> <!-- END backup --> </span></td> </tr> <tr> <th>{L_XS_FILEEDIT_UPLOAD}</th> </tr> <tr> <td class="row1" align="left" valign="middle"><span class="genmed"> {L_XS_FILEEDIT_UPLOAD_FILE} <input type="file" name="upload" class="post" /> </span></td> </tr> <tr> <td class="catBottom" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" name="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: config.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * confir.tpl * ---------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_CONFIG_MAINTITLE}</h1> <p>{L_XS_CONFIG_SUBTITLE}</p> <!-- BEGIN left_refresh --> <script language="JavaScript"> <!-- top.nav.location = top.nav.location; // '{left_refresh.ACTION}'; //--> </script> <!-- END left_refresh --> <!-- BEGIN switch_updated --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_XS_CONFIG_UPDATED}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_CONFIG_UPDATED_EXPLAIN}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END switch_updated --> <!-- BEGIN switch_xs_warning --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_XS_CONFIG_WARNING}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_CONFIG_WARNING_EXPLAIN}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END switch_xs_warning --> <!-- BEGIN noftp --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_Error}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{L_XS_FTP_COMMENT3}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END noftp --> <!-- BEGIN ftperror --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25">{L_Error}</th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td> </td> </tr> <tr> <td align="center"><span class="gen">{ftperror.ERROR}</span></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> <br /> <!-- END ftperror --> <form name="config" action="{FORM_ACTION}" method="post" style="display: inline;"><table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_CONFIG_TITLE}</th> </tr> <tr> <td class="row1">{L_XS_CONFIG_NAVBAR}<br /><span class="gensmall">{L_XS_CONFIG_NAVBAR_EXPLAIN}</span></td> <td class="row2" nowrap="nowrap"> <!-- BEGIN shownav --> <label><input type="checkbox" name="shownav_{shownav.NUM}" {shownav.CHECKED} /> {shownav.LABEL}</label><br /> <!-- END shownav --> </td> </tr> <tr> <td class="row1">{L_XS_CONFIG_DEF_TEMPLATE}<br /><span class="gensmall">{L_XS_CONFIG_DEF_TEMPLATE_EXPLAIN}</span></td> <td class="row2"><input class="post" type="text" name="xs_def_template" value="{XS_DEF_TEMPLATE}" /></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_CHECK_SWITCHES}<br /><span class="gensmall">{L_XS_CONFIG_CHECK_SWITCHES_EXPLAIN}</span></td> <td class="row2"> <label><input type="radio" name="xs_check_switches" value="0" {XS_CHECK_SWITCHES_0} /> {L_XS_CONFIG_CHECK_SWITCHES_0}</label><br /> <br /> <label><input type="radio" name="xs_check_switches" value="2" {XS_CHECK_SWITCHES_2} /> {L_XS_CONFIG_CHECK_SWITCHES_2}</label><br /> <br /> <label><input type="radio" name="xs_check_switches" value="1" {XS_CHECK_SWITCHES_1} /> {L_XS_CONFIG_CHECK_SWITCHES_1}</label> </td> </tr> <tr> <td class="row1">{L_XS_CONFIG_SHOW_ERRORS}<br /><span class="gensmall">{L_XS_CONFIG_SHOW_ERROR_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_warn_includes" value="1" {XS_WARN_INCLUDES_1} /> {L_YES}</label> <label><input type="radio" name="xs_warn_includes" value="0" {XS_WARN_INCLUDES_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_TPL_COMMENTS}<br /><span class="gensmall">{L_XS_CONFIG_TPL_COMMENTS_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_add_comments" value="1" {XS_ADD_COMMENTS_1} /> {L_YES}</label> <label><input type="radio" name="xs_add_comments" value="0" {XS_ADD_COMMENTS_0} /> {L_NO}</label></td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_CONFIG_CACHE}</th> </tr> <tr> <td class="row1">{L_XS_CONFIG_USE_CACHE}<br /><span class="gensmall">{L_XS_CONFIG_USE_CACHE_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_use_cache" value="1" {XS_USE_CACHE_1} /> {L_YES}</label> <label><input type="radio" name="xs_use_cache" value="0" {XS_USE_CACHE_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_AUTO_COMPILE}<br /><span class="gensmall">{L_XS_CONFIG_AUTO_COMPILE_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_auto_compile" value="1" {XS_AUTO_COMPILE_1} /> {L_YES}</label> <label><input type="radio" name="xs_auto_compile" value="0" {XS_AUTO_COMPILE_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_AUTO_RECOMPILE}<br /><span class="gensmall">{L_XS_CONFIG_AUTO_RECOMPILE_EXPLAIN}</span></td> <td class="row2"><label><input type="radio" name="xs_auto_recompile" value="1" {XS_AUTO_RECOMPILE_1} /> {L_YES}</label> <label><input type="radio" name="xs_auto_recompile" value="0" {XS_AUTO_RECOMPILE_0} /> {L_NO}</label></td> </tr> <tr> <td class="row1">{L_XS_CONFIG_PHP}<br /><span class="gensmall">{L_XS_CONFIG_PHP_EXPLAIN}</span></td> <td class="row2"><input class="post" type="text" name="xs_php" value="{XS_PHP}" /></td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_FTP_CONFIG}</th> </tr> <tr> <td class="explain" colspan="2" align="left">{L_XS_FTP_EXPLAIN}</td> </tr> <tr> <td class="row1">{L_XS_FTP_HOST}{HOST_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_host" value="{XS_FTP_HOST}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_LOGIN}{LOGIN_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_login" value="{XS_FTP_LOGIN}" /></td> </tr> <tr> <td class="row1">{L_XS_FTP_PATH}{PATH_GUESS}:</td> <td class="row2"><input class="post" type="text" name="xs_ftp_path" value="{XS_FTP_PATH}" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table></form> <br clear="all" /> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_DEBUG_HEADER}</th> </tr> <tr> <td colspan="2" class="explain" align="left">{L_XS_DEBUG_EXPLAIN}</td> </tr> <tr> <th class="thHead" colspan="2">{XS_DEBUG_HDR1}</th> </tr> <tr> <td class="row1" align="left"><span class="gen">{L_XS_DEBUG_TPL_NAME}</span></td> <td class="row2" align="left"><span class="gen">{XS_DEBUG_FILENAME1}</span></td> </tr> <tr> <td class="row1" align="left"><span class="gen">{L_XS_DEBUG_CACHE_FILENAME}</span></td> <td class="row2" align="left"><span class="gen">{XS_DEBUG_FILENAME2}</span></td> </tr> <tr> <td class="row1" align="left"><span class="gen">{L_XS_DEBUG_DATA}</span></td> <td class="row2" align="left"><span class="gensmall">{XS_DEBUG_DATA}</span></td> </tr> </table> --- NEW FILE: update2.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * update2.tpl * ----------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_UPDATES}</h1> <p>{L_XS_UPDATES_COMMENT2}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" align="center" nowrap="nowrap">{L_XS_UPDATE_NAME}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_TYPE}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_CURRENT_VERSION}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_LATEST_VERSION}</th> <th class="thTop" align="center" nowrap="nowrap">{L_XS_UPDATE_DOWNLOADINFO}</th> <th class="thCornerR" align="center" nowrap="nowrap">{L_XS_UPDATE_FILEINFO}</th> </tr> <!-- BEGIN row --> <tr> <td class="{row.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen">{row.ITEM}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.TYPE}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.VERSION}</span></td> <!-- BEGIN update --> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gen">{row.update.VERSION}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gensmall"> <!-- BEGIN updated -->[<a href="{row.update.UPDATE}" target="_blank">{L_XS_DOWNLOAD_LC}</a>]<!-- END updated --> <!-- BEGIN import -->[<a href="{row.update.U_IMPORT}">{L_XS_IMPORT_LC}</a>]<!-- END import --> </span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gensmall"><!-- BEGIN info -->[<a href="{row.update.INFO}" target="_blank">{L_XS_INFO_LC}</a>]<!-- END info --><!-- BEGIN noinfo --> <!-- END noinfo --></span></td> <!-- END update --> <!-- BEGIN noupdate --> <td colspan="2" class="{row.ROW_CLASS}" align="left" nowrap="nowrap"><span class="genmed">{row.noupdate.MESSAGE}</span></td> <td class="{row.ROW_CLASS}" align="center" nowrap="nowrap"><span class="gensmall"><!-- BEGIN info -->[<a href="{row.noupdate.INFO}" target="_blank">{L_XS_INFO_LC}</a>]<!-- END info --><!-- BEGIN noinfo --> <!-- END noinfo --></span></td> <!-- END noupdate --> <!-- BEGIN error --> <td colspan="2" class="{row.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen">{row.error.ERROR}</span></td> <td class="{row.ROW_CLASS}"> </td> <!-- END error --> </tr> <!-- END row --> <tr> <td class="catBottom" colspan="6" align="center">{COUNT_TOTAL}, {COUNT_ERROR}, {COUNT_UPDATE}</td> </tr> </table> <br /> --- NEW FILE: cache.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * cache.tpl * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_MANAGE_CACHE}</h1> <p> {L_XS_MANAGE_CACHE_EXPLAIN2} {RESULT} </p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="4">{L_XS_MANAGE_CACHE}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_TEMPLATE}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_STYLES}</span></td> <td class="cat" align="center"><span class="gen"><span class="gen"><a href="{U_CLEAR_ALL}">{L_XS_CLEAR_ALL_LC}</a></span></td> <td class="catRight" align="center"><span class="gen"><span class="gen"><a href="{U_COMPILE_ALL}" onclick="return confirm('{L_XS_CACHE_CONFIRM}'); ">{L_XS_COMPILE_ALL_LC}</a></span></td> </tr> <!-- BEGIN styles --> <tr> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.TPL}</span></td> <td class="{styles.ROW_CLASS}" align="left" valign="middle"><span class="gen">{styles.STYLES}</span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_CLEAR}">{L_XS_CLEAR_CACHE_LC}</a></span></td> <td class="{styles.ROW_CLASS}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{styles.U_COMPILE}">{L_XS_COMPILE_CACHE_LC}</a></span></td> </tr> <!-- END styles --> </table> <br /> --- NEW FILE: edit_data.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * edit_data.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:53 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_EDIT_STYLES_DATA}</h1> <p>{L_XS_EDITDATA_EXPLAIN}</p> <form action="{U_ACTION}" method="post">{S_HIDDEN_FIELDS}<input type="hidden" name="edit" value="{ID}" /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="3">{L_XS_EDIT_STYLES_DATA}</th> </tr> <tr> <td class="catLeft" align="center"><span class="gen">{L_XS_EDITDATA_VAR}</span></td> <td class="cat" align="center"><span class="gen">{L_XS_EDITDATA_VALUE}</span></td> <td class="catRight" align="center"><span class="gen">{L_XS_EDITDATA_COMMENT}</span></td> </tr> <!-- BEGIN row --> <tr> <td class="{row.ROW_CLASS}" align="left" width="40%"><span class="gen">{row.TEXT}:</span><!-- IF row.EXPLAIN --><span class="gensmall"><br />{row.EXPLAIN}</span><!-- ENDIF --></td> <td class="{row.ROW_CLASS}" align="left"><input type="text" class="post" name="edit_{row.VAR}" maxlength="{row.LEN}" size="{row.SIZE}" value="{row.VALUE}" /></td> <!-- BEGIN name --> <td class="{row.ROW_CLASS}" align="left"><input type="text" class="post" name="name_{row.VAR}" maxlength="50" value="{row.name.DATA}" size="50" title="{row.name.DATA}" /></td> <!-- END name --> <!-- BEGIN noname --> <td class="{row.ROW_CLASS}"><span class="gen"> </span></td> <!-- END noname --> </tr> <!-- END row --> <tr> <td class="catBottom" colspan="3" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" name="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: downloads.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * downloads.tpl * ------------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 79 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_DOWNLOAD_STYLES}</h1> <p>{L_XS_DOWNLOAD_EXPLAIN2}</p> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th class="thHead" colspan="2">{L_XS_DOWNLOAD_LOCATIONS}</th> </tr> <!-- BEGIN url --> <tr> <td class="{url.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gen">{url.NUM1}. {url.TITLE} [<a href="{url.U_DOWNLOAD}">{L_XS_CLICK_HERE_LC}</a>]</span></td> <td class="{url.ROW_CLASS}" align="left" nowrap="nowrap"><span class="gensmall">{url.URL} [<a href="{url.U_EDIT}">{L_XS_EDIT_LC}</a>]</span></td> </tr> <!-- END url --> <!-- BEGIN edit --> <tr> <th colspan="2" class="thHead">{L_XS_EDIT_LINK}</th> </tr> <form action="{U_POST}" method="post">{S_HIDDEN_FIELDS}<input type="hidden" name="edit" value="{edit.ID}" /> <tr> <td class="row1" align="left">{L_XS_LINK_TITLE}:</td><td class="row2"><input type="text" class="post" name="edit_title" value="{edit.TITLE}" /></td> </tr> <tr> <td class="row1" align="left">{L_XS_LINK_URL}:</td><td class="row2"><input type="text" class="post" name="edit_url" value="{edit.URL}" /></td> </tr> <tr> <td class="row1" align="left">{L_XS_DELETE}:</td><td class="row2"><input type="checkbox" name="edit_delete" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </form> <!-- END edit --> <tr> <th colspan="2" class="thHead">{L_XS_ADD_LINK}</th> </tr> <form action="{U_POST}" method="post">{S_HIDDEN_FIELDS} <tr> <td class="row1" align="left">{L_XS_LINK_TITLE}:</td><td class="row2"><input type="text" class="post" name="add_title" /></td> </tr> <tr> <td class="row1" align="left">{L_XS_LINK_URL}:</td><td class="row2"><input type="text" class="post" name="add_url" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </form> </table> <br /> --- NEW FILE: index.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * index.tpl * --------- * copyright : (C) 2003 - 2005 Vjacheslav Trushkin * support : http://www.stsoftware.biz/forum * * version : 2.4.0 * * file revision : 80 * project revision : 83 * last modified : 12 Mar 2007 10:28:52 * ***************************************************************************/ <!-- END xs_file_version --> <h1>{L_XS_TITLE}</h1> <p>{L_XS_MAIN_COMMENT1}</p> <table cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_XS_MAIN_TITLE}</th> </tr> <tr> <td class="row1">{L_XS_CONFIGURATION}:<br /><span class="gensmall">{L_XS_CONFIGURATION_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_CONFIG}">{L_XS_SET_CONFIGURATION_LC}</a>]</td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_INSTALL_UNINSTALL_STYLES}</th> </tr> <tr> <td class="row1">{L_XS_INSTALL_STYLES}:<br /><span class="gensmall">{L_XS_INSTALL_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_INSTALL_STYLES}">{L_XS_INSTALL_STYLES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_UNINSTALL_STYLES}:<br /><span class="gensmall">{L_XS_UNINSTALL_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_UNINSTALL_STYLES}">{L_XS_UNINSTALL_STYLES_LC}</a>]</td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_MANAGE_STYLES}</th> </tr> <tr> <td class="row1">{L_XS_DEFAULT_STYLE}:<br /><span class="gensmall">{L_XS_DEFAULT_STYLE_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_DEFAULT_STYLE}">{L_XS_SET_DEFAULT_STYLE_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_MANAGE_CACHE}:<br /><span class="gensmall">{L_XS_MANAGE_CACHE_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_MANAGE_CACHE}">{L_XS_MANAGE_CACHE_LC}</a>]</td> </tr> <tr> <th class="thHead" colspan="2">{L_XS_IMPORT_EXPORT_STYLES}</th> </tr> <tr> <td class="explain" colspan="2">{L_XS_MAIN_COMMENT2}</td> </tr> <tr> <td class="row1">{L_XS_IMPORT_STYLES}:<br /><span class="gensmall">{L_XS_IMPORT_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_IMPORT_STYLES}">{L_XS_IMPORT_STYLES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_EXPORT_STYLES}:<br /><span class="gensmall">{L_XS_EXPORT_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EXPORT_STYLES}">{L_XS_EXPORT_STYLES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_CLONE_STYLES}:<br /><span class="gensmall">{L_XS_CLONE_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_CLONE_STYLE}">{L_XS_CLONE_STYLES_LC}</a>]</td> </tr> <!-- <tr> <td class="row1">{L_XS_DOWNLOAD_STYLES}:<br /><span class="gensmall">{L_XS_DOWNLOAD_STYLES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_DOWNLOAD_STYLES}">{L_XS_DOWNLOAD_STYLES_LC}</a>]</td> </tr> --> <tr> <th class="thHead" colspan="2">{L_XS_EDIT_TEMPLATES}</th> </tr> <tr> <td class="row1">{L_XS_EDIT_TEMPLATES}:<br /><span class="gensmall">{L_XS_EDIT_TEMPLATES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EDIT_STYLES}">{L_XS_EDIT_TEMPLATES_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_EDIT_STYLES_DATA}:<br /><span class="gensmall">{L_XS_EDIT_STYLES_DATA_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EDIT_STYLES_DATA}">{L_XS_EDIT_STYLES_DATA_LC}</a>]</td> </tr> <tr> <td class="row1">{L_XS_EXPORT_STYLES_DATA}:<br /><span class="gensmall">{L_XS_EXPORT_STYLES_DATA_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_EXPORT_DATA}">{L_XS_EXPORT_STYLES_DATA_LC}</a>]</td> </tr> <!-- IF S_SHOW_UPDATES --> <tr> <th class="thHead" colspan="2">{L_XS_OTHER_FUNCTIONS}</th> </tr> <tr> <td class="row1">{L_XS_CHECK_FOR_UPDATES}:<br /><span class="gensmall">{L_XS_CHECK_FOR_UPDATES_EXPLAIN}</span></td> <td class="row2" align="center">[<a href="{U_UPDATES}">{L_XS_CHECK_FOR_UPDATES_LC}</a>]</td> </tr> <!-- ENDIF --> </table> <br clear="all" /> --- NEW FILE: message.tpl --- <!-- BEGIN xs_file_version --> /*************************************************************************** * message.tpl * ... [truncated message content] |
Update of /cvsroot/mxbb/mx_xs/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4005 Modified Files: Tag: core28x xs_cache.php xs_chmod.php xs_clone.php xs_config.php xs_download.php xs_edit.php xs_edit_data.php xs_export.php xs_export_data.php xs_frame_top.php xs_frameset.php xs_import.php xs_include.php xs_include_import2.php xs_index.php xs_install.php xs_style_config.php xs_styles.php xs_uninstall.php xs_update.php Log Message: upgrade Index: xs_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_config.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_config.php 13 Sep 2007 00:24:18 -0000 1.1 --- xs_config.php 1 Feb 2008 03:58:46 -0000 1.1.2.1 *************** *** 11,16 **** ! define ('IN_PORTAL', 1); ! /* if(!empty ($setmodules)) --- 11,15 ---- ! @define ('IN_PORTAL', 1); /* if(!empty ($setmodules)) *************** *** 31,35 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 30,34 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 37,46 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_config.'.$phpEx) . '">' . $lang['xs_configuration'] . '</a>')); ! $lang['xs_config_updated_explain'] = str_replace('{URL}', append_sid('xs_config.'.$phpEx), $lang['xs_config_updated_explain']); $lang['xs_config_title'] = str_replace('{VERSION}', $template->xs_versiontxt, $lang['xs_config_title']); ! $lang['xs_config_warning_explain'] = str_replace('{URL}', append_sid('xs_chmod.'.$phpEx), $lang['xs_config_warning_explain']); ! $lang['xs_config_back'] = str_replace('{URL}', append_sid('xs_config.'.$phpEx), $lang['xs_config_back']); // --- 36,45 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_config.'.$phpEx) . '">' . $lang['xs_configuration'] . '</a>')); ! $lang['xs_config_updated_explain'] = str_replace('{URL}', mx_append_sid('xs_config.'.$phpEx), $lang['xs_config_updated_explain']); $lang['xs_config_title'] = str_replace('{VERSION}', $template->xs_versiontxt, $lang['xs_config_title']); ! $lang['xs_config_warning_explain'] = str_replace('{URL}', mx_append_sid('xs_chmod.'.$phpEx), $lang['xs_config_warning_explain']); ! $lang['xs_config_back'] = str_replace('{URL}', mx_append_sid('xs_config.'.$phpEx), $lang['xs_config_back']); // *************** *** 63,67 **** { $template->assign_block_vars('left_refresh', array( ! 'ACTION' => append_sid('index.' . $phpEx . '?pane=left') )); } --- 62,66 ---- { $template->assign_block_vars('left_refresh', array( ! 'ACTION' => mx_append_sid('index.' . $phpEx . '?pane=left') )); } *************** *** 176,180 **** 'XS_FTP_LOGIN' => defined('DEMO_MODE') ? '' : $xs_ftp_login, 'XS_FTP_PATH' => defined('DEMO_MODE') ? '' : $xs_ftp_path, ! 'FORM_ACTION' => append_sid('xs_config.' . $phpEx), )); --- 175,179 ---- 'XS_FTP_LOGIN' => defined('DEMO_MODE') ? '' : $xs_ftp_login, 'XS_FTP_PATH' => defined('DEMO_MODE') ? '' : $xs_ftp_path, ! 'FORM_ACTION' => mx_append_sid('xs_config.' . $phpEx), )); Index: xs_style_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_style_config.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_style_config.php 13 Sep 2007 00:24:20 -0000 1.1 --- xs_style_config.php 1 Feb 2008 03:58:47 -0000 1.1.2.1 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,27 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } ! define('IN_XS', true); include_once('xs_include.' . $phpEx); --- 20,27 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } ! @define('IN_XS', true); include_once('xs_include.' . $phpEx); *************** *** 46,50 **** } $template->assign_block_vars('left_refresh', array( ! 'ACTION' => append_sid('index.' . $phpEx . '?pane=left') )); xs_error($lang['xs_invalid_style_name']); --- 46,50 ---- } $template->assign_block_vars('left_refresh', array( ! 'ACTION' => mx_append_sid('index.' . $phpEx . '?pane=left') )); xs_error($lang['xs_invalid_style_name']); *************** *** 168,172 **** )); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_style_config.'.$phpEx.'?tpl='.urlencode($tpl)) . '">' . $lang['xs_style_configuration'] . ': ' . $tpl . '</a>')); $template->set_filenames(array('body' => XS_TPL_PATH . 'style_config.'.$tplEx)); --- 168,172 ---- )); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_style_config.'.$phpEx.'?tpl='.urlencode($tpl)) . '">' . $lang['xs_style_configuration'] . ': ' . $tpl . '</a>')); $template->set_filenames(array('body' => XS_TPL_PATH . 'style_config.'.$tplEx)); Index: xs_cache.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_cache.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_cache.php 13 Sep 2007 00:24:18 -0000 1.1 --- xs_cache.php 1 Feb 2008 03:58:45 -0000 1.1.2.1 *************** *** 11,15 **** ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 11,15 ---- ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 21,25 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 21,25 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 27,31 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_cache.'.$phpEx) . '">' . $lang['xs_manage_cache'] . '</a>')); $data = ''; --- 27,31 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_cache.'.$phpEx) . '">' . $lang['xs_manage_cache'] . '</a>')); $data = ''; Index: xs_chmod.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_chmod.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_chmod.php 13 Sep 2007 00:24:18 -0000 1.1 --- xs_chmod.php 1 Feb 2008 03:58:45 -0000 1.1.2.1 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 26,33 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_config.'.$phpEx) . '">' . $lang['xs_configuration'] . '</a>')); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_chmod.'.$phpEx) . '">' . $lang['xs_chmod'] . '</a>')); ! $lang['xs_chmod_return'] = str_replace('{URL}', append_sid('xs_config.'.$phpEx), $lang['xs_chmod_return']); $lang['xs_chmod_message1'] .= $lang['xs_chmod_return']; $lang['xs_chmod_error1'] .= $lang['xs_chmod_return']; --- 26,33 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_config.'.$phpEx) . '">' . $lang['xs_configuration'] . '</a>')); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_chmod.'.$phpEx) . '">' . $lang['xs_chmod'] . '</a>')); ! $lang['xs_chmod_return'] = str_replace('{URL}', mx_append_sid('xs_config.'.$phpEx), $lang['xs_chmod_return']); $lang['xs_chmod_message1'] .= $lang['xs_chmod_return']; $lang['xs_chmod_error1'] .= $lang['xs_chmod_return']; *************** *** 38,46 **** } ! if(!get_ftp_config(append_sid('xs_chmod.'.$phpEx), array(), false)) { exit; } ! xs_ftp_connect(append_sid('xs_chmod.'.$phpEx), array(), true); if($ftp === XS_FTP_LOCAL) --- 38,46 ---- } ! if(!get_ftp_config(mx_append_sid('xs_chmod.'.$phpEx), array(), false)) { exit; } ! xs_ftp_connect(mx_append_sid('xs_chmod.'.$phpEx), array(), true); if($ftp === XS_FTP_LOCAL) Index: xs_export.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_export.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_export.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_export.php 1 Feb 2008 03:58:46 -0000 1.1.2.1 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 26,32 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_export.'.$phpEx) . '">' . $lang['xs_export_styles'] . '</a>')); ! $lang['xs_export_back'] = str_replace('{URL}', append_sid('xs_export.'.$phpEx), $lang['xs_export_back']); // --- 26,32 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_export.'.$phpEx) . '">' . $lang['xs_export_styles'] . '</a>')); ! $lang['xs_export_back'] = str_replace('{URL}', mx_append_sid('xs_export.'.$phpEx), $lang['xs_export_back']); // *************** *** 62,66 **** $xs_send_method = $xs_send['method'] == 'ftp' ? 'ftp' : ($xs_send['method'] == 'file' ? 'file' : 'save'); $template->assign_vars(array( ! 'FORM_ACTION' => append_sid('xs_export.'.$phpEx), 'EXPORT_TEMPLATE' => htmlspecialchars($export), 'STYLE_ID' => $theme_rowset[0]['themes_id'], --- 62,66 ---- $xs_send_method = $xs_send['method'] == 'ftp' ? 'ftp' : ($xs_send['method'] == 'file' ? 'file' : 'save'); $template->assign_vars(array( ! 'FORM_ACTION' => mx_append_sid('xs_export.'.$phpEx), 'EXPORT_TEMPLATE' => htmlspecialchars($export), 'STYLE_ID' => $theme_rowset[0]['themes_id'], Index: xs_edit.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_edit.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_edit.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_edit.php 1 Feb 2008 03:58:46 -0000 1.1.2.1 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 52,56 **** ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_edit.'.$phpEx.$filter_str) . '">' . $lang['xs_edit_templates'] . '</a>')); $editable = array('.htm', '.html', '.tpl', '.css', '.txt', '.cfg', '.xml', '.php', '.htaccess'); --- 52,56 ---- ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_edit.'.$phpEx.$filter_str) . '">' . $lang['xs_edit_templates'] . '</a>')); $editable = array('.htm', '.html', '.tpl', '.css', '.txt', '.cfg', '.xml', '.php', '.htaccess'); *************** *** 75,81 **** $current_dir_root = $current_dir ? $current_dir . '/' : ''; ! $return_dir = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir)), $lang['xs_edittpl_back_dir']); $return_url = $return_dir; ! $return_url_root = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), $lang['xs_edittpl_back_dir']); --- 75,81 ---- $current_dir_root = $current_dir ? $current_dir . '/' : ''; ! $return_dir = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir)), $lang['xs_edittpl_back_dir']); $return_url = $return_dir; ! $return_url_root = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), $lang['xs_edittpl_back_dir']); *************** *** 83,87 **** 'FILTER_EXT' => htmlspecialchars($filter_data['ext']), 'FILTER_DATA' => htmlspecialchars($filter_data['data']), ! 'FILTER_URL' => append_sid('xs_edit.'.$phpEx), 'FILTER_DIR' => htmlspecialchars($current_dir), 'S_FILTER' => '<input type="hidden" name="filter" value="' . htmlspecialchars($filter) . '" />' --- 83,87 ---- 'FILTER_EXT' => htmlspecialchars($filter_data['ext']), 'FILTER_DATA' => htmlspecialchars($filter_data['data']), ! 'FILTER_URL' => mx_append_sid('xs_edit.'.$phpEx), 'FILTER_DIR' => htmlspecialchars($current_dir), 'S_FILTER' => '<input type="hidden" name="filter" value="' . htmlspecialchars($filter) . '" />' *************** *** 106,110 **** $HTTP_POST_VARS['content'] = addslashes(implode('', @file($backup_name))); unset($HTTP_GET_VARS['edit']); ! $return_file = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; } --- 106,110 ---- $HTTP_POST_VARS['content'] = addslashes(implode('', @file($backup_name))); unset($HTTP_GET_VARS['edit']); ! $return_file = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; } *************** *** 135,147 **** 'filter' => $filter, ); ! $return_file = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; // get ftp configuration $write_local = false; ! if(!get_ftp_config(append_sid('xs_edit.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(append_sid('xs_edit.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { --- 135,147 ---- 'filter' => $filter, ); ! $return_file = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; // get ftp configuration $write_local = false; ! if(!get_ftp_config(mx_append_sid('xs_edit.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(mx_append_sid('xs_edit.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { *************** *** 228,239 **** xs_exit(); } ! $return_file = str_replace('{URL}', append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; $template->assign_vars(array( ! 'U_ACTION' => append_sid('xs_edit.'.$phpEx), ! 'U_BROWSE' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir)), ! 'U_EDIT' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), ! 'U_BACKUP' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dobackup=1&dir='.urlencode($current_dir).'&edit='.urlencode($file)), ! 'U_DOWNLOAD' => append_sid('xs_edit.'.$phpEx.$filter_str.'&download=1&dir='.urlencode($current_dir).'&edit='.urlencode($file)), 'CURRENT_DIR' => htmlspecialchars($current_dir_full), 'DIR' => htmlspecialchars($current_dir), --- 228,239 ---- xs_exit(); } ! $return_file = str_replace('{URL}', mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), $lang['xs_edittpl_back_edit']); $return_url = $return_file . '<br /><br />' . $return_dir; $template->assign_vars(array( ! 'U_ACTION' => mx_append_sid('xs_edit.'.$phpEx), ! 'U_BROWSE' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir)), ! 'U_EDIT' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)), ! 'U_BACKUP' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dobackup=1&dir='.urlencode($current_dir).'&edit='.urlencode($file)), ! 'U_DOWNLOAD' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&download=1&dir='.urlencode($current_dir).'&edit='.urlencode($file)), 'CURRENT_DIR' => htmlspecialchars($current_dir_full), 'DIR' => htmlspecialchars($current_dir), *************** *** 245,249 **** if($current_dir_full) { ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.$current_dir) . '">' . htmlspecialchars($current_dir_full) . '</a>')); } --- 245,249 ---- if($current_dir_full) { ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.$current_dir) . '">' . htmlspecialchars($current_dir_full) . '</a>')); } *************** *** 252,256 **** $template->assign_block_vars('tree', array( 'ITEM' => 'phpBB', ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), 'SEPARATOR' => '', )); --- 252,256 ---- $template->assign_block_vars('tree', array( 'ITEM' => 'phpBB', ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), 'SEPARATOR' => '', )); *************** *** 266,270 **** $template->assign_block_vars('tree', array( 'ITEM' => htmlspecialchars($dirs[$i]), ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), 'SEPARATOR' => '/', )); --- 266,270 ---- $template->assign_block_vars('tree', array( 'ITEM' => htmlspecialchars($dirs[$i]), ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), 'SEPARATOR' => '/', )); *************** *** 324,331 **** $template->assign_block_vars('backup', array( 'TIME' => create_date($board_config['default_dateformat'], $backups[$i], $board_config['board_timezone']), ! 'U_RESTORE' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&restore='.$backups[$i]), ! 'U_DELETE' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&delbackup='.$backups[$i]), ! 'U_DOWNLOAD' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&downloadbackup='.$backups[$i]), ! 'U_VIEW' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&viewbackup='.$backups[$i]), ) ); --- 324,331 ---- $template->assign_block_vars('backup', array( 'TIME' => create_date($board_config['default_dateformat'], $backups[$i], $board_config['board_timezone']), ! 'U_RESTORE' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&restore='.$backups[$i]), ! 'U_DELETE' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&delbackup='.$backups[$i]), ! 'U_DOWNLOAD' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&downloadbackup='.$backups[$i]), ! 'U_VIEW' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file).'&viewbackup='.$backups[$i]), ) ); *************** *** 347,351 **** $template->assign_block_vars('tree', array( 'ITEM' => 'phpBB', ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), 'SEPARATOR' => '', )); --- 347,351 ---- $template->assign_block_vars('tree', array( 'ITEM' => 'phpBB', ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='), 'SEPARATOR' => '', )); *************** *** 361,365 **** $template->assign_block_vars('tree', array( 'ITEM' => htmlspecialchars($dirs[$i]), ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), 'SEPARATOR' => '/', )); --- 361,365 ---- $template->assign_block_vars('tree', array( 'ITEM' => htmlspecialchars($dirs[$i]), ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), 'SEPARATOR' => '/', )); *************** *** 436,440 **** 'NAME' => '..', 'FULLNAME' => htmlspecialchars($back_dir ? $back_dir . '/' : ''), ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($back_dir)), ) ); --- 436,440 ---- 'NAME' => '..', 'FULLNAME' => htmlspecialchars($back_dir ? $back_dir . '/' : ''), ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($back_dir)), ) ); *************** *** 450,454 **** 'NAME' => htmlspecialchars($dir), 'FULLNAME' => htmlspecialchars($current_dir_root . $dir), ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), ) ); --- 450,454 ---- 'NAME' => htmlspecialchars($dir), 'FULLNAME' => htmlspecialchars($current_dir_root . $dir), ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($str)), ) ); *************** *** 481,485 **** 'SIZE' => @filesize($localfile), 'TIME' => $filetime, ! 'URL' => append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)) ) ); --- 481,485 ---- 'SIZE' => @filesize($localfile), 'TIME' => $filetime, ! 'URL' => mx_append_sid('xs_edit.'.$phpEx.$filter_str.'&dir='.urlencode($current_dir).'&edit='.urlencode($file)) ) ); Index: xs_include.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_include.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_include.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_include.php 1 Feb 2008 03:58:47 -0000 1.1.2.1 *************** *** 15,20 **** } - - if(defined('XS_INCLUDED')) { --- 15,18 ---- *************** *** 188,192 **** define('XS_UPDATE_MOD', 2); define('XS_UPDATE_PHPBB', 3); ! define('XS_TPL_PATH', './../' . $tplEx . '/'); define('XS_BACKUP_PREFIX', 'backup.'); define('XS_BACKUP_EXT', '.backup'); --- 186,190 ---- define('XS_UPDATE_MOD', 2); define('XS_UPDATE_PHPBB', 3); ! define('XS_TPL_PATH', '_core/'); define('XS_BACKUP_PREFIX', 'backup.'); define('XS_BACKUP_EXT', '.backup'); *************** *** 214,218 **** $template->preparse = 'xs_header'; $template->postparse = 'xs_footer'; ! $template->assign_block_vars('nav_left',array('ITEM' => '<a href="' . append_sid('xs_index.'.$phpEx) . '">' . $lang['xs_menu'] . '</a>')); } --- 212,216 ---- $template->preparse = 'xs_header'; $template->postparse = 'xs_footer'; ! $template->assign_block_vars('nav_left',array('ITEM' => '<a href="' . mx_append_sid('xs_index.'.$phpEx) . '">' . $lang['xs_menu'] . '</a>')); } Index: xs_styles.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_styles.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_styles.php 13 Sep 2007 00:24:20 -0000 1.1 --- xs_styles.php 1 Feb 2008 03:58:47 -0000 1.1.2.1 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 26,30 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_styles.'.$phpEx) . '">' . $lang['xs_default_style'] . '</a>')); // --- 26,30 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_styles.'.$phpEx) . '">' . $lang['xs_default_style'] . '</a>')); // *************** *** 159,166 **** 'ID' => $id, 'TOTAL' => $total, ! 'U_TOTAL' => append_sid('xs_styles.' . $phpEx . '?list=' . $id), ! 'U_DEFAULT' => append_sid('xs_styles.' . $phpEx . '?setdefault=' . $id), ! 'U_OVERRIDE' => append_sid('xs_styles.' . $phpEx . '?setoverride=' . ($style_override ? '0' : '1')), ! 'U_SWITCHALL' => append_sid('xs_styles.' . $phpEx . '?moveusers=' . $id), ) ); --- 159,166 ---- 'ID' => $id, 'TOTAL' => $total, ! 'U_TOTAL' => mx_append_sid('xs_styles.' . $phpEx . '?list=' . $id), ! 'U_DEFAULT' => mx_append_sid('xs_styles.' . $phpEx . '?setdefault=' . $id), ! 'U_OVERRIDE' => mx_append_sid('xs_styles.' . $phpEx . '?setoverride=' . ($style_override ? '0' : '1')), ! 'U_SWITCHALL' => mx_append_sid('xs_styles.' . $phpEx . '?moveusers=' . $id), ) ); *************** *** 189,193 **** { $template->assign_block_vars('styles.nodefault.admin_only', array( ! 'U_CHANGE' => append_sid('xs_styles.'.$phpEx.'?setadmin='.$id.'&admin=0') )); } --- 189,193 ---- { $template->assign_block_vars('styles.nodefault.admin_only', array( ! 'U_CHANGE' => mx_append_sid('xs_styles.'.$phpEx.'?setadmin='.$id.'&admin=0') )); } *************** *** 195,199 **** { $template->assign_block_vars('styles.nodefault.public', array( ! 'U_CHANGE' => append_sid('xs_styles.'.$phpEx.'?setadmin='.$id.'&admin=1') )); } --- 195,199 ---- { $template->assign_block_vars('styles.nodefault.public', array( ! 'U_CHANGE' => mx_append_sid('xs_styles.'.$phpEx.'?setadmin='.$id.'&admin=1') )); } Index: xs_export_data.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_export_data.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_export_data.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_export_data.php 1 Feb 2008 03:58:46 -0000 1.1.2.1 *************** *** 11,15 **** ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 11,15 ---- ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 21,25 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 21,25 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 27,33 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_export_data.'.$phpEx) . '">' . $lang['xs_edit_styles_data'] . '</a>')); ! $lang['xs_export_data_back'] = str_replace('{URL}', append_sid('xs_export_data.'.$phpEx), $lang['xs_export_data_back']); // --- 27,33 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_export_data.'.$phpEx) . '">' . $lang['xs_edit_styles_data'] . '</a>')); ! $lang['xs_export_data_back'] = str_replace('{URL}', mx_append_sid('xs_export_data.'.$phpEx), $lang['xs_export_data_back']); // *************** *** 61,65 **** 'TOTAL' => count($theme_rowset), 'EXPORT' => htmlspecialchars($export), ! 'U_ACTION' => append_sid("xs_export_data.{$phpEx}") ) ); --- 61,65 ---- 'TOTAL' => count($theme_rowset), 'EXPORT' => htmlspecialchars($export), ! 'U_ACTION' => mx_append_sid("xs_export_data.{$phpEx}") ) ); *************** *** 102,110 **** } $write_local = false; ! if(!get_ftp_config(append_sid('xs_export_data.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(append_sid('xs_export_data.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { --- 102,110 ---- } $write_local = false; ! if(!get_ftp_config(mx_append_sid('xs_export_data.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(mx_append_sid('xs_export_data.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { Index: xs_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_uninstall.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_uninstall.php 13 Sep 2007 00:24:20 -0000 1.1 --- xs_uninstall.php 1 Feb 2008 03:58:47 -0000 1.1.2.1 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 26,33 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_uninstall.'.$phpEx) . '">' . $lang['xs_uninstall_styles'] . '</a>')); ! $lang['xs_uninstall_back'] = str_replace('{URL}', append_sid('xs_uninstall.'.$phpEx), $lang['xs_uninstall_back']); ! $lang['xs_goto_default'] = str_replace('{URL}', append_sid('xs_styles.'.$phpEx), $lang['xs_goto_default']); // --- 26,33 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_uninstall.'.$phpEx) . '">' . $lang['xs_uninstall_styles'] . '</a>')); ! $lang['xs_uninstall_back'] = str_replace('{URL}', mx_append_sid('xs_uninstall.'.$phpEx), $lang['xs_uninstall_back']); ! $lang['xs_goto_default'] = str_replace('{URL}', mx_append_sid('xs_styles.'.$phpEx), $lang['xs_goto_default']); // *************** *** 39,43 **** if($board_config['default_style'] == $remove_id) { ! xs_error(str_replace('{URL}', append_sid('xs_styles.'.$phpEx), $lang['xs_uninstall_default']) . '<br /><br />' . $lang['xs_uninstall_back']); } $sql = "SELECT themes_id, template_name, style_name FROM " . THEMES_TABLE . " WHERE themes_id='{$remove_id}'"; --- 39,43 ---- if($board_config['default_style'] == $remove_id) { ! xs_error(str_replace('{URL}', mx_append_sid('xs_styles.'.$phpEx), $lang['xs_uninstall_default']) . '<br /><br />' . $lang['xs_uninstall_back']); } $sql = "SELECT themes_id, template_name, style_name FROM " . THEMES_TABLE . " WHERE themes_id='{$remove_id}'"; *************** *** 67,71 **** $db->sql_query($sql); $template->assign_block_vars('left_refresh', array( ! 'ACTION' => append_sid('index.' . $phpEx . '?pane=left') )); // recache config table for cat_hierarchy 2.1.0 --- 67,71 ---- $db->sql_query($sql); $template->assign_block_vars('left_refresh', array( ! 'ACTION' => mx_append_sid('index.' . $phpEx . '?pane=left') )); // recache config table for cat_hierarchy 2.1.0 *************** *** 123,131 **** $remove = stripslashes($HTTP_POST_VARS['remove']); $params = array('remove' => $remove); ! if(!get_ftp_config(append_sid('xs_uninstall.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(append_sid('xs_uninstall.'.$phpEx), $params, true); $write_local = false; if($ftp === XS_FTP_LOCAL) --- 123,131 ---- $remove = stripslashes($HTTP_POST_VARS['remove']); $params = array('remove' => $remove); ! if(!get_ftp_config(mx_append_sid('xs_uninstall.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(mx_append_sid('xs_uninstall.'.$phpEx), $params, true); $write_local = false; if($ftp === XS_FTP_LOCAL) *************** *** 217,221 **** 'ID' => $styles[$i]['themes_id'], 'THEME' => htmlspecialchars($styles[$i]['style_name']), ! 'U_DELETE' => append_sid('xs_uninstall.'.$phpEx.'?remove='.$styles[$i]['themes_id'].'&nocfg=1'), ) ); --- 217,221 ---- 'ID' => $styles[$i]['themes_id'], 'THEME' => htmlspecialchars($styles[$i]['style_name']), ! 'U_DELETE' => mx_append_sid('xs_uninstall.'.$phpEx.'?remove='.$styles[$i]['themes_id'].'&nocfg=1'), ) ); *************** *** 229,237 **** 'ID' => $styles[$i]['themes_id'], 'THEME' => htmlspecialchars($styles[$i]['style_name']), ! 'U_DELETE' => append_sid('xs_uninstall.'.$phpEx.'?remove='.$styles[$i]['themes_id']), ) ); $template->assign_block_vars('styles.item.delete', array( ! 'U_DELETE' => append_sid('xs_uninstall.'.$phpEx.'?dir=1&remove='.$styles[$i]['themes_id']), ) ); --- 229,237 ---- 'ID' => $styles[$i]['themes_id'], 'THEME' => htmlspecialchars($styles[$i]['style_name']), ! 'U_DELETE' => mx_append_sid('xs_uninstall.'.$phpEx.'?remove='.$styles[$i]['themes_id']), ) ); $template->assign_block_vars('styles.item.delete', array( ! 'U_DELETE' => mx_append_sid('xs_uninstall.'.$phpEx.'?dir=1&remove='.$styles[$i]['themes_id']), ) ); Index: xs_include_import2.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_include_import2.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_include_import2.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_include_import2.php 1 Feb 2008 03:58:47 -0000 1.1.2.1 *************** *** 36,40 **** } ! $lang['xs_import_back'] = str_replace('{URL}', append_sid('xs_import.'.$phpEx), $lang['xs_import_back']); // list of text types. only last 4 characters of filename --- 36,40 ---- } ! $lang['xs_import_back'] = str_replace('{URL}', mx_append_sid('xs_import.'.$phpEx), $lang['xs_import_back']); // list of text types. only last 4 characters of filename *************** *** 191,195 **** { // show as text ! $str = '<div align="left">' . $lang['xs_import_list_contents'] . $f . ' [<a href="' . append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($f) . '&get_content=1') . '">' . $lang['xs_import_download_lc'] . '</a>]<br /><br />'; $str .= '<textarea cols="120" rows="30" style="width: 100%">' . htmlspecialchars($contents) . '</textarea>'; $str .= '</div>'; --- 191,195 ---- { // show as text ! $str = '<div align="left">' . $lang['xs_import_list_contents'] . $f . ' [<a href="' . mx_append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($f) . '&get_content=1') . '">' . $lang['xs_import_download_lc'] . '</a>]<br /><br />'; $str .= '<textarea cols="120" rows="30" style="width: 100%">' . htmlspecialchars($contents) . '</textarea>'; $str .= '</div>'; *************** *** 267,273 **** if(xs_in_array($ext, $text_types) || xs_in_array($ext, $img_types)) { ! $str .= '[<a href="' . append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($var)) . '">' . $lang['xs_import_view_lc'] . '</a>] '; } ! $str .= '[<a href="' . append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($var)) . '&get_content=1">' . $lang['xs_import_download_lc'] . '</a>] '; } $str .= str_replace('{NUM}', $value['size'], $lang['xs_import_file_size']) . '</td></tr>'; --- 267,273 ---- if(xs_in_array($ext, $text_types) || xs_in_array($ext, $img_types)) { ! $str .= '[<a href="' . mx_append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($var)) . '">' . $lang['xs_import_view_lc'] . '</a>] '; } ! $str .= '[<a href="' . mx_append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($filename) . '&get_file=' . urlencode($var)) . '&get_content=1">' . $lang['xs_import_download_lc'] . '</a>] '; } $str .= str_replace('{NUM}', $value['size'], $lang['xs_import_file_size']) . '</td></tr>'; Index: xs_frame_top.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_frame_top.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_frame_top.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_frame_top.php 1 Feb 2008 03:58:46 -0000 1.1.2.1 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 24,44 **** $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_index.'.$phpEx), 'TEXT' => $lang['xs_menu_lc'] )); /* $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_download.'.$phpEx), 'TEXT' => $lang['xs_download_styles_lc'] )); */ $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_styles.'.$phpEx), 'TEXT' => $lang['xs_set_default_style_lc'] )); $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_import.'.$phpEx), 'TEXT' => $lang['xs_import_styles_lc'] )); $template->assign_block_vars('left_nav', array( ! 'URL' => append_sid('xs_install.'.$phpEx), 'TEXT' => $lang['xs_install_styles_lc'] )); --- 24,44 ---- $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_index.'.$phpEx), 'TEXT' => $lang['xs_menu_lc'] )); /* $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_download.'.$phpEx), 'TEXT' => $lang['xs_download_styles_lc'] )); */ $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_styles.'.$phpEx), 'TEXT' => $lang['xs_set_default_style_lc'] )); $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_import.'.$phpEx), 'TEXT' => $lang['xs_import_styles_lc'] )); $template->assign_block_vars('left_nav', array( ! 'URL' => mx_append_sid('xs_install.'.$phpEx), 'TEXT' => $lang['xs_install_styles_lc'] )); Index: xs_index.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_index.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_index.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_index.php 1 Feb 2008 03:58:47 -0000 1.1.2.1 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 28,49 **** if(isset($HTTP_GET_VARS['showwarning'])) { ! $msg = str_replace('{URL}', append_sid('xs_index.'.$phpEx), $lang['xs_main_comment3']); xs_message($lang['Information'], $msg); } $template->assign_vars(array( ! 'U_CONFIG' => append_sid('xs_config.'.$phpEx), ! 'U_DEFAULT_STYLE' => append_sid('xs_styles.'.$phpEx), ! 'U_MANAGE_CACHE' => append_sid('xs_cache.'.$phpEx), ! 'U_IMPORT_STYLES' => append_sid('xs_import.'.$phpEx), ! 'U_EXPORT_STYLES' => append_sid('xs_export.'.$phpEx), ! 'U_CLONE_STYLE' => append_sid('xs_clone.'.$phpEx), ! 'U_DOWNLOAD_STYLES' => append_sid('xs_download.'.$phpEx), ! 'U_INSTALL_STYLES' => append_sid('xs_install.'.$phpEx), ! 'U_UNINSTALL_STYLES' => append_sid('xs_uninstall.'.$phpEx), ! 'U_EDIT_STYLES' => append_sid('xs_edit.'.$phpEx), ! 'U_EDIT_STYLES_DATA' => append_sid('xs_edit_data.'.$phpEx), ! 'U_EXPORT_DATA' => append_sid('xs_export_data.'.$phpEx), ! 'U_UPDATES' => append_sid('xs_update.'.$phpEx), 'S_SHOW_UPDATES' => defined('XS_ENABLE_UPDATES') ? 1 : 0, )); --- 28,49 ---- if(isset($HTTP_GET_VARS['showwarning'])) { ! $msg = str_replace('{URL}', mx_append_sid('xs_index.'.$phpEx), $lang['xs_main_comment3']); xs_message($lang['Information'], $msg); } $template->assign_vars(array( ! 'U_CONFIG' => mx_append_sid('xs_config.'.$phpEx), ! 'U_DEFAULT_STYLE' => mx_append_sid('xs_styles.'.$phpEx), ! 'U_MANAGE_CACHE' => mx_append_sid('xs_cache.'.$phpEx), ! 'U_IMPORT_STYLES' => mx_append_sid('xs_import.'.$phpEx), ! 'U_EXPORT_STYLES' => mx_append_sid('xs_export.'.$phpEx), ! 'U_CLONE_STYLE' => mx_append_sid('xs_clone.'.$phpEx), ! 'U_DOWNLOAD_STYLES' => mx_append_sid('xs_download.'.$phpEx), ! 'U_INSTALL_STYLES' => mx_append_sid('xs_install.'.$phpEx), ! 'U_UNINSTALL_STYLES' => mx_append_sid('xs_uninstall.'.$phpEx), ! 'U_EDIT_STYLES' => mx_append_sid('xs_edit.'.$phpEx), ! 'U_EDIT_STYLES_DATA' => mx_append_sid('xs_edit_data.'.$phpEx), ! 'U_EXPORT_DATA' => mx_append_sid('xs_export_data.'.$phpEx), ! 'U_UPDATES' => mx_append_sid('xs_update.'.$phpEx), 'S_SHOW_UPDATES' => defined('XS_ENABLE_UPDATES') ? 1 : 0, )); Index: xs_import.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_import.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_import.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_import.php 1 Feb 2008 03:58:47 -0000 1.1.2.1 *************** *** 10,14 **** */ ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 10,14 ---- */ ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 20,24 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 20,24 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 26,32 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_import.'.$phpEx) . '">' . $lang['xs_import_styles'] . '</a>')); ! $lang['xs_import_back'] = str_replace('{URL}', append_sid('xs_import.'.$phpEx), $lang['xs_import_back']); $return_url = isset($HTTP_POST_VARS['return']) ? stripslashes($HTTP_POST_VARS['return']) : (isset($HTTP_GET_VARS['return']) ? stripslashes($HTTP_GET_VARS['return']) : ''); --- 26,32 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_import.'.$phpEx) . '">' . $lang['xs_import_styles'] . '</a>')); ! $lang['xs_import_back'] = str_replace('{URL}', mx_append_sid('xs_import.'.$phpEx), $lang['xs_import_back']); $return_url = isset($HTTP_POST_VARS['return']) ? stripslashes($HTTP_POST_VARS['return']) : (isset($HTTP_GET_VARS['return']) ? stripslashes($HTTP_GET_VARS['return']) : ''); *************** *** 51,55 **** if(!xs_check_cache($cache_filename)) { ! xs_error(str_replace(array('{URL1}', '{URL2}'), array(append_sid('xs_chmod.'.$phpEx), append_sid('xs_import.'.$phpEx)), $lang['xs_import_nowrite_cache'])); } --- 51,55 ---- if(!xs_check_cache($cache_filename)) { ! xs_error(str_replace(array('{URL1}', '{URL2}'), array(mx_append_sid('xs_chmod.'.$phpEx), mx_append_sid('xs_import.'.$phpEx)), $lang['xs_import_nowrite_cache'])); } *************** *** 110,118 **** $params['return'] = $return_url; } ! if(!get_ftp_config(append_sid('xs_import.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(append_sid('xs_import.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { --- 110,118 ---- $params['return'] = $return_url; } ! if(!get_ftp_config(mx_append_sid('xs_import.'.$phpEx), $params, true)) { xs_exit(); } ! xs_ftp_connect(mx_append_sid('xs_import.'.$phpEx), $params, true); if($ftp === XS_FTP_LOCAL) { *************** *** 157,161 **** fwrite($f, $str); fclose($f); ! xs_message($lang['Information'], str_replace('{URL}', append_sid('xs_import.'.$phpEx.'?importstyle=' . urlencode($dst) . $return), $lang['xs_import_uploaded2']) . '<br /><br />' . $lang['xs_import_back']); } --- 157,161 ---- fwrite($f, $str); fclose($f); ! xs_message($lang['Information'], str_replace('{URL}', mx_append_sid('xs_import.'.$phpEx.'?importstyle=' . urlencode($dst) . $return), $lang['xs_import_uploaded2']) . '<br /><br />' . $lang['xs_import_back']); } *************** *** 192,196 **** fwrite($f, $str); fclose($f); ! xs_message($lang['Information'], str_replace('{URL}', append_sid('xs_import.'.$phpEx.'?importstyle=' . urlencode($dst)), $lang['xs_import_uploaded3']) . '<br /><br />' . $lang['xs_import_back']); } --- 192,196 ---- fwrite($f, $str); fclose($f); ! xs_message($lang['Information'], str_replace('{URL}', mx_append_sid('xs_import.'.$phpEx.'?importstyle=' . urlencode($dst)), $lang['xs_import_uploaded3']) . '<br /><br />' . $lang['xs_import_back']); } *************** *** 232,236 **** fwrite($f, $str); fclose($f); ! xs_message($lang['Information'], str_replace('{URL}', append_sid('xs_import.'.$phpEx.'?importstyle=' . urlencode($dst)), $lang['xs_import_uploaded4']) . '<br /><br />' . $lang['xs_import_back']); } --- 232,236 ---- fwrite($f, $str); fclose($f); ! xs_message($lang['Information'], str_replace('{URL}', mx_append_sid('xs_import.'.$phpEx.'?importstyle=' . urlencode($dst)), $lang['xs_import_uploaded4']) . '<br /><br />' . $lang['xs_import_back']); } *************** *** 253,257 **** $template->set_filenames(array('import' => XS_TPL_PATH . 'import2.'.$tplEx)); $template->assign_vars(array( ! 'FORM_ACTION' => append_sid('xs_import.'.$phpEx), 'S_RETURN' => $return_url ? '<input type="hidden" name="return" value="' . htmlspecialchars($return_url) . '" />' : '', 'IMPORT_FILENAME' => htmlspecialchars($file), --- 253,257 ---- $template->set_filenames(array('import' => XS_TPL_PATH . 'import2.'.$tplEx)); $template->assign_vars(array( ! 'FORM_ACTION' => mx_append_sid('xs_import.'.$phpEx), 'S_RETURN' => $return_url ? '<input type="hidden" name="return" value="' . htmlspecialchars($return_url) . '" />' : '', 'IMPORT_FILENAME' => htmlspecialchars($file), *************** *** 344,351 **** 'DATE' => create_date($board_config['default_dateformat'], $item['date'], $board_config['board_timezone']), 'COMMENT' => htmlspecialchars($item['comment']), ! 'U_DELETE' => append_sid('xs_import.' . $phpEx . '?del=' . urlencode($item['file'])), ! 'U_IMPORT' => append_sid('xs_import.' . $phpEx . '?importstyle=' . urlencode($item['file'])), ! 'U_DOWNLOAD' => append_sid('xs_download.' . $phpEx), ! 'U_LIST' => append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($item['file'])), )); if(empty($item['error'])) --- 344,351 ---- 'DATE' => create_date($board_config['default_dateformat'], $item['date'], $board_config['board_timezone']), 'COMMENT' => htmlspecialchars($item['comment']), ! 'U_DELETE' => mx_append_sid('xs_import.' . $phpEx . '?del=' . urlencode($item['file'])), ! 'U_IMPORT' => mx_append_sid('xs_import.' . $phpEx . '?importstyle=' . urlencode($item['file'])), ! 'U_DOWNLOAD' => mx_append_sid('xs_download.' . $phpEx), ! 'U_LIST' => mx_append_sid('xs_import.' . $phpEx . '?list=1&import=' . urlencode($item['file'])), )); if(empty($item['error'])) *************** *** 370,374 **** } $template->assign_vars(array( ! 'U_SCRIPT' => append_sid('xs_import.'.$phpEx), )); --- 370,374 ---- } $template->assign_vars(array( ! 'U_SCRIPT' => mx_append_sid('xs_import.'.$phpEx), )); Index: xs_edit_data.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_edit_data.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_edit_data.php 13 Sep 2007 00:24:19 -0000 1.1 --- xs_edit_data.php 1 Feb 2008 03:58:46 -0000 1.1.2.1 *************** *** 11,15 **** ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 11,15 ---- ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 21,25 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 21,25 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 27,33 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_edit_data.'.$phpEx) . '">' . $lang['xs_edit_styles_data'] . '</a>')); ! $lang['xs_edittpl_back_list'] = str_replace('{URL}', append_sid('xs_edit_data.'.$phpEx), $lang['xs_edittpl_back_list']); function xs_empty_name() --- 27,33 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_edit_data.'.$phpEx) . '">' . $lang['xs_edit_styles_data'] . '</a>')); ! $lang['xs_edittpl_back_list'] = str_replace('{URL}', mx_append_sid('xs_edit_data.'.$phpEx), $lang['xs_edittpl_back_list']); function xs_empty_name() *************** *** 189,193 **** { $id = intval($HTTP_POST_VARS['edit']); ! $lang['xs_edittpl_back_edit'] = str_replace('{URL}', append_sid('xs_edit_data.'.$phpEx.'?edit='.$id), $lang['xs_edittpl_back_edit']); $data_item = array(); $data_item_update = array(); --- 189,193 ---- { $id = intval($HTTP_POST_VARS['edit']); ! $lang['xs_edittpl_back_edit'] = str_replace('{URL}', mx_append_sid('xs_edit_data.'.$phpEx.'?edit='.$id), $lang['xs_edittpl_back_edit']); $data_item = array(); $data_item_update = array(); *************** *** 281,285 **** // show variables $template->assign_vars(array( ! 'U_ACTION' => append_sid('xs_edit_data.'.$phpEx), 'TPL' => htmlspecialchars($item['template-name']), 'STYLE' => htmlspecialchars($item['style_name']), --- 281,285 ---- // show variables $template->assign_vars(array( ! 'U_ACTION' => mx_append_sid('xs_edit_data.'.$phpEx), 'TPL' => htmlspecialchars($item['template-name']), 'STYLE' => htmlspecialchars($item['style_name']), *************** *** 371,375 **** 'TPL' => htmlspecialchars($item['template_name']), 'STYLE' => htmlspecialchars($item['style_name']), ! 'U_EDIT' => append_sid('xs_edit_data.'.$phpEx.'?edit='.$item['themes_id']) ) ); --- 371,375 ---- 'TPL' => htmlspecialchars($item['template_name']), 'STYLE' => htmlspecialchars($item['style_name']), ! 'U_EDIT' => mx_append_sid('xs_edit_data.'.$phpEx.'?edit='.$item['themes_id']) ) ); Index: xs_download.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_download.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_download.php 13 Sep 2007 00:24:18 -0000 1.1 --- xs_download.php 1 Feb 2008 03:58:46 -0000 1.1.2.1 *************** *** 11,15 **** ! define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; --- 11,15 ---- ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 21,25 **** if(empty($template->xs_version) || $template->xs_version !== 8) { ! message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } --- 21,25 ---- if(empty($template->xs_version) || $template->xs_version !== 8) { ! mx_message_die(GENERAL_ERROR, isset($lang['xs_error_not_installed']) ? $lang['xs_error_not_installed'] : 'eXtreme Styles module is not installed. You forgot to upload includes/template.php'); } *************** *** 27,32 **** include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_import.'.$phpEx) . '">' . $lang['xs_import_styles'] . '</a>')); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . append_sid('xs_download.'.$phpEx) . '">' . $lang['xs_download_styles'] . '</a>')); // submit url --- 27,32 ---- include_once('xs_include.' . $phpEx); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_import.'.$phpEx) . '">' . $lang['xs_import_styles'] . '</a>')); ! $template->assign_block_vars('nav_left',array('ITEM' => '» <a href="' . mx_append_sid('xs_download.'.$phpEx) . '">' . $lang['xs_download_styles'] . '</a>')); // submit url *************** *** 44,48 **** ); $str = '<form action="' . $board_config[$var] . '" method="post" style="display: inline;" target="main"><input type="hidden" name="data" value="' . htmlspecialchars(serialize($import_data)) . '" /><input type="submit" value="' . $lang['xs_continue'] . '" class="post" /></form>'; ! $message = $lang['xs_import_download_warning'] . '<br /><br />' . $str . '<br /><br />' . str_replace('{URL}', append_sid('xs_download.'.$phpEx), $lang['xs_download_back']); xs_message($lang['Information'], $message); } --- 44,48 ---- ); $str = '<form action="' . $board_config[$var] . '" method="post" style="display: inline;" target="main"><input type="hidden" name="data" value="' . htmlspecialchars(serialize($import_data)) . '" /><input type="submit" value="' . $lang['xs_continue'] . '" class="post" /></form>'; ! $message = $lang['xs_import_download_warning'] . '<br /><br />' . $str . '<br /><br />' . str_replace('{URL}', mx_append_sid('xs_download.'.$phpEx), $lang['xs_download_back']); xs_message($lang['Information'], $message); } *************** *** 140,150 **** 'URL' => htmlspecialchars($board_config['xs_downloads_'.$i]), 'TITLE' => htmlspecialchars($board_config['xs_downloads_title_'.$i]), ! 'U_DOWNLOAD' => append_sid('xs_download.'.$phpEx.'?url='.$i), ! 'U_EDIT' => append_sid('xs_download.'.$phpEx.'?edit='.$i), )); } $template->assign_vars(array( ! 'U_POST' => append_sid('xs_download.'.$phpEx) )); --- 140,150 ---- 'URL' => htmlspecialchars($board_config['xs_downloads_'.$i]), 'TITLE' => htmlspecialchars($board_config['xs_downloads_title_'.$i]), ! 'U_DOWNLOAD' => mx_append_sid('xs_download.'.$phpEx.'?url='.$i), ! 'U_EDIT' => mx_append_sid('xs_download.'.$phpEx.'?edit='.$i), )); } $template->assign_vars(array( ! 'U_POST' => mx_append_sid('xs_download.'.$phpEx) )); Index: xs_update.php =================================================================== RCS file: /cvsroot/mxbb/mx_xs/admin/xs_update.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** xs_update.php 13 Sep 2007 00... [truncated message content] |
|
From: OryNider <ory...@us...> - 2008-02-01 03:58:07
|
Update of /cvsroot/mxbb/mx_xs/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3498/_core Log Message: Directory /cvsroot/mxbb/mx_xs/templates/_core added to the repository --> Using per-directory sticky tag `core28x' |
|
From: OryNider <ory...@us...> - 2008-02-01 02:42:52
|
Update of /cvsroot/mxbb/mx_clock/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30091 Modified Files: Tag: core28x clock_body.tpl Log Message: template upgrade with flash object class. Index: clock_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_clock/templates/subSilver/clock_body.tpl,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** clock_body.tpl 7 Jun 2007 00:00:46 -0000 1.1 --- clock_body.tpl 1 Feb 2008 02:42:46 -0000 1.1.2.1 *************** *** 9,14 **** <td class="row1" align="center" valign="middle"> ! <div align="center"><embed type=application/x-shockwave-flash {COLOR_MODE}="{WMODE}" width="{FLASH_WIDTH}" height="{FLASH_HEIGHT}" src="{CLOCK_SWF}"> ! </div> </td> --- 9,23 ---- <td class="row1" align="center" valign="middle"> ! <div align="center"> ! <SCRIPT LANGUAGE="JavaScript"> ! document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"{FLASH_WIDTH}\" height=\"{FLASH_HEIGHT}\">"); ! document.writeln("<param name=movie value=\"{CLOCK_SWF}\">"); ! document.writeln("<param name={COLOR_MODE} value=\"{WMODE}\">"); ! document.writeln("<param name=quality value=high>"); ! document.writeln("<embed src=\"{CLOCK_SWF}\" {COLOR_MODE}=\"{WMODE}\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"{FLASH_WIDTH}\" height=\"{FLASH_HEIGHT}\">"); ! document.writeln("</embed>"); ! document.writeln("</object>"); ! </SCRIPT> ! </div> </td> |
|
From: OryNider <ory...@us...> - 2008-02-01 01:33:37
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31482 Added Files: index.htm mx_menu_horizontal.html mx_menu_overall_navigation.html mx_menu_vertical.html Removed Files: mx_menu_classic_ver.html mx_menu_overall_standard.html Log Message: mx_message_die() fixes plus security check if main classses are loaded. prosilver nav menu template files replaced. --- NEW FILE: mx_menu_vertical.html --- <style type="text/css"> <!-- .topiclist dd.posts_portal { float:left; text-align:left; font-size: 1.0em; padding:6px 5px 6px 5px; } .topiclist li dl dd.posts_portal A.nav { padding-bottom: 50px; margin-bottom:10px; } .topiclist li dl dd.posts_portal span.mnurow, .topiclist li dl dd.posts_portal span.mnurow:hover, .topiclist li dl dd.posts_portal span.mnurow-current, .topiclist li dl dd.posts_portal span.mnurow-current:hover { background-repeat: no-repeat; background-position: 0px 0px; padding-left: 20px; display:block; clear:both; margin-top:3px; margin-bottom:3px; } .topiclist li dl dd.posts_portal span.mnurow-current { background-position: 0px -30px; font-weight: bold; } .topiclist li dl dd.posts_portal span.mnurow:hover, .topiclist li dl dd.posts_portal span.mnurow-current:hover { background-position: 0px -15px; } --> </style> <div class="forabg block"> <ul class="inner topiclist forums"> <li style="padding-right:5px;"> <dl> <dd class="posts_portal"> <!-- BEGIN catrow --> <span style="cursor:pointer;" onClick="mx_toggle(this, 'mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}', '{catrow.U_CAT_NAV_EXPAND}', '{catrow.U_CAT_NAV_CONTRACT}');"><img src="{catrow.U_CAT_NAV_DYNAMIC}" border="0" /></span> <strong>{catrow.CATEGORY}</strong><br /> <!-- BEGIN switch_cat_desc --> {catrow.switch_cat_desc.CAT_DESC}<br /> <!-- END switch_cat_desc --> <span id="mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}" style="display: {catrow.CAT_SHOW};"> <!-- BEGIN menurow --> <span class="mnurow{catrow.menurow.CURRENT}" style="background-image: url('{catrow.menurow.MENU_ICON}');"> <a class="nav" href="{catrow.menurow.U_MENU_URL}">{catrow.menurow.MENU_NAME}</a><br /> </span> <!-- END menurow --> </span> <br /> <!-- END catrow --> </dd> </dl> </li> </ul> <span class="corners-bottom"><span></span></span> </div> --- mx_menu_classic_ver.html DELETED --- --- NEW FILE: mx_menu_overall_navigation.html --- <link href="{U_PORTAL_ROOT_PATH}modules/mx_navmenu/templates/prosilver/prosilver.css" rel="stylesheet" type="text/css" media="screen" /> <style type="text/css"> li.nav-menu, li.nav-menu-current { float:left; style-list-image: none; position:relative; padding: 4px; background: #12A3EB url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/images/sitebar_bg.gif") repeat-x; background-position: 0px -23px; border: none; margin: 0px; } li.button ul, li.button-current ul { /* border: solid 1px black;*/ border: none; } li.nav-menu A, li.nav-menu-current A { padding-left: 20px; background-repeat: no-repeat; font-size: 1.1em; background-position: 0px 0px; } li.nav-menu-current A { background-position: 0px -30px; } li.nav-menu A:hover, li.nav-menu-current A:hover { background-position: 0px -15px; } </style> <div style="clear:left;float:left"> <ul> <!-- BEGIN catrow --> <li class="button{catrow.CURRENT}" id="c_{catrow.CAT_ID}" onmouseover="showMenuRows('{catrow.CAT_ID}');" onmouseout="hideMenuRows('{catrow.CAT_ID}')"> {catrow.CATEGORY} <ul id="cat_{catrow.CAT_ID}" onmouseover="showMenuRows('{catrow.CAT_ID}');" style="display:none;position:absolute;background-color:#FFFFFF;margin:0px;padding:0px;position:absolute;z-index:160;"> <!-- BEGIN menurow --> <li class="nav-menu{catrow.menurow.CURRENT}"> <a href="{catrow.menurow.U_MENU_URL}" style="background-image: url({catrow.menurow.MENU_ICON})"> {catrow.menurow.MENU_NAME} </a> </li> <!-- END menurow --> </ul> </li> <!-- END catrow --> </ul> </div> <script type="text/javascript"> function getObj(obj) { return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); } var qeuedMenuSteps = new Array(); var qeuedMenuCurrentStep = 0; var qeuedMenuTime = 1000; function objOffSet(){ this.left = 0; this.top = 0; } function calOffset( obj, obj2){ obj.left = obj.left + obj2.offsetLeft; obj.top = obj.left + obj2.offsetTop; if ( obj2.nodeName != 'HTML') { obj = calOffset( obj, obj2.parentNode); } return obj; } /** * * @access public * @return void **/ function proceedMenuSteps( proceed){ if ( qeuedMenuCurrentStep < qeuedMenuSteps.length || proceed) { while( qeuedMenuCurrentStep < qeuedMenuSteps.length ) { eval( qeuedMenuSteps[qeuedMenuCurrentStep]); qeuedMenuCurrentStep ++; } } setTimeout( 'proceedMenuSteps()', qeuedMenuTime); } setTimeout( 'proceedMenuSteps()', qeuedMenuTime); /** * * @access public * @return void **/ function hideMenuRows( objID){ qeuedMenuSteps[qeuedMenuSteps.length] = "getObj('"+ 'cat_' + objID + "').style.border='none';"; qeuedMenuSteps[qeuedMenuSteps.length] = "getObj('"+ 'cat_' + objID + "').style.display='none';"; } function showMenu( objID){ cat_obj = getObj( 'cat_' + objID); cat_obj.style.display = 'block'; cat_obj.style.border = 'solid 1px Black'; cat_obj.style.borderTop = 'none'; } /** * * @access public * @return void **/ function showMenuRows( objID){ qeuedMenuSteps[qeuedMenuSteps.length] = "showMenu( '" + objID + "');"; proceedMenuSteps( true); } //alert(getObj( 'menu_rows')); </script> --- NEW FILE: mx_menu_horizontal.html --- <style type="text/css"> <!-- .topiclist dd.posts_portal { float:left; text-align:left; font-size: 1.0em; padding:6px 5px 6px 5px; } .topiclist li dl dd.posts_portal A.nav { padding-bottom: 50px; margin-bottom:10px; } .topiclist li dl dd.posts_portal span.mnurow, .topiclist li dl dd.posts_portal span.mnurow:hover, .topiclist li dl dd.posts_portal span.mnurow-current, .topiclist li dl dd.posts_portal span.mnurow-current:hover { background-repeat: no-repeat; background-position: 0px 0px; padding-left: 20px; display:block; clear:both; margin-top:3px; margin-bottom:3px; } .topiclist li dl dd.posts_portal span.mnurow-current { background-position: 0px -30px; font-weight: bold; } .topiclist li dl dd.posts_portal span.mnurow:hover, .topiclist li dl dd.posts_portal span.mnurow-current:hover { background-position: 0px -15px; } --> </style> <div class="forabg block"> <ul class="inner topiclist forums"> <li style="padding-right:5px;"> <dl> <!-- BEGIN catrow --> <dd class="posts_portal"> <span style="cursor:pointer;" onClick="mx_toggle(this, 'mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}', '{catrow.U_CAT_NAV_EXPAND}', '{catrow.U_CAT_NAV_CONTRACT}');"><img src="{catrow.U_CAT_NAV_DYNAMIC}" border="0" /></span> <strong>{catrow.CATEGORY}</strong><br /> <!-- BEGIN switch_cat_desc --> {catrow.switch_cat_desc.CAT_DESC}<br /> <!-- END switch_cat_desc --> <span id="mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}" style="display: {catrow.CAT_SHOW};"> <!-- BEGIN menurow --> <span class="mnurow{catrow.menurow.CURRENT}" style="background-image: url('{catrow.menurow.MENU_ICON}');"> <a class="nav" href="{catrow.menurow.U_MENU_URL}">{catrow.menurow.MENU_NAME}</a><br /> </span> <!-- END menurow --> </span> </dd> <!-- END catrow --> </dl> </li> </ul> <span class="corners-bottom"><span></span></span> </div> --- mx_menu_overall_standard.html DELETED --- --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-01 01:32:04
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30464 Modified Files: mx_functions_phpbb.php Log Message: mx_message_die() fixes plus security check if main classses are loaded. prosilver nav menu template files replaced. Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** mx_functions_phpbb.php 18 Jan 2008 10:28:37 -0000 1.40 --- mx_functions_phpbb.php 1 Feb 2008 01:31:59 -0000 1.41 *************** *** 317,322 **** static $msg_history; //$default_lang = $mx_user->get_old_lang($board_config['default_lang']); ! $default_lang = $mx_user->lang['default_lang']; if( !isset($msg_history) ) --- 317,334 ---- static $msg_history; + if ( !defined('PORTAL_BACKEND') ) + { + if ( @file_exists($phpbb_root_path . "modcp.$phpEx") ) + { + define('PORTAL_BACKEND', 'phpbb2'); + } + else if ( @file_exists($phpbb_root_path . "mcp.$phpEx") ) + { + define('PORTAL_BACKEND', 'phpbb3'); + } + } + //$default_lang = $mx_user->get_old_lang($board_config['default_lang']); ! $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang']; if( !isset($msg_history) ) *************** *** 401,404 **** --- 413,421 ---- } + //Security check + if( !is_object($mx_user) && !is_object($mx_page) && !is_object($mx_request_vars)) + { + die('Hacking attempt, or couldn\'t initalize the main classes required to call mx_message_die().'); + } if( !is_object($mx_user)) *************** *** 432,436 **** //$theme = $mx_user->_setup_style($board_config['default_style']); } ! $default_lang = $mx_user->lang['default_lang']; // // If the header hasn't been output then do it --- 449,468 ---- //$theme = $mx_user->_setup_style($board_config['default_style']); } ! ! $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang']; ! ! switch (PORTAL_BACKEND) ! { ! case 'internal': ! case 'phpbb3': ! $lang_path = $mx_root_path . 'includes/shared/phpbb2/language/'; ! break; ! case 'phpbb2': ! $lang_path = $phpbb_root_path . 'language/'; ! break; ! default: ! $lang_path = $phpbb_root_path . 'language/'; ! } ! // // If the header hasn't been output then do it *************** *** 440,452 **** if ( empty($lang) || empty($lang['Board_disable']) ) { ! if ( !empty($default_lang) && file_exists(@phpBB2::phpbb_realpath($mx_root_path . 'includes/shared/phpbb2/language/lang_' . $default_lang . '/lang_main.'.$phpEx)) ) { ! include($mx_root_path . 'language/lang_' . $default_lang . '/lang_main.'.$phpEx); ! include($mx_root_path . 'includes/shared/phpbb2/language/lang_' . $default_lang . '/lang_main.' . $phpEx); // Also include phpBB lang keys } ! else { ! include($mx_root_path . 'language/lang_english/lang_main.'.$phpEx); ! include($mx_root_path . 'includes/shared/phpbb2/language/lang_english/lang_main.'.$phpEx); } } --- 472,489 ---- if ( empty($lang) || empty($lang['Board_disable']) ) { ! if ((@include $lang_path . "lang_" . $default_lang . "/lang_main.$phpEx") === false) { ! if ((@include $lang_path . "lang_english/lang_main.$phpEx") === false) ! { ! die('Language file ' . $lang_path . "lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); ! } } ! ! if ((@include $mx_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx") === false) { ! if ((@include $mx_root_path . "language/lang_english/lang_main.$phpEx") === false) ! { ! die('Language file ' . $mx_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); ! } } } *************** *** 514,526 **** // available so we're going to dump out a simple echo'd statement // ! @include($mx_root_path . 'language/lang_english/lang_main.'.$phpEx); ! ! if (file_exists($phpbb_root_path . 'language/lang_' .$default_lang . '/lang_main.' . $phpEx)) { ! include($phpbb_root_path . 'language/lang_' . $default_lang . '/lang_main.' . $phpEx); // Also include phpBB lang keys } ! else { ! include($mx_root_path . 'includes/shared/phpbb2/language/lang_' . $default_lang . '/lang_main.' . $phpEx); // Also include phpBB lang keys } --- 551,568 ---- // available so we're going to dump out a simple echo'd statement // ! if ((@include $lang_path . "lang_" . $default_lang . "/lang_main.$phpEx") === false) { ! if ((@include $lang_path . "lang_english/lang_main.$phpEx") === false) ! { ! die('Language file ' . $lang_path . "lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); ! } } ! ! if ((@include $mx_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx") === false) { ! if ((@include $mx_root_path . "language/lang_english/lang_main.$phpEx") === false) ! { ! die('Language file ' . $mx_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); ! } } |
|
From: OryNider <ory...@us...> - 2008-02-01 01:29:47
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29155 Modified Files: Tag: core28x mx_functions_phpbb.php Log Message: Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.32.2.8 retrieving revision 1.32.2.9 diff -C2 -d -r1.32.2.8 -r1.32.2.9 *** mx_functions_phpbb.php 1 Feb 2008 01:15:21 -0000 1.32.2.8 --- mx_functions_phpbb.php 1 Feb 2008 01:29:42 -0000 1.32.2.9 *************** *** 133,137 **** //$default_lang = $mx_user->get_old_lang($board_config['default_lang']); ! $default_lang = $mx_user->lang['default_lang']; if( !isset($msg_history) ) --- 133,137 ---- //$default_lang = $mx_user->get_old_lang($board_config['default_lang']); ! $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang']; if( !isset($msg_history) ) |
|
From: OryNider <ory...@us...> - 2008-02-01 01:15:27
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22908/admin Modified Files: Tag: core28x admin_mx_block_cp.php admin_mx_chkobjs.php admin_mx_gen_cache.php admin_mx_meta.php admin_mx_module.php admin_mx_module_cp.php admin_mx_page_cp.php admin_mx_phpinfo.php admin_mx_portal.php index.php page_header_admin.php Log Message: mx_message_die() fixed with security check for unitialized classes etc plus language file loaging. the other admin files just have an @ before define() so don't give a errror in left pane. Index: admin_mx_phpinfo.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_phpinfo.php,v retrieving revision 1.12 retrieving revision 1.12.2.1 diff -C2 -d -r1.12 -r1.12.2.1 *** admin_mx_phpinfo.php 5 May 2007 20:12:55 -0000 1.12 --- admin_mx_phpinfo.php 1 Feb 2008 01:15:20 -0000 1.12.2.1 *************** *** 19,23 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 19,23 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_mx_chkobjs.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_chkobjs.php,v retrieving revision 1.22 retrieving revision 1.22.2.1 diff -C2 -d -r1.22 -r1.22.2.1 *** admin_mx_chkobjs.php 5 May 2007 20:12:54 -0000 1.22 --- admin_mx_chkobjs.php 1 Feb 2008 01:15:18 -0000 1.22.2.1 *************** *** 22,26 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 22,26 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_mx_gen_cache.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_gen_cache.php,v retrieving revision 1.25 retrieving revision 1.25.2.1 diff -C2 -d -r1.25 -r1.25.2.1 *** admin_mx_gen_cache.php 5 May 2007 20:12:54 -0000 1.25 --- admin_mx_gen_cache.php 1 Feb 2008 01:15:18 -0000 1.25.2.1 *************** *** 19,23 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 19,23 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_mx_page_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_page_cp.php,v retrieving revision 1.25 retrieving revision 1.25.2.1 diff -C2 -d -r1.25 -r1.25.2.1 *** admin_mx_page_cp.php 21 Jul 2007 23:07:14 -0000 1.25 --- admin_mx_page_cp.php 1 Feb 2008 01:15:19 -0000 1.25.2.1 *************** *** 20,24 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 20,24 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/index.php,v retrieving revision 1.32 retrieving revision 1.32.2.1 diff -C2 -d -r1.32 -r1.32.2.1 *** index.php 5 May 2007 20:12:56 -0000 1.32 --- index.php 1 Feb 2008 01:15:20 -0000 1.32.2.1 *************** *** 18,22 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 18,22 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_mx_module.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_module.php,v retrieving revision 1.46 retrieving revision 1.46.2.1 diff -C2 -d -r1.46 -r1.46.2.1 *** admin_mx_module.php 5 May 2007 20:12:55 -0000 1.46 --- admin_mx_module.php 1 Feb 2008 01:15:18 -0000 1.46.2.1 *************** *** 20,24 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 20,24 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_mx_module_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_module_cp.php,v retrieving revision 1.17 retrieving revision 1.17.2.1 diff -C2 -d -r1.17 -r1.17.2.1 *** admin_mx_module_cp.php 5 May 2007 20:12:55 -0000 1.17 --- admin_mx_module_cp.php 1 Feb 2008 01:15:19 -0000 1.17.2.1 *************** *** 20,24 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 20,24 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_mx_portal.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_portal.php,v retrieving revision 1.35 retrieving revision 1.35.2.1 diff -C2 -d -r1.35 -r1.35.2.1 *** admin_mx_portal.php 23 Jul 2007 22:52:42 -0000 1.35 --- admin_mx_portal.php 1 Feb 2008 01:15:20 -0000 1.35.2.1 *************** *** 19,23 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 19,23 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_mx_block_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_block_cp.php,v retrieving revision 1.16.2.1 retrieving revision 1.16.2.2 diff -C2 -d -r1.16.2.1 -r1.16.2.2 *** admin_mx_block_cp.php 26 Aug 2007 19:06:40 -0000 1.16.2.1 --- admin_mx_block_cp.php 1 Feb 2008 01:15:17 -0000 1.16.2.2 *************** *** 20,24 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 20,24 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_mx_meta.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_meta.php,v retrieving revision 1.17 retrieving revision 1.17.2.1 diff -C2 -d -r1.17 -r1.17.2.1 *** admin_mx_meta.php 5 May 2007 20:12:54 -0000 1.17 --- admin_mx_meta.php 1 Feb 2008 01:15:18 -0000 1.17.2.1 *************** *** 19,23 **** // Security and Page header // ! define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 19,23 ---- // Security and Page header // ! @define('IN_PORTAL', 1); $mx_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); |
|
From: OryNider <ory...@us...> - 2008-02-01 01:15:25
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22908 Modified Files: Tag: core28x common.php Log Message: mx_message_die() fixed with security check for unitialized classes etc plus language file loaging. the other admin files just have an @ before define() so don't give a errror in left pane. |
|
From: OryNider <ory...@us...> - 2008-02-01 01:15:25
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22908/includes Modified Files: Tag: core28x mx_functions_phpbb.php Log Message: mx_message_die() fixed with security check for unitialized classes etc plus language file loaging. the other admin files just have an @ before define() so don't give a errror in left pane. Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.32.2.7 retrieving revision 1.32.2.8 diff -C2 -d -r1.32.2.7 -r1.32.2.8 *** mx_functions_phpbb.php 18 Jan 2008 10:25:13 -0000 1.32.2.7 --- mx_functions_phpbb.php 1 Feb 2008 01:15:21 -0000 1.32.2.8 *************** *** 120,123 **** --- 120,135 ---- static $msg_history; + if ( !defined('PORTAL_BACKEND') ) + { + if ( @file_exists($phpbb_root_path . "modcp.$phpEx") ) + { + define('PORTAL_BACKEND', 'phpbb2'); + } + else if ( @file_exists($phpbb_root_path . "mcp.$phpEx") ) + { + define('PORTAL_BACKEND', 'phpbb3'); + } + } + //$default_lang = $mx_user->get_old_lang($board_config['default_lang']); $default_lang = $mx_user->lang['default_lang']; *************** *** 204,207 **** --- 216,224 ---- } + //Security check + if( !is_object($mx_user) && !is_object($mx_page) && !is_object($mx_request_vars)) + { + die('Hacking attempt, or couldn\'t initalize the main classes required to call mx_message_die().'); + } if( !is_object($mx_user)) *************** *** 236,240 **** } //$default_lang = $board_config['default_lang']; ! $default_lang = $mx_user->lang['default_lang']; // // If the header hasn't been output then do it --- 253,271 ---- } //$default_lang = $board_config['default_lang']; ! $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang']; ! ! switch (PORTAL_BACKEND) ! { ! case 'internal': ! case 'phpbb3': ! $lang_path = $mx_root_path . 'includes/shared/phpbb2/language/'; ! break; ! case 'phpbb2': ! $lang_path = $phpbb_root_path . 'language/'; ! break; ! default: ! $lang_path = $phpbb_root_path . 'language/'; ! } ! // // If the header hasn't been output then do it *************** *** 244,256 **** if ( empty($lang) || empty($lang['Board_disable']) ) { ! if ( !empty($default_lang) && file_exists(@phpBB2::phpbb_realpath($mx_root_path . 'includes/shared/phpbb2/language/lang_' . $default_lang . '/lang_main.'.$phpEx)) ) { ! include($mx_root_path . 'language/lang_' . $default_lang . '/lang_main.'.$phpEx); ! include($mx_root_path . 'includes/shared/phpbb2/language/lang_' . $default_lang . '/lang_main.' . $phpEx); // Also include phpBB lang keys } ! else { ! include($mx_root_path . 'language/lang_english/lang_main.'.$phpEx); ! include($mx_root_path . 'includes/shared/phpbb2/language/lang_english/lang_main.'.$phpEx); } } --- 275,292 ---- if ( empty($lang) || empty($lang['Board_disable']) ) { ! if ((@include $lang_path . "lang_" . $default_lang . "/lang_main.$phpEx") === false) { ! if ((@include $lang_path . "lang_english/lang_main.$phpEx") === false) ! { ! die('Language file ' . $lang_path . "lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); ! } } ! ! if ((@include $mx_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx") === false) { ! if ((@include $mx_root_path . "language/lang_english/lang_main.$phpEx") === false) ! { ! die('Language file ' . $mx_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); ! } } } *************** *** 318,330 **** // available so we're going to dump out a simple echo'd statement // ! @include($mx_root_path . 'language/lang_english/lang_main.'.$phpEx); ! ! if (file_exists($phpbb_root_path . 'language/lang_' .$default_lang . '/lang_main.' . $phpEx)) { ! include($phpbb_root_path . 'language/lang_' . $default_lang . '/lang_main.' . $phpEx); // Also include phpBB lang keys } ! else { ! include($mx_root_path . 'includes/shared/phpbb2/language/lang_' . $default_lang . '/lang_main.' . $phpEx); // Also include phpBB lang keys } --- 354,371 ---- // available so we're going to dump out a simple echo'd statement // ! if ((@include $lang_path . "lang_" . $default_lang . "/lang_main.$phpEx") === false) { ! if ((@include $lang_path . "lang_english/lang_main.$phpEx") === false) ! { ! die('Language file ' . $lang_path . "lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); ! } } ! ! if ((@include $mx_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx") === false) { ! if ((@include $mx_root_path . "language/lang_english/lang_main.$phpEx") === false) ! { ! die('Language file ' . $mx_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); ! } } |
|
From: Jon O. <jon...@us...> - 2008-01-31 22:05:46
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10895 Modified Files: config.php Log Message: ooops, sorry Index: config.php =================================================================== RCS file: /cvsroot/mxbb/core/config.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** config.php 30 Jan 2008 09:10:55 -0000 1.11 --- config.php 31 Jan 2008 22:05:36 -0000 1.12 *************** *** 6,19 **** // This file must be put into the mxBB Modular System directory, not into the phpBB directory. - $dbms = 'mysql'; - - $dbhost = 'localhost'; - $dbname = 'test'; - $dbuser = 'root'; - $dbpasswd = ''; - - $mx_table_prefix = 'mx_'; - - define('MX_INSTALLED', true); ?> \ No newline at end of file --- 6,9 ---- |