From dhaun at qs1489.pair.com Sat Feb 2 10:04:39 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 15:04:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs calendar.html, 1.9, 1.10 history, 1.602, 1.603 Message-ID: <20080202150439.7A4EF10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv41526/public_html/docs Modified Files: calendar.html history Log Message: Removed the last (unused) traces of the $_STATES array Index: calendar.html =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/calendar.html,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** calendar.html 5 Aug 2007 09:33:02 -0000 1.9 --- calendar.html 2 Feb 2008 15:04:37 -0000 1.10 *************** *** 105,111 **** locale settings from Geeklog's main config.php. -
  • The names of the states that are listed in a drop-down - box when submitting an event are taken from the $_STATES array - at the end of Geeklog's main config.php.
  • --- 105,108 ---- Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.602 retrieving revision 1.603 diff -C2 -d -r1.602 -r1.603 *** history 21 Dec 2007 13:50:15 -0000 1.602 --- history 2 Feb 2008 15:04:37 -0000 1.603 *************** *** 1,6 **** Geeklog History/Changes: ! ??? ??, 2007 (1.5.0) ------------ - New function SEC_encryptPassword() to be used when we have to encrypt a password. This is only a wrapper for md5() for now but should it make easier --- 1,8 ---- Geeklog History/Changes: ! ??? ??, 2008 (1.5.0) ------------ + - COM_hit() is now called from COM_siteFooter() instead of doing the UPDATE SQL + directly (reported by Joe Mucchiello) [Dirk] - New function SEC_encryptPassword() to be used when we have to encrypt a password. This is only a wrapper for md5() for now but should it make easier *************** *** 112,115 **** --- 114,119 ---- Calendar plugin (1.0.2) --------------- + - The global $_STATES has been removed from Geeklog. The state in an event's + details is now a simple text entry field. - The form to add an event to the personal calendar was missing the site footer (reported by Mark Evans) [Dirk] *************** *** 121,125 **** - Added config option what should be displayed after event saving [Oliver] ! Links plugin (2.0) ------------ - Added owner_id field to submissions to record submitter and align with --- 125,129 ---- - Added config option what should be displayed after event saving [Oliver] ! Links plugin (2.0.0) ------------ - Added owner_id field to submissions to record submitter and align with *************** *** 150,154 **** simple x.x.x.x-y.y.y.y ranges [Dirk] ! Static Pages plugin (1.5) ------------------- - Bugfix: In a multi-language setup, we need to be able to see all topics for --- 154,158 ---- simple x.x.x.x-y.y.y.y ranges [Dirk] ! Static Pages plugin (1.5.0) ------------------- - Bugfix: In a multi-language setup, we need to be able to see all topics for From dhaun at qs1489.pair.com Sat Feb 2 10:04:39 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 15:04:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html siteconfig.php,1.9,1.10 Message-ID: <20080202150439.6014610FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv41526/public_html Modified Files: siteconfig.php Log Message: Removed the last (unused) traces of the $_STATES array Index: siteconfig.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/siteconfig.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** siteconfig.php 27 Jan 2008 15:23:32 -0000 1.9 --- siteconfig.php 2 Feb 2008 15:04:37 -0000 1.10 *************** *** 27,32 **** // Useful Stuff - global $_STATES; - if (!defined('LB')) { --- 27,30 ---- From dhaun at qs1489.pair.com Sat Feb 2 11:36:36 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 16:36:36 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.21, 1.22 Message-ID: <20080202163636.1A6D010FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install In directory qs1489.pair.com:/tmp/cvs-serv44585/public_html/admin/install Modified Files: config-install.php Log Message: Have the config data for the Static Pages plugin in only one place Index: config-install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** config-install.php 27 Jan 2008 10:53:03 -0000 1.21 --- config-install.php 2 Feb 2008 16:36:34 -0000 1.22 *************** *** 38,42 **** function install_config() { ! global $_TABLES; $c = config::get_instance(); --- 38,42 ---- function install_config() { ! global $_CONF, $_TABLES; $c = config::get_instance(); *************** *** 230,245 **** // Add the configuration records for the default installed plugins ! $c->add('allow_php', 1, 'select', 0, 0, 0, 10, true, 'staticpages'); ! $c->add('sort_by', 'id', 'select', 0, 0, 2, 20, true, 'staticpages'); ! $c->add('sort_menu_by', 'label', 'select', 0, 0, 3, 30, true, 'staticpages'); ! $c->add('delete_pages', 0, 'select', 0, 0, 0, 40, true, 'staticpages'); ! $c->add('in_block', 1, 'select', 0, 0, 0, 50, true, 'staticpages'); ! $c->add('show_hits', 1, 'select', 0, 0, 0, 60, true, 'staticpages'); ! $c->add('show_date', 1, 'select', 0, 0, 0, 70, true, 'staticpages'); ! $c->add('filter_html', 0, 'select', 0, 0, 0, 80, true, 'staticpages'); ! $c->add('censor', 1, 'select', 0, 0, 0, 90, true, 'staticpages'); ! $c->add('aftersave', 'item', 'select', 0, 0, 9, 100, true, 'staticpages'); ! $c->add('atom_max_items', 10, 'text', 0, 0, null, 110, true, 'staticpages'); ! $c->add('default_permissions', array(3,2,2,2), '@select', 0, 1, 12, 120, true, 'staticpages'); $c->add('logging', true, 'select', 0, 0, 1, 10, true, 'spamx'); --- 230,239 ---- // Add the configuration records for the default installed plugins ! $plugin_path = $_CONF['path'] . 'plugins/'; ! ! require_once $plugin_path . 'staticpages/install_defaults.php'; ! ! plugin_initconfig_staticpages(); ! $c->add('logging', true, 'select', 0, 0, 1, 10, true, 'spamx'); From dhaun at qs1489.pair.com Sat Feb 2 11:36:36 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 16:36:36 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/staticpages functions.inc, 1.113, 1.114 install_defaults.php, 1.2, 1.3 Message-ID: <20080202163636.1279C10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages In directory qs1489.pair.com:/tmp/cvs-serv44585/plugins/staticpages Modified Files: functions.inc install_defaults.php Log Message: Have the config data for the Static Pages plugin in only one place Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/functions.inc,v retrieving revision 1.113 retrieving revision 1.114 diff -C2 -d -r1.113 -r1.114 *** functions.inc 26 Jan 2008 13:14:46 -0000 1.113 --- functions.inc 2 Feb 2008 16:36:33 -0000 1.114 *************** *** 1021,1025 **** function plugin_upgrade_staticpages () { ! global $_CONF,$_TABLES, $_SP_CONF, $plugin_path; // the plugin needs this function so complain when it doesn't exist --- 1021,1025 ---- function plugin_upgrade_staticpages () { ! global $_CONF, $_TABLES, $_SP_CONF, $plugin_path; // the plugin needs this function so complain when it doesn't exist *************** *** 1031,1068 **** "pi_name = 'staticpages'"); ! if ($pi_version == '1.4.3') { // Need to initialize the config table - GL 1.5+ feature ! if (file_exists("{$plugin_path}config.php")) { ! require_once $_CONF['path_system'] . 'classes/config.class.php'; ! $sp_config = config::get_instance(); ! $sp_config->initConfig(); ! if (! $sp_config->group_exists('staticpages')) { ! $sp_config->add('allow_php', $_SP_CONF['allow_php'], 'select', 0, 0, 0, 10, true, 'staticpages'); ! $sp_config->add('sort_by', $_SP_CONF['sort_by'], 'select', 0, 0, 2, 20, true, 'staticpages'); ! $sp_config->add('sort_menu_by', $_SP_CONF['sort_menu_by'], 'select', 0, 0, 3, 30, true, 'staticpages'); ! $sp_config->add('delete_pages', $_SP_CONF['delete_pages'], 'select', 0, 0, 0, 40, true, 'staticpages'); ! $sp_config->add('in_block', $_SP_CONF['in_block'], 'select', 0, 0, 0, 50, true, 'staticpages'); ! $sp_config->add('show_hits', $_SP_CONF['show_hits'], 'select', 0, 0, 0, 60, true, 'staticpages'); ! $sp_config->add('show_date', $_SP_CONF['show_date'], 'select', 0, 0, 0, 70, true, 'staticpages'); ! $sp_config->add('filter_html', $_SP_CONF['filter_html'], 'select', 0, 0, 0, 80, true, 'staticpages'); ! $sp_config->add('censor', $_SP_CONF['censor'], 'select', 0, 0, 0, 90, true, 'staticpages'); ! $sp_config->add('aftersave', $_SP_CONF['aftersave'], 'select', 0, 0, 9, 100, true, 'staticpages'); ! $sp_config->add('atom_max_items', $_SP_CONF['atom_max_items'], 'text', 0, 0, null, 110, true, 'staticpages'); ! $sp_config->add('default_permissions', $_SP_CONF['default_permissions'], '@select', 0, 1, 12, 120, true, 'staticpages'); ! // Rename the existing config.php as it's not needed now ! $ret = @rename ("{$plugin_path}config.php","{$plugin_path}config-pre1.4.3.php"); ! if (!$ret) { ! COM_errorLog("Staticpages upgrade to 1.5 error - unable to rename plugins config.php to complete upgrade"); ! return 3003; ! } elseif ($sp_config->group_exists('staticpages')) { ! DB_query ("UPDATE {$_TABLES['plugins']} SET pi_version = '1.5.0' WHERE pi_name = 'staticpages'"); ! } else { ! COM_errorLog("Staticpages upgrade to 1.5 failed"); ! return 3001; ! } } } else { ! COM_errorLog("Staticpages upgrade to 1.5 failed - missing plugins config.php"); ! return 3004; } --- 1031,1059 ---- "pi_name = 'staticpages'"); ! if ($pi_version == '1.4.3') { // Need to initialize the config table ! require_once $_CONF['path_system'] . 'classes/config.class.php'; ! require_once $plugin_path . 'install_defaults.php'; ! ! if (!plugin_initconfig_staticpages()) { ! COM_errorLog("Staticpages upgrade to 1.5.0 failed"); ! return 3001; ! } ! ! if (file_exists($plugin_path . 'config.php')) { ! // Rename the existing config.php as it's not needed any more ! $ren = @rename($plugin_path . 'config.php', ! $plugin_path . 'config-pre1.4.3.php'); ! if (!$ren) { ! COM_errorLog("Could not rename the Static Pages plugin's config.php file. Please remove if manually, as it is not needed any more."); } + } + + $sp_config = config::get_instance(); + if ($sp_config->group_exists('staticpages')) { + DB_query ("UPDATE {$_TABLES['plugins']} SET pi_version = '1.5.0', pi_gl_version = '1.5.0' WHERE pi_name = 'staticpages'"); } else { ! COM_errorLog("Staticpages upgrade to 1.5.0 failed"); ! return 3001; } Index: install_defaults.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/install_defaults.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** install_defaults.php 27 Jan 2008 19:53:00 -0000 1.2 --- install_defaults.php 2 Feb 2008 16:36:33 -0000 1.3 *************** *** 1,4 **** --- 1,42 ---- 1)) { + $_SP_DEFAULT = $_SP_CONF; + } + + $c = config::get_instance(); + if (!$c->group_exists('staticpages')) { + + $c->add('allow_php', $_SP_DEFAULT['allow_php'], 'select', + 0, 0, 0, 10, true, 'staticpages'); + $c->add('sort_by', $_SP_DEFAULT['sort_by'], 'select', + 0, 0, 2, 20, true, 'staticpages'); + $c->add('sort_menu_by', $_SP_DEFAULT['sort_menu_by'], 'select', + 0, 0, 3, 30, true, 'staticpages'); + $c->add('delete_pages', $_SP_DEFAULT['delete_pages'], 'select', + 0, 0, 0, 40, true, 'staticpages'); + $c->add('in_block', $_SP_DEFAULT['in_block'], 'select', + 0, 0, 0, 50, true, 'staticpages'); + $c->add('show_hits', $_SP_DEFAULT['show_hits'], 'select', + 0, 0, 0, 60, true, 'staticpages'); + $c->add('show_date', $_SP_DEFAULT['show_date'], 'select', + 0, 0, 0, 70, true, 'staticpages'); + $c->add('filter_html', $_SP_DEFAULT['filter_html'], 'select', + 0, 0, 0, 80, true, 'staticpages'); + $c->add('censor', $_SP_DEFAULT['censor'], 'select', + 0, 0, 0, 90, true, 'staticpages'); + $c->add('aftersave', $_SP_DEFAULT['aftersave'], 'select', + 0, 0, 9, 100, true, 'staticpages'); + $c->add('atom_max_items', $_SP_DEFAULT['atom_max_items'], 'text', + 0, 0, null, 110, true, 'staticpages'); + $c->add('default_permissions', $_SP_DEFAULT['default_permissions'], + '@select', 0, 1, 12, 120, true, 'staticpages'); + + } + + return true; + } ?> From dhaun at qs1489.pair.com Sat Feb 2 11:36:36 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 16:36:36 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/staticpages install.php, 1.29, 1.30 Message-ID: <20080202163636.2982D10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/staticpages In directory qs1489.pair.com:/tmp/cvs-serv44585/public_html/admin/plugins/staticpages Modified Files: install.php Log Message: Have the config data for the Static Pages plugin in only one place Index: install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/staticpages/install.php,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** install.php 26 Jan 2008 20:05:44 -0000 1.29 --- install.php 2 Feb 2008 16:36:34 -0000 1.30 *************** *** 54,60 **** $base_path = $_CONF['path'] . 'plugins/' . $pi_name . '/'; - // Load the configuration defaults - require_once $base_path . 'install_defaults.php'; - // name of the Admin group $pi_admin = $pi_display_name . ' Admin'; --- 54,57 ---- *************** *** 105,130 **** function plugin_load_configuration() { ! global $_CONF, $pi_name, $_SP_DEFAULT; require_once $_CONF['path_system'] . 'classes/config.class.php'; ! $sp_config = config::get_instance(); ! $sp_config->initConfig(); ! if (! $sp_config->group_exists($pi_name)) { ! $sp_config->add('allow_php', $_SP_DEFAULT['allow_php'], 'select', 0, 0, 0, 10, true, 'staticpages'); ! $sp_config->add('sort_by', $_SP_DEFAULT['sort_by'], 'select', 0, 0, 2, 20, true, 'staticpages'); ! $sp_config->add('sort_menu_by', $_SP_DEFAULT['sort_menu_by'], 'select', 0, 0, 3, 30, true, 'staticpages'); ! $sp_config->add('delete_pages', $_SP_DEFAULT['delete_pages'], 'select', 0, 0, 0, 40, true, 'staticpages'); ! $sp_config->add('in_block', $_SP_DEFAULT['in_block'], 'select', 0, 0, 0, 50, true, 'staticpages'); ! $sp_config->add('show_hits', $_SP_DEFAULT['show_hits'], 'select', 0, 0, 0, 60, true, 'staticpages'); ! $sp_config->add('show_date', $_SP_DEFAULT['show_date'], 'select', 0, 0, 0, 70, true, 'staticpages'); ! $sp_config->add('filter_html', $_SP_DEFAULT['filter_html'], 'select', 0, 0, 0, 80, true, 'staticpages'); ! $sp_config->add('censor', $_SP_DEFAULT['censor'], 'select', 0, 0, 0, 90, true, 'staticpages'); ! $sp_config->add('aftersave', $_SP_DEFAULT['aftersave'], 'select', 0, 0, 9, 100, true, 'staticpages'); ! $sp_config->add('atom_max_items', $_SP_DEFAULT['atom_max_items'], 'text', 0, 0, null, 110, true, 'staticpages'); ! $sp_config->add('default_permissions', $_SP_DEFAULT['default_permissions'], '@select', 0, 1, 12, 120, true, 'staticpages'); ! } ! ! return true; } --- 102,111 ---- function plugin_load_configuration() { ! global $_CONF, $base_path; require_once $_CONF['path_system'] . 'classes/config.class.php'; + require_once $base_path . 'install_defaults.php'; ! return plugin_initconfig_staticpages(); } From dhaun at qs1489.pair.com Sat Feb 2 11:36:36 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 16:36:36 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mysql_1.4.1_to_1.5.0.php, 1.59, 1.60 Message-ID: <20080202163636.39B5510FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv44585/sql/updates Modified Files: mysql_1.4.1_to_1.5.0.php Log Message: Have the config data for the Static Pages plugin in only one place Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** mysql_1.4.1_to_1.5.0.php 27 Jan 2008 19:52:31 -0000 1.59 --- mysql_1.4.1_to_1.5.0.php 2 Feb 2008 16:36:34 -0000 1.60 *************** *** 301,324 **** $plugin_path = $_CONF['path'] . 'plugins/staticpages/'; if (file_exists($plugin_path . 'config.php')) { require_once $plugin_path . 'config.php'; - $_SP_DEFAULT = $_SP_CONF; - } else { - require_once $plugin_path . 'install_defaults.php'; } ! $c = config::get_instance(); ! $c->add('allow_php', $_SP_DEFAULT['allow_php'], 'select', 0, 0, 0, 10, true, 'staticpages'); ! $c->add('sort_by', $_SP_DEFAULT['sort_by'], 'select', 0, 0, 2, 20, true, 'staticpages'); ! $c->add('sort_menu_by', $_SP_DEFAULT['sort_menu_by'], 'select', 0, 0, 3, 30, true, 'staticpages'); ! $c->add('delete_pages', $_SP_DEFAULT['delete_pages'], 'select', 0, 0, 0, 40, true, 'staticpages'); ! $c->add('in_block', $_SP_DEFAULT['in_block'], 'select', 0, 0, 0, 50, true, 'staticpages'); ! $c->add('show_hits', $_SP_DEFAULT['show_hits'], 'select', 0, 0, 0, 60, true, 'staticpages'); ! $c->add('show_date', $_SP_DEFAULT['show_date'], 'select', 0, 0, 0, 70, true, 'staticpages'); ! $c->add('filter_html', $_SP_DEFAULT['filter_html'], 'select', 0, 0, 0, 80, true, 'staticpages'); ! $c->add('censor', $_SP_DEFAULT['censor'], 'select', 0, 0, 0, 90, true, 'staticpages'); ! $c->add('aftersave', $_SP_DEFAULT['aftersave'], 'select', 0, 0, 9, 100, true, 'staticpages'); ! $c->add('atom_max_items', $_SP_DEFAULT['atom_max_items'], 'text', 0, 0, null, 110, true, 'staticpages'); ! $c->add('default_permissions', $_SP_DEFAULT['default_permissions'], '@select', 0, 1, 12, 120, true, 'staticpages'); $P_SQL = array(); --- 301,316 ---- $plugin_path = $_CONF['path'] . 'plugins/staticpages/'; + require_once $plugin_path . 'install_defaults.php'; + if (file_exists($plugin_path . 'config.php')) { + global $_SP_CONF; + require_once $plugin_path . 'config.php'; } ! if (!plugin_initconfig_staticpages()) { ! echo 'There was an error upgrading the Static Pages plugin'; ! return false; ! } $P_SQL = array(); *************** *** 331,335 **** $rst = DB_query($sql); if (DB_error()) { ! echo "There was an error upgrading the staticpages, SQL: $sql
    "; return false; } --- 323,327 ---- $rst = DB_query($sql); if (DB_error()) { ! echo "There was an error upgrading the Static Pages plugin, SQL: $sql
    "; return false; } *************** *** 337,346 **** if (file_exists($plugin_path . 'config.php')) { ! $ret = @rename($plugin_path . 'config.php', $plugin_path . 'config-pre1.4.3.php'); - if (!ret) { - echo "There was an error upgrading the Static Pages plugin: Could not rename config.php"; - return false; - } } --- 329,335 ---- if (file_exists($plugin_path . 'config.php')) { ! // Rename the existing config.php as it's not needed any more ! $ren = @rename($plugin_path . 'config.php', $plugin_path . 'config-pre1.4.3.php'); } From dhaun at qs1489.pair.com Sat Feb 2 15:03:09 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 20:03:09 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/spamx install.php, 1.22, 1.23 Message-ID: <20080202200309.15CE810FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/spamx In directory qs1489.pair.com:/tmp/cvs-serv51673/public_html/admin/plugins/spamx Modified Files: install.php Log Message: Have the config data for the Spam-X plugin in only one place Index: install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/spamx/install.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** install.php 26 Jan 2008 20:06:07 -0000 1.22 --- install.php 2 Feb 2008 20:03:06 -0000 1.23 *************** *** 51,54 **** --- 51,56 ---- $pi_url = 'http://www.pigstye.net/gplugs/staticpages/index.php/spamx'; + $base_path = $_CONF['path'] . 'plugins/' . $pi_name . '/'; + // name of the Admin group $pi_admin = $pi_name . ' Admin'; *************** *** 92,110 **** function plugin_load_configuration() { ! global $_CONF, $pi_name; require_once $_CONF['path_system'] . 'classes/config.class.php'; ! $c = config::get_instance(); ! $c->initConfig(); ! if (!$c->group_exists($pi_name)) { ! $c->add('logging', true, 'select', 0, 0, 1, 10, true, 'spamx'); ! $c->add('admin_override', false, 'select', 0, 0, 1, 20, true, 'spamx'); ! $c->add('timeout', 5, 'text', 0, 0, null, 30, true, 'spamx'); ! $c->add('notification_email', '', 'text', 0, 0, null, 40, false, 'spamx'); ! $c->add('action', 128, 'text', 0, 0, null, 50, false, 'spamx'); ! } ! ! return true; } --- 94,103 ---- function plugin_load_configuration() { ! global $_CONF, $base_path; require_once $_CONF['path_system'] . 'classes/config.class.php'; + require_once $base_path . 'install_defaults.php'; ! return plugin_initconfig_spamx(); } From dhaun at qs1489.pair.com Sat Feb 2 15:03:08 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 20:03:08 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.22, 1.23 Message-ID: <20080202200309.0336E10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install In directory qs1489.pair.com:/tmp/cvs-serv51673/public_html/admin/install Modified Files: config-install.php Log Message: Have the config data for the Spam-X plugin in only one place Index: config-install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** config-install.php 2 Feb 2008 16:36:34 -0000 1.22 --- config-install.php 2 Feb 2008 20:03:06 -0000 1.23 *************** *** 233,245 **** require_once $plugin_path . 'staticpages/install_defaults.php'; - plugin_initconfig_staticpages(); ! ! $c->add('logging', true, 'select', 0, 0, 1, 10, true, 'spamx'); ! $c->add('admin_override', false, 'select', 0, 0, 1, 20, true, 'spamx'); ! $c->add('timeout', 5, 'text', 0, 0, null, 30, true, 'spamx'); ! $c->add('notification_email', '', 'text', 0, 0, null, 40, false, 'spamx'); ! $c->add('action', 128, 'text', 0, 0, null, 50, false, 'spamx'); } --- 233,240 ---- require_once $plugin_path . 'staticpages/install_defaults.php'; plugin_initconfig_staticpages(); ! require_once $plugin_path . 'spamx/install_defaults.php'; ! plugin_initconfig_spamx(); } From dhaun at qs1489.pair.com Sat Feb 2 15:03:08 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 20:03:08 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/spamx install_defaults.php, NONE, 1.1 ProjectHoneyPot.Examine.class.php, 1.2, 1.3 functions.inc, 1.31, 1.32 config.php, 1.20, NONE Message-ID: <20080202200309.025F610FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/spamx In directory qs1489.pair.com:/tmp/cvs-serv51673/plugins/spamx Modified Files: ProjectHoneyPot.Examine.class.php functions.inc Added Files: install_defaults.php Removed Files: config.php Log Message: Have the config data for the Spam-X plugin in only one place Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/spamx/functions.inc,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** functions.inc 26 Jan 2008 17:17:41 -0000 1.31 --- functions.inc 2 Feb 2008 20:03:06 -0000 1.32 *************** *** 177,182 **** $v = DB_getItem($_TABLES['plugins'], 'pi_version', "pi_name = 'spamx'"); - if ($v != $_SPX_CONF['version']) { switch ($v) { case '1.0.1': --- 177,182 ---- $v = DB_getItem($_TABLES['plugins'], 'pi_version', "pi_name = 'spamx'"); if ($v != $_SPX_CONF['version']) { + switch ($v) { case '1.0.1': *************** *** 187,238 **** case '1.1.0': ! if (file_exists($plugin_path . 'config.php')) { ! require_once $_CONF['path_system'] . 'classes/config.class.php'; ! ! $spx_config = config::get_instance(); ! $spx_config->initConfig(); ! if (!$spx_config->group_exists('spamx')) { ! $enable_email = true; ! if (empty($_SPX_CONF['notification_email']) || ($_SPX_CONF['notification_email'] == $_CONF['site_mail'])) { ! $enable_email = false; ! } ! $spx_config->add('logging', $_SPX_CONF['logging'], 'select', 0, 0, 1, 10, true, 'spamx'); ! $spx_config->add('admin_override', $_SPX_CONF['admin_override'], 'select', 0, 0, 1, 20, true, 'spamx'); ! $spx_config->add('timeout', $_SPX_CONF['timeout'], 'text', 0, 0, null, 30, true, 'spamx'); ! $spx_config->add('notification_email', $_SPX_CONF['notification_email'], 'text', 0, 0, null, 40, $enable_email, 'spamx'); ! $spx_config->add('action', $_SPX_CONF['action'], 'text', 0, 0, null, 50, false, 'spamx'); ! // rename plugin's config.php as it's not needed any more ! $ret = @rename($plugin_path . 'config.php', ! $plugin_path . 'config-pre1.1.1.php'); ! if (!ret) { ! COM_errorLog("Spam-X upgrade failed - unable to rename plugin's config.php to complete upgrade"); ! return 3002; ! } elseif ($spx_config->group_exists('spamx')) { ! DB_query("UPDATE {$_TABLES['plugins']} SET pi_version = '{$_SPX_CONF['version']}', pi_gl_version = '1.5.0' WHERE pi_name = 'spamx'"); ! } else { ! COM_errorLog("Spam-X upgrade failed."); ! return 3002; ! } } } else { ! COM_errorLog("Spam-X upgrade failed - did not find plugin's config.php"); return 3002; } break; } - - // update version numbers - - // check if version number was updated successfully - $v = DB_getItem($_TABLES['plugins'], 'pi_version', "pi_name = 'spamx'"); } ! if ($v == $_SPX_CONF['version']) { ! return 3001; ! } ! ! return 3002; } --- 187,219 ---- case '1.1.0': ! require_once $_CONF['path_system'] . 'classes/config.class.php'; ! require_once $plugin_path . 'install_defaults.php'; ! if (!plugin_initconfig_spamx()) { ! COM_errorLog("Spam-X upgrade to 1.1.1 failed"); ! return 3002; ! } ! if (file_exists($plugin_path . 'config.php')) { ! // Rename the existing config.php as it's not needed any more ! $ren = @rename($plugin_path . 'config.php', ! $plugin_path . 'config-pre1.1.1.php'); ! if (!$ren) { ! COM_errorLog("Could not rename the ages Spam-X plugin's config.php file. Please remove if manually, as it is not needed any more."); } + } + + $spx_config = config::get_instance(); + if ($spx_config->group_exists('spamx')) { + DB_query("UPDATE {$_TABLES['plugins']} SET pi_version = '1.1.1', pi_gl_version = '1.5.0' WHERE pi_name = 'spamx'"); } else { ! COM_errorLog("Spam-X upgrade to 1.1.1 failed"); return 3002; } break; } } ! return 3001; // success msg } --- config.php DELETED --- Index: ProjectHoneyPot.Examine.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/spamx/ProjectHoneyPot.Examine.class.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ProjectHoneyPot.Examine.class.php 7 May 2007 19:40:45 -0000 1.2 --- ProjectHoneyPot.Examine.class.php 2 Feb 2008 20:03:06 -0000 1.3 *************** *** 56,59 **** --- 56,79 ---- /* + * The following settings all relate to the ProjectHoneyPot.org http:BL + * examine module. In order to use this, you *MUST* register with + * ProjectHoneyPot. You *MUST* install a Honey Pot. You *MUST* accept the + * terms of use of the http:BL and acquire your own http:BL access key. + */ + $_SPX_CONF['http_bl_enable'] = true; // Whether or not to use the http:BL, true or false. + // You can get your access key from: http://www.projecthoneypot.org/httpbl_configure.php + // regardless of http_bl_enable, if you don't have a key, this won't work. + $_SPX_CONF['http_bl_access_key'] = 'NOT.CONFIGURED.RIGHT'; + // Whether or not to use TCP (Virtual Circuits) instead of UDP. If set to false, + // UDP will be used unless TCP is required. TCP is required for questions or + // responses greater than 512 bytes. + $_SPX_CONF['http_bl_use_tcp'] = true; + // DNS Servers to use, in my development environment, I found that the examine + // failed without configuring this. Must be an array of IP addresses, or false: + $_SPX_CONF['http_bl_dns_servers'] = false; + // example of array with dummy values: $_SPX_CONF['http_bl_dns_servers'] = array('ip1','ip2'); + + + /* * Debug settings: * --- NEW FILE: install_defaults.php --- 1)) { $_SPX_DEFAULT = $_SPX_CONF; } $c = config::get_instance(); if (!$c->group_exists('spamx')) { $enable_email = true; if (empty($_SPX_DEFAULT['notification_email']) || ($_SPX_DEFAULT['notification_email'] == $_CONF['site_mail'])) { $enable_email = false; } $c->add('logging', $_SPX_DEFAULT['logging'], 'select', 0, 0, 1, 10, true, 'spamx'); $c->add('admin_override', $_SPX_DEFAULT['admin_override'], 'select', 0, 0, 1, 20, true, 'spamx'); $c->add('timeout', $_SPX_DEFAULT['timeout'], 'text', 0, 0, null, 30, true, 'spamx'); $c->add('notification_email', $_SPX_DEFAULT['notification_email'], 'text', 0, 0, null, 40, $enable_email, 'spamx'); $c->add('action', $_SPX_DEFAULT['action'], 'text', 0, 0, null, 50, false, 'spamx'); } return true; } ?> From dhaun at qs1489.pair.com Sat Feb 2 15:03:09 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 02 Feb 2008 20:03:09 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mysql_1.4.1_to_1.5.0.php, 1.60, 1.61 Message-ID: <20080202200309.15F1810FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv51673/sql/updates Modified Files: mysql_1.4.1_to_1.5.0.php Log Message: Have the config data for the Spam-X plugin in only one place Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** mysql_1.4.1_to_1.5.0.php 2 Feb 2008 16:36:34 -0000 1.60 --- mysql_1.4.1_to_1.5.0.php 2 Feb 2008 20:03:07 -0000 1.61 *************** *** 377,386 **** require_once $_CONF['path_system'] . 'classes/config.class.php'; ! $c = config::get_instance(); ! $c->add('logging', true, 'select', 0, 0, 1, 10, true, 'spamx'); ! $c->add('admin_override', false, 'select', 0, 0, 1, 20, true, 'spamx'); ! $c->add('timeout', 5, 'text', 0, 0, null, 30, true, 'spamx'); ! $c->add('notification_email', '', 'text', 0, 0, null, 40, false, 'spamx'); ! $c->add('action', 128, 'text', 0, 0, null, 50, false, 'spamx'); $sql = "UPDATE {$_TABLES['plugins']} SET pi_version = '1.1.1', pi_gl_version = '1.5.0' WHERE pi_name = 'spamx'"; --- 377,393 ---- require_once $_CONF['path_system'] . 'classes/config.class.php'; ! $plugin_path = $_CONF['path'] . 'plugins/spamx/'; ! require_once $plugin_path . 'install_defaults.php'; ! ! if (file_exists($plugin_path . 'config.php')) { ! global $_SPX_CONF; ! ! require_once $plugin_path . 'config.php'; ! } ! ! if (!plugin_initconfig_spamx()) { ! echo 'There was an error upgrading the Spam-X plugin'; ! return false; ! } $sql = "UPDATE {$_TABLES['plugins']} SET pi_version = '1.1.1', pi_gl_version = '1.5.0' WHERE pi_name = 'spamx'"; From blaine at qs1489.pair.com Sat Feb 2 16:56:21 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 02 Feb 2008 21:56:21 +0000 Subject: [geeklog-cvs] Geeklog-1.x/language english.php, 1.325, 1.326 english_utf-8.php, 1.110, 1.111 Message-ID: <20080202215621.127EC10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/language In directory qs1489.pair.com:/tmp/cvs-serv56580 Modified Files: english.php english_utf-8.php Log Message: Modifications to config manager to not use a standard block function. Config Manager menu(s) are setup to be part of the configmanager template. The config menu block will use the theme's functions.php to get any block header and footer templates. By default we are using a new pair of templates that don't have a title to tighten up the layout. Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english.php,v retrieving revision 1.325 retrieving revision 1.326 diff -C2 -d -r1.325 -r1.326 *** english.php 27 Jan 2008 10:53:03 -0000 1.325 --- english.php 2 Feb 2008 21:56:18 -0000 1.326 *************** *** 1561,1570 **** $LANG_CONFIG = array( ! 'sections' => 'Configuration Sections', ! 'restore' => 'Restore', ! 'add_element' => 'Add Element', ! 'save_changes' => 'Save Changes', ! 'reset_form' => 'Reset Form', ! 'changes_made' => 'Changes were successfully made to' ); --- 1561,1572 ---- $LANG_CONFIG = array( ! 'home' => 'Home', ! 'admin_home' => 'Site Administration', ! 'sections' => 'Configuration Sections', ! 'restore' => 'Restore', ! 'add_element' => 'Add Element', ! 'save_changes' => 'Save Changes', ! 'reset_form' => 'Reset Form', ! 'changes_made' => 'Changes were successfully made to' ); Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english_utf-8.php,v retrieving revision 1.110 retrieving revision 1.111 diff -C2 -d -r1.110 -r1.111 *** english_utf-8.php 27 Jan 2008 10:53:03 -0000 1.110 --- english_utf-8.php 2 Feb 2008 21:56:18 -0000 1.111 *************** *** 1561,1570 **** $LANG_CONFIG = array( ! 'sections' => 'Configuration Sections', ! 'restore' => 'Restore', ! 'add_element' => 'Add Element', ! 'save_changes' => 'Save Changes', ! 'reset_form' => 'Reset Form', ! 'changes_made' => 'Changes were successfully made to' ); --- 1561,1572 ---- $LANG_CONFIG = array( ! 'home' => 'Home', ! 'admin_home' => 'Site Administration', ! 'sections' => 'Configuration Sections', ! 'restore' => 'Restore', ! 'add_element' => 'Add Element', ! 'save_changes' => 'Save Changes', ! 'reset_form' => 'Reset Form', ! 'changes_made' => 'Changes were successfully made to' ); From blaine at qs1489.pair.com Sat Feb 2 16:56:29 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 02 Feb 2008 21:56:29 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin configuration.php, 1.10, 1.11 Message-ID: <20080202215629.DAD8D10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv56603 Modified Files: configuration.php Log Message: Modifications to config manager to not use a standard block function. Config Manager menu(s) are setup to be part of the configmanager template. The config menu block will use the theme's functions.php to get any block header and footer templates. By default we are using a new pair of templates that don't have a title to tighten up the layout. Index: configuration.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/configuration.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** configuration.php 27 Jan 2008 09:02:15 -0000 1.10 --- configuration.php 2 Feb 2008 21:56:27 -0000 1.11 *************** *** 39,97 **** $config =& config::get_instance(); - - function configmanager_menu() - { - global $_CONF, $config, $conf_group, $LANG01, $LANG_ADMIN, $LANG_CONFIG, - $LANG_configsections, $LANG_configsubgroups; - - $retval = COM_startBlock($LANG_CONFIG['sections'], '', 'blockheader.thtml'); - $link_array = array(); - - $groups = $config->_get_groups(); - if (count($groups) > 0) { - foreach ($groups as $group) { - if (empty($LANG_configsections[$group]['label'])) { - $group_display = ucwords($group); - } else { - $group_display = $LANG_configsections[$group]['label']; - } - $link = "
    $group_display
    "; - - if ($group == 'Core') { - $retval .= $link; - } else { - $link_array[$group_display] = $link; - } - } - } - - uksort($link_array, 'strcasecmp'); - foreach ($link_array as $link) { - $retval .= $link; - } - - $retval .= '
    ' - . $LANG_ADMIN['admin_home'] . '
    '; - $retval .= COM_endBlock('blockfooter.thtml'); - - if (empty($LANG_configsections[$conf_group]['title'])) { - $subgroup_title = ucwords($conf_group); - } else { - $subgroup_title = $LANG_configsections[$conf_group]['title']; - } - $retval .= COM_startBlock($subgroup_title, '', 'blockheader.thtml'); - - $groups = $config->get_sgroups($conf_group); - if (count($groups) > 0) { - foreach ($groups as $group) { - $group_display = $LANG_configsubgroups[$conf_group][$group]; - $retval .= "
    $group_display
    "; - } - } - $retval .= COM_endBlock('blockfooter.thtml'); - - return $retval; - } - /** * Helper function: Provide language dropdown --- 39,42 ---- From blaine at qs1489.pair.com Sat Feb 2 16:56:37 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 02 Feb 2008 21:56:37 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional blockfooter-notitle.thtml, NONE, 1.1 blockheader-notitle.thtml, NONE, 1.1 functions.php, 1.9, 1.10 Message-ID: <20080202215637.03DA810FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional In directory qs1489.pair.com:/tmp/cvs-serv56623 Modified Files: functions.php Added Files: blockfooter-notitle.thtml blockheader-notitle.thtml Log Message: Modifications to config manager to not use a standard block function. Config Manager menu(s) are setup to be part of the configmanager template. The config menu block will use the theme's functions.php to get any block header and footer templates. By default we are using a new pair of templates that don't have a title to tighten up the layout. Index: functions.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/functions.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** functions.php 8 Feb 2007 02:22:15 -0000 1.9 --- functions.php 2 Feb 2008 21:56:34 -0000 1.10 *************** *** 24,28 **** $_BLOCK_TEMPLATE['_msg_block'] = 'blockheader-message.thtml,blockfooter-message.thtml'; ! $_BLOCK_TEMPLATE['whats_related_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; $_BLOCK_TEMPLATE['story_options_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; --- 24,28 ---- $_BLOCK_TEMPLATE['_msg_block'] = 'blockheader-message.thtml,blockfooter-message.thtml'; ! $_BLOCK_TEMPLATE['configmanager_block'] = 'blockheader-notitle.thtml,blockfooter-notitle.thtml'; $_BLOCK_TEMPLATE['whats_related_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; $_BLOCK_TEMPLATE['story_options_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; --- NEW FILE: blockheader-notitle.thtml ---
    --- NEW FILE: blockfooter-notitle.thtml ---
    From blaine at qs1489.pair.com Sat Feb 2 16:56:36 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 02 Feb 2008 21:56:36 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional/admin/config configuration.thtml, 1.9, 1.10 Message-ID: <20080202215636.E962F10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/admin/config In directory qs1489.pair.com:/tmp/cvs-serv56623/admin/config Modified Files: configuration.thtml Log Message: Modifications to config manager to not use a standard block function. Config Manager menu(s) are setup to be part of the configmanager template. The config menu block will use the theme's functions.php to get any block header and footer templates. By default we are using a new pair of templates that don't have a title to tighten up the layout. Index: configuration.thtml =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/admin/config/configuration.thtml,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** configuration.thtml 27 Jan 2008 09:02:15 -0000 1.9 --- configuration.thtml 2 Feb 2008 21:56:34 -0000 1.10 *************** *** 5,45 **** !
    ! {lang_changes_made}: ! {change_block} !
    !
    ! ! !
    ! !
    {fs_display} ! !
    !

    {fs_display}

    !

    {fs_help}

    ! {fs_warning} !
    ! ! ! ! ! {fs_contents} !
    !
    ! !
    ! !
    ! ! !
    !
    --- 5,55 ---- ! ! ! ! ! !
    !
    ! {lang_changes_made}: ! {change_block} !
    !
    ! ! !
    ! !
    {fs_display} ! !
    !

    {fs_display}

    !

    {fs_help}

    ! {fs_warning} !
    ! ! ! ! ! {fs_contents} !
    !
    ! !
    ! !
    ! ! !
    !
    ! !
    \ No newline at end of file From blaine at qs1489.pair.com Sat Feb 2 16:56:45 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 02 Feb 2008 21:56:45 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.18, 1.19 Message-ID: <20080202215645.BBED610FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv56655 Modified Files: config.class.php Log Message: Modifications to config manager to not use a standard block function. Config Manager menu(s) are setup to be part of the configmanager template. The config menu block will use the theme's functions.php to get any block header and footer templates. By default we are using a new pair of templates that don't have a title to tighten up the layout. Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** config.class.php 27 Jan 2008 09:02:15 -0000 1.18 --- config.class.php 2 Feb 2008 21:56:43 -0000 1.19 *************** *** 438,442 **** // Output the result and add the required CSS for the dropline menu $cssfile = '' . LB; ! $display = COM_siteHeader(array('configmanager_menu'),'Configuration Manager',$cssfile); if ($change_result != null AND $change_result !== array()) { $t->set_var('change_block',$this->_UI_get_change_block($change_result)); --- 438,443 ---- // Output the result and add the required CSS for the dropline menu $cssfile = '' . LB; ! $display = COM_siteHeader('none','Configuration Manager',$cssfile); ! $t->set_var('config_menu',$this->_UI_configmanager_menu($grp)); if ($change_result != null AND $change_result !== array()) { $t->set_var('change_block',$this->_UI_get_change_block($change_result)); *************** *** 647,650 **** --- 648,683 ---- return $r; + } + + + function _UI_configmanager_menu($conf_group) { + global $_CONF,$LANG_configsubgroups,$LANG_CONFIG; + + $retval = COM_startBlock( 'Config Sections', '', COM_getBlockTemplate( 'configmanager_block', 'header' )); + $retval .= "
    {$LANG_CONFIG['home']}
    "; + $retval .= "
    {$LANG_CONFIG['admin_home']}
    "; + $groups = $this->_get_groups(); + if (count($groups) > 0) { + foreach ($groups as $group) { + $group_display = ucwords($group); + $retval .= "
    $group_display
    "; + } + } + $retval .= COM_endBlock(COM_getBlockTemplate( 'configmanager_block', 'footer' )); + + $subgroup_title = ucwords($conf_group); + $retval .= COM_startBlock( $subgroup_title, '',COM_getBlockTemplate( 'configmanager_block', 'header' ) ); + + $groups = $this->get_sgroups($conf_group); + if (count($groups) > 0) { + foreach ($groups as $group) { + $group_display = $LANG_configsubgroups[$conf_group][$group]; + $retval .= "
    $group_display
    "; + } + } + $retval .= COM_endBlock(COM_getBlockTemplate( 'configmanager_block', 'footer' )); + + return $retval; + } } From dhaun at qs1489.pair.com Sun Feb 3 03:36:22 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 08:36:22 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.19, 1.20 Message-ID: <20080203083622.2DB4F10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv85788/system/classes Modified Files: config.class.php Log Message: Reinstated some earlier improvements: Nice names for the config sections; sections sorted by plugin name (with "Geeklog" always on top) Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** config.class.php 2 Feb 2008 21:56:43 -0000 1.19 --- config.class.php 3 Feb 2008 08:36:20 -0000 1.20 *************** *** 651,671 **** ! function _UI_configmanager_menu($conf_group) { ! global $_CONF,$LANG_configsubgroups,$LANG_CONFIG; - $retval = COM_startBlock( 'Config Sections', '', COM_getBlockTemplate( 'configmanager_block', 'header' )); - $retval .= "
    {$LANG_CONFIG['home']}
    "; - $retval .= "
    {$LANG_CONFIG['admin_home']}
    "; $groups = $this->_get_groups(); if (count($groups) > 0) { foreach ($groups as $group) { ! $group_display = ucwords($group); ! $retval .= "
    $group_display
    "; } } - $retval .= COM_endBlock(COM_getBlockTemplate( 'configmanager_block', 'footer' )); ! $subgroup_title = ucwords($conf_group); ! $retval .= COM_startBlock( $subgroup_title, '',COM_getBlockTemplate( 'configmanager_block', 'header' ) ); $groups = $this->get_sgroups($conf_group); --- 651,698 ---- ! function _UI_configmanager_menu($conf_group) ! { ! global $_CONF, $LANG_ADMIN, $LANG_CONFIG, ! $LANG_configsections, $LANG_configsubgroups; ! ! $retval = COM_startBlock($LANG_CONFIG['sections'], '', ! COM_getBlockTemplate('configmanager_block', 'header')); ! $link_array = array(); $groups = $this->_get_groups(); if (count($groups) > 0) { foreach ($groups as $group) { ! if (empty($LANG_configsections[$group]['label'])) { ! $group_display = ucwords($group); ! } else { ! $group_display = $LANG_configsections[$group]['label']; ! } ! $link = "
    $group_display
    "; ! ! if ($group == 'Core') { ! $retval .= $link; ! } else { ! $link_array[$group_display] = $link; ! } } } ! uksort($link_array, 'strcasecmp'); ! foreach ($link_array as $link) { ! $retval .= $link; ! } ! ! $retval .= '
    ' ! . $LANG_ADMIN['admin_home'] . '
    '; ! $retval .= COM_endBlock(COM_getBlockTemplate('configmanager_block', ! 'footer')); ! ! if (empty($LANG_configsections[$conf_group]['title'])) { ! $subgroup_title = ucwords($conf_group); ! } else { ! $subgroup_title = $LANG_configsections[$conf_group]['title']; ! } ! $retval .= COM_startBlock($subgroup_title, '', ! COM_getBlockTemplate('configmanager_block', 'header')); $groups = $this->get_sgroups($conf_group); *************** *** 676,683 **** } } ! $retval .= COM_endBlock(COM_getBlockTemplate( 'configmanager_block', 'footer' )); return $retval; - } } --- 703,710 ---- } } ! $retval .= COM_endBlock(COM_getBlockTemplate('configmanager_block', ! 'footer')); return $retval; } } From dhaun at qs1489.pair.com Sun Feb 3 03:37:46 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 08:37:46 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional blockfooter-notitle.thtml, 1.1, 1.2 Message-ID: <20080203083746.30E6410FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional In directory qs1489.pair.com:/tmp/cvs-serv85837/public_html/layout/professional Modified Files: blockfooter-notitle.thtml Log Message: Added the "block-bg-spreader" (from leftblocks.thtml) to establish a constant minimum width of the left-side blocks Index: blockfooter-notitle.thtml =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/blockfooter-notitle.thtml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** blockfooter-notitle.thtml 2 Feb 2008 21:56:34 -0000 1.1 --- blockfooter-notitle.thtml 3 Feb 2008 08:37:44 -0000 1.2 *************** *** 2,4 ****
    !
    \ No newline at end of file --- 2,5 ----
    !
    !
    From dhaun at qs1489.pair.com Sun Feb 3 04:12:32 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 09:12:32 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/links config.php,1.23,1.24 Message-ID: <20080203091232.D0BA910FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links In directory qs1489.pair.com:/tmp/cvs-serv87112/plugins/links Modified Files: config.php Log Message: Removed $_LI_CONF['enable_multilingual_links'] option. COM_getLangSQL() detects the multi-language support automatically. Index: config.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/config.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** config.php 1 Jan 2008 21:10:24 -0000 1.23 --- config.php 3 Feb 2008 09:12:30 -0000 1.24 *************** *** 159,169 **** /** - * enable multilingual features - * Whether to enable simple multilingual behaviour or not. - * - */ - $_LI_CONF['enable_multilingual_links'] = false; - - /** * Links root category id * --- 159,162 ---- From dhaun at qs1489.pair.com Sun Feb 3 04:12:32 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 09:12:32 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/links index.php,1.32,1.33 Message-ID: <20080203091232.E6D3110FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/links In directory qs1489.pair.com:/tmp/cvs-serv87112/public_html/links Modified Files: index.php Log Message: Removed $_LI_CONF['enable_multilingual_links'] option. COM_getLangSQL() detects the multi-language support automatically. Index: index.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/links/index.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** index.php 5 Jan 2008 20:47:45 -0000 1.32 --- index.php 3 Feb 2008 09:12:30 -0000 1.33 *************** *** 148,155 **** // Show categories $sql = "SELECT cid,pid,category,description FROM {$_TABLES['linkcategories']} WHERE pid='{$cat}'"; ! // check if we are using the multilanguage hack ! if ($_LI_CONF['enable_multilingual_links']) { ! $sql .= COM_getLangSQL('cid', 'AND'); ! } $sql .= COM_getPermSQL('AND') . " ORDER BY category"; $result = DB_query($sql); --- 148,152 ---- // Show categories $sql = "SELECT cid,pid,category,description FROM {$_TABLES['linkcategories']} WHERE pid='{$cat}'"; ! $sql .= COM_getLangSQL('cid', 'AND'); $sql .= COM_getPermSQL('AND') . " ORDER BY category"; $result = DB_query($sql); From dhaun at qs1489.pair.com Sun Feb 3 04:22:07 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 09:22:07 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-database.php,1.49,1.50 Message-ID: <20080203092207.A8F8110FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv87511/system Modified Files: lib-database.php Log Message: Cosmetics Index: lib-database.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-database.php,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** lib-database.php 11 Oct 2007 01:52:37 -0000 1.49 --- lib-database.php 3 Feb 2008 09:22:05 -0000 1.50 *************** *** 3,7 **** /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.4 | // +---------------------------------------------------------------------------+ // | lib-database.php | --- 3,7 ---- /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.5 | // +---------------------------------------------------------------------------+ // | lib-database.php | *************** *** 9,13 **** // | Geeklog database library. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2006 by the following authors: | // | | // | Authors: Tony Bibbs, tony AT tonybibbs DOT com | --- 9,13 ---- // | Geeklog database library. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs, tony AT tonybibbs DOT com | *************** *** 39,42 **** --- 39,46 ---- */ + if (strpos ($_SERVER['PHP_SELF'], 'lib-database.php') !== false) { + die ('This file can not be used on its own!'); + } + // +---------------------------------------------------------------------------+ // | Table definitions, these are used by the install program to create the | *************** *** 55,60 **** $_TABLES['cookiecodes'] = $_DB_table_prefix . 'cookiecodes'; $_TABLES['dateformats'] = $_DB_table_prefix . 'dateformats'; - $_TABLES['events'] = $_DB_table_prefix . 'events'; - $_TABLES['eventsubmission'] = $_DB_table_prefix . 'eventsubmission'; $_TABLES['featurecodes'] = $_DB_table_prefix . 'featurecodes'; $_TABLES['features'] = $_DB_table_prefix . 'features'; --- 59,62 ---- *************** *** 62,76 **** $_TABLES['group_assignments'] = $_DB_table_prefix . 'group_assignments'; $_TABLES['groups'] = $_DB_table_prefix . 'groups'; - $_TABLES['links'] = $_DB_table_prefix . 'links'; - $_TABLES['linksubmission'] = $_DB_table_prefix . 'linksubmission'; - $_TABLES['linkcategories'] = $_DB_table_prefix . 'linkcategories'; $_TABLES['maillist'] = $_DB_table_prefix . 'maillist'; - $_TABLES['personal_events'] = $_DB_table_prefix . 'personal_events'; $_TABLES['pingservice'] = $_DB_table_prefix . 'pingservice'; $_TABLES['plugins'] = $_DB_table_prefix . 'plugins'; - $_TABLES['pollanswers'] = $_DB_table_prefix . 'pollanswers'; - $_TABLES['pollquestions'] = $_DB_table_prefix . 'pollquestions'; - $_TABLES['polltopics'] = $_DB_table_prefix . 'polltopics'; - $_TABLES['pollvoters'] = $_DB_table_prefix . 'pollvoters'; $_TABLES['postmodes'] = $_DB_table_prefix . 'postmodes'; $_TABLES['sessions'] = $_DB_table_prefix . 'sessions'; --- 64,70 ---- *************** *** 91,104 **** $_TABLES['vars'] = $_DB_table_prefix . 'vars'; $_TABLES['conf_values'] = $_DB_table_prefix . 'conf_values'; - // the static pages plugin has become an integral part of Geeklog anyway ... - $_TABLES['staticpage'] = $_DB_table_prefix . 'staticpage'; ! // ditto for spamx $_TABLES['spamx'] = $_DB_table_prefix . 'spamx'; ! // these tables aren't used by Geeklog any more, but the table names are needed ! // when upgrading from old versions $_TABLES['commentspeedlimit'] = $_DB_table_prefix . 'commentspeedlimit'; $_TABLES['submitspeedlimit'] = $_DB_table_prefix . 'submitspeedlimit'; $_TABLES['userevent'] = $_DB_table_prefix . 'userevent'; --- 85,120 ---- $_TABLES['vars'] = $_DB_table_prefix . 'vars'; $_TABLES['conf_values'] = $_DB_table_prefix . 'conf_values'; ! ! // Tables used by the bundled plugins ! ! // Calendar plugin ! $_TABLES['events'] = $_DB_table_prefix . 'events'; ! $_TABLES['eventsubmission'] = $_DB_table_prefix . 'eventsubmission'; ! $_TABLES['personal_events'] = $_DB_table_prefix . 'personal_events'; ! ! // Links plugin ! $_TABLES['links'] = $_DB_table_prefix . 'links'; ! $_TABLES['linkcategories'] = $_DB_table_prefix . 'linkcategories'; ! $_TABLES['linksubmission'] = $_DB_table_prefix . 'linksubmission'; ! ! // Polls plugin ! $_TABLES['pollanswers'] = $_DB_table_prefix . 'pollanswers'; ! $_TABLES['pollquestions'] = $_DB_table_prefix . 'pollquestions'; ! $_TABLES['polltopics'] = $_DB_table_prefix . 'polltopics'; ! $_TABLES['pollvoters'] = $_DB_table_prefix . 'pollvoters'; ! ! // Spam-X plugin $_TABLES['spamx'] = $_DB_table_prefix . 'spamx'; ! // Static Pages plugin ! $_TABLES['staticpage'] = $_DB_table_prefix . 'staticpage'; ! ! ! // These tables aren't used by Geeklog any more, but the table names are still ! // needed when upgrading from old versions $_TABLES['commentspeedlimit'] = $_DB_table_prefix . 'commentspeedlimit'; $_TABLES['submitspeedlimit'] = $_DB_table_prefix . 'submitspeedlimit'; + $_TABLES['tzcodes'] = $_DB_table_prefix . 'tzcodes'; $_TABLES['userevent'] = $_DB_table_prefix . 'userevent'; *************** *** 108,120 **** // +---------------------------------------------------------------------------+ - if (strpos ($_SERVER['PHP_SELF'], 'lib-database.php') !== false) { - die ('This file can not be used on its own!'); - } - /** * Include appropriate DBMS object * */ ! require_once($_CONF['path_system'] . 'databases/'. $_DB_dbms . '.class.php'); // Instantiate the database object --- 124,132 ---- // +---------------------------------------------------------------------------+ /** * Include appropriate DBMS object * */ ! require_once $_CONF['path_system'] . 'databases/'. $_DB_dbms . '.class.php'; // Instantiate the database object From dhaun at qs1489.pair.com Sun Feb 3 04:53:51 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 09:53:51 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.20, 1.21 Message-ID: <20080203095351.B17A210FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv88570/system/classes Modified Files: config.class.php Log Message: Added set_default() method so that we can update default values Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** config.class.php 3 Feb 2008 08:36:20 -0000 1.20 --- config.class.php 3 Feb 2008 09:53:49 -0000 1.21 *************** *** 172,175 **** --- 172,203 ---- } + /** + * This function sets the default of a configuration variable to a value in + * the database but not in the current array. + * If the variable does not already exist, nothing will happen. + * + * @param string name Name of the config parameter to set + * @param mixed value The value to set the config parameter to + * @param string group Config group name ('Core' or plugin name) + */ + function set_default($name, $value, $group = 'Core') + { + global $_TABLES, $_DB, $_DB_dbms; + + $escaped_val = addslashes(serialize($value)); + $escaped_name = addslashes($name); + $escaped_grp = addslashes($group); + $sql_query = "UPDATE {$_TABLES['conf_values']} " . + "SET default_value = '{$escaped_val}' WHERE " . + "name = '{$escaped_name}' AND group_name = '{$escaped_grp}'"; + if ($_DB_dbms == 'mssql') { + $sql_query = str_replace("\\'", "''", $sql_query); + $sql_query = str_replace('\\"', '"', $sql_query); + $_DB->dbQuery($sql_query, 0, 1); + } else { + DB_query($sql_query); + } + } + function restore_param($name, $group) { From dhaun at qs1489.pair.com Sun Feb 3 04:54:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 09:54:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install index.php, 1.31, 1.32 Message-ID: <20080203095452.7BAAD10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install In directory qs1489.pair.com:/tmp/cvs-serv88651/public_html/admin/install Modified Files: index.php Log Message: Update default value for 'default_photo' but keep it disabled Index: index.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/index.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** index.php 6 Jan 2008 20:44:10 -0000 1.31 --- index.php 3 Feb 2008 09:54:50 -0000 1.32 *************** *** 507,511 **** $config->set('rdf_file', $html_path . 'backend/geeklog.rss'); $config->set('path_pear', $_CONF['path_system'] . 'pear/'); ! $config->set('default_photo', urldecode($site_url) . '/default.jpg'); // Now we're done with the installation so redirect the user to success.php --- 507,511 ---- $config->set('rdf_file', $html_path . 'backend/geeklog.rss'); $config->set('path_pear', $_CONF['path_system'] . 'pear/'); ! $config->set_default('default_photo', urldecode($site_url) . '/default.jpg'); // Now we're done with the installation so redirect the user to success.php *************** *** 564,568 **** $config->set('site_mail', urldecode($site_mail)); $config->set('noreply_mail', urldecode($noreply_mail)); ! $config->set('default_photo', urldecode($site_url) . '/default.jpg'); // Great, installation is complete, redirect to success page --- 564,568 ---- $config->set('site_mail', urldecode($site_mail)); $config->set('noreply_mail', urldecode($noreply_mail)); ! $config->set_default('default_photo', urldecode($site_url) . '/default.jpg'); // Great, installation is complete, redirect to success page From dhaun at qs1489.pair.com Sun Feb 3 14:11:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 19:11:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/links install_defaults.php, NONE, 1.1 functions.inc, 1.103, 1.104 config.php, 1.24, NONE Message-ID: <20080203191152.98B6410FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links In directory qs1489.pair.com:/tmp/cvs-serv13605/plugins/links Modified Files: functions.inc Added Files: install_defaults.php Removed Files: config.php Log Message: Added Links plugin config to the configuration GUI Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/functions.inc,v retrieving revision 1.103 retrieving revision 1.104 diff -C2 -d -r1.103 -r1.104 *** functions.inc 2 Jan 2008 09:42:07 -0000 1.103 --- functions.inc 3 Feb 2008 19:11:50 -0000 1.104 *************** *** 3,11 **** // Reminder: always indent with 4 spaces (no tabs). // +---------------------------------------------------------------------------+ ! // | Links Plugin 2.0 functions.inc | // +---------------------------------------------------------------------------+ // | | ! // | 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. | --- 3,26 ---- // Reminder: always indent with 4 spaces (no tabs). // +---------------------------------------------------------------------------+ ! // | Links Plugin 2.0 | // +---------------------------------------------------------------------------+ + // | functions.inc | // | | ! // | This file does two things: 1) it implements the necessary Geeklog Plugin | ! // | API method and 2) implements all the common code needed by the Links | ! // | Plugins' PHP files. | ! // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | ! // | | ! // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | ! // | Mark Limburg - mlimburg AT users.sourceforge DOT net | ! // | Jason Whittenburg - jwhitten AT securitygeeks DOT com | ! // | Dirk Haun - dirk AT haun-online DOT de | ! // | Trinity Bays - trinity93 AT steubentech DOT com | ! // | Oliver Spiesshofer - oliver AT spiesshofer DOT com | ! // | Euan McKay - info AT heatherengineering DOT com | ! // +---------------------------------------------------------------------------+ ! // | | ! // | This program is licensed 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. | *************** *** 13,18 **** // | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | ! // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ! // | GNU General Public License for more details. | // | | // | You should have received a copy of the GNU General Public License | --- 28,33 ---- // | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | ! // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ! // | See the GNU General Public License for more details. | // | | // | You should have received a copy of the GNU General Public License | *************** *** 24,63 **** // $Id$ ! /** ! * This file does two things: 1) it implements the necessary Geeklog Plugin ! * API method and 2) implements all the common code needed by the links ! * Plugins' PHP files. ! * ! * @package Links ! * @filesource ! * @version 2.0 ! * @since GL 1.4.0 ! * @copyright Copyright © 2005-2008 ! * @license http://opensource.org/licenses/gpl-license.php GNU Public License ! * @author Trinity Bays ! * @author Tony Bibbs ! * @author Tom Willett ! * @author Blaine Lang ! * @author Dirk Haun ! * ! */ ! if (strpos ($_SERVER['PHP_SELF'], 'functions.inc') !== false) { ! die ('This file can not be used on its own.'); } ! $langfile = $_CONF['path'] . 'plugins/links/language/' ! . $_CONF['language'] . '.php'; ! if (file_exists ($langfile)) { ! require_once ($langfile); ! } else { ! require_once ($_CONF['path'] . 'plugins/links/language/english.php'); } ! require_once ($_CONF['path'] . 'plugins/links/config.php'); ! // +---------------------------------------------------------------------------+ --- 39,74 ---- // $Id$ + if (strpos($_SERVER['PHP_SELF'], 'functions.inc') !== false) { + die('This file can not be used on its own.'); + } ! $plugin_path = $_CONF['path'] . 'plugins/links/'; ! $langfile = $plugin_path . 'language/' . $_CONF['language'] . '.php'; + if (file_exists($langfile)) { + require_once $langfile; + } else { + require_once $plugin_path . 'language/english.php'; + } ! /* ! * As of Geeklog 1.5, the plugin's config.php is not needed any more and ! * should be removed after upgrading. ! */ ! if (file_exists($plugin_path . 'config.php')) { ! include_once $plugin_path . 'config.php'; } ! /* ! * Check and see if we need to load the plugin configuration ! */ ! if (!isset($_LI_CONF['linksloginrequired'])) { ! require_once $_CONF['path_system'] . 'classes/config.class.php'; ! $li_config = config::get_instance(); ! $_LI_CONF = $li_config->get_config('links'); } ! $_LI_CONF['version'] = '2.0.0'; // +---------------------------------------------------------------------------+ *************** *** 707,733 **** { global $_CONF, $_TABLES, $_LI_CONF, $_DB_dbms; // the plugin needs these functions so complain when they doesn't exist ! if (!function_exists ('COM_truncate') || !function_exists ('MBYTE_strpos')) { return 3002; } - // include SQL required for upgrade - $blockadmin_id = DB_GetItem ($_TABLES['groups'], 'grp_id', "grp_name='Block Admin'"); - include ($_CONF['path'] . 'plugins/links/sql/upgrade_1.0.1_2.'.$_DB_dbms.'.php'); // get current version ! $currentVersion = DB_getItem($_TABLES['plugins'],'pi_version',"pi_name='links'"); ! switch( $currentVersion ) { ! case "1.0" : ! case "1.0.1" : // do DB changes: // create categories table ! COM_errorLog ("Adding categories table to the links plugin", 1); ! DB_Query($LINKS_SQL['linkcategories'],1); ! if (DB_error ()) { ! COM_errorLog ("There was an error adding categories table to the links plugin", 1); return false; } --- 718,747 ---- { global $_CONF, $_TABLES, $_LI_CONF, $_DB_dbms; + // the plugin needs these functions so complain when they doesn't exist ! if (!function_exists('COM_truncate') || !function_exists('MBYTE_strpos')) { return 3002; } + // include SQL required for upgrade + $blockadmin_id = DB_getItem($_TABLES['groups'], 'grp_id', + "grp_name = 'Block Admin'"); + include $_CONF['path'] . 'plugins/links/sql/upgrade_1.0.1_2.'.$_DB_dbms.'.php'; // get current version ! $currentVersion = DB_getItem($_TABLES['plugins'], 'pi_version', ! "pi_name = 'links'"); ! switch ($currentVersion) { ! case "1.0": ! case "1.0.1": // do DB changes: // create categories table ! COM_errorLog("Adding categories table to the links plugin", 1); ! DB_query($LINKS_SQL['linkcategories'], 1); ! if (DB_error()) { ! COM_errorLog("There was an error adding categories table to the links plugin", 1); return false; } *************** *** 745,749 **** // get Links admin group number ! $group_id = DB_getItem($_TABLES['groups'],'grp_id',"grp_name='Links Admin'"); // loop through adding to category table, then update links table with cids --- 759,764 ---- // get Links admin group number ! $group_id = DB_getItem($_TABLES['groups'], 'grp_id', ! "grp_name = 'Links Admin'"); // loop through adding to category table, then update links table with cids *************** *** 754,759 **** $category = addslashes($A['category']); $cid = addslashes(COM_makeSid()); ! DB_query ("INSERT INTO {$_TABLES['linkcategories']} (cid,pid,category,owner_id,group_id,created,modified) VALUES ('{$cid}','{$_LI_CONF['root']}','{$category}','2','{$group_id}',NOW(),NOW())",1); ! DB_query ("UPDATE {$_TABLES['links']} SET category='{$cid}' WHERE category='{$category}'",1); if (DB_error()) { COM_errorLog("Error inserting categories into linkcategories table",1); --- 769,774 ---- $category = addslashes($A['category']); $cid = addslashes(COM_makeSid()); ! DB_query("INSERT INTO {$_TABLES['linkcategories']} (cid,pid,category,owner_id,group_id,created,modified) VALUES ('{$cid}','{$_LI_CONF['root']}','{$category}','2','{$group_id}',NOW(),NOW())",1); ! DB_query("UPDATE {$_TABLES['links']} SET category='{$cid}' WHERE category='{$category}'",1); if (DB_error()) { COM_errorLog("Error inserting categories into linkcategories table",1); *************** *** 765,786 **** // update the links and linksubmission table structures ! COM_errorLog ("Updating linksubmission table for the links plugin (a)", 1); ! DB_Query($LINKS_SQL['linksubmission1'],1); ! if (DB_error ()) { ! COM_errorLog ("There was an error updating the linksubmission table of the links plugin (a)", 1); return false; } ! COM_errorLog ("Updating linksubmission table for the links plugin (b)", 1); ! DB_Query($LINKS_SQL['linksubmission2'],1); ! if (DB_error ()) { ! COM_errorLog ("There was an error updating the linksubmission table of the links plugin (b)", 1); return false; } COM_errorLog("Success - updated linksubmission table for the links plugin",1); ! COM_errorLog ("Updating links table for the links plugin", 1); ! DB_Query($LINKS_SQL['links'],1); ! if (DB_error ()) { ! COM_errorLog ("There was an error updating the links table of the links plugin", 1); return false; } --- 780,801 ---- // update the links and linksubmission table structures ! COM_errorLog("Updating linksubmission table for the links plugin (a)", 1); ! DB_query($LINKS_SQL['linksubmission1'],1); ! if (DB_error()) { ! COM_errorLog("There was an error updating the linksubmission table of the links plugin (a)", 1); return false; } ! COM_errorLog("Updating linksubmission table for the links plugin (b)", 1); ! DB_query($LINKS_SQL['linksubmission2'],1); ! if (DB_error()) { ! COM_errorLog("There was an error updating the linksubmission table of the links plugin (b)", 1); return false; } COM_errorLog("Success - updated linksubmission table for the links plugin",1); ! COM_errorLog("Updating links table for the links plugin", 1); ! DB_query($LINKS_SQL['links'],1); ! if (DB_error()) { ! COM_errorLog("There was an error updating the links table of the links plugin", 1); return false; } *************** *** 788,794 **** // add root category ! DB_Query($LINKS_SQL['root'],1); ! if (DB_error ()) { ! COM_errorLog ("There was an error adding the root category to the links plugin", 1); return false; } --- 803,809 ---- // add root category ! DB_query($LINKS_SQL['root'],1); ! if (DB_error()) { ! COM_errorLog("There was an error adding the root category to the links plugin", 1); return false; } *************** *** 796,802 **** // add php links block ! DB_Query($LINKS_SQL['linksblock'],1); ! if (DB_error ()) { ! COM_errorLog ("There was an error adding the phplinksblock to the links plugin", 1); return false; } --- 811,817 ---- // add php links block ! DB_query($LINKS_SQL['linksblock'],1); ! if (DB_error()) { ! COM_errorLog("There was an error adding the phplinksblock to the links plugin", 1); return false; } *************** *** 804,810 **** // add php categories block ! DB_Query($LINKS_SQL['categoriesblock'],1); ! if (DB_error ()) { ! COM_errorLog ("There was an error adding the phpcategoriesblock to the links plugin", 1); return false; } --- 819,825 ---- // add php categories block ! DB_query($LINKS_SQL['categoriesblock'],1); ! if (DB_error()) { ! COM_errorLog("There was an error adding the phpcategoriesblock to the links plugin", 1); return false; } *************** *** 812,816 **** // update the version numbers ! DB_query ("UPDATE {$_TABLES['plugins']} SET pi_version = '{$_LI_CONF['version']}', pi_gl_version='1.5.0' WHERE pi_name='links'"); break; --- 827,831 ---- // update the version numbers ! DB_query("UPDATE {$_TABLES['plugins']} SET pi_version = '{$_LI_CONF['version']}', pi_gl_version='1.5.0' WHERE pi_name='links'"); break; --- config.php DELETED --- --- NEW FILE: install_defaults.php --- forward to the target of the link * 'list' -> display the admin-list of links * 'plugin' -> display the public homepage of the links plugin * 'home' -> display the site homepage * 'admin' -> display the site admin homepage */ $_LI_DEFAULT['aftersave'] = 'list'; /** * show category descriptions * Whether to show subcategory descriptions when viewing a category or not. */ $_LI_DEFAULT['show_category_descriptions'] = true; /** * Links root category id */ $_LI_DEFAULT['root'] = 'site'; /** * Define default permissions for new links created from the Admin panel. * Permissions are perm_owner, perm_group, perm_members, perm_anon (in that * order). Possible values:
    * - 3 = read + write permissions (perm_owner and perm_group only) * - 2 = read-only * - 0 = neither read nor write permissions * (a value of 1, ie. write-only, does not make sense and is not allowed) */ $_LI_DEFAULT['default_permissions'] = array (3, 2, 2, 2); /** * Initialize Links plugin configuration * * Creates the database entries for the configuation if they don't already * exist. Initial values will be taken from $_LI_CONF if available (e.g. from * an old config.php), uses $_LI_DEFAULT otherwise. * * @return boolean true: success; false: an error occurred * */ function plugin_initconfig_links() { global $_LI_CONF, $_LI_DEFAULT; if (is_array($_LI_CONF) && (count($_LI_CONF) > 1)) { $_LI_DEFAULT = $_LI_CONF; } $c = config::get_instance(); if (!$c->group_exists('links')) { $c->add('linksloginrequired', $_LI_DEFAULT['linksloginrequired'], 'select', 0, 0, 0, 10, true, 'links'); $c->add('linkcols', $_LI_DEFAULT['linkcols'], 'text', 0, 0, 0, 20, true, 'links'); $c->add('linksperpage', $_LI_DEFAULT['linksperpage'], 'text', 0, 0, 0, 30, true, 'links'); $c->add('show_top10', $_LI_DEFAULT['show_top10'], 'select', 0, 0, 1, 40, true, 'links'); $c->add('show_category_descriptions', $_LI_DEFAULT['show_category_descriptions'], 'select', 0, 0, 1, 50, true, 'links'); $c->add('hidenewlinks', $_LI_DEFAULT['hidenewlinks'], 'select', 0, 1, 0, 60, true, 'links'); $c->add('newlinksinterval', $_LI_DEFAULT['newlinksinterval'], 'text', 0, 1, 0, 70, true, 'links'); $c->add('hidelinksmenu', $_LI_DEFAULT['hidelinksmenu'], 'select', 0, 1, 0, 80, true, 'links'); $c->add('linksubmission', $_LI_DEFAULT['linksubmission'], 'select', 0, 1, 0, 90, true, 'links'); $c->add('notification', $_LI_DEFAULT['notification'], 'select', 0, 1, 0, 100, true, 'links'); $c->add('delete_links', $_LI_DEFAULT['delete_links'], 'select', 0, 1, 0, 110, true, 'links'); $c->add('aftersave', $_LI_DEFAULT['aftersave'], 'select', 0, 1, 9, 120, true, 'links'); $c->add('root', $_LI_DEFAULT['root'], 'text', 0, 1, 0, 130, true, 'links'); $c->add('default_permissions', $_LI_DEFAULT['default_permissions'], '@select', 0, 2, 12, 140, true, 'links'); } return true; } ?> From dhaun at qs1489.pair.com Sun Feb 3 14:11:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 19:11:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql mysql_tableanddata.php,1.199,1.200 Message-ID: <20080203191152.D432A10FE17@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql In directory qs1489.pair.com:/tmp/cvs-serv13605/sql Modified Files: mysql_tableanddata.php Log Message: Added Links plugin config to the configuration GUI Index: mysql_tableanddata.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/mysql_tableanddata.php,v retrieving revision 1.199 retrieving revision 1.200 diff -C2 -d -r1.199 -r1.200 *** mysql_tableanddata.php 27 Jan 2008 15:23:32 -0000 1.199 --- mysql_tableanddata.php 3 Feb 2008 19:11:50 -0000 1.200 *************** *** 891,897 **** $_DATA[] = "INSERT INTO {$_TABLES['groups']} (grp_id, grp_name, grp_descr, grp_gl_core) VALUES (18,'Webservices Users', 'Can use the Webservices API (if restricted)',0) "; ! $_DATA[] = "INSERT INTO {$_TABLES['links']} (lid, cid, url, description, title, hits, date, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('geeklog.net', '20070828065220743', 'http://www.geeklog.net/', 'Visit the Geeklog homepage for support, FAQs, updates, add-ons, and a great community.', 'Geeklog Project Homepage', 0, '2007-08-28 14:52:13', 1, 5, 3, 2, 2, 2);"; ! $_DATA[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('20070828065220743', 'site', 'Geeklog Sites', NULL, NULL, '2007-08-28 14:52:20', '2007-08-28 14:52:20', 2, 5, 3, 2, 2, 2);"; ! $_DATA[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('site', 'root', 'Root', 'Website root', '', '2007-08-28 14:52:21', '2007-08-28 14:52:21', 2, 5, 3, 3, 2, 2);"; $_DATA[] = "INSERT INTO {$_TABLES['maillist']} (code, name) VALUES (0,'Don\'t Email') "; --- 891,897 ---- $_DATA[] = "INSERT INTO {$_TABLES['groups']} (grp_id, grp_name, grp_descr, grp_gl_core) VALUES (18,'Webservices Users', 'Can use the Webservices API (if restricted)',0) "; ! $_DATA[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('site', 'root', 'Root', 'Website root', NULL, NOW(), NOW(), 2, 5, 3, 3, 2, 2);"; ! $_DATA[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('geeklog-sites', 'site', 'Geeklog Sites', 'Sites using or related to the Geeklog CMS', NULL, NOW(), NOW(), 2, 5, 3, 3, 2, 2);"; ! $_DATA[] = "INSERT INTO {$_TABLES['links']} (lid, cid, url, description, title, hits, date, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('geeklog.net', 'geeklog-sites', 'http://www.geeklog.net/', 'Visit the Geeklog homepage for support, FAQs, updates, add-ons, and a great community.', 'Geeklog Project Homepage', 123, NOW(), 1, 5, 3, 3, 2, 2);"; $_DATA[] = "INSERT INTO {$_TABLES['maillist']} (code, name) VALUES (0,'Don\'t Email') "; From dhaun at qs1489.pair.com Sun Feb 3 14:11:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 19:11:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/links/language english.php, 1.27, 1.28 english_utf-8.php, 1.14, 1.15 Message-ID: <20080203191152.A2E3310FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links/language In directory qs1489.pair.com:/tmp/cvs-serv13605/plugins/links/language Modified Files: english.php english_utf-8.php Log Message: Added Links plugin config to the configuration GUI Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/language/english.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** english.php 1 Jan 2008 20:03:22 -0000 1.27 --- english.php 3 Feb 2008 19:11:50 -0000 1.28 *************** *** 251,253 **** --- 251,295 ---- ); + + // Localization of the Admin Configuration UI + $LANG_configsections['links'] = array( + 'label' => 'Links', + 'title' => 'Links Configuration' + ); + + $LANG_confignames['links'] = array( + 'linksloginrequired' => 'Links Login Required?', + 'linksubmission' => 'Enable Submission Queue?', + 'newlinksinterval' => 'New Links Interval', + 'hidenewlinks' => 'Hide New Links?', + 'hidelinksmenu' => 'Hide Links Menu Entry?', + 'linkcols' => 'Categories per Column', + 'linksperpage' => 'Links per Page', + 'show_top10' => 'Show Top 10 Links?', + 'notification' => 'Notification Email?', + 'delete_links' => 'Delete Links with Owner?', + 'aftersave' => 'After Saving Link', + 'show_category_descriptions' => 'Show Category Description?', + 'root' => 'ID of Root Category', + 'default_permissions' => 'Link Default Permissions' + ); + + $LANG_configsubgroups['links'] = array( + 0 => 'Main Settings' + ); + + $LANG_fs['links'] = array( + 0 => 'Public Links List Settings', + 1 => 'Links Admin Settings', + 2 => 'Default Permissions' + ); + + // Note: entries 0, 1, and 12 are the same as in $LANG_configselects['Core'] + $LANG_configselects['links'] = array( + 0 => array('True' => 1, 'False' => 0), + 1 => array('True' => TRUE, 'False' => FALSE), + 9 => array('Forward to Linked Site' => 'item', 'Display Admin List' => 'list', 'Display Public List' => 'plugin', 'Display Home' => 'home', 'Display Admin' => 'admin'), + 12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3) + ); + ?> Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/language/english_utf-8.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** english_utf-8.php 1 Jan 2008 20:03:22 -0000 1.14 --- english_utf-8.php 3 Feb 2008 19:11:50 -0000 1.15 *************** *** 251,253 **** --- 251,295 ---- ); + + // Localization of the Admin Configuration UI + $LANG_configsections['links'] = array( + 'label' => 'Links', + 'title' => 'Links Configuration' + ); + + $LANG_confignames['links'] = array( + 'linksloginrequired' => 'Links Login Required?', + 'linksubmission' => 'Enable Submission Queue?', + 'newlinksinterval' => 'New Links Interval', + 'hidenewlinks' => 'Hide New Links?', + 'hidelinksmenu' => 'Hide Links Menu Entry?', + 'linkcols' => 'Categories per Column', + 'linksperpage' => 'Links per Page', + 'show_top10' => 'Show Top 10 Links?', + 'notification' => 'Notification Email?', + 'delete_links' => 'Delete Links with Owner?', + 'aftersave' => 'After Saving Link', + 'show_category_descriptions' => 'Show Category Description?', + 'root' => 'ID of Root Category', + 'default_permissions' => 'Link Default Permissions' + ); + + $LANG_configsubgroups['links'] = array( + 0 => 'Main Settings' + ); + + $LANG_fs['links'] = array( + 0 => 'Public Links List Settings', + 1 => 'Links Admin Settings', + 2 => 'Default Permissions' + ); + + // Note: entries 0, 1, and 12 are the same as in $LANG_configselects['Core'] + $LANG_configselects['links'] = array( + 0 => array('True' => 1, 'False' => 0), + 1 => array('True' => TRUE, 'False' => FALSE), + 9 => array('Forward to Linked Site' => 'item', 'Display Admin List' => 'list', 'Display Public List' => 'plugin', 'Display Home' => 'home', 'Display Admin' => 'admin'), + 12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3) + ); + ?> From dhaun at qs1489.pair.com Sun Feb 3 14:11:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 19:11:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mysql_1.4.1_to_1.5.0.php, 1.61, 1.62 Message-ID: <20080203191152.E374810FE18@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv13605/sql/updates Modified Files: mysql_1.4.1_to_1.5.0.php Log Message: Added Links plugin config to the configuration GUI Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** mysql_1.4.1_to_1.5.0.php 2 Feb 2008 20:03:07 -0000 1.61 --- mysql_1.4.1_to_1.5.0.php 3 Feb 2008 19:11:50 -0000 1.62 *************** *** 331,335 **** // Rename the existing config.php as it's not needed any more $ren = @rename($plugin_path . 'config.php', ! $plugin_path . 'config-pre1.4.3.php'); } --- 331,335 ---- // Rename the existing config.php as it's not needed any more $ren = @rename($plugin_path . 'config.php', ! $plugin_path . 'config-pre1.5.0.php'); } *************** *** 370,374 **** } ! // spamx plugin updates function upgrade_SpamXPlugin() { --- 370,374 ---- } ! // Spam-X plugin updates function upgrade_SpamXPlugin() { *************** *** 398,407 **** } return true; } function upgrade_LinksPlugin() { ! global $_TABLES, $_LI_CONF; $P_SQL = array(); --- 398,432 ---- } + if (file_exists($plugin_path . 'config.php')) { + // Rename the existing config.php as it's not needed any more + $ren = @rename($plugin_path . 'config.php', + $plugin_path . 'config-pre1.5.0.php'); + } + return true; } + // Links plugin updates function upgrade_LinksPlugin() { ! global $_CONF, $_TABLES; ! ! require_once $_CONF['path_system'] . 'classes/config.class.php'; ! ! $plugin_path = $_CONF['path'] . 'plugins/links/'; ! require_once $plugin_path . 'install_defaults.php'; ! ! if (!plugin_initconfig_links()) { ! echo 'There was an error upgrading the Links plugin'; ! return false; ! } ! ! $li_config = config::get_instance(); ! $_LI_CONF = $li_config->get_config('links'); ! ! if (empty($_LI_CONF['root'])) { ! $_LI_CONF['root'] = 'site'; ! } ! $root = addslashes($_LI_CONF['root']); $P_SQL = array(); *************** *** 432,441 **** $P_SQL[] = "ALTER TABLE {$_TABLES['linksubmission']} CHANGE category cid varchar(32) NOT NULL"; $P_SQL[] = "ALTER TABLE {$_TABLES['links']} CHANGE category cid varchar(32) NOT NULL"; ! $P_SQL[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) " ! . "VALUES ('site', 'root', 'Root', 'Website root', '', NOW(), NOW(), 5, 2, 3, 3, 2, 2)"; ! $P_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) " ! . "VALUES (1, 'links_topic_links', 'phpblock', 'Topic Links', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_links', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; ! $P_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) " ! . "VALUES (1, 'links_topic_categories', 'phpblock', 'Topic Categories', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_categories', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; $P_SQL[] = "UPDATE {$_TABLES['plugins']} SET pi_version = '2.0.0', pi_gl_version='1.5.0' WHERE pi_name='links'"; --- 457,463 ---- $P_SQL[] = "ALTER TABLE {$_TABLES['linksubmission']} CHANGE category cid varchar(32) NOT NULL"; $P_SQL[] = "ALTER TABLE {$_TABLES['links']} CHANGE category cid varchar(32) NOT NULL"; ! $P_SQL[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('{$root}', 'root', 'Root', 'Website root', NULL, NOW(), NOW(), 5, 2, 3, 3, 2, 2)"; ! $P_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_links', 'phpblock', 'Topic Links', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_links', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; ! $P_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_categories', 'phpblock', 'Topic Categories', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_categories', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; $P_SQL[] = "UPDATE {$_TABLES['plugins']} SET pi_version = '2.0.0', pi_gl_version='1.5.0' WHERE pi_name='links'"; *************** *** 452,459 **** $group_id = DB_getItem($_TABLES['groups'], 'grp_id', "grp_name = 'Links Admin'"); - if (empty($_LI_CONF['root'])) { - $_LI_CONF['root'] = 'site'; - } - $root = addslashes($_LI_CONF['root']); // loop through adding to category table, then update links table with cids --- 474,477 ---- *************** *** 461,469 **** $nrows = DB_numRows($result); for ($i = 0; $i < $nrows; $i++) { $A = DB_fetchArray($result); $category = addslashes($A['category']); $cid = $category; ! DB_query("INSERT INTO {$_TABLES['linkcategories']} (cid,pid,category,description,tid,owner_id,group_id,created,modified) " ! . "VALUES ('{$cid}','{$root}','{$category}','{$category}','all',2,'{$group_id}',NOW(),NOW())",1); if ($cid != $category) { // still experimenting ... DB_query("UPDATE {$_TABLES['links']} SET cid='{$cid}' WHERE cid='{$category}'",1); --- 479,487 ---- $nrows = DB_numRows($result); for ($i = 0; $i < $nrows; $i++) { + $A = DB_fetchArray($result); $category = addslashes($A['category']); $cid = $category; ! DB_query("INSERT INTO {$_TABLES['linkcategories']} (cid,pid,category,description,tid,owner_id,group_id,created,modified) VALUES ('{$cid}','{$root}','{$category}','{$category}','all',2,'{$group_id}',NOW(),NOW())",1); if ($cid != $category) { // still experimenting ... DB_query("UPDATE {$_TABLES['links']} SET cid='{$cid}' WHERE cid='{$category}'",1); *************** *** 473,476 **** --- 491,500 ---- return false; } + } + + if (file_exists($plugin_path . 'config.php')) { + // Rename the existing config.php as it's not needed any more + $ren = @rename($plugin_path . 'config.php', + $plugin_path . 'config-pre1.5.0.php'); } From dhaun at qs1489.pair.com Sun Feb 3 14:11:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 19:11:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/links install.php, 1.21, 1.22 Message-ID: <20080203191152.C4C5910FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links In directory qs1489.pair.com:/tmp/cvs-serv13605/public_html/admin/plugins/links Modified Files: install.php Log Message: Added Links plugin config to the configuration GUI Index: install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links/install.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** install.php 2 Sep 2007 02:44:32 -0000 1.21 --- install.php 3 Feb 2008 19:11:50 -0000 1.22 *************** *** 3,7 **** // Reminder: always indent with 4 spaces (no tabs). // +---------------------------------------------------------------------------+ ! // | Links plugin 1.0 for Geeklog | // +---------------------------------------------------------------------------+ // | install.php | --- 3,7 ---- // Reminder: always indent with 4 spaces (no tabs). // +---------------------------------------------------------------------------+ ! // | Links plugin 2.0 for Geeklog | // +---------------------------------------------------------------------------+ // | install.php | *************** *** 12,22 **** // | Based on the Universal Plugin and prior work by the following authors: | // | | ! // | Copyright (C) 2002-2006 by the following authors: | // | | ! // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | ! // | Tom Willett - tom AT pigstye DOT net | ! // | Blaine Lang - blaine AT portalparts DOT com | ! // | Dirk Haun - dirk AT haun-online DOT de | ! // | Vincent Furia - vinny01 AT users DOT sourceforge DOT net | // +---------------------------------------------------------------------------+ // | | --- 12,24 ---- // | Based on the Universal Plugin and prior work by the following authors: | // | | ! // | Copyright (C) 2002-2008 by the following authors: | // | | ! // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | ! // | Tom Willett - tom AT pigstye DOT net | ! // | Blaine Lang - blaine AT portalparts DOT com | ! // | Dirk Haun - dirk AT haun-online DOT de | ! // | Vincent Furia - vinny01 AT users DOT sourceforge DOT net | ! // | Oliver Spiesshofer - oliver AT spiesshofer DOT com | ! // | Euan McKay - info AT heatherengineering DOT com | // +---------------------------------------------------------------------------+ // | | *************** *** 37,109 **** // +---------------------------------------------------------------------------+ // - - /** - * This file installs and removes the data structures for the - * Links plugin for Geeklog. - * - * @package Links - * @subpackage admin - * @filesource - * @version 1.0.1 - * @since GL 1.4.0 - * @copyright Copyright © 2005-2006 - * @license http://opensource.org/licenses/gpl-license.php GNU Public License - * @author Trinity Bays - * @author Tony Bibbs - * @author Tom Willett - * @author Blaine Lang - * @author Dirk Haun - * - */ // $Id$ ! require_once ('../../../lib-common.php'); ! require_once ($_CONF['path'] . 'plugins/links/config.php'); // Plugin information ! /** ! * plugin display name ! * @global string $pi_display_name ! */ $pi_display_name = 'Links'; - /** - * plugin name - * @global string $pi_name - */ $pi_name = 'links'; ! /** ! * plugin version ! * @global string $pi_version ! */ ! $pi_version = $_LI_CONF['version']; ! /** ! * plugin suported GL version ! * @global string $gl_version ! */ ! $gl_version = '1.4.1'; ! /** ! * plugin suport website url ! * @global string $pi_url ! */ $pi_url = 'http://www.geeklog.net/'; - /** - * name of the Admin group - * @global string $pi_admin - */ - $pi_admin = $pi_display_name . ' Admin'; ! /** ! * the plugin's groups - assumes first group to be the Admin group ! * @global array $GROUPS ! * ! */ $GROUPS = array(); $GROUPS[$pi_admin] = 'Has full access to ' . $pi_name . ' features'; - /** - * @global array $FEATURES - * - */ $FEATURES = array(); $FEATURES['links.edit'] = 'Access to links editor'; --- 39,65 ---- // +---------------------------------------------------------------------------+ // // $Id$ ! require_once '../../../lib-common.php'; // Plugin information ! // ! // ---------------------------------------------------------------------------- ! // $pi_display_name = 'Links'; $pi_name = 'links'; ! $pi_version = '2.0.0'; ! $gl_version = '1.5.0'; $pi_url = 'http://www.geeklog.net/'; + $base_path = $_CONF['path'] . 'plugins/' . $pi_name . '/'; ! // name of the Admin group ! $pi_admin = $pi_display_name . ' Admin'; ! ! // the plugin's groups - assumes first group to be the Admin group $GROUPS = array(); $GROUPS[$pi_admin] = 'Has full access to ' . $pi_name . ' features'; $FEATURES = array(); $FEATURES['links.edit'] = 'Access to links editor'; *************** *** 111,118 **** $FEATURES['links.submit'] = 'May skip the links submission queue'; - /** - * @global array $MAPPINGS - * - */ $MAPPINGS = array(); $MAPPINGS['links.edit'] = array ($pi_admin); --- 67,70 ---- *************** *** 120,149 **** $MAPPINGS['links.submit'] = array ($pi_admin); ! /** ! * (optional) data to pre-populate tables with ! * Insert table name and sql to insert default data for your plugin. ! * Note: '#group#' will be replaced with the id of the plugin's admin group. ! * @global array $DEFVALUES ! * @name $DEFVALUES ! */ ! $DEFVALUES = array(); ! ! $blockadmin_id = DB_GetItem ($_TABLES['groups'], 'grp_id', "grp_name='Block Admin'"); ! ! $DEFVALUES[] = "INSERT INTO {$_TABLES['linkcategories']} " ! . "(cid, pid, category, description, tid, created, modified, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) " ! . "VALUES ('{$_LI_CONF['root']}', 'root', 'Root', 'Website root', '', NOW(), NOW(), 5, 2, 3, 3, 2, 2)"; ! $DEFVALUES[] = "INSERT INTO {$_TABLES['linkcategories']} " ! . "(cid, pid, category, description, tid, created, modified, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) " ! . "VALUES ('20070122143647631', '{$_LI_CONF['root']}', 'Geeklog sites', 'Sites using or related to the Geeklog CMS', '', NOW(), NOW(), 5, 2, 3, 3, 2, 2)"; ! $DEFVALUES[] = "INSERT INTO {$_TABLES['links']} " ! . "(lid, cid, url, description, title, hits, date, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) " ! . "VALUES ('geeklog.net', '20070828065220743', 'http://www.geeklog.net/', 'Visit the Geeklog homepage for support, FAQs, updates, add-ons, and a great community.', 'Geeklog Project Homepage', 0, NOW(), 1, 5, 3, 2, 2, 2);"; ! $DEFVALUES[] = "INSERT INTO gl_blocks " ! . "(is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) " ! . "VALUES (1, 'links_topic_links', 'phpblock', 'Topic Links', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_links', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; ! $DEFVALUES[] = "INSERT INTO gl_blocks " ! . "(is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) " ! . "VALUES (1, 'links_topic_categories', 'phpblock', 'Topic Categories', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_categories', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; --- 72,79 ---- $MAPPINGS['links.submit'] = array ($pi_admin); ! // (optional) data to pre-populate tables with ! // Insert table name and sql to insert default data for your plugin. ! // Note: '#group#' will be replaced with the id of the plugin's admin group. ! $DEFVALUES = array(); // not used here - see plugin_postinstall *************** *** 155,161 **** * */ ! function plugin_compatible_with_this_geeklog_version () { ! if (!function_exists ('COM_truncate') || !function_exists ('MBYTE_strpos')) { return false; } --- 85,91 ---- * */ ! function plugin_compatible_with_this_geeklog_version() { ! if (!function_exists('COM_truncate') || !function_exists('MBYTE_strpos')) { return false; } *************** *** 163,166 **** --- 93,160 ---- return true; } + + /** + * Loads the configuration records for the GL Online Config Manager + * + * @return boolean true = proceed with install, false = an error occured + * + */ + function plugin_load_configuration() + { + global $_CONF, $base_path; + + require_once $_CONF['path_system'] . 'classes/config.class.php'; + require_once $base_path . 'install_defaults.php'; + + return plugin_initconfig_links(); + } + + /** + * Plugin postinstall + * + * We're inserting our default here since it depends on other stuff that has + * to happen first ... + * + * @return boolean true = proceed with install, false = an error occured + * + */ + function plugin_postinstall() + { + global $_CONF, $_TABLES, $pi_admin; + + require_once $_CONF['path_system'] . 'classes/config.class.php'; + + $li_config = config::get_instance(); + $_LI_CONF = $li_config->get_config('links'); + + $admin_group_id = DB_getItem($_TABLES['groups'], 'grp_id', + "grp_name = '{$pi_admin}'"); + $blockadmin_id = DB_getItem($_TABLES['groups'], 'grp_id', + "grp_name = 'Block Admin'"); + + $L_SQL = array(); + $L_SQL[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('{$_LI_CONF['root']}', 'root', 'Root', 'Website root', '', NOW(), NOW(), #group#, 2, 3, 3, 2, 2)"; + + $L_SQL[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('geeklog-sites', '{$_LI_CONF['root']}', 'Geeklog Sites', 'Sites using or related to the Geeklog CMS', NULL, NOW(), NOW(), #group#, 2, 3, 3, 2, 2)"; + + $L_SQL[] = "INSERT INTO {$_TABLES['links']} (lid, cid, url, description, title, hits, date, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('geeklog.net', 'geeklog-sites', 'http://www.geeklog.net/', 'Visit the Geeklog homepage for support, FAQs, updates, add-ons, and a great community.', 'Geeklog Project Homepage', 123, NOW(), 1, #group#, 3, 3, 2, 2);"; + + $L_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_links', 'phpblock', 'Topic Links', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_links', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; + + $L_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_categories', 'phpblock', 'Topic Categories', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_categories', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; + + foreach ($L_SQL as $sql) { + $sql = str_replace('#group#', $admin_group_id, $sql); + DB_query($sql, 1); + if (DB_error()) { + COM_error("SQL error in Links plugin postinstall, SQL: " . $sql); + return false; + } + } + + return true; + } + + // // ---------------------------------------------------------------------------- *************** *** 169,181 **** // require modifications. - $base_path = $_CONF['path'] . 'plugins/' . $pi_name . '/'; $langfile = $base_path . $_CONF['language'] . '.php'; ! if (file_exists ($langfile)) { ! require_once ($langfile); } else { ! require_once ($base_path . 'language/english.php'); } ! require_once ($base_path . 'config.php'); ! require_once ($base_path . 'functions.inc'); --- 163,173 ---- // require modifications. $langfile = $base_path . $_CONF['language'] . '.php'; ! if (file_exists($langfile)) { ! require_once $langfile; } else { ! require_once $base_path . 'language/english.php'; } ! require_once $base_path . 'functions.inc'; *************** *** 198,215 **** /** * Puts the datastructures for this plugin into the Geeklog database ! * @global array core config vars ! * @global array core table data ! * @global array core user data ! * @global array plugin group data ! * @global array plugin feature data ! * @global array plugin feature mapping data ! * @global array data to preopulate db ! * @global string path data ! * @global string plugin name ! * @global string plugin display name ! * @global string plugin version ! * @global string geeklog supported version ! * @global string plugin support url ! * @return boolean true if compleated false if failed */ function plugin_install_now() --- 190,195 ---- /** * Puts the datastructures for this plugin into the Geeklog database ! * @return boolean true if completed false if failed ! * */ function plugin_install_now() *************** *** 263,267 **** } DB_query ($sql); - COM_errorLog ('...table', 1); if (DB_error ()) { COM_errorLog ('Error creating table', 1); --- 243,246 ---- *************** *** 326,329 **** --- 305,316 ---- } + // Load the online configuration records + if (function_exists('plugin_load_configuration')) { + if (!plugin_load_configuration()) { + PLG_uninstall($pi_name); + return false; + } + } + // Finally, register the plugin with Geeklog COM_errorLog ("Registering $pi_display_name plugin with Geeklog", 1); *************** *** 342,348 **** // give the plugin a chance to perform any post-install operations ! if (function_exists ('plugin_postinstall')) { ! if (!plugin_postinstall ()) { ! PLG_uninstall ($pi_name); return false; --- 329,335 ---- // give the plugin a chance to perform any post-install operations ! if (function_exists('plugin_postinstall')) { ! if (!plugin_postinstall()) { ! PLG_uninstall($pi_name); return false; From dhaun at qs1489.pair.com Sun Feb 3 14:11:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 19:11:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.23, 1.24 Message-ID: <20080203191152.B2CC210FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install In directory qs1489.pair.com:/tmp/cvs-serv13605/public_html/admin/install Modified Files: config-install.php Log Message: Added Links plugin config to the configuration GUI Index: config-install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** config-install.php 2 Feb 2008 20:03:06 -0000 1.23 --- config-install.php 3 Feb 2008 19:11:50 -0000 1.24 *************** *** 232,235 **** --- 232,238 ---- $plugin_path = $_CONF['path'] . 'plugins/'; + require_once $plugin_path . 'links/install_defaults.php'; + plugin_initconfig_links(); + require_once $plugin_path . 'staticpages/install_defaults.php'; plugin_initconfig_staticpages(); From dhaun at qs1489.pair.com Sun Feb 3 14:11:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 19:11:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql mysql_tableanddata.php,1.199,1.200 Message-ID: <20080203191152.D432A10FE17@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql In directory qs1489.pair.com:/tmp/cvs-serv13605/sql Modified Files: mysql_tableanddata.php Log Message: Added Links plugin config to the configuration GUI Index: mysql_tableanddata.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/mysql_tableanddata.php,v retrieving revision 1.199 retrieving revision 1.200 diff -C2 -d -r1.199 -r1.200 *** mysql_tableanddata.php 27 Jan 2008 15:23:32 -0000 1.199 --- mysql_tableanddata.php 3 Feb 2008 19:11:50 -0000 1.200 *************** *** 891,897 **** $_DATA[] = "INSERT INTO {$_TABLES['groups']} (grp_id, grp_name, grp_descr, grp_gl_core) VALUES (18,'Webservices Users', 'Can use the Webservices API (if restricted)',0) "; ! $_DATA[] = "INSERT INTO {$_TABLES['links']} (lid, cid, url, description, title, hits, date, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('geeklog.net', '20070828065220743', 'http://www.geeklog.net/', 'Visit the Geeklog homepage for support, FAQs, updates, add-ons, and a great community.', 'Geeklog Project Homepage', 0, '2007-08-28 14:52:13', 1, 5, 3, 2, 2, 2);"; ! $_DATA[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('20070828065220743', 'site', 'Geeklog Sites', NULL, NULL, '2007-08-28 14:52:20', '2007-08-28 14:52:20', 2, 5, 3, 2, 2, 2);"; ! $_DATA[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('site', 'root', 'Root', 'Website root', '', '2007-08-28 14:52:21', '2007-08-28 14:52:21', 2, 5, 3, 3, 2, 2);"; $_DATA[] = "INSERT INTO {$_TABLES['maillist']} (code, name) VALUES (0,'Don\'t Email') "; --- 891,897 ---- $_DATA[] = "INSERT INTO {$_TABLES['groups']} (grp_id, grp_name, grp_descr, grp_gl_core) VALUES (18,'Webservices Users', 'Can use the Webservices API (if restricted)',0) "; ! $_DATA[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('site', 'root', 'Root', 'Website root', NULL, NOW(), NOW(), 2, 5, 3, 3, 2, 2);"; ! $_DATA[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('geeklog-sites', 'site', 'Geeklog Sites', 'Sites using or related to the Geeklog CMS', NULL, NOW(), NOW(), 2, 5, 3, 3, 2, 2);"; ! $_DATA[] = "INSERT INTO {$_TABLES['links']} (lid, cid, url, description, title, hits, date, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('geeklog.net', 'geeklog-sites', 'http://www.geeklog.net/', 'Visit the Geeklog homepage for support, FAQs, updates, add-ons, and a great community.', 'Geeklog Project Homepage', 123, NOW(), 1, 5, 3, 3, 2, 2);"; $_DATA[] = "INSERT INTO {$_TABLES['maillist']} (code, name) VALUES (0,'Don\'t Email') "; From dhaun at qs1489.pair.com Sun Feb 3 14:23:26 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 19:23:26 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/staticpages functions.inc, 1.114, 1.115 Message-ID: <20080203192326.85E1C10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages In directory qs1489.pair.com:/tmp/cvs-serv14091/plugins/staticpages Modified Files: functions.inc Log Message: For consistency: Let's use the Geeklog version number when renaming the old config files Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/functions.inc,v retrieving revision 1.114 retrieving revision 1.115 diff -C2 -d -r1.114 -r1.115 *** functions.inc 2 Feb 2008 16:36:33 -0000 1.114 --- functions.inc 3 Feb 2008 19:23:24 -0000 1.115 *************** *** 1044,1048 **** // Rename the existing config.php as it's not needed any more $ren = @rename($plugin_path . 'config.php', ! $plugin_path . 'config-pre1.4.3.php'); if (!$ren) { COM_errorLog("Could not rename the Static Pages plugin's config.php file. Please remove if manually, as it is not needed any more."); --- 1044,1048 ---- // Rename the existing config.php as it's not needed any more $ren = @rename($plugin_path . 'config.php', ! $plugin_path . 'config-pre1.5.0.php'); if (!$ren) { COM_errorLog("Could not rename the Static Pages plugin's config.php file. Please remove if manually, as it is not needed any more."); From dhaun at qs1489.pair.com Sun Feb 3 14:23:26 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 19:23:26 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/spamx functions.inc,1.32,1.33 Message-ID: <20080203192326.7777210FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/spamx In directory qs1489.pair.com:/tmp/cvs-serv14091/plugins/spamx Modified Files: functions.inc Log Message: For consistency: Let's use the Geeklog version number when renaming the old config files Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/spamx/functions.inc,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** functions.inc 2 Feb 2008 20:03:06 -0000 1.32 --- functions.inc 3 Feb 2008 19:23:24 -0000 1.33 *************** *** 198,202 **** // Rename the existing config.php as it's not needed any more $ren = @rename($plugin_path . 'config.php', ! $plugin_path . 'config-pre1.1.1.php'); if (!$ren) { COM_errorLog("Could not rename the ages Spam-X plugin's config.php file. Please remove if manually, as it is not needed any more."); --- 198,202 ---- // Rename the existing config.php as it's not needed any more $ren = @rename($plugin_path . 'config.php', ! $plugin_path . 'config-pre1.5.0.php'); if (!$ren) { COM_errorLog("Could not rename the ages Spam-X plugin's config.php file. Please remove if manually, as it is not needed any more."); From dhaun at qs1489.pair.com Sun Feb 3 15:21:26 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 20:21:26 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.674,1.675 Message-ID: <20080203202126.2208A10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv16461/public_html Modified Files: lib-common.php Log Message: Updated comment - no more changes required in this file Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.674 retrieving revision 1.675 diff -C2 -d -r1.674 -r1.675 *** lib-common.php 26 Jan 2008 14:23:29 -0000 1.674 --- lib-common.php 3 Feb 2008 20:21:23 -0000 1.675 *************** *** 42,49 **** * This is the common library for Geeklog. Through our code, you will see * functions with the COM_ prefix (e.g. COM_siteHeader()). Any such functions ! * can be found in this file. This file provides all configuration variables ! * needed by Geeklog with a series of includes (see futher down). * ! * --- You only need to modify one line in this file! --- * * WARNING: put any custom hacks in lib-custom.php and not in here. This file is --- 42,48 ---- * This is the common library for Geeklog. Through our code, you will see * functions with the COM_ prefix (e.g. COM_siteHeader()). Any such functions ! * can be found in this file. * ! * --- You don't need to modify anything in this file! --- * * WARNING: put any custom hacks in lib-custom.php and not in here. This file is From dhaun at qs1489.pair.com Sun Feb 3 15:47:29 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 20:47:29 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-plugins.php,1.140,1.141 Message-ID: <20080203204729.D293A10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv17346/system Modified Files: lib-plugins.php Log Message: Only incude lib-story.php when it's needed; moved PLG_afterSaveSwitch to the ned of the file Index: lib-plugins.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-plugins.php,v retrieving revision 1.140 retrieving revision 1.141 diff -C2 -d -r1.140 -r1.141 *** lib-plugins.php 2 Jan 2008 21:06:02 -0000 1.140 --- lib-plugins.php 3 Feb 2008 20:47:27 -0000 1.141 *************** *** 66,121 **** /** - * Forward the user depending on config.php-setting after saving something - * - * @param string $item_url the url of the item saved - * @param string $plugin the name of the plugin that saved the item - * @return the url where the user will be forwarded to - * - */ - function PLG_afterSaveSwitch($target, $item_url, $plugin, $message = '') - { - global $_CONF; - - if (isset($message)) { - $msg = "msg=$message"; - } else { - $msg = ''; - } - - switch ($target) { - case 'item': - $url = $item_url . '&' . $msg; - break; - - case 'list': - if ($plugin == 'story') { - $url = $_CONF['site_admin_url'] . "/$plugin.php?$msg"; - } elseif ($plugin == 'user') { - $url = $_CONF['site_admin_url'] . "/user.php?$msg"; - } else { - $url = $_CONF['site_admin_url'] . "/plugins/$plugin/index.php?$msg"; - } - break; - - case 'home': - // the plugins messages are not available, use generic - $url = $_CONF['site_url'] . "/index.php?msg=15"; - break; - - case 'admin': - // the plugins messages are not available, use generic - $url = $_CONF['site_admin_url'] . "/moderation.php?msg=15"; - break; - - case 'plugin': - $url = $_CONF['site_url'] . "/$plugin/index.php?$msg"; - break; - } - - return COM_refresh($url); - } - - - /** * Calls a function for all enabled plugins * --- 66,69 ---- *************** *** 2305,2310 **** $retval = PLG_RET_ERROR; ! // ensure we can see the service_XXX_story functions ! require_once $_CONF['path_system'] . 'lib-story.php'; $output = ''; --- 2253,2260 ---- $retval = PLG_RET_ERROR; ! if ($type == 'story') { ! // ensure we can see the service_XXX_story functions ! require_once $_CONF['path_system'] . 'lib-story.php'; ! } $output = ''; *************** *** 2329,2337 **** * @param string type The plugin type that is to be checked */ ! function PLG_wsEnabled($type) { global $_CONF; ! // ensure we can see the service_XXX_story functions ! require_once $_CONF['path_system'] . 'lib-story.php'; $function = 'plugin_wsEnabled_' . $type; --- 2279,2290 ---- * @param string type The plugin type that is to be checked */ ! function PLG_wsEnabled($type) ! { global $_CONF; ! if ($type == 'story') { ! // ensure we can see the service_XXX_story functions ! require_once $_CONF['path_system'] . 'lib-story.php'; ! } $function = 'plugin_wsEnabled_' . $type; *************** *** 2341,2344 **** --- 2294,2357 ---- return false; } + } + + /** + * Forward the user depending on config.php-setting after saving something + * + * @param string $item_url the url of the item saved + * @param string $plugin the name of the plugin that saved the item + * @return the url where the user will be forwarded to + * + */ + function PLG_afterSaveSwitch($target, $item_url, $plugin, $message = '') + { + global $_CONF; + + if (isset($message)) { + $msg = "msg=$message"; + } else { + $msg = ''; + } + + switch ($target) { + case 'item': + $url = $item_url; + if (!empty($msg)) { + $url .= '&' . $msg; + } + break; + + case 'list': + if ($plugin == 'story') { + $url = $_CONF['site_admin_url'] . "/$plugin.php"; + } elseif ($plugin == 'user') { + $url = $_CONF['site_admin_url'] . "/user.php"; + } else { + $url = $_CONF['site_admin_url'] . "/plugins/$plugin/index.php"; + } + if (!empty($msg)) { + $url .= '?' . $msg; + } + break; + + case 'home': + // the plugins messages are not available, use generic + $url = $_CONF['site_url'] . '/index.php?msg=15'; + break; + + case 'admin': + // the plugins messages are not available, use generic + $url = $_CONF['site_admin_url'] . '/moderation.php?msg=15'; + break; + + case 'plugin': + $url = $_CONF['site_url'] . "/$plugin/index.php"; + if (!empty($msg)) { + $url .= '?' . $msg; + } + break; + } + + return COM_refresh($url); } From dhaun at qs1489.pair.com Sun Feb 3 15:52:57 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 20:52:57 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.24, 1.25 Message-ID: <20080203205257.8815810FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install In directory qs1489.pair.com:/tmp/cvs-serv17509/public_html/admin/install Modified Files: config-install.php Log Message: Revert 'aftersave_story' to 'list', which makes more sense for sending Trackbacks, etc. after saving a story Index: config-install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** config-install.php 3 Feb 2008 19:11:50 -0000 1.24 --- config-install.php 3 Feb 2008 20:52:55 -0000 1.25 *************** *** 174,178 **** $c->add('hide_main_page_navigation',0,'select',1,24,0,1310,TRUE); $c->add('onlyrootfeatures',0,'select',1,24,0,1320,TRUE); ! $c->add('aftersave_story','item','select',1,24,9,1330,TRUE); $c->add('aftersave_user','item','select',1,24,9,1340,TRUE); $c->add('show_right_blocks',FALSE,'select',2,25,1,1350,TRUE); --- 174,178 ---- $c->add('hide_main_page_navigation',0,'select',1,24,0,1310,TRUE); $c->add('onlyrootfeatures',0,'select',1,24,0,1320,TRUE); ! $c->add('aftersave_story','list','select',1,24,9,1330,TRUE); $c->add('aftersave_user','item','select',1,24,9,1340,TRUE); $c->add('show_right_blocks',FALSE,'select',2,25,1,1350,TRUE); From dhaun at qs1489.pair.com Sun Feb 3 15:52:57 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 20:52:57 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mysql_1.4.1_to_1.5.0.php, 1.62, 1.63 Message-ID: <20080203205257.97D4110FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv17509/sql/updates Modified Files: mysql_1.4.1_to_1.5.0.php Log Message: Revert 'aftersave_story' to 'list', which makes more sense for sending Trackbacks, etc. after saving a story Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** mysql_1.4.1_to_1.5.0.php 3 Feb 2008 19:11:50 -0000 1.62 --- mysql_1.4.1_to_1.5.0.php 3 Feb 2008 20:52:55 -0000 1.63 *************** *** 181,185 **** $c->add('hide_main_page_navigation',0,'select',1,24,0,1310,TRUE); $c->add('onlyrootfeatures',0,'select',1,24,0,1320,TRUE); ! $c->add('aftersave_story','item','select',1,24,9,1330,TRUE); $c->add('aftersave_user','item','select',1,24,9,1340,TRUE); $c->add('show_right_blocks',FALSE,'select',2,25,1,1350,TRUE); --- 181,185 ---- $c->add('hide_main_page_navigation',0,'select',1,24,0,1310,TRUE); $c->add('onlyrootfeatures',0,'select',1,24,0,1320,TRUE); ! $c->add('aftersave_story','list','select',1,24,9,1330,TRUE); $c->add('aftersave_user','item','select',1,24,9,1340,TRUE); $c->add('show_right_blocks',FALSE,'select',2,25,1,1350,TRUE); From dhaun at qs1489.pair.com Sun Feb 3 15:52:57 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Feb 2008 20:52:57 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mysql_1.4.1_to_1.5.0.php, 1.62, 1.63 Message-ID: <20080203205257.97D4110FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv17509/sql/updates Modified Files: mysql_1.4.1_to_1.5.0.php Log Message: Revert 'aftersave_story' to 'list', which makes more sense for sending Trackbacks, etc. after saving a story Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** mysql_1.4.1_to_1.5.0.php 3 Feb 2008 19:11:50 -0000 1.62 --- mysql_1.4.1_to_1.5.0.php 3 Feb 2008 20:52:55 -0000 1.63 *************** *** 181,185 **** $c->add('hide_main_page_navigation',0,'select',1,24,0,1310,TRUE); $c->add('onlyrootfeatures',0,'select',1,24,0,1320,TRUE); ! $c->add('aftersave_story','item','select',1,24,9,1330,TRUE); $c->add('aftersave_user','item','select',1,24,9,1340,TRUE); $c->add('show_right_blocks',FALSE,'select',2,25,1,1350,TRUE); --- 181,185 ---- $c->add('hide_main_page_navigation',0,'select',1,24,0,1310,TRUE); $c->add('onlyrootfeatures',0,'select',1,24,0,1320,TRUE); ! $c->add('aftersave_story','list','select',1,24,9,1330,TRUE); $c->add('aftersave_user','item','select',1,24,9,1340,TRUE); $c->add('show_right_blocks',FALSE,'select',2,25,1,1350,TRUE); From blaine at qs1489.pair.com Sat Feb 9 07:01:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:01:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional functions.php, 1.10, 1.11 Message-ID: <20080209120101.796E210FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional In directory qs1489.pair.com:/tmp/cvs-serv23623 Modified Files: functions.php Log Message: Tweak to config menu to not show current selected sub-group as a link in the menu. Able to now set block templates for both config menus. Index: functions.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/functions.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** functions.php 2 Feb 2008 21:56:34 -0000 1.10 --- functions.php 9 Feb 2008 12:00:59 -0000 1.11 *************** *** 25,28 **** --- 25,29 ---- $_BLOCK_TEMPLATE['_msg_block'] = 'blockheader-message.thtml,blockfooter-message.thtml'; $_BLOCK_TEMPLATE['configmanager_block'] = 'blockheader-notitle.thtml,blockfooter-notitle.thtml'; + $_BLOCK_TEMPLATE['configmanager_subblock'] = 'blockheader-notitle.thtml,blockfooter-notitle.thtml'; $_BLOCK_TEMPLATE['whats_related_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; $_BLOCK_TEMPLATE['story_options_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; From blaine at qs1489.pair.com Sat Feb 9 07:01:08 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:01:08 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.21, 1.22 Message-ID: <20080209120108.BB6F610FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv23660 Modified Files: config.class.php Log Message: Tweak to config menu to not show current selected sub-group as a link in the menu. Able to now set block templates for both config menus. Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** config.class.php 3 Feb 2008 09:53:49 -0000 1.21 --- config.class.php 9 Feb 2008 12:01:06 -0000 1.22 *************** *** 467,471 **** $cssfile = '' . LB; $display = COM_siteHeader('none','Configuration Manager',$cssfile); ! $t->set_var('config_menu',$this->_UI_configmanager_menu($grp)); if ($change_result != null AND $change_result !== array()) { $t->set_var('change_block',$this->_UI_get_change_block($change_result)); --- 467,471 ---- $cssfile = '' . LB; $display = COM_siteHeader('none','Configuration Manager',$cssfile); ! $t->set_var('config_menu',$this->_UI_configmanager_menu($grp,$sg)); if ($change_result != null AND $change_result !== array()) { $t->set_var('change_block',$this->_UI_get_change_block($change_result)); *************** *** 679,683 **** ! function _UI_configmanager_menu($conf_group) { global $_CONF, $LANG_ADMIN, $LANG_CONFIG, --- 679,683 ---- ! function _UI_configmanager_menu($conf_group,$sg=0) { global $_CONF, $LANG_ADMIN, $LANG_CONFIG, *************** *** 716,719 **** --- 716,721 ---- 'footer')); + + /* Now display the sub-group menu for the selected config group */ if (empty($LANG_configsections[$conf_group]['title'])) { $subgroup_title = ucwords($conf_group); *************** *** 722,732 **** } $retval .= COM_startBlock($subgroup_title, '', ! COM_getBlockTemplate('configmanager_block', 'header')); ! $groups = $this->get_sgroups($conf_group); ! if (count($groups) > 0) { ! foreach ($groups as $group) { ! $group_display = $LANG_configsubgroups[$conf_group][$group]; ! $retval .= ""; } } --- 724,741 ---- } $retval .= COM_startBlock($subgroup_title, '', ! COM_getBlockTemplate('configmanager_subblock', 'header')); ! $sgroups = $this->get_sgroups($conf_group); ! if (count($sgroups) > 0) { ! $i =0; ! foreach ($sgroups as $sgroup) { ! $group_display = $LANG_configsubgroups[$conf_group][$sgroup]; ! // Create a menu item for each sub config group - disable the link for the current selected one ! if ($i == $sg) { ! $retval .= "
    $group_display
    "; ! } else { ! $retval .= ""; ! } ! $i++; } } *************** *** 738,740 **** } ! ?> --- 747,749 ---- } ! ?> \ No newline at end of file From blaine at qs1489.pair.com Sat Feb 9 07:22:30 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:22:30 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.22, 1.23 Message-ID: <20080209122230.26BA710FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv24354 Modified Files: config.class.php Log Message: Tweak to config menu to not show current selected group as a link in the menu. Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** config.class.php 9 Feb 2008 12:01:06 -0000 1.22 --- config.class.php 9 Feb 2008 12:22:28 -0000 1.23 *************** *** 696,700 **** $group_display = $LANG_configsections[$group]['label']; } ! $link = ""; if ($group == 'Core') { --- 696,705 ---- $group_display = $LANG_configsections[$group]['label']; } ! // Create a menu item for each config group - disable the link for the current selected one ! if ($conf_group == $group) { ! $link = "
    $group_display
    "; ! } else { ! $link = ""; ! } if ($group == 'Core') { From blaine at qs1489.pair.com Sat Feb 9 07:33:38 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/_source/commandclasses fck_othercommands.js, 1.4, NONE fckfitwindow.js, 1.1, NONE fcknamedcommand.js, 1.3, NONE fckpasteplaintextcommand.js, 1.3, NONE fckpastewordcommand.js, 1.4, NONE fckspellcheckcommand_gecko.js, 1.2, NONE fckspellcheckcommand_ie.js, 1.2, NONE fckstylecommand.js, 1.3, NONE fcktablecommand.js, 1.4, NONE fcktextcolorcommand.js, 1.3, NONE Message-ID: <20080209123338.0482A10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/_source/commandclasses In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/_source/commandclasses Removed Files: fck_othercommands.js fckfitwindow.js fcknamedcommand.js fckpasteplaintextcommand.js fckpastewordcommand.js fckspellcheckcommand_gecko.js fckspellcheckcommand_ie.js fckstylecommand.js fcktablecommand.js fcktextcolorcommand.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fcktablecommand.js DELETED --- --- fckpastewordcommand.js DELETED --- --- fckspellcheckcommand_ie.js DELETED --- --- fcknamedcommand.js DELETED --- --- fckstylecommand.js DELETED --- --- fckspellcheckcommand_gecko.js DELETED --- --- fckpasteplaintextcommand.js DELETED --- --- fckfitwindow.js DELETED --- --- fck_othercommands.js DELETED --- --- fcktextcolorcommand.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:38 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor _documentation.html, 1.3, NONE _whatsnew.html, 1.5, NONE fckconfig.js, 1.9, NONE fckeditor.js, 1.5, NONE fckeditor.php, 1.4, NONE fckstyles.xml, 1.2, NONE fcktemplates.xml, 1.4, NONE htaccess.txt, 1.1, NONE license.txt, 1.1, NONE myconfig.js, 1.1, NONE Message-ID: <20080209123338.D8F6A10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor In directory qs1489.pair.com:/tmp/cvs-serv24797 Removed Files: _documentation.html _whatsnew.html fckconfig.js fckeditor.js fckeditor.php fckstyles.xml fcktemplates.xml htaccess.txt license.txt myconfig.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fckeditor.php DELETED --- --- fckstyles.xml DELETED --- --- _documentation.html DELETED --- --- fcktemplates.xml DELETED --- --- fckeditor.js DELETED --- --- myconfig.js DELETED --- --- fckconfig.js DELETED --- --- htaccess.txt DELETED --- --- license.txt DELETED --- --- _whatsnew.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:38 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/css/images fck_anchor.gif, 1.1, NONE fck_flashlogo.gif, 1.1, NONE fck_pagebreak.gif, 1.1, NONE Message-ID: <20080209123339.21C3B10FE17@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/css/images In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/css/images Removed Files: fck_anchor.gif fck_flashlogo.gif fck_pagebreak.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_flashlogo.gif DELETED --- --- fck_anchor.gif DELETED --- --- fck_pagebreak.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:38 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/_source/classes fckcontextmenu.js, 1.1, NONE fckeditingarea.js, 1.2, NONE fckevents.js, 1.3, NONE fckicon.js, 1.1, NONE fckiecleanup.js, 1.1, NONE fckmenublock.js, 1.2, NONE fckmenublockpanel.js, 1.1, NONE fckmenuitem.js, 1.2, NONE fckpanel.js, 1.2, NONE fckplugin.js, 1.3, NONE fckspecialcombo.js, 1.4, NONE fckstyledef.js, 1.3, NONE fckstyledef_gecko.js, 1.3, NONE fckstyledef_ie.js, 1.3, NONE fckstylesloader.js, 1.3, NONE fcktoolbar.js, 1.4, NONE fcktoolbarbreak_gecko.js, 1.3, NONE fcktoolbarbreak_ie.js, 1.4, NONE fcktoolbarbutton.js, 1.3, NONE fcktoolbarbuttonui.js, 1.2, NONE fcktoolbarfontformatcombo.js, 1.3, NONE fcktoolbarfontscombo.js, 1.3, NONE fcktoolbarfontsizecombo.js, 1.3, NONE fcktoolbarpanelbutton.js, 1.3, NONE fcktoolbarspecialcombo.js, 1.3, NONE fcktoolbarstylecombo.js, 1.3, NONE fckxml_gecko.js, 1.3, NONE fckxml_ie.js, 1.3, NONE Message-ID: <20080209123338.05E4B10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/_source/classes In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/_source/classes Removed Files: fckcontextmenu.js fckeditingarea.js fckevents.js fckicon.js fckiecleanup.js fckmenublock.js fckmenublockpanel.js fckmenuitem.js fckpanel.js fckplugin.js fckspecialcombo.js fckstyledef.js fckstyledef_gecko.js fckstyledef_ie.js fckstylesloader.js fcktoolbar.js fcktoolbarbreak_gecko.js fcktoolbarbreak_ie.js fcktoolbarbutton.js fcktoolbarbuttonui.js fcktoolbarfontformatcombo.js fcktoolbarfontscombo.js fcktoolbarfontsizecombo.js fcktoolbarpanelbutton.js fcktoolbarspecialcombo.js fcktoolbarstylecombo.js fckxml_gecko.js fckxml_ie.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fckstyledef_ie.js DELETED --- --- fckmenuitem.js DELETED --- --- fckmenublock.js DELETED --- --- fcktoolbarpanelbutton.js DELETED --- --- fckpanel.js DELETED --- --- fcktoolbarbutton.js DELETED --- --- fckstyledef_gecko.js DELETED --- --- fcktoolbarfontscombo.js DELETED --- --- fcktoolbarbreak_ie.js DELETED --- --- fckspecialcombo.js DELETED --- --- fckcontextmenu.js DELETED --- --- fcktoolbarfontsizecombo.js DELETED --- --- fcktoolbar.js DELETED --- --- fckiecleanup.js DELETED --- --- fcktoolbarfontformatcombo.js DELETED --- --- fckxml_gecko.js DELETED --- --- fckxml_ie.js DELETED --- --- fckicon.js DELETED --- --- fckmenublockpanel.js DELETED --- --- fcktoolbarbuttonui.js DELETED --- --- fckstylesloader.js DELETED --- --- fckplugin.js DELETED --- --- fckevents.js DELETED --- --- fcktoolbarspecialcombo.js DELETED --- --- fcktoolbarbreak_gecko.js DELETED --- --- fckstyledef.js DELETED --- --- fcktoolbarstylecombo.js DELETED --- --- fckeditingarea.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:38 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/_source/internals fck.js, 1.4, NONE fck_1.js, 1.5, NONE fck_1_gecko.js, 1.5, NONE fck_1_ie.js, 1.5, NONE fck_2.js, 1.4, NONE fck_2_gecko.js, 1.4, NONE fck_2_ie.js, 1.5, NONE fck_contextmenu.js, 1.1, NONE fckbrowserinfo.js, 1.4, NONE fckcodeformatter.js, 1.3, NONE fckcommands.js, 1.4, NONE fckconfig.js, 1.3, NONE fckdebug.js, 1.3, NONE fckdialog.js, 1.4, NONE fckdialog_gecko.js, 1.4, NONE fckdialog_ie.js, 1.3, NONE fckdocumentprocessor.js, 1.2, NONE fcklanguagemanager.js, 1.3, NONE fckplugins.js, 1.3, NONE fckregexlib.js, 1.4, NONE fckselection.js, 1.3, NONE fckselection_gecko.js, 1.3, NONE fckselection_ie.js, 1.3, NONE fcktablehandler.js, 1.4, NONE fcktablehandler_gecko.js, 1.3, NONE fcktablehandler_ie.js, 1.3, NONE fcktoolbaritems.js, 1.4, NONE fcktoolbarset.js, 1.4, NONE fcktools.js, 1.5, NONE fcktools_gecko.js, 1.5, NONE fcktools_ie.js, 1.4, NONE fckundo_gecko.js, 1.2, NONE fckundo_ie.js, 1.4, NONE fckurlparams.js, 1.3, NONE fckxhtml.js, 1.5, NONE fckxhtml_gecko.js, 1.3, NONE fckxhtml_ie.js, 1.4 , NONE fckxhtmlentities.js, 1.3, NONE Message-ID: <20080209123339.2258510FE18@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/_source/internals In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/_source/internals Removed Files: fck.js fck_1.js fck_1_gecko.js fck_1_ie.js fck_2.js fck_2_gecko.js fck_2_ie.js fck_contextmenu.js fckbrowserinfo.js fckcodeformatter.js fckcommands.js fckconfig.js fckdebug.js fckdialog.js fckdialog_gecko.js fckdialog_ie.js fckdocumentprocessor.js fcklanguagemanager.js fckplugins.js fckregexlib.js fckselection.js fckselection_gecko.js fckselection_ie.js fcktablehandler.js fcktablehandler_gecko.js fcktablehandler_ie.js fcktoolbaritems.js fcktoolbarset.js fcktools.js fcktools_gecko.js fcktools_ie.js fckundo_gecko.js fckundo_ie.js fckurlparams.js fckxhtml.js fckxhtml_gecko.js fckxhtml_ie.js fckxhtmlentities.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fcktoolbarset.js DELETED --- --- fck_2_ie.js DELETED --- --- fcktools_gecko.js DELETED --- --- fcktools_ie.js DELETED --- --- fckundo_gecko.js DELETED --- --- fck_2_gecko.js DELETED --- --- fckbrowserinfo.js DELETED --- --- fckdialog.js DELETED --- --- fck_2.js DELETED --- --- fckxhtml_gecko.js DELETED --- --- fckcommands.js DELETED --- --- fcktools.js DELETED --- --- fckregexlib.js DELETED --- --- fckurlparams.js DELETED --- --- fckcodeformatter.js DELETED --- --- fckselection.js DELETED --- --- fck.js DELETED --- --- fcktoolbaritems.js DELETED --- --- fcktablehandler.js DELETED --- --- fckundo_ie.js DELETED --- --- fckplugins.js DELETED --- --- fcktablehandler_ie.js DELETED --- --- fckselection_ie.js DELETED --- --- fck_1.js DELETED --- --- fckxhtmlentities.js DELETED --- --- fcktablehandler_gecko.js DELETED --- --- fcklanguagemanager.js DELETED --- --- fckxhtml_ie.js DELETED --- --- fck_1_gecko.js DELETED --- --- fckdocumentprocessor.js DELETED --- --- fckselection_gecko.js DELETED --- --- fck_contextmenu.js DELETED --- --- fckdialog_gecko.js DELETED --- --- fckxhtml.js DELETED --- --- fck_1_ie.js DELETED --- --- fckconfig.js DELETED --- --- fckdebug.js DELETED --- --- fckdialog_ie.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:39 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog fck_about.html, 1.4, NONE fck_anchor.html, 1.4, NONE fck_button.html, 1.2, NONE fck_checkbox.html, 1.3, NONE fck_colorselector.html, 1.2, NONE fck_docprops.html, 1.3, NONE fck_find.html, 1.3, NONE fck_flash.html, 1.2, NONE fck_form.html, 1.2, NONE fck_hiddenfield.html, 1.2, NONE fck_image.html, 1.5, NONE fck_link.html, 1.4, NONE fck_listprop.html, 1.3, NONE fck_paste.html, 1.3, NONE fck_radiobutton.html, 1.3, NONE fck_replace.html, 1.2, NONE fck_select.html, 1.2, NONE fck_smiley.html, 1.3, NONE fck_source.html, 1.2, NONE fck_specialchar.html, 1.4, NONE fck_spellerpages.html, 1.2, NONE fck_table.html, 1.4, NONE fck_tablecell.html, 1.2, NONE fck_template.html, 1.4, NONE fck_textarea.html, 1.2, NONE fck_textfield.html, 1.2, NONE fck_universalkey.html, 1.2, NONE Message-ID: <20080209123339.5F57410FE1D@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog Removed Files: fck_about.html fck_anchor.html fck_button.html fck_checkbox.html fck_colorselector.html fck_docprops.html fck_find.html fck_flash.html fck_form.html fck_hiddenfield.html fck_image.html fck_link.html fck_listprop.html fck_paste.html fck_radiobutton.html fck_replace.html fck_select.html fck_smiley.html fck_source.html fck_specialchar.html fck_spellerpages.html fck_table.html fck_tablecell.html fck_template.html fck_textarea.html fck_textfield.html fck_universalkey.html Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_table.html DELETED --- --- fck_template.html DELETED --- --- fck_radiobutton.html DELETED --- --- fck_hiddenfield.html DELETED --- --- fck_link.html DELETED --- --- fck_find.html DELETED --- --- fck_button.html DELETED --- --- fck_listprop.html DELETED --- --- fck_about.html DELETED --- --- fck_image.html DELETED --- --- fck_smiley.html DELETED --- --- fck_docprops.html DELETED --- --- fck_tablecell.html DELETED --- --- fck_universalkey.html DELETED --- --- fck_replace.html DELETED --- --- fck_colorselector.html DELETED --- --- fck_textfield.html DELETED --- --- fck_spellerpages.html DELETED --- --- fck_checkbox.html DELETED --- --- fck_specialchar.html DELETED --- --- fck_form.html DELETED --- --- fck_select.html DELETED --- --- fck_textarea.html DELETED --- --- fck_flash.html DELETED --- --- fck_source.html DELETED --- --- fck_paste.html DELETED --- --- fck_anchor.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:38 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/_source fckconstants.js, 1.1, NONE fckeditorapi.js, 1.2, NONE fckjscoreextensions.js, 1.1, NONE Message-ID: <20080209123338.0826E10FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/_source In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/_source Removed Files: fckconstants.js fckeditorapi.js fckjscoreextensions.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fckjscoreextensions.js DELETED --- --- fckeditorapi.js DELETED --- --- fckconstants.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_spellerpages/spellerpages blank.html, 1.1, NONE controlWindow.js, 1.1, NONE controls.html, 1.1, NONE spellChecker.js, 1.1, NONE spellchecker.html, 1.2, NONE spellerStyle.css, 1.1, NONE wordWindow.js, 1.1, NONE Message-ID: <20080209123340.37A7A10FE22@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_spellerpages/spellerpages In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_spellerpages/spellerpages Removed Files: blank.html controlWindow.js controls.html spellChecker.js spellchecker.html spellerStyle.css wordWindow.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- spellChecker.js DELETED --- --- controls.html DELETED --- --- wordWindow.js DELETED --- --- spellerStyle.css DELETED --- --- spellchecker.html DELETED --- --- controlWindow.js DELETED --- --- blank.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:38 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/css/behaviors disablehandles.htc, 1.1, NONE hiddenfield.gif, 1.1, NONE hiddenfield.htc, 1.1, NONE showtableborders.htc, 1.3, NONE Message-ID: <20080209123339.289F810FE19@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/css/behaviors In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/css/behaviors Removed Files: disablehandles.htc hiddenfield.gif hiddenfield.htc showtableborders.htc Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- hiddenfield.htc DELETED --- --- hiddenfield.gif DELETED --- --- disablehandles.htc DELETED --- --- showtableborders.htc DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default browser.css, 1.1, NONE browser.html, 1.1, NONE frmactualfolder.html, 1.1, NONE frmcreatefolder.html, 1.1, NONE frmfolders.html, 1.1, NONE frmresourceslist.html, 1.2, NONE frmresourcetype.html, 1.1, NONE frmupload.html, 1.1, NONE Message-ID: <20080209123340.5F29510FE29@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/filemanager/browser/default Removed Files: browser.css browser.html frmactualfolder.html frmcreatefolder.html frmfolders.html frmresourceslist.html frmresourcetype.html frmupload.html Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- frmfolders.html DELETED --- --- frmactualfolder.html DELETED --- --- browser.html DELETED --- --- frmresourcetype.html DELETED --- --- frmresourceslist.html DELETED --- --- frmcreatefolder.html DELETED --- --- browser.css DELETED --- --- frmupload.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:38 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/css fck_editorarea.css, 1.4, NONE fck_internal.css, 1.4, NONE fck_showtableborders_gecko.css, 1.2, NONE Message-ID: <20080209123339.29CB110FE1A@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/css In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/css Removed Files: fck_editorarea.css fck_internal.css fck_showtableborders_gecko.css Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_showtableborders_gecko.css DELETED --- --- fck_editorarea.css DELETED --- --- fck_internal.css DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor fckblank.html, 1.2, NONE fckdebug.html, 1.3, NONE fckdialog.html, 1.3, NONE fckeditor.html, 1.4, NONE fckeditor.original.html, 1.4, NONE Message-ID: <20080209123340.565C610FE28@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor In directory qs1489.pair.com:/tmp/cvs-serv24797/editor Removed Files: fckblank.html fckdebug.html fckdialog.html fckeditor.html fckeditor.original.html Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fckblank.html DELETED --- --- fckdialog.html DELETED --- --- fckeditor.original.html DELETED --- --- fckeditor.html DELETED --- --- fckdebug.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:39 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/common/images locked.gif, 1.1, NONE reset.gif, 1.1, NONE unlocked.gif, 1.1, NONE Message-ID: <20080209123339.2C3C910FE1B@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/common/images In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/common/images Removed Files: locked.gif reset.gif unlocked.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- reset.gif DELETED --- --- locked.gif DELETED --- --- unlocked.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/upload/php config.php, 1.2, NONE upload.php, 1.1, NONE util.php, 1.1, NONE Message-ID: <20080209123340.6FDBB10FE2E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/upload/php In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/filemanager/upload/php Removed Files: config.php upload.php util.php Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- config.php DELETED --- --- util.php DELETED --- --- upload.php DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/images anchor.gif, 1.1, NONE arrow_ltr.gif, 1.1, NONE arrow_rtl.gif, 1.1, NONE spacer.gif, 1.1, NONE Message-ID: <20080209123340.8DC9110FE6C@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/images In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/images Removed Files: anchor.gif arrow_ltr.gif arrow_rtl.gif spacer.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- arrow_rtl.gif DELETED --- --- spacer.gif DELETED --- --- anchor.gif DELETED --- --- arrow_ltr.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:39 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/common fck_dialog_common.css, 1.5, NONE fck_dialog_common.js, 1.3, NONE fcknumericfield.htc, 1.1, NONE moz-bindings.xml, 1.2, NONE Message-ID: <20080209123339.2DC9B10FE1C@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/common In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/common Removed Files: fck_dialog_common.css fck_dialog_common.js fcknumericfield.htc moz-bindings.xml Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- moz-bindings.xml DELETED --- --- fck_dialog_common.js DELETED --- --- fck_dialog_common.css DELETED --- --- fcknumericfield.htc DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_flash fck_flash.js, 1.2, NONE fck_flash_preview.html, 1.1, NONE Message-ID: <20080209123340.2C0CF10FE1F@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_flash In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_flash Removed Files: fck_flash.js fck_flash_preview.html Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_flash_preview.html DELETED --- --- fck_flash.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_select fck_select.js, 1.3, NONE Message-ID: <20080209123340.37BAA10FE23@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_select In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_select Removed Files: fck_select.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_select.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_image fck_image.js, 1.5, NONE fck_image_preview.html, 1.2, NONE Message-ID: <20080209123340.3351010FE21@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_image In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_image Removed Files: fck_image.js fck_image_preview.html Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_image.js DELETED --- --- fck_image_preview.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts spellchecker.cfm, 1.1, NONE spellchecker.php, 1.1, NONE spellchecker.pl, 1.1, NONE Message-ID: <20080209123340.3BFC210FE24@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_spellerpages/spellerpages/server-scripts Removed Files: spellchecker.cfm spellchecker.php spellchecker.pl Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- spellchecker.pl DELETED --- --- spellchecker.php DELETED --- --- spellchecker.cfm DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:39 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_about lgpl.html, 1.1, NONE logo_fckeditor.gif, 1.1, NONE logo_fredck.gif, 1.1, NONE Message-ID: <20080209123340.3DA4910FE25@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_about In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_about Removed Files: lgpl.html logo_fckeditor.gif logo_fredck.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- logo_fckeditor.gif DELETED --- --- lgpl.html DELETED --- --- logo_fredck.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:39 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_docprops fck_document_preview.html, 1.2, NONE Message-ID: <20080209123340.28CAC10FE1E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_docprops In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_docprops Removed Files: fck_document_preview.html Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_document_preview.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_universalkey 00.gif, 1.1, NONE data.js, 1.2, NONE diacritic.js, 1.2, NONE dialogue.js, 1.2, NONE fck_universalkey.css, 1.2, NONE keyboard_layout.gif, 1.1, NONE multihexa.js, 1.3, NONE Message-ID: <20080209123340.533F110FE27@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_universalkey In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_universalkey Removed Files: 00.gif data.js diacritic.js dialogue.js fck_universalkey.css keyboard_layout.gif multihexa.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_universalkey.css DELETED --- --- multihexa.js DELETED --- --- diacritic.js DELETED --- --- dialogue.js DELETED --- --- data.js DELETED --- --- 00.gif DELETED --- --- keyboard_layout.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_link fck_link.js, 1.4, NONE Message-ID: <20080209123340.2EC5F10FE20@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_link In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_link Removed Files: fck_link.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_link.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_template/images template1.gif, 1.1, NONE template2.gif, 1.1, NONE template3.gif, 1.1, NONE Message-ID: <20080209123340.5319910FE26@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_template/images In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_template/images Removed Files: template1.gif template2.gif template3.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- template3.gif DELETED --- --- template2.gif DELETED --- --- template1.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/connectors/php basexml.php, 1.2, NONE commands.php, 1.1, NONE config.php, 1.1, NONE connector.php, 1.2, NONE io.php, 1.1, NONE util.php, 1.1, NONE Message-ID: <20080209123340.624A110FE2A@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/connectors/php In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/filemanager/browser/default/connectors/php Removed Files: basexml.php commands.php config.php connector.php io.php util.php Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- connector.php DELETED --- --- commands.php DELETED --- --- basexml.php DELETED --- --- config.php DELETED --- --- util.php DELETED --- --- io.php DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/images/smiley/fun aiua.gif, 1.1, NONE ak.gif, 1.1, NONE alien.gif, 1.1, NONE alien2.gif, 1.1, NONE angry.gif, 1.1, NONE angry1.gif, 1.1, NONE apophys.gif, 1.1, NONE assjani.gif, 1.1, NONE asthanos.gif, 1.1, NONE bazuzeus.gif, 1.1, NONE beaute.gif, 1.1, NONE bigsmile.gif, 1.1, NONE blush.gif, 1.1, NONE boid.gif, 1.1, NONE bonk.gif, 1.1, NONE bored.gif, 1.1, NONE borg.gif, 1.1, NONE capo.gif, 1.1, NONE confused.gif, 1.1, NONE cool.gif, 1.1, NONE crazy.gif, 1.1, NONE cwm14.gif, 1.1, NONE demis_roussos.gif, 1.1, NONE devil.gif, 1.1, NONE devil2.gif, 1.1, NONE double0smile.gif, 1.1, NONE eek3.gif, 1.1, NONE eltaf.gif, 1.1, NONE gele.gif, 1.1, NONE halm.gif, 1.1, NONE happy.gif, 1.1, NONE icon12.gif, 1.1, NONE icon23.gif, 1.1, NONE icon26.gif, 1.1, NONE icon_angel.gif, 1.1, NONE icon_bandit.gif, 1.1, NONE icon_bravo.gif, 1.1, NONE icon_clown.gif, 1.1, NONE jesors.gif, 1.1, NONE jesors1.gif, 1.1, NONE lol3.gif, 1.1, NONE love.gif, 1.1, NONE mad.gif, 1.1, NONE megaphone.gif, 1.1, NONE mmm.gif, 1.1, NONE music.gif, 1.1, NONE notify.gif, 1.1, NONE nuts.gif, 1.1, NONE obanon.gif, 1.1, NONE ouaip.gif, 1.1, NONE pleure.gif, 1.1, NONE plugin.gif, 1.1, NONE question.gif, 1.1, NONE question2.gif, 1.1, NONE rasta2.gif, 1.1, NONE rastapop.gif, 1.1, NONE rosebud.gif, 1.1, NONE sad.gif, 1.1, NONE sad2.gif, 1.1, NONE shocked.gif, 1.1, NONE sick.gif, 1.1, NONE sick2.gif, 1.1, NONE slaap.gif, 1.1, NONE sleep.gif, 1.1, NONE smile.gif, 1.1, NONE smiley_peur.gif, 1.1, NONE sors.gif, 1.1, NONE sovxx.gif, 1.1, NONE spamafote.gif, 1.1, NONE tap67.gif, 1.1, NONE thumbdown.gif, 1.1, NONE thumbup.gif, 1.1, NONE tigi.gif, 1.1, NONE toad666.gif, 1.1, NONE tongue.gif, 1.1, NONE tuffgong.gif, 1.1, NONE urgeman.gif, 1.1, NONE vanadium.gif, 1.1, NONE wink.gif, 1.1, NONE worship.gif, 1.1, NONE wouaf.gif, 1.1, NONE wow.gif, 1.1, NONE xp1700.gif, 1.1, NONE yltype.gif, 1.1, NONE yopyopyop.gif, 1.1, NONE youpi.gif, 1.1, NONE zoor.gif, 1.1, NONE Message-ID: <20080209123340.B81CA10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/images/smiley/fun In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/images/smiley/fun Removed Files: aiua.gif ak.gif alien.gif alien2.gif angry.gif angry1.gif apophys.gif assjani.gif asthanos.gif bazuzeus.gif beaute.gif bigsmile.gif blush.gif boid.gif bonk.gif bored.gif borg.gif capo.gif confused.gif cool.gif crazy.gif cwm14.gif demis_roussos.gif devil.gif devil2.gif double0smile.gif eek3.gif eltaf.gif gele.gif halm.gif happy.gif icon12.gif icon23.gif icon26.gif icon_angel.gif icon_bandit.gif icon_bravo.gif icon_clown.gif jesors.gif jesors1.gif lol3.gif love.gif mad.gif megaphone.gif mmm.gif music.gif notify.gif nuts.gif obanon.gif ouaip.gif pleure.gif plugin.gif question.gif question2.gif rasta2.gif rastapop.gif rosebud.gif sad.gif sad2.gif shocked.gif sick.gif sick2.gif slaap.gif sleep.gif smile.gif smiley_peur.gif sors.gif sovxx.gif spamafote.gif tap67.gif thumbdown.gif thumbup.gif tigi.gif toad666.gif tongue.gif tuffgong.gif urgeman.gif vanadium.gif wink.gif worship.gif wouaf.gif wow.gif xp1700.gif yltype.gif yopyopyop.gif youpi.gif zoor.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- notify.gif DELETED --- --- assjani.gif DELETED --- --- toad666.gif DELETED --- --- worship.gif DELETED --- --- sick.gif DELETED --- --- vanadium.gif DELETED --- --- icon_bravo.gif DELETED --- --- sick2.gif DELETED --- --- apophys.gif DELETED --- --- bonk.gif DELETED --- --- demis_roussos.gif DELETED --- --- mmm.gif DELETED --- --- ak.gif DELETED --- --- icon_clown.gif DELETED --- --- icon23.gif DELETED --- --- angry1.gif DELETED --- --- question2.gif DELETED --- --- borg.gif DELETED --- --- capo.gif DELETED --- --- thumbdown.gif DELETED --- --- zoor.gif DELETED --- --- cool.gif DELETED --- --- cwm14.gif DELETED --- --- jesors.gif DELETED --- --- wouaf.gif DELETED --- --- bigsmile.gif DELETED --- --- sad.gif DELETED --- --- eltaf.gif DELETED --- --- happy.gif DELETED --- --- devil.gif DELETED --- --- lol3.gif DELETED --- --- eek3.gif DELETED --- --- shocked.gif DELETED --- --- icon_angel.gif DELETED --- --- slaap.gif DELETED --- --- angry.gif DELETED --- --- wink.gif DELETED --- --- sors.gif DELETED --- --- tuffgong.gif DELETED --- --- rasta2.gif DELETED --- --- sovxx.gif DELETED --- --- icon26.gif DELETED --- --- rastapop.gif DELETED --- --- confused.gif DELETED --- --- asthanos.gif DELETED --- --- love.gif DELETED --- --- gele.gif DELETED --- --- halm.gif DELETED --- --- beaute.gif DELETED --- --- sleep.gif DELETED --- --- yopyopyop.gif DELETED --- --- bored.gif DELETED --- --- obanon.gif DELETED --- --- mad.gif DELETED --- --- music.gif DELETED --- --- devil2.gif DELETED --- --- rosebud.gif DELETED --- --- double0smile.gif DELETED --- --- smiley_peur.gif DELETED --- --- xp1700.gif DELETED --- --- bazuzeus.gif DELETED --- --- icon12.gif DELETED --- --- pleure.gif DELETED --- --- aiua.gif DELETED --- --- blush.gif DELETED --- --- jesors1.gif DELETED --- --- alien.gif DELETED --- --- yltype.gif DELETED --- --- smile.gif DELETED --- --- boid.gif DELETED --- --- megaphone.gif DELETED --- --- sad2.gif DELETED --- --- icon_bandit.gif DELETED --- --- question.gif DELETED --- --- tigi.gif DELETED --- --- urgeman.gif DELETED --- --- alien2.gif DELETED --- --- wow.gif DELETED --- --- thumbup.gif DELETED --- --- youpi.gif DELETED --- --- spamafote.gif DELETED --- --- plugin.gif DELETED --- --- tongue.gif DELETED --- --- tap67.gif DELETED --- --- crazy.gif DELETED --- --- nuts.gif DELETED --- --- ouaip.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images/icons/32 ai.gif, 1.1, NONE avi.gif, 1.1, NONE bmp.gif, 1.1, NONE cs.gif, 1.1, NONE default.icon.gif, 1.1, NONE dll.gif, 1.1, NONE doc.gif, 1.1, NONE exe.gif, 1.1, NONE fla.gif, 1.1, NONE gif.gif, 1.1, NONE htm.gif, 1.1, NONE html.gif, 1.1, NONE jpg.gif, 1.1, NONE js.gif, 1.1, NONE mdb.gif, 1.1, NONE mp3.gif, 1.1, NONE pdf.gif, 1.1, NONE ppt.gif, 1.1, NONE rdp.gif, 1.1, NONE swf.gif, 1.1, NONE swt.gif, 1.1, NONE txt.gif, 1.1, NONE vsd.gif, 1.1, NONE xls.gif, 1.1, NONE xml.gif, 1.1, NONE zip.gif, 1.1, NONE Message-ID: <20080209123340.675EA10FE2C@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images/icons/32 In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/filemanager/browser/default/images/icons/32 Removed Files: ai.gif avi.gif bmp.gif cs.gif default.icon.gif dll.gif doc.gif exe.gif fla.gif gif.gif htm.gif html.gif jpg.gif js.gif mdb.gif mp3.gif pdf.gif ppt.gif rdp.gif swf.gif swt.gif txt.gif vsd.gif xls.gif xml.gif zip.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- default.icon.gif DELETED --- --- mdb.gif DELETED --- --- bmp.gif DELETED --- --- exe.gif DELETED --- --- cs.gif DELETED --- --- ai.gif DELETED --- --- html.gif DELETED --- --- mp3.gif DELETED --- --- htm.gif DELETED --- --- dll.gif DELETED --- --- gif.gif DELETED --- --- zip.gif DELETED --- --- fla.gif DELETED --- --- js.gif DELETED --- --- xls.gif DELETED --- --- swf.gif DELETED --- --- swt.gif DELETED --- --- xml.gif DELETED --- --- avi.gif DELETED --- --- txt.gif DELETED --- --- doc.gif DELETED --- --- ppt.gif DELETED --- --- vsd.gif DELETED --- --- rdp.gif DELETED --- --- pdf.gif DELETED --- --- jpg.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images ButtonArrow.gif, 1.1, NONE Folder.gif, 1.1, NONE Folder32.gif, 1.1, NONE FolderOpened.gif, 1.1, NONE FolderOpened32.gif, 1.1, NONE FolderUp.gif, 1.1, NONE spacer.gif, 1.1, NONE Message-ID: <20080209123340.625F910FE2B@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/filemanager/browser/default/images Removed Files: ButtonArrow.gif Folder.gif Folder32.gif FolderOpened.gif FolderOpened32.gif FolderUp.gif spacer.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- spacer.gif DELETED --- --- FolderUp.gif DELETED --- --- FolderOpened.gif DELETED --- --- Folder32.gif DELETED --- --- FolderOpened32.gif DELETED --- --- ButtonArrow.gif DELETED --- --- Folder.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images/icons ai.gif, 1.1, NONE avi.gif, 1.1, NONE bmp.gif, 1.1, NONE cs.gif, 1.1, NONE default.icon.gif, 1.1, NONE dll.gif, 1.1, NONE doc.gif, 1.1, NONE exe.gif, 1.1, NONE fla.gif, 1.1, NONE gif.gif, 1.1, NONE htm.gif, 1.1, NONE html.gif, 1.1, NONE jpg.gif, 1.1, NONE js.gif, 1.1, NONE mdb.gif, 1.1, NONE mp3.gif, 1.1, NONE pdf.gif, 1.1, NONE ppt.gif, 1.1, NONE rdp.gif, 1.1, NONE swf.gif, 1.1, NONE swt.gif, 1.1, NONE txt.gif, 1.1, NONE vsd.gif, 1.1, NONE xls.gif, 1.1, NONE xml.gif, 1.1, NONE zip.gif, 1.1, NONE Message-ID: <20080209123340.6F35E10FE6A@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images/icons In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/filemanager/browser/default/images/icons Removed Files: ai.gif avi.gif bmp.gif cs.gif default.icon.gif dll.gif doc.gif exe.gif fla.gif gif.gif htm.gif html.gif jpg.gif js.gif mdb.gif mp3.gif pdf.gif ppt.gif rdp.gif swf.gif swt.gif txt.gif vsd.gif xls.gif xml.gif zip.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- default.icon.gif DELETED --- --- mdb.gif DELETED --- --- bmp.gif DELETED --- --- exe.gif DELETED --- --- cs.gif DELETED --- --- ai.gif DELETED --- --- html.gif DELETED --- --- mp3.gif DELETED --- --- htm.gif DELETED --- --- dll.gif DELETED --- --- gif.gif DELETED --- --- zip.gif DELETED --- --- fla.gif DELETED --- --- js.gif DELETED --- --- xls.gif DELETED --- --- swf.gif DELETED --- --- swt.gif DELETED --- --- xml.gif DELETED --- --- avi.gif DELETED --- --- txt.gif DELETED --- --- doc.gif DELETED --- --- ppt.gif DELETED --- --- vsd.gif DELETED --- --- rdp.gif DELETED --- --- pdf.gif DELETED --- --- jpg.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/js common.js, 1.2, NONE fckxml.js, 1.1, NONE Message-ID: <20080209123340.6F07F10FE2D@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/js In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/filemanager/browser/default/js Removed Files: common.js fckxml.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- common.js DELETED --- --- fckxml.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/upload test.html, 1.1, NONE Message-ID: <20080209123340.83F6E10FE6B@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/upload In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/filemanager/upload Removed Files: test.html Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- test.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/lang _getfontformat.html, 1.1, NONE _translationstatus.txt, 1.5, NONE ar.js, 1.4, NONE bg.js, 1.4, NONE bn.js, 1.1, NONE bs.js, 1.4, NONE ca.js, 1.5, NONE cs.js, 1.4, NONE da.js, 1.4, NONE de.js, 1.4, NONE el.js, 1.5, NONE en-au.js, 1.4, NONE en-ca.js, 1.1, NONE en-uk.js, 1.4, NONE en.js, 1.4, NONE eo.js, 1.4, NONE es.js, 1.5, NONE et.js, 1.4, NONE eu.js, 1.4, NONE fa.js, 1.4, NONE fi.js, 1.4, NONE fo.js, 1.2, NONE fr.js, 1.5, NONE gl.js, 1.4, NONE he.js, 1.4, NONE hi.js, 1.1, NONE hr.js, 1.4, NONE hu.js, 1.4, NONE it.js, 1.4, NONE ja.js, 1.4, NONE km.js, 1.1, NONE ko.js, 1.4, NONE lt.js, 1.4, NONE lv.js, 1.1, NONE mn.js, 1.2, NONE ms.js, 1.2, NONE nl.js, 1.4, NONE no.js, 1.4, NONE pl.js, 1.4, NONE pt-br.js, 1.5, NONE pt.js, 1.5, NONE ro.js, 1.4, NONE ru.js, 1.4, NONE sk.js, 1.4, NONE sl.js, 1.4, NONE sr-latn.js, 1.4, NONE sr.js, 1.4, NONE sv.js, 1.4, NONE th.js, 1.4, NONE tr.js, 1.4, NONE uk.js, 1.4, NONE vi.js, 1.2, NONE zh-cn.js, 1.4, NONE zh.js, 1.4, NONE Message-ID: <20080209123341.4972210FE72@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/lang In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/lang Removed Files: _getfontformat.html _translationstatus.txt ar.js bg.js bn.js bs.js ca.js cs.js da.js de.js el.js en-au.js en-ca.js en-uk.js en.js eo.js es.js et.js eu.js fa.js fi.js fo.js fr.js gl.js he.js hi.js hr.js hu.js it.js ja.js km.js ko.js lt.js lv.js mn.js ms.js nl.js no.js pl.js pt-br.js pt.js ro.js ru.js sk.js sl.js sr-latn.js sr.js sv.js th.js tr.js uk.js vi.js zh-cn.js zh.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- ar.js DELETED --- --- th.js DELETED --- --- lt.js DELETED --- --- km.js DELETED --- --- ru.js DELETED --- --- pt-br.js DELETED --- --- ms.js DELETED --- --- zh-cn.js DELETED --- --- _getfontformat.html DELETED --- --- fr.js DELETED --- --- ro.js DELETED --- --- pl.js DELETED --- --- sl.js DELETED --- --- it.js DELETED --- --- cs.js DELETED --- --- ko.js DELETED --- --- hu.js DELETED --- --- en-uk.js DELETED --- --- eu.js DELETED --- --- de.js DELETED --- --- ca.js DELETED --- --- lv.js DELETED --- --- bg.js DELETED --- --- fi.js DELETED --- --- sr-latn.js DELETED --- --- mn.js DELETED --- --- fo.js DELETED --- --- hi.js DELETED --- --- uk.js DELETED --- --- sr.js DELETED --- --- nl.js DELETED --- --- no.js DELETED --- --- _translationstatus.txt DELETED --- --- eo.js DELETED --- --- hr.js DELETED --- --- en-au.js DELETED --- --- da.js DELETED --- --- vi.js DELETED --- --- tr.js DELETED --- --- en-ca.js DELETED --- --- el.js DELETED --- --- zh.js DELETED --- --- bn.js DELETED --- --- ja.js DELETED --- --- sk.js DELETED --- --- en.js DELETED --- --- pt.js DELETED --- --- et.js DELETED --- --- he.js DELETED --- --- gl.js DELETED --- --- es.js DELETED --- --- fa.js DELETED --- --- bs.js DELETED --- --- sv.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/images/smiley/msn angel_smile.gif, 1.1, NONE angry_smile.gif, 1.1, NONE broken_heart.gif, 1.1, NONE cake.gif, 1.1, NONE confused_smile.gif, 1.1, NONE cry_smile.gif, 1.1, NONE devil_smile.gif, 1.1, NONE embaressed_smile.gif, 1.1, NONE envelope.gif, 1.1, NONE heart.gif, 1.1, NONE kiss.gif, 1.1, NONE lightbulb.gif, 1.1, NONE omg_smile.gif, 1.1, NONE regular_smile.gif, 1.1, NONE sad_smile.gif, 1.1, NONE shades_smile.gif, 1.1, NONE teeth_smile.gif, 1.1, NONE thumbs_down.gif, 1.1, NONE thumbs_up.gif, 1.1, NONE tounge_smile.gif, 1.1, NONE whatchutalkingabout_smile.gif, 1.1, NONE wink_smile.gif, 1.1, NONE Message-ID: <20080209123340.D06F810FE6E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/images/smiley/msn In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/images/smiley/msn Removed Files: angel_smile.gif angry_smile.gif broken_heart.gif cake.gif confused_smile.gif cry_smile.gif devil_smile.gif embaressed_smile.gif envelope.gif heart.gif kiss.gif lightbulb.gif omg_smile.gif regular_smile.gif sad_smile.gif shades_smile.gif teeth_smile.gif thumbs_down.gif thumbs_up.gif tounge_smile.gif whatchutalkingabout_smile.gif wink_smile.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- thumbs_down.gif DELETED --- --- shades_smile.gif DELETED --- --- regular_smile.gif DELETED --- --- heart.gif DELETED --- --- tounge_smile.gif DELETED --- --- devil_smile.gif DELETED --- --- whatchutalkingabout_smile.gif DELETED --- --- teeth_smile.gif DELETED --- --- omg_smile.gif DELETED --- --- thumbs_up.gif DELETED --- --- lightbulb.gif DELETED --- --- embaressed_smile.gif DELETED --- --- broken_heart.gif DELETED --- --- confused_smile.gif DELETED --- --- kiss.gif DELETED --- --- cry_smile.gif DELETED --- --- angry_smile.gif DELETED --- --- cake.gif DELETED --- --- angel_smile.gif DELETED --- --- wink_smile.gif DELETED --- --- sad_smile.gif DELETED --- --- envelope.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/autogrow fckplugin.js, 1.2, NONE Message-ID: <20080209123341.589B610FE74@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/autogrow In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/plugins/autogrow Removed Files: fckplugin.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fckplugin.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/js fckeditorcode_gecko.js, 1.2, NONE fckeditorcode_ie.js, 1.2, NONE Message-ID: <20080209123341.02B3510FE70@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/js In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/js Removed Files: fckeditorcode_gecko.js fckeditorcode_ie.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fckeditorcode_gecko.js DELETED --- --- fckeditorcode_ie.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/placeholder fck_placeholder.html, 1.3, NONE fckplugin.js, 1.3, NONE placeholder.gif, 1.2, NONE Message-ID: <20080209123341.73A3F10FE76@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/placeholder In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/plugins/placeholder Removed Files: fck_placeholder.html fckplugin.js placeholder.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- placeholder.gif DELETED --- --- fckplugin.js DELETED --- --- fck_placeholder.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/placeholder/lang de.js, 1.2, NONE en.js, 1.3, NONE fr.js, 1.3, NONE it.js, 1.3, NONE pl.js, 1.1, NONE Message-ID: <20080209123341.8439110FE78@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/placeholder/lang In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/plugins/placeholder/lang Removed Files: de.js en.js fr.js it.js pl.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- en.js DELETED --- --- pl.js DELETED --- --- de.js DELETED --- --- fr.js DELETED --- --- it.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/tablecommands fckplugin.js, 1.2, NONE Message-ID: <20080209123341.A180310FE7A@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/tablecommands In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/plugins/tablecommands Removed Files: fckplugin.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fckplugin.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins _fckviewstrips.html, 1.1, NONE Message-ID: <20080209123341.B163110FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/skins Removed Files: _fckviewstrips.html Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- _fckviewstrips.html DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/default fck_dialog.css, 1.2, NONE fck_editor.css, 1.4, NONE fck_strip.gif, 1.1, NONE Message-ID: <20080209123341.C082910FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/default In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/skins/default Removed Files: fck_dialog.css fck_editor.css fck_strip.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_dialog.css DELETED --- --- fck_editor.css DELETED --- --- fck_strip.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/default/images toolbar.arrowright.gif, 1.1, NONE toolbar.buttonarrow.gif, 1.1, NONE toolbar.collapse.gif, 1.1, NONE toolbar.end.gif, 1.1, NONE toolbar.expand.gif, 1.1, NONE toolbar.separator.gif, 1.1, NONE toolbar.start.gif, 1.2, NONE Message-ID: <20080209123341.D130C10FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/default/images In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/skins/default/images Removed Files: toolbar.arrowright.gif toolbar.buttonarrow.gif toolbar.collapse.gif toolbar.end.gif toolbar.expand.gif toolbar.separator.gif toolbar.start.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- toolbar.expand.gif DELETED --- --- toolbar.end.gif DELETED --- --- toolbar.separator.gif DELETED --- --- toolbar.collapse.gif DELETED --- --- toolbar.start.gif DELETED --- --- toolbar.arrowright.gif DELETED --- --- toolbar.buttonarrow.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/office2003 fck_dialog.css, 1.2, NONE fck_editor.css, 1.4, NONE fck_strip.gif, 1.1, NONE Message-ID: <20080209123341.E147610FE17@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/office2003 In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/skins/office2003 Removed Files: fck_dialog.css fck_editor.css fck_strip.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_dialog.css DELETED --- --- fck_editor.css DELETED --- --- fck_strip.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/office2003/images toolbar.arrowright.gif, 1.1, NONE toolbar.bg.gif, 1.1, NONE toolbar.buttonarrow.gif, 1.1, NONE toolbar.collapse.gif, 1.1, NONE toolbar.end.gif, 1.1, NONE toolbar.expand.gif, 1.1, NONE toolbar.separator.gif, 1.1, NONE toolbar.start.gif, 1.2, NONE Message-ID: <20080209123341.F21AB10FE18@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/office2003/images In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/skins/office2003/images Removed Files: toolbar.arrowright.gif toolbar.bg.gif toolbar.buttonarrow.gif toolbar.collapse.gif toolbar.end.gif toolbar.expand.gif toolbar.separator.gif toolbar.start.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- toolbar.bg.gif DELETED --- --- toolbar.expand.gif DELETED --- --- toolbar.end.gif DELETED --- --- toolbar.separator.gif DELETED --- --- toolbar.collapse.gif DELETED --- --- toolbar.start.gif DELETED --- --- toolbar.arrowright.gif DELETED --- --- toolbar.buttonarrow.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:41 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/simplecommands fckplugin.js, 1.1, NONE Message-ID: <20080209123341.92EDD10FE79@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/simplecommands In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/plugins/simplecommands Removed Files: fckplugin.js Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fckplugin.js DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:42 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:42 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/silver fck_dialog.css, 1.2, NONE fck_editor.css, 1.4, NONE fck_strip.gif, 1.1, NONE Message-ID: <20080209123342.0D8D210FE19@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/silver In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/skins/silver Removed Files: fck_dialog.css fck_editor.css fck_strip.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- fck_dialog.css DELETED --- --- fck_editor.css DELETED --- --- fck_strip.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:42 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:42 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/silver/images toolbar.arrowright.gif, 1.1, NONE toolbar.buttonarrow.gif, 1.1, NONE toolbar.buttonbg.gif, 1.2, NONE toolbar.collapse.gif, 1.1, NONE toolbar.end.gif, 1.1, NONE toolbar.expand.gif, 1.1, NONE toolbar.separator.gif, 1.1, NONE toolbar.start.gif, 1.2, NONE Message-ID: <20080209123342.1EAED10FE1A@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/silver/images In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/skins/silver/images Removed Files: toolbar.arrowright.gif toolbar.buttonarrow.gif toolbar.buttonbg.gif toolbar.collapse.gif toolbar.end.gif toolbar.expand.gif toolbar.separator.gif toolbar.start.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- toolbar.expand.gif DELETED --- --- toolbar.end.gif DELETED --- --- toolbar.separator.gif DELETED --- --- toolbar.collapse.gif DELETED --- --- toolbar.start.gif DELETED --- --- toolbar.buttonbg.gif DELETED --- --- toolbar.arrowright.gif DELETED --- --- toolbar.buttonarrow.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:33:40 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:33:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_template/images template1.gif, 1.1, NONE template2.gif, 1.1, NONE template3.gif, 1.1, NONE Message-ID: <20080209123340.5319910FE26@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_template/images In directory qs1489.pair.com:/tmp/cvs-serv24797/editor/dialog/fck_template/images Removed Files: template1.gif template2.gif template3.gif Log Message: Removed older FCKEditor files in prep for upgrade to v2.5.1 of FCKeditor --- template3.gif DELETED --- --- template2.gif DELETED --- --- template1.gif DELETED --- From blaine at qs1489.pair.com Sat Feb 9 07:35:19 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:35:19 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dtd - New directory Message-ID: <20080209123519.898D910FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dtd In directory qs1489.pair.com:/tmp/cvs-serv25369/dtd Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dtd added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:37:29 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:37:29 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors - New directory Message-ID: <20080209123729.702FF10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors In directory qs1489.pair.com:/tmp/cvs-serv25540/connectors Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:38:24 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:38:24 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/aspx - New directory Message-ID: <20080209123824.7159310FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/aspx In directory qs1489.pair.com:/tmp/cvs-serv25635/aspx Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/aspx added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:38:24 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:38:24 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/lasso - New directory Message-ID: <20080209123824.8C70010FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/lasso In directory qs1489.pair.com:/tmp/cvs-serv25635/lasso Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/lasso added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:38:24 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:38:24 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/cfm - New directory Message-ID: <20080209123824.800F510FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/cfm In directory qs1489.pair.com:/tmp/cvs-serv25635/cfm Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/cfm added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:38:24 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:38:24 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/php - New directory Message-ID: <20080209123824.A7C4310FE18@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/php In directory qs1489.pair.com:/tmp/cvs-serv25635/php Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/php added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:38:24 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:38:24 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/perl - New directory Message-ID: <20080209123824.9A98110FE17@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/perl In directory qs1489.pair.com:/tmp/cvs-serv25635/perl Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/perl added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:38:24 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:38:24 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/py - New directory Message-ID: <20080209123824.B577410FE19@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/py In directory qs1489.pair.com:/tmp/cvs-serv25635/py Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/py added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:38:24 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:38:24 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/asp - New directory Message-ID: <20080209123824.63B8510FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/asp In directory qs1489.pair.com:/tmp/cvs-serv25635/asp Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/asp added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:39:39 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:39:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode - New directory Message-ID: <20080209123939.076C710FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode In directory qs1489.pair.com:/tmp/cvs-serv25804/bbcode Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:39:39 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:39:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/dragresizetable - New directory Message-ID: <20080209123939.155CA10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/dragresizetable In directory qs1489.pair.com:/tmp/cvs-serv25804/dragresizetable Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/dragresizetable added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:39:39 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:39:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/dragresizetable - New directory Message-ID: <20080209123939.155CA10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/dragresizetable In directory qs1489.pair.com:/tmp/cvs-serv25804/dragresizetable Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/dragresizetable added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:49:39 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:49:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode/_sample - New directory Message-ID: <20080209124939.949F310FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode/_sample In directory qs1489.pair.com:/tmp/cvs-serv26155/_sample Log Message: Directory /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode/_sample added to the repository From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/common fck_dialog_common.css, 1.6, 1.7 fck_dialog_common.js, 1.4, 1.5 Message-ID: <20080209125401.AE5BE10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/common In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog/common Added Files: fck_dialog_common.css fck_dialog_common.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_dialog_common.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_dialog_common.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is the CSS file used for interface details in some dialog * windows. */ .ImagePreviewArea { border: #000000 1px solid; overflow: auto; width: 100%; height: 170px; background-color: #ffffff; } .FlashPreviewArea { border: #000000 1px solid; padding: 5px; overflow: auto; width: 100%; height: 170px; background-color: #ffffff; } .BtnReset { float: left; background-position: center center; background-image: url(images/reset.gif); width: 16px; height: 16px; background-repeat: no-repeat; border: 1px none; font-size: 1px ; } .BtnLocked, .BtnUnlocked { float: left; background-position: center center; background-image: url(images/locked.gif); width: 16px; height: 16px; background-repeat: no-repeat; border: none 1px; font-size: 1px ; } .BtnUnlocked { background-image: url(images/unlocked.gif); } .BtnOver { border: outset 1px; cursor: pointer; cursor: hand; } From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/css/behaviors disablehandles.htc, 1.2, 1.3 showtableborders.htc, 1.4, 1.5 Message-ID: <20080209125401.B534A10FE17@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/css/behaviors In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/css/behaviors Added Files: disablehandles.htc showtableborders.htc Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: disablehandles.htc --- --- NEW FILE: showtableborders.htc --- From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/_source fckconstants.js, 1.2, 1.3 fckeditorapi.js, 1.3, 1.4 fckjscoreextensions.js, 1.2, 1.3 fckscriptloader.js, NONE, 1.1 Message-ID: <20080209125401.B3C5D10FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/_source In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/_source Added Files: fckconstants.js fckeditorapi.js fckjscoreextensions.js fckscriptloader.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckscriptloader.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckjscoreextensions.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckeditorapi.js --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Create the FCKeditorAPI object that is available as a global object in * the page where the editor is placed in. */ var FCKeditorAPI ; function InitializeAPI() { var oParentWindow = window.parent ; if ( !( FCKeditorAPI = oParentWindow.FCKeditorAPI ) ) { // Make the FCKeditorAPI object available in the parent window. Use // eval so this core runs in the parent's scope and so it will still be // available if the editor instance is removed ("Can't execute code // from a freed script" error). // Note: we check the existence of oEditor.GetParentForm because some external // code (like JSON) can extend the Object prototype and we get then extra oEditor // objects that aren't really FCKeditor instances. var sScript = 'var FCKeditorAPI = {' + 'Version : "2.5.1",' + 'VersionBuild : "17566",' + '__Instances : new Object(),' + 'GetInstance : function( name )' + '{' + 'return this.__Instances[ name ];' + '},' + '_FormSubmit : function()' + '{' + 'for ( var name in FCKeditorAPI.__Instances )' + '{' + 'var oEditor = FCKeditorAPI.__Instances[ name ] ;' + 'if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )' + 'oEditor.UpdateLinkedField() ;' + '}' + 'this._FCKOriginalSubmit() ;' + '},' + '_FunctionQueue : {' + 'Functions : new Array(),' + 'IsRunning : false,' + 'Add : function( f )' + '{' + 'this.Functions.push( f );' + 'if ( !this.IsRunning )' + 'this.StartNext();' + '},' + 'StartNext : function()' + '{' + 'var aQueue = this.Functions ;' + 'if ( aQueue.length > 0 )' + '{' + 'this.IsRunning = true;' + 'aQueue[0].call();' + '}' + 'else ' + 'this.IsRunning = false;' + '},' + 'Remove : function( f )' + '{' + 'var aQueue = this.Functions;' + 'var i = 0, fFunc;' + 'while( (fFunc = aQueue[ i ]) )' + '{' + 'if ( fFunc == f )' + 'aQueue.splice( i,1 );' + 'i++ ;' + '}' + 'this.StartNext();' + '}' + '}' + '}' ; // In IE, the "eval" function is not always available (it works with // the JavaScript samples, but not with the ASP ones, for example). // So, let's use the execScript instead. if ( oParentWindow.execScript ) oParentWindow.execScript( sScript, 'JavaScript' ) ; else { if ( FCKBrowserInfo.IsGecko10 ) { // FF 1.0.4 gives an error with the request bellow. The // following seams to work well. eval.call( oParentWindow, sScript ) ; } else if ( FCKBrowserInfo.IsSafari || FCKBrowserInfo.IsGecko19 ) { // oParentWindow.eval in Safari and Gran Paradiso executes in the calling window // environment, instead of the parent one. The following should make it work. var oParentDocument = oParentWindow.document ; var eScript = oParentDocument.createElement('script') ; eScript.appendChild( oParentDocument.createTextNode( sScript ) ) ; oParentDocument.documentElement.appendChild( eScript ) ; } else oParentWindow.eval( sScript ) ; } FCKeditorAPI = oParentWindow.FCKeditorAPI ; } // Add the current instance to the FCKeditorAPI's instances collection. FCKeditorAPI.__Instances[ FCK.Name ] = FCK ; } // Attach to the form onsubmit event and to the form.submit(). function _AttachFormSubmitToAPI() { // Get the linked field form. var oForm = FCK.GetParentForm() ; if ( oForm ) { // Attach to the onsubmit event. FCKTools.AddEventListener( oForm, 'submit', FCK.UpdateLinkedField ) ; // IE sees oForm.submit function as an 'object'. if ( !oForm._FCKOriginalSubmit && ( typeof( oForm.submit ) == 'function' || ( !oForm.submit.tagName && !oForm.submit.length ) ) ) { // Save the original submit. oForm._FCKOriginalSubmit = oForm.submit ; // Create our replacement for the submit. oForm.submit = FCKeditorAPI._FormSubmit ; } } } function FCKeditorAPI_Cleanup() { if ( ! window.FCKUnloadFlag ) return ; delete FCKeditorAPI.__Instances[ FCK.Name ] ; } function FCKeditorAPI_ConfirmCleanup() { window.FCKUnloadFlag = true ; } FCKTools.AddEventListener( window, 'unload', FCKeditorAPI_Cleanup ) ; FCKTools.AddEventListener( window, 'beforeunload', FCKeditorAPI_ConfirmCleanup) ; --- NEW FILE: fckconstants.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/css fck_editorarea.css, 1.5, 1.6 fck_internal.css, 1.5, 1.6 fck_showtableborders_gecko.css, 1.3, 1.4 Message-ID: <20080209125401.C378910FE1A@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/css In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/css Added Files: fck_editorarea.css fck_internal.css fck_showtableborders_gecko.css Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_showtableborders_gecko.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This CSS Style Sheet defines the rules to show table borders on Gecko. */ /* For tables with the "border" attribute set to "0" */ table[border="0"], table[border="0"] > tr > td, table[border="0"] > tr > th, table[border="0"] > tbody > tr > td, table[border="0"] > tbody > tr > th, table[border="0"] > thead > tr > td, table[border="0"] > thead > tr > th, table[border="0"] > tfoot > tr > td, table[border="0"] > tfoot > tr > th { border: #d3d3d3 1px dotted ; } /* For tables with no "border" attribute set */ table:not([border]), table:not([border]) > tr > td, table:not([border]) > tr > th, table:not([border]) > tbody > tr > td, table:not([border]) > tbody > tr > th, table:not([border]) > thead > tr > td, table:not([border]) > thead > tr > th, table:not([border]) > tfoot > tr > td, table:not([border]) > tfoot > tr > th { border: #d3d3d3 1px dotted ; } --- NEW FILE: fck_editorarea.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is the default CSS file used by the editor area. It defines the * initial font of the editor and background color. * * A user can configure the editor to use another CSS file. Just change * the value of the FCKConfig.EditorAreaCSS key in the configuration * file. */ /* The "body" styles should match your editor web site, mainly regarding background color and font family and size. */ body { background-color: #ffffff; padding: 5px 5px 5px 5px; margin: 0px; } body, td { font-family: Arial, Verdana, sans-serif; font-size: 12px; } a[href] { color: -moz-hyperlinktext !important; /* For Firefox... mark as important, otherwise it becomes black */ text-decoration: -moz-anchor-decoration; /* For Firefox 3, otherwise no underline will be used */ } /* Just uncomment the following block if you want to avoid spaces between paragraphs. Remember to apply the same style in your output front end page. */ /* p, ul, li { margin-top: 0px; margin-bottom: 0px; } */ /* The following are some sample styles used in the "Styles" toolbar command. You should instead remove them, and include the styles used by the site you are using the editor in. */ .Bold { font-weight: bold; } .Title { font-weight: bold; font-size: 18px; color: #cc3300; } .Code { border: #8b4513 1px solid; padding-right: 5px; padding-left: 5px; color: #000066; font-family: 'Courier New' , Monospace; background-color: #ff9933; } --- NEW FILE: fck_internal.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This CSS Style Sheet defines rules used by the editor for its internal use. */ /* Fix to allow putting the caret at the end of the content in Firefox if clicking below the content. */ html { min-height: 100%; } table.FCK__ShowTableBorders, table.FCK__ShowTableBorders td, table.FCK__ShowTableBorders th { border: #d3d3d3 1px solid; } form { border: 1px dotted #FF0000; padding: 2px; } .FCK__Flash { border: #a9a9a9 1px solid; background-position: center center; background-image: url(images/fck_flashlogo.gif); background-repeat: no-repeat; width: 80px; height: 80px; } /* Empty anchors images */ .FCK__Anchor { border: 1px dotted #00F; background-position: center center; background-image: url(images/fck_anchor.gif); background-repeat: no-repeat; width: 16px; height: 15px; vertical-align: middle; } /* Anchors with content */ .FCK__AnchorC { border: 1px dotted #00F; background-position: 1px center; background-image: url(images/fck_anchor.gif); background-repeat: no-repeat; padding-left: 18px; } /* Any anchor for non-IE, if we combine it with the previous rule IE ignores all. */ a[name] { border: 1px dotted #00F; background-position: 0 center; background-image: url(images/fck_anchor.gif); background-repeat: no-repeat; padding-left: 18px; } .FCK__PageBreak { background-position: center center; background-image: url(images/fck_pagebreak.gif); background-repeat: no-repeat; clear: both; display: block; float: none; width: 100%; border-top: #999999 1px dotted; border-bottom: #999999 1px dotted; border-right: 0px; border-left: 0px; height: 5px; } /* Hidden fields */ .FCK__InputHidden { width: 19px; height: 18px; background-image: url(images/fck_hiddenfield.gif); background-repeat: no-repeat; vertical-align: text-bottom; background-position: center center; } .FCK__ShowBlocks p, .FCK__ShowBlocks div, .FCK__ShowBlocks pre, .FCK__ShowBlocks address, .FCK__ShowBlocks blockquote, .FCK__ShowBlocks h1, .FCK__ShowBlocks h2, .FCK__ShowBlocks h3, .FCK__ShowBlocks h4, .FCK__ShowBlocks h5, .FCK__ShowBlocks h6 { background-repeat: no-repeat; border: 1px dotted gray; padding-top: 8px; padding-left: 8px; } .FCK__ShowBlocks p { background-image: url(images/block_p.png); } .FCK__ShowBlocks div { background-image: url(images/block_div.png); } .FCK__ShowBlocks pre { background-image: url(images/block_pre.png); } .FCK__ShowBlocks address { background-image: url(images/block_address.png); } .FCK__ShowBlocks blockquote { background-image: url(images/block_blockquote.png); } .FCK__ShowBlocks h1 { background-image: url(images/block_h1.png); } .FCK__ShowBlocks h2 { background-image: url(images/block_h2.png); } .FCK__ShowBlocks h3 { background-image: url(images/block_h3.png); } .FCK__ShowBlocks h4 { background-image: url(images/block_h4.png); } .FCK__ShowBlocks h5 { background-image: url(images/block_h5.png); } .FCK__ShowBlocks h6 { background-image: url(images/block_h6.png); } From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/css/images block_address.png, NONE, 1.1 block_blockquote.png, NONE, 1.1 block_div.png, NONE, 1.1 block_h1.png, NONE, 1.1 block_h2.png, NONE, 1.1 block_h3.png, NONE, 1.1 block_h4.png, NONE, 1.1 block_h5.png, NONE, 1.1 block_h6.png, NONE, 1.1 block_p.png, NONE, 1.1 block_pre.png, NONE, 1.1 fck_anchor.gif, 1.2, 1.3 fck_flashlogo.gif, 1.2, 1.3 fck_hiddenfield.gif, NONE, 1.1 fck_pagebreak.gif, 1.2, 1.3 Message-ID: <20080209125401.C9D4810FE1B@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/css/images In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/css/images Added Files: block_address.png block_blockquote.png block_div.png block_h1.png block_h2.png block_h3.png block_h4.png block_h5.png block_h6.png block_p.png block_pre.png fck_anchor.gif fck_flashlogo.gif fck_hiddenfield.gif fck_pagebreak.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: block_blockquote.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_flashlogo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_div.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_hiddenfield.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_address.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_h3.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_h6.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_anchor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_p.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_h5.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_h4.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_pre.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_h1.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_pagebreak.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: block_h2.png --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_image fck_image.js, 1.6, 1.7 fck_image_preview.html, 1.3, 1.4 Message-ID: <20080209125401.E3B3010FE21@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_image In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog/fck_image Added Files: fck_image.js fck_image_preview.html Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_image.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_image_preview.html --- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit, tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus, eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris. From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor _documentation.html, 1.4, 1.5 _upgrade.html, NONE, 1.1 _whatsnew.html, 1.6, 1.7 _whatsnew_history.html, NONE, 1.1 fckconfig.js, 1.10, 1.11 fckeditor.js, 1.6, 1.7 fckeditor.php, 1.5, 1.6 fckeditor_php4.php, NONE, 1.1 fckeditor_php5.php, NONE, 1.1 fckpackager.xml, NONE, 1.1 fckstyles.xml, 1.3, 1.4 fcktemplates.xml, 1.5, 1.6 license.txt, 1.2, 1.3 myconfig.js, 1.2, 1.3 Message-ID: <20080209125401.AF5DE10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor In directory qs1489.pair.com:/tmp/cvs-serv26402 Added Files: _documentation.html _upgrade.html _whatsnew.html _whatsnew_history.html fckconfig.js fckeditor.js fckeditor.php fckeditor_php4.php fckeditor_php5.php fckpackager.xml fckstyles.xml fcktemplates.xml license.txt myconfig.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckeditor.php --- = 5.5) ; } else if ( strpos($sAgent, 'Gecko/') !== false ) { $iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ; return ($iVersion >= 20030210) ; } else if ( strpos($sAgent, 'Opera/') !== false ) { $fVersion = (float)substr($sAgent, strpos($sAgent, 'Opera/') + 6, 4) ; return ($fVersion >= 9.5) ; } else if ( preg_match( "|AppleWebKit/(\d+)|i", $sAgent, $matches ) ) { $iVersion = $matches[1] ; return ( $matches[1] >= 522 ) ; } else return false ; } if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) ) include_once( 'fckeditor_php4.php' ) ; else include_once( 'fckeditor_php5.php' ) ; ?> --- NEW FILE: fckstyles.xml --- --- NEW FILE: _documentation.html --- FCKeditor - Documentation

    FCKeditor Documentation

    You can find the official documentation for FCKeditor online, at http://wiki.fckeditor.net/.

    --- NEW FILE: fcktemplates.xml --- --- NEW FILE: fckeditor.js --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is the integration file for JavaScript. * * It defines the FCKeditor class that can be used to create editor * instances in a HTML page in the client side. For server side * operations, use the specific integration system. */ // FCKeditor Class var FCKeditor = function( instanceName, width, height, toolbarSet, value ) { // Properties this.InstanceName = instanceName ; this.Width = width || '100%' ; this.Height = height || '200' ; this.ToolbarSet = toolbarSet || 'Default' ; this.Value = value || '' ; this.BasePath = FCKeditor.BasePath ; this.CheckBrowser = true ; this.DisplayErrors = true ; this.Config = new Object() ; // Events this.OnError = null ; // function( source, errorNumber, errorDescription ) } /** * This is the default BasePath used by all editor instances. */ FCKeditor.BasePath = '/fckeditor/' ; /** * The minimum height used when replacing textareas. */ FCKeditor.MinHeight = 200 ; /** * The minimum width used when replacing textareas. */ FCKeditor.MinWidth = 750 ; FCKeditor.prototype.Version = '2.5.1' ; FCKeditor.prototype.VersionBuild = '17566' ; FCKeditor.prototype.Create = function() { document.write( this.CreateHtml() ) ; } FCKeditor.prototype.CreateHtml = function() { // Check for errors if ( !this.InstanceName || this.InstanceName.length == 0 ) { this._ThrowError( 701, 'You must specify an instance name.' ) ; return '' ; } var sHtml = '
    ' ; if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) { sHtml += '' ; sHtml += this._GetConfigHtml() ; sHtml += this._GetIFrameHtml() ; } else { var sWidth = this.Width.toString().indexOf('%') > 0 ? this.Width : this.Width + 'px' ; var sHeight = this.Height.toString().indexOf('%') > 0 ? this.Height : this.Height + 'px' ; sHtml += '" ; } $Html .= '
    ' ; return $Html ; } function IsCompatible() { return FCKeditor_IsCompatibleBrowser() ; } function GetConfigFieldString() { $sParams = '' ; $bFirst = true ; foreach ( $this->Config as $sKey => $sValue ) { if ( $bFirst == false ) $sParams .= '&' ; else $bFirst = false ; if ( $sValue === true ) $sParams .= $this->EncodeConfig( $sKey ) . '=true' ; else if ( $sValue === false ) $sParams .= $this->EncodeConfig( $sKey ) . '=false' ; else $sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ; } return $sParams ; } function EncodeConfig( $valueToEncode ) { $chars = array( '&' => '%26', '=' => '%3D', '"' => '%22' ) ; return strtr( $valueToEncode, $chars ) ; } } ?> --- NEW FILE: myconfig.js --- FCKConfig.ToolbarSets["editor-toolbar1"] = [ ['Source','-','Undo','Redo','-','Link','Unlink','-','Bold','Italic', '-','JustifyLeft','JustifyCenter','JustifyRight', '-','OrderedList','UnorderedList','Outdent','Indent','FitWindow','About'] ] ; FCKConfig.ToolbarSets["editor-toolbar2"] = [ ['Source','-','Undo','Redo','-','Link','Unlink','-','Bold','Italic','Underline','StrikeThrough', '-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull', '-','OrderedList','UnorderedList','Outdent','Indent'], ['PasteText','PasteWord','-','FontName','FontSize','TextColor','BGColor','-','Rule','-','Image','Table','FitWindow','-','About'] ] ; FCKConfig.ToolbarSets["editor-toolbar3"] = [ ['Source','Templates','-','Cut','Copy','Paste','PasteText','PasteWord','-', 'Find','Replace','-','Undo','Redo','-','RemoveFormat','-','Link','Unlink','-', 'Image','SpecialChar','-','Print','SpellCheck','FitWindow'], ['Table','Rule','Bold','Italic','Underline','StrikeThrough','-', 'Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-', 'OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','-','About'], ['Style','-','FontFormat','-','FontName','-','FontSize'] ] ; --- NEW FILE: fckeditor_php5.php --- ) function __construct( $instanceName ) { $this->InstanceName = $instanceName ; $this->BasePath = '/fckeditor/' ; $this->Width = '100%' ; $this->Height = '200' ; $this->ToolbarSet = 'Default' ; $this->Value = '' ; $this->Config = array() ; } function Create() { echo $this->CreateHtml() ; } function CreateHtml() { $HtmlValue = htmlspecialchars( $this->Value ) ; $Html = '
    ' ; if ( $this->IsCompatible() ) { if ( isset( $_GET['fcksource'] ) && $_GET['fcksource'] == "true" ) $File = 'fckeditor.original.html' ; else $File = 'fckeditor.html' ; $Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}" ; if ( $this->ToolbarSet != '' ) $Link .= "&Toolbar={$this->ToolbarSet}" ; // Render the linked hidden field. $Html .= "InstanceName}\" name=\"{$this->InstanceName}\" value=\"{$HtmlValue}\" style=\"display:none\" />" ; // Render the configurations hidden field. $Html .= "InstanceName}___Config\" value=\"" . $this->GetConfigFieldString() . "\" style=\"display:none\" />" ; // Render the editor IFRAME. $Html .= "" ; } else { if ( strpos( $this->Width, '%' ) === false ) $WidthCSS = $this->Width . 'px' ; else $WidthCSS = $this->Width ; if ( strpos( $this->Height, '%' ) === false ) $HeightCSS = $this->Height . 'px' ; else $HeightCSS = $this->Height ; $Html .= "" ; } $Html .= '
    ' ; return $Html ; } function IsCompatible() { return FCKeditor_IsCompatibleBrowser() ; } function GetConfigFieldString() { $sParams = '' ; $bFirst = true ; foreach ( $this->Config as $sKey => $sValue ) { if ( $bFirst == false ) $sParams .= '&' ; else $bFirst = false ; if ( $sValue === true ) $sParams .= $this->EncodeConfig( $sKey ) . '=true' ; else if ( $sValue === false ) $sParams .= $this->EncodeConfig( $sKey ) . '=false' ; else $sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ; } return $sParams ; } function EncodeConfig( $valueToEncode ) { $chars = array( '&' => '%26', '=' => '%3D', '"' => '%22' ) ; return strtr( $valueToEncode, $chars ) ; } } ?> --- NEW FILE: license.txt --- FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html (See Appendix A) - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html (See Appendix B) - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html (See Appendix C) You are not required to, but if you want to explicitly declare the [...1208 lines suppressed...] _______________________. All Rights Reserved. Contributor(s): ______________________________________. Alternatively, the contents of this file may be used under the terms of the _____ license (the "[___] License"), in which case the provisions of [______] License are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the [____] License and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the [___] License. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the [___] License." [NOTE: The text of this Exhibit A may differ slightly from the text of the notices in the Source Code files of the Original Code. You should use the text of this Exhibit A rather than the text found in the Original Code Source Code for Your Modifications.] --- NEW FILE: _whatsnew.html --- FCKeditor ChangeLog - What's New?

    FCKeditor ChangeLog - What's New?

    Version 2.5.1

    New Features and Improvements:

    • FCKeditor.Net 2.5 compatibility.
    • JavaScript integration file:
      • The new "FCKeditor.ReplaceAllTextareas" function is being introduced, making it possible to replace many (or unknown) <textarea> elements in a single call. The replacement can be also filtered by CSS class name, or by a custom function evaluator.
      • It is now possible to set the default BasePath for all editor instances by setting FCKeditor.BasePath. This is extremely useful when working with the ReplaceAllTextareas function.

    Fixed Bugs:

    • [#339] [#681] The SpellerPages spell checker will now completely ignore the presence of HTML tags in the text.
    • [#1643] Resolved several "strict warning" messages in Firefox when running FCKeditor.
    • [#1603] Certain specific markup was making FCKeditor entering in a loop, blocking its execution.
    • [#1664] The ENTER key will not any more swap the order of the tags when hit at the end of paragraphs.

    See previous versions history

    --- NEW FILE: _whatsnew_history.html --- --- NEW FILE: fck_flash.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/asp basexml.asp, NONE, 1.1 class_upload.asp, NONE, 1.1 commands.asp, NONE, 1.1 config.asp, NONE, 1.1 connector.asp, NONE, 1.1 io.asp, NONE, 1.1 upload.asp, NONE, 1.1 util.asp, NONE, 1.1 Message-ID: <20080209125402.4F6F510FE2D@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/asp In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/connectors/asp Added Files: basexml.asp class_upload.asp commands.asp config.asp connector.asp io.asp upload.asp util.asp Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: config.asp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: class_upload.asp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: basexml.asp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: io.asp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: connector.asp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: util.asp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: commands.asp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: upload.asp --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_docprops fck_document_preview.html, 1.3, 1.4 Message-ID: <20080209125401.E283310FE1F@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_docprops In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog/fck_docprops Added Files: fck_document_preview.html Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_document_preview.html --- Document Properties - Preview
    Normal Text
    Visited Link Active Link
















    From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode/_sample sample.config.js, NONE, 1.1 sample.html, NONE, 1.1 Message-ID: <20080209125402.9D19510FE7C@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode/_sample In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/plugins/bbcode/_sample Added Files: sample.config.js sample.html Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: sample.html --- FCKeditor - BBCode Sample

    FCKeditor - BBCode Sample

    This is a sample of custom Data Processor implementation for (very) basic BBCode syntax. Only [b], [i], [u] and [url] may be used. It may be extended, but this is out of this sample purpose.

    Note that the input and output of the editor is not HTML, but BBCode



    --- NEW FILE: sample.config.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/common/images locked.gif, 1.2, 1.3 reset.gif, 1.2, 1.3 unlocked.gif, 1.2, 1.3 Message-ID: <20080209125401.D2C2110FE1E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/common/images In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog/common/images Added Files: locked.gif reset.gif unlocked.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: reset.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: unlocked.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors test.html, NONE, 1.1 uploadtest.html, NONE, 1.1 Message-ID: <20080209125402.73FFC10FE72@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/connectors Added Files: test.html uploadtest.html Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: test.html --- FCKeditor - Connectors Tests
    Connector:
        Current Folder
        Resource Type

    Get Folders     Get Folders and Files     Create Folder    
    File Upload

    URL:
    --- NEW FILE: uploadtest.html --- FCKeditor - Uploaders Tests
    Select the "File Uploader" to use:
    Resource Type
           Custom Uploader URL:

    Upload a new file:

           Uploaded File URL:

    Post URL:  
    From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/autogrow fckplugin.js, 1.3, 1.4 Message-ID: <20080209125402.962F010FE7B@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/autogrow In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/plugins/autogrow Added Files: fckplugin.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckplugin.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/php basexml.php, NONE, 1.1 commands.php, NONE, 1.1 config.php, NONE, 1.1 connector.php, NONE, 1.1 io.php, NONE, 1.1 phpcompat.php, NONE, 1.1 upload.php, NONE, 1.1 util.php, NONE, 1.1 Message-ID: <20080209125402.73CC310FE70@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/php In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/connectors/php Added Files: basexml.php commands.php config.php connector.php io.php phpcompat.php upload.php util.php Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: connector.php --- --- NEW FILE: commands.php --- ' ; } closedir( $oCurrentFolder ) ; // Open the "Folders" node. echo "" ; natcasesort( $aFolders ) ; foreach ( $aFolders as $sFolder ) echo $sFolder ; // Close the "Folders" node. echo "" ; } function GetFoldersAndFiles( $resourceType, $currentFolder ) { // Map the virtual path to the local server path. $sServerDir = ServerMapFolder( $resourceType, $currentFolder, 'GetFoldersAndFiles' ) ; // Arrays that will hold the folders and files names. $aFolders = array() ; $aFiles = array() ; $oCurrentFolder = opendir( $sServerDir ) ; while ( $sFile = readdir( $oCurrentFolder ) ) { if ( $sFile != '.' && $sFile != '..' ) { if ( is_dir( $sServerDir . $sFile ) ) $aFolders[] = '' ; else { $iFileSize = @filesize( $sServerDir . $sFile ) ; if ( !$iFileSize ) { $iFileSize = 0 ; } if ( $iFileSize > 0 ) { $iFileSize = round( $iFileSize / 1024 ) ; if ( $iFileSize < 1 ) $iFileSize = 1 ; } $aFiles[] = '' ; } } } // Send the folders natcasesort( $aFolders ) ; echo '' ; foreach ( $aFolders as $sFolder ) echo $sFolder ; echo '' ; // Send the files natcasesort( $aFiles ) ; echo '' ; foreach ( $aFiles as $sFiles ) echo $sFiles ; echo '' ; } function CreateFolder( $resourceType, $currentFolder ) { if (!isset($_GET)) { global $_GET; } $sErrorNumber = '0' ; $sErrorMsg = '' ; if ( isset( $_GET['NewFolderName'] ) ) { $sNewFolderName = $_GET['NewFolderName'] ; $sNewFolderName = SanitizeFolderName( $sNewFolderName ) ; if ( strpos( $sNewFolderName, '..' ) !== FALSE ) $sErrorNumber = '102' ; // Invalid folder name. else { // Map the virtual path to the local server path of the current folder. $sServerDir = ServerMapFolder( $resourceType, $currentFolder, 'CreateFolder' ) ; if ( is_writable( $sServerDir ) ) { $sServerDir .= $sNewFolderName ; $sErrorMsg = CreateServerFolder( $sServerDir ) ; switch ( $sErrorMsg ) { case '' : $sErrorNumber = '0' ; break ; case 'Invalid argument' : case 'No such file or directory' : $sErrorNumber = '102' ; // Path too long. break ; default : $sErrorNumber = '110' ; break ; } } else $sErrorNumber = '103' ; } } else $sErrorNumber = '102' ; // Create the "Error" node. echo '' ; } function FileUpload( $resourceType, $currentFolder, $sCommand ) { if (!isset($_FILES)) { global $_FILES; } $sErrorNumber = '0' ; $sFileName = '' ; if ( isset( $_FILES['NewFile'] ) && !is_null( $_FILES['NewFile']['tmp_name'] ) ) { global $Config ; $oFile = $_FILES['NewFile'] ; // Map the virtual path to the local server path. $sServerDir = ServerMapFolder( $resourceType, $currentFolder, $sCommand ) ; // Get the uploaded file name. $sFileName = $oFile['name'] ; $sFileName = SanitizeFileName( $sFileName ) ; $sOriginalFileName = $sFileName ; // Get the extension. $sExtension = substr( $sFileName, ( strrpos($sFileName, '.') + 1 ) ) ; $sExtension = strtolower( $sExtension ) ; if ( isset( $Config['SecureImageUploads'] ) ) { if ( !IsImageValid( $oFile['tmp_name'], $sExtension ) ) { $sErrorNumber = '202' ; } } if ( isset( $Config['HtmlExtensions'] ) ) { if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) && DetectHtml( $oFile['tmp_name'] ) ) { $sErrorNumber = '202' ; } } // Check if it is an allowed extension. if ( !$sErrorNumber && IsAllowedExt( $sExtension, $resourceType ) ) { $iCounter = 0 ; while ( true ) { $sFilePath = $sServerDir . $sFileName ; if ( is_file( $sFilePath ) ) { $iCounter++ ; $sFileName = RemoveExtension( $sOriginalFileName ) . '(' . $iCounter . ').' . $sExtension ; $sErrorNumber = '201' ; } else { move_uploaded_file( $oFile['tmp_name'], $sFilePath ) ; if ( is_file( $sFilePath ) ) { $oldumask = umask(0) ; chmod( $sFilePath, 0777 ) ; umask( $oldumask ) ; } break ; } } } else $sErrorNumber = '202' ; } else $sErrorNumber = '202' ; $sFileUrl = CombinePaths( GetResourceTypePath( $resourceType, $sCommand ) , $currentFolder ) ; $sFileUrl = CombinePaths( $sFileUrl, $sFileName ) ; SendUploadResults( $sErrorNumber, $sFileUrl, $sFileName ) ; exit ; } ?> --- NEW FILE: upload.php --- --- NEW FILE: basexml.php --- ' ; // Create the main "Connector" node. echo '' ; // Add the current folder node. echo '' ; $GLOBALS['HeaderSent'] = true ; } function CreateXmlFooter() { echo '' ; } function SendError( $number, $text ) { if ( isset( $GLOBALS['HeaderSent'] ) && $GLOBALS['HeaderSent'] ) { SendErrorNode( $number, $text ) ; CreateXmlFooter() ; } else { SetXmlHeaders() ; // Create the XML document header echo '' ; echo '' ; SendErrorNode( $number, $text ) ; echo '' ; } exit ; } function SendErrorNode( $number, $text ) { echo '' ; } ?> --- NEW FILE: config.php --- --- NEW FILE: util.php --- $val ) { $lcaseHtmlExtensions[$key] = strtolower( $val ) ; } return in_array( $ext, $lcaseHtmlExtensions ) ; } /** * Detect HTML in the first KB to prevent against potential security issue with * IE/Safari/Opera file type auto detection bug. * Returns true if file contain insecure HTML code at the beginning. * * @param string $filePath absolute path to file * @return boolean */ function DetectHtml( $filePath ) { $fp = fopen( $filePath, 'rb' ) ; $chunk = fread( $fp, 1024 ) ; fclose( $fp ) ; $chunk = strtolower( $chunk ) ; if (!$chunk) { return false ; } $chunk = trim( $chunk ) ; if ( preg_match( "/= 4.0.7 if ( function_exists( 'version_compare' ) ) { $sCurrentVersion = phpversion(); if ( version_compare( $sCurrentVersion, "4.2.0" ) >= 0 ) { $imageCheckExtensions[] = "tiff"; $imageCheckExtensions[] = "tif"; } if ( version_compare( $sCurrentVersion, "4.3.0" ) >= 0 ) { $imageCheckExtensions[] = "swc"; } if ( version_compare( $sCurrentVersion, "4.3.2" ) >= 0 ) { $imageCheckExtensions[] = "jpc"; $imageCheckExtensions[] = "jp2"; $imageCheckExtensions[] = "jpx"; $imageCheckExtensions[] = "jb2"; $imageCheckExtensions[] = "xbm"; $imageCheckExtensions[] = "wbmp"; } } if ( !in_array( $extension, $imageCheckExtensions ) ) { return true; } if ( @getimagesize( $filePath ) === false ) { return false ; } return true; } ?> --- NEW FILE: io.php --- 0 ) return $Config['QuickUploadAbsolutePath'][$resourceType] ; // Map the "UserFiles" path to a local directory. return Server_MapPath( $Config['QuickUploadPath'][$resourceType] ) ; } else { if ( strlen( $Config['FileTypesAbsolutePath'][$resourceType] ) > 0 ) return $Config['FileTypesAbsolutePath'][$resourceType] ; // Map the "UserFiles" path to a local directory. return Server_MapPath( $Config['FileTypesPath'][$resourceType] ) ; } } function GetUrlFromPath( $resourceType, $folderPath, $sCommand ) { return CombinePaths( GetResourceTypePath( $resourceType, $sCommand ), $folderPath ) ; } function RemoveExtension( $fileName ) { return substr( $fileName, 0, strrpos( $fileName, '.' ) ) ; } function ServerMapFolder( $resourceType, $folderPath, $sCommand ) { // Get the resource type directory. $sResourceTypePath = GetResourceTypeDirectory( $resourceType, $sCommand ) ; // Ensure that the directory exists. $sErrorMsg = CreateServerFolder( $sResourceTypePath ) ; if ( $sErrorMsg != '' ) SendError( 1, "Error creating folder \"{$sResourceTypePath}\" ({$sErrorMsg})" ) ; // Return the resource type directory combined with the required path. return CombinePaths( $sResourceTypePath , $folderPath ) ; } function GetParentFolder( $folderPath ) { $sPattern = "-[/\\\\][^/\\\\]+[/\\\\]?$-" ; return preg_replace( $sPattern, '', $folderPath ) ; } function CreateServerFolder( $folderPath, $lastFolder = null ) { $sParent = GetParentFolder( $folderPath ) ; // Ensure the folder path has no double-slashes, or mkdir may fail on certain platforms while ( strpos($folderPath, '//') !== false ) { $folderPath = str_replace( '//', '/', $folderPath ) ; } // Check if the parent exists, or create it. if ( !file_exists( $sParent ) ) { //prevents agains infinite loop when we can't create root folder if ( !is_null( $lastFolder ) && $lastFolder === $sParent) { return "Can't create $folderPath directory" ; } $sErrorMsg = CreateServerFolder( $sParent, $folderPath ) ; if ( $sErrorMsg != '' ) return $sErrorMsg ; } if ( !file_exists( $folderPath ) ) { // Turn off all error reporting. error_reporting( 0 ) ; $php_errormsg = '' ; // Enable error tracking to catch the error. ini_set( 'track_errors', '1' ) ; // To create the folder with 0777 permissions, we need to set umask to zero. $oldumask = umask(0) ; mkdir( $folderPath, 0777 ) ; umask( $oldumask ) ; $sErrorMsg = $php_errormsg ; // Restore the configurations. ini_restore( 'track_errors' ) ; ini_restore( 'error_reporting' ) ; return $sErrorMsg ; } else return '' ; } function GetRootPath() { if (!isset($_SERVER)) { global $_SERVER; } $sRealPath = realpath( './' ) ; $sSelfPath = $_SERVER['PHP_SELF'] ; $sSelfPath = substr( $sSelfPath, 0, strrpos( $sSelfPath, '/' ) ) ; $sSelfPath = str_replace( '/', DIRECTORY_SEPARATOR, $sSelfPath ) ; $position = strpos( $sRealPath, $sSelfPath ) ; // This can check only that this script isn't run from a virtual dir // But it avoids the problems that arise if it isn't checked if ( $position === false || $position <> strlen( $sRealPath ) - strlen( $sSelfPath ) ) SendError( 1, 'Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/php/config.php".' ) ; return substr( $sRealPath, 0, $position ) ; } // Emulate the asp Server.mapPath function. // given an url path return the physical directory that it corresponds to function Server_MapPath( $path ) { // This function is available only for Apache if ( function_exists( 'apache_lookup_uri' ) ) { $info = apache_lookup_uri( $path ) ; return $info->filename . $info->path_info ; } // This isn't correct but for the moment there's no other solution // If this script is under a virtual directory or symlink it will detect the problem and stop return GetRootPath() . $path ; } function IsAllowedExt( $sExtension, $resourceType ) { global $Config ; // Get the allowed and denied extensions arrays. $arAllowed = $Config['AllowedExtensions'][$resourceType] ; $arDenied = $Config['DeniedExtensions'][$resourceType] ; if ( count($arAllowed) > 0 && !in_array( $sExtension, $arAllowed ) ) return false ; if ( count($arDenied) > 0 && in_array( $sExtension, $arDenied ) ) return false ; return true ; } function IsAllowedType( $resourceType ) { global $Config ; if ( !in_array( $resourceType, $Config['ConfigAllowedTypes'] ) ) return false ; return true ; } function IsAllowedCommand( $sCommand ) { global $Config ; if ( !in_array( $sCommand, $Config['ConfigAllowedCommands'] ) ) return false ; return true ; } function GetCurrentFolder() { if (!isset($_GET)) { global $_GET; } $sCurrentFolder = isset( $_GET['CurrentFolder'] ) ? $_GET['CurrentFolder'] : '/' ; // Check the current folder syntax (must begin and start with a slash). if ( ! ereg( '/$', $sCurrentFolder ) ) $sCurrentFolder .= '/' ; if ( strpos( $sCurrentFolder, '/' ) !== 0 ) $sCurrentFolder = '/' . $sCurrentFolder ; // Ensure the folder path has no double-slashes while ( strpos ($sCurrentFolder, '//') !== false ) { $sCurrentFolder = str_replace ('//', '/', $sCurrentFolder) ; } // Check for invalid folder paths (..) if ( strpos( $sCurrentFolder, '..' ) ) SendError( 102, '' ) ; return $sCurrentFolder ; } // Do a cleanup of the folder name to avoid possible problems function SanitizeFolderName( $sNewFolderName ) { $sNewFolderName = stripslashes( $sNewFolderName ) ; // Remove . \ / | : ? * " < > $sNewFolderName = preg_replace( '/\\.|\\\\|\\/|\\||\\:|\\?|\\*|"|<|>/', '_', $sNewFolderName ) ; return $sNewFolderName ; } // Do a cleanup of the file name to avoid possible problems function SanitizeFileName( $sNewFileName ) { global $Config ; $sNewFileName = stripslashes( $sNewFileName ) ; // Replace dots in the name with underscores (only one dot can be there... security issue). if ( $Config['ForceSingleExtension'] ) $sNewFileName = preg_replace( '/\\.(?![^.]*$)/', '_', $sNewFileName ) ; // Remove \ / | : ? * " < > $sNewFileName = preg_replace( '/\\\\|\\/|\\||\\:|\\?|\\*|"|<|>/', '_', $sNewFileName ) ; return $sNewFileName ; } // This is the function that sends the results of the uploading process. function SendUploadResults( $errorNumber, $fileUrl = '', $fileName = '', $customMsg = '' ) { echo '' ; exit ; } ?> --- NEW FILE: phpcompat.php --- Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_link In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog/fck_link Added Files: fck_link.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_link.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_spellerpages/spellerpages blank.html, 1.2, 1.3 controlWindow.js, 1.2, 1.3 controls.html, 1.2, 1.3 spellChecker.js, 1.2, 1.3 spellchecker.html, 1.3, 1.4 spellerStyle.css, 1.2, 1.3 wordWindow.js, 1.2, 1.3 Message-ID: <20080209125402.110D110FE24@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_spellerpages/spellerpages In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog/fck_spellerpages/spellerpages Added Files: blank.html controlWindow.js controls.html spellChecker.js spellchecker.html spellerStyle.css wordWindow.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: spellChecker.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: controls.html ---
    Not in dictionary:
    Change to:
      
      
      
      
    --- NEW FILE: wordWindow.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spellerStyle.css --- .blend { font-family: courier new; font-size: 10pt; border: 0; margin-bottom:-1; } .normalLabel { font-size:8pt; } .normalText { font-family:arial, helvetica, sans-serif; font-size:10pt; color:000000; background-color:FFFFFF; } .plainText { font-family: courier new, courier, monospace; font-size: 10pt; color:000000; background-color:FFFFFF; } .controlWindowBody { font-family:arial, helvetica, sans-serif; font-size:8pt; padding: 7px ; /* by FredCK */ margin: 0px ; /* by FredCK */ /* color:000000; by FredCK */ /* background-color:DADADA; by FredCK */ } .readonlyInput { background-color:DADADA; color:000000; font-size:8pt; width:392px; } .textDefault { font-size:8pt; width: 200px; } .buttonDefault { width:90px; height:22px; font-size:8pt; } .suggSlct { width:200px; margin-top:2; font-size:8pt; } --- NEW FILE: spellchecker.html --- Speller Pages --- NEW FILE: controlWindow.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: blank.html --- From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/dragresizetable fckplugin.js, NONE, 1.1 Message-ID: <20080209125402.AEAEF10FE7E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/dragresizetable In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/plugins/dragresizetable Added Files: fckplugin.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckplugin.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images/icons ai.gif, 1.2, 1.3 avi.gif, 1.2, 1.3 bmp.gif, 1.2, 1.3 cs.gif, 1.2, 1.3 default.icon.gif, 1.2, 1.3 dll.gif, 1.2, 1.3 doc.gif, 1.2, 1.3 exe.gif, 1.2, 1.3 fla.gif, 1.2, 1.3 gif.gif, 1.2, 1.3 htm.gif, 1.2, 1.3 html.gif, 1.2, 1.3 jpg.gif, 1.2, 1.3 js.gif, 1.2, 1.3 mdb.gif, 1.2, 1.3 mp3.gif, 1.2, 1.3 pdf.gif, 1.2, 1.3 png.gif, NONE, 1.1 ppt.gif, 1.2, 1.3 rdp.gif, 1.2, 1.3 swf.gif, 1.2, 1.3 swt.gif, 1.2, 1.3 txt.gif, 1.2, 1.3 vsd.gif, 1.2, 1.3 xls.gif, 1.2, 1.3 xml.gif, 1.2, 1.3 zip.gif, 1.2, 1.3 Message-ID: <20080209125402.3C1E510FE2B@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images/icons In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/browser/default/images/icons Added Files: ai.gif avi.gif bmp.gif cs.gif default.icon.gif dll.gif doc.gif exe.gif fla.gif gif.gif htm.gif html.gif jpg.gif js.gif mdb.gif mp3.gif pdf.gif png.gif ppt.gif rdp.gif swf.gif swt.gif txt.gif vsd.gif xls.gif xml.gif zip.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: default.icon.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mdb.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: png.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bmp.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: exe.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cs.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ai.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: html.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mp3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: htm.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: dll.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gif.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: zip.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fla.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: js.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: xls.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: swf.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: swt.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: xml.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: avi.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: txt.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: doc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ppt.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vsd.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: rdp.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pdf.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jpg.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_select fck_select.js, 1.4, 1.5 Message-ID: <20080209125402.121A110FE25@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_select In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog/fck_select Added Files: fck_select.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_select.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/_source/classes fckcontextmenu.js, 1.2, 1.3 fckdataprocessor.js, NONE, 1.1 fckdocumentfragment_gecko.js, NONE, 1.1 fckdocumentfragment_ie.js, NONE, 1.1 fckdomrange.js, NONE, 1.1 fckdomrange_gecko.js, NONE, 1.1 fckdomrange_ie.js, NONE, 1.1 fckdomrangeiterator.js, NONE, 1.1 fckeditingarea.js, 1.3, 1.4 fckelementpath.js, NONE, 1.1 fckenterkey.js, NONE, 1.1 fckevents.js, 1.4, 1.5 fckicon.js, 1.2, 1.3 fckiecleanup.js, 1.2, 1.3 fckimagepreloader.js, NONE, 1.1 fckkeystrokehandler.js, NONE, 1.1 fckmenublock.js, 1.3, 1.4 fckmenublockpanel.js, 1.2, 1.3 fckmenuitem.js, 1.3, 1.4 fckpanel.js, 1.3, 1.4 fckplugin.js, 1.4, 1.5 fckspecialcombo.js, 1.5, 1.6 fckstyle.js, NONE, 1.1 fcktoolbar.js, 1.5, 1.6 fcktoolbarbreak_gecko.js, 1.4, 1.5 fcktoolbarbreak_ie.js, 1.5, 1.6 fcktoolbarbutton.js, 1.4, 1.5 fcktoolbarbuttonui.js, 1.3, 1.4 fcktoolbarfontformatcombo.js, 1.4, 1.5 fcktoolbarfontscombo.js, 1.4, 1.5 fcktoolbarfontsizecombo.js, 1.4, 1.5 fcktoolbarpanelbutton.js, 1.4, 1.5 fcktoolbarspecialcombo.js, 1.4, 1.5 f cktoolbarstylecombo.js, 1.4, 1.5 fckw3crange.js, NONE, 1.1 fckxml.js, NONE, 1.1 fckxml_gecko.js, 1.4, 1.5 fckxml_ie.js, 1.4, 1.5 Message-ID: <20080209125401.ABB9210FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/_source/classes In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/_source/classes Added Files: fckcontextmenu.js fckdataprocessor.js fckdocumentfragment_gecko.js fckdocumentfragment_ie.js fckdomrange.js fckdomrange_gecko.js fckdomrange_ie.js fckdomrangeiterator.js fckeditingarea.js fckelementpath.js fckenterkey.js fckevents.js fckicon.js fckiecleanup.js fckimagepreloader.js fckkeystrokehandler.js fckmenublock.js fckmenublockpanel.js fckmenuitem.js fckpanel.js fckplugin.js fckspecialcombo.js fckstyle.js fcktoolbar.js fcktoolbarbreak_gecko.js fcktoolbarbreak_ie.js fcktoolbarbutton.js fcktoolbarbuttonui.js fcktoolbarfontformatcombo.js fcktoolbarfontscombo.js fcktoolbarfontsizecombo.js fcktoolbarpanelbutton.js fcktoolbarspecialcombo.js fcktoolbarstylecombo.js fckw3crange.js fckxml.js fckxml_gecko.js fckxml_ie.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckmenuitem.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckmenublock.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckelementpath.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarpanelbutton.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckw3crange.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckpanel.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarbutton.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarfontscombo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarbreak_ie.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckenterkey.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckspecialcombo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckcontextmenu.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarfontsizecombo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbar.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckiecleanup.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckdomrange.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckimagepreloader.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarfontformatcombo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckdocumentfragment_gecko.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckdocumentfragment_ie.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckxml_gecko.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckxml_ie.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckicon.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckmenublockpanel.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarbuttonui.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckkeystrokehandler.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckstyle.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckdomrangeiterator.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckdomrange_ie.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckplugin.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckevents.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckdataprocessor.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarspecialcombo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarbreak_gecko.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckdomrange_gecko.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcktoolbarstylecombo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckeditingarea.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckxml.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/lang _translationstatus.txt, 1.6, 1.7 af.js, NONE, 1.1 ar.js, 1.5, 1.6 bg.js, 1.5, 1.6 bn.js, 1.2, 1.3 bs.js, 1.5, 1.6 ca.js, 1.6, 1.7 cs.js, 1.5, 1.6 da.js, 1.5, 1.6 de.js, 1.5, 1.6 el.js, 1.6, 1.7 en-au.js, 1.5, 1.6 en-ca.js, 1.2, 1.3 en-uk.js, 1.5, 1.6 en.js, 1.5, 1.6 eo.js, 1.5, 1.6 es.js, 1.6, 1.7 et.js, 1.5, 1.6 eu.js, 1.5, 1.6 fa.js, 1.5, 1.6 fi.js, 1.5, 1.6 fo.js, 1.3, 1.4 fr.js, 1.6, 1.7 gl.js, 1.5, 1.6 he.js, 1.5, 1.6 hi.js, 1.2, 1.3 hr.js, 1.5, 1.6 hu.js, 1.5, 1.6 it.js, 1.5, 1.6 ja.js, 1.5, 1.6 km.js, 1.2, 1.3 ko.js, 1.5, 1.6 lt.js, 1.5, 1.6 lv.js, 1.2, 1.3 mn.js, 1.3, 1.4 ms.js, 1.3, 1.4 nb.js, NONE, 1.1 nl.js, 1.5, 1.6 no.js, 1.5, 1.6 pl.js, 1.5, 1.6 pt-br.js, 1.6, 1.7 pt.js, 1.6, 1.7 ro.js, 1.5, 1.6 ru.js, 1.5, 1.6 sk.js, 1.5, 1.6 sl.js, 1.5, 1.6 sr-latn.js, 1.5, 1.6 sr.js, 1.5, 1.6 sv.js, 1.5, 1.6 th.js, 1.5, 1.6 tr.js, 1.5, 1.6 uk.js, 1.5, 1.6 vi.js, 1.3, 1.4 zh-cn.js, 1.5, 1.6 zh.js, 1.5, 1.6 Message-ID: <20080209125402.935EA10FE7A@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/lang In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/lang Added Files: _translationstatus.txt af.js ar.js bg.js bn.js bs.js ca.js cs.js da.js de.js el.js en-au.js en-ca.js en-uk.js en.js eo.js es.js et.js eu.js fa.js fi.js fo.js fr.js gl.js he.js hi.js hr.js hu.js it.js ja.js km.js ko.js lt.js lv.js mn.js ms.js nb.js nl.js no.js pl.js pt-br.js pt.js ro.js ru.js sk.js sl.js sr-latn.js sr.js sv.js th.js tr.js uk.js vi.js zh-cn.js zh.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: ar.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: th.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lt.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: km.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ru.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pt-br.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ms.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: zh-cn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ro.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: it.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cs.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ko.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hu.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: en-uk.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: eu.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: de.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: af.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ca.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lv.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bg.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fi.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sr-latn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hi.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: uk.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: no.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nb.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: _translationstatus.txt --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Translations Status. */ af.js Found: 397 Missing: 15 ar.js Found: 412 Missing: 0 bg.js Found: 374 Missing: 38 bn.js Found: 381 Missing: 31 bs.js Found: 226 Missing: 186 ca.js Found: 412 Missing: 0 cs.js Found: 412 Missing: 0 da.js Found: 382 Missing: 30 de.js Found: 412 Missing: 0 el.js Found: 397 Missing: 15 en-au.js Found: 412 Missing: 0 en-ca.js Found: 412 Missing: 0 en-uk.js Found: 412 Missing: 0 eo.js Found: 346 Missing: 66 es.js Found: 412 Missing: 0 et.js Found: 412 Missing: 0 eu.js Found: 382 Missing: 30 fa.js Found: 398 Missing: 14 fi.js Found: 412 Missing: 0 fo.js Found: 397 Missing: 15 fr.js Found: 412 Missing: 0 gl.js Found: 382 Missing: 30 he.js Found: 412 Missing: 0 hi.js Found: 412 Missing: 0 hr.js Found: 412 Missing: 0 hu.js Found: 412 Missing: 0 it.js Found: 397 Missing: 15 ja.js Found: 412 Missing: 0 km.js Found: 371 Missing: 41 ko.js Found: 369 Missing: 43 lt.js Found: 377 Missing: 35 lv.js Found: 382 Missing: 30 mn.js Found: 226 Missing: 186 ms.js Found: 352 Missing: 60 nb.js Found: 396 Missing: 16 nl.js Found: 412 Missing: 0 no.js Found: 396 Missing: 16 pl.js Found: 412 Missing: 0 pt-br.js Found: 412 Missing: 0 pt.js Found: 382 Missing: 30 ro.js Found: 411 Missing: 1 ru.js Found: 412 Missing: 0 sk.js Found: 397 Missing: 15 sl.js Found: 412 Missing: 0 sr-latn.js Found: 369 Missing: 43 sr.js Found: 369 Missing: 43 sv.js Found: 397 Missing: 15 th.js Found: 394 Missing: 18 tr.js Found: 397 Missing: 15 uk.js Found: 398 Missing: 14 vi.js Found: 397 Missing: 15 zh-cn.js Found: 412 Missing: 0 zh.js Found: 412 Missing: 0 --- NEW FILE: eo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: en-au.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: da.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vi.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: en-ca.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: el.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: zh.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ja.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sk.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: en.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pt.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: et.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: he.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: es.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fa.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bs.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sv.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_template/images template1.gif, 1.2, 1.3 template2.gif, 1.2, 1.3 template3.gif, 1.2, 1.3 Message-ID: <20080209125402.15A3B10FE26@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_template/images In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog/fck_template/images Added Files: template1.gif template2.gif template3.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: template3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: template2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: template1.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dtd fck_dtd_test.html, NONE, 1.1 fck_xhtml10strict.js, NONE, 1.1 fck_xhtml10transitional.js, NONE, 1.1 Message-ID: <20080209125402.1779210FE27@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dtd In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dtd Added Files: fck_dtd_test.html fck_xhtml10strict.js fck_xhtml10transitional.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_xhtml10strict.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_dtd_test.html --- DTD Test Page

    DTD Contents

    --- NEW FILE: fck_xhtml10transitional.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor fckdebug.html, 1.4, 1.5 fckdialog.html, 1.4, 1.5 fckeditor.html, 1.5, 1.6 fckeditor.original.html, 1.5, 1.6 Message-ID: <20080209125402.1E51710FE28@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor In directory qs1489.pair.com:/tmp/cvs-serv26402/editor Added Files: fckdebug.html fckdialog.html fckeditor.html fckeditor.original.html Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckdialog.html ---
       
    --- NEW FILE: fckeditor.original.html --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckeditor.html --- FCKeditor
    --- NEW FILE: fckdebug.html --- FCKeditor Debug Window
    FCKeditor Debug Window
    From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/placeholder/lang de.js, 1.3, 1.4 en.js, 1.4, 1.5 fr.js, 1.4, 1.5 it.js, 1.4, 1.5 pl.js, 1.2, 1.3 Message-ID: <20080209125402.B8A7A10FE80@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/placeholder/lang In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/plugins/placeholder/lang Added Files: de.js en.js fr.js it.js pl.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: en.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: de.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: it.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts spellchecker.cfm, 1.2, 1.3 spellchecker.php, 1.2, 1.3 spellchecker.pl, 1.2, 1.3 Message-ID: <20080209125402.0A61510FE22@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog/fck_spellerpages/spellerpages/server-scripts Added Files: spellchecker.cfm spellchecker.php spellchecker.pl Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: spellchecker.pl --- #!/usr/bin/perl use CGI qw/ :standard /; use File::Temp qw/ tempfile tempdir /; # my $spellercss = '/speller/spellerStyle.css'; # by FredCK my $spellercss = '../spellerStyle.css'; # by FredCK # my $wordWindowSrc = '/speller/wordWindow.js'; # by FredCK my $wordWindowSrc = '../wordWindow.js'; # by FredCK my @textinputs = param( 'textinputs[]' ); # array # my $aspell_cmd = 'aspell'; # by FredCK (for Linux) my $aspell_cmd = '"C:\Program Files\Aspell\bin\aspell.exe"'; # by FredCK (for Windows) my $lang = 'en_US'; # my $aspell_opts = "-a --lang=$lang --encoding=utf-8"; # by FredCK my $aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt"; # by FredCK my $input_separator = "A"; # set the 'wordtext' JavaScript variable to the submitted text. sub printTextVar { for( my $i = 0; $i <= $#textinputs; $i++ ) { print "textinputs[$i] = decodeURIComponent('" . escapeQuote( $textinputs[$i] ) . "')\n"; } } sub printTextIdxDecl { my $idx = shift; print "words[$idx] = [];\n"; print "suggs[$idx] = [];\n"; } sub printWordsElem { my( $textIdx, $wordIdx, $word ) = @_; print "words[$textIdx][$wordIdx] = '" . escapeQuote( $word ) . "';\n"; } sub printSuggsElem { my( $textIdx, $wordIdx, @suggs ) = @_; print "suggs[$textIdx][$wordIdx] = ["; for my $i ( 0..$#suggs ) { print "'" . escapeQuote( $suggs[$i] ) . "'"; if( $i < $#suggs ) { print ", "; } } print "];\n"; } sub printCheckerResults { my $textInputIdx = -1; my $wordIdx = 0; my $unhandledText; # create temp file my $dir = tempdir( CLEANUP => 1 ); my( $fh, $tmpfilename ) = tempfile( DIR => $dir ); # temp file was created properly? # open temp file, add the submitted text. for( my $i = 0; $i <= $#textinputs; $i++ ) { $text = url_decode( $textinputs[$i] ); # Strip all tags for the text. (by FredCK - #339 / #681) $text =~ s/<[^>]+>/ /g; @lines = split( /\n/, $text ); print $fh "\%\n"; # exit terse mode print $fh "^$input_separator\n"; print $fh "!\n"; # enter terse mode for my $line ( @lines ) { # use carat on each line to escape possible aspell commands print $fh "^$line\n"; } } # exec aspell command my $cmd = "$aspell_cmd $aspell_opts < $tmpfilename 2>&1"; open ASPELL, "$cmd |" or handleError( "Could not execute `$cmd`\\n$!" ) and return; # parse each line of aspell return for my $ret ( ) { chomp( $ret ); # if '&', then not in dictionary but has suggestions # if '#', then not in dictionary and no suggestions # if '*', then it is a delimiter between text inputs if( $ret =~ /^\*/ ) { $textInputIdx++; printTextIdxDecl( $textInputIdx ); $wordIdx = 0; } elsif( $ret =~ /^(&|#)/ ) { my @tokens = split( " ", $ret, 5 ); printWordsElem( $textInputIdx, $wordIdx, $tokens[1] ); my @suggs = (); if( $tokens[4] ) { @suggs = split( ", ", $tokens[4] ); } printSuggsElem( $textInputIdx, $wordIdx, @suggs ); $wordIdx++; } else { $unhandledText .= $ret; } } close ASPELL or handleError( "Error executing `$cmd`\\n$unhandledText" ) and return; } sub escapeQuote { my $str = shift; $str =~ s/'/\\'/g; return $str; } sub handleError { my $err = shift; print "error = '" . escapeQuote( $err ) . "';\n"; } sub url_decode { local $_ = @_ ? shift : $_; defined or return; # change + signs to spaces tr/+/ /; # change hex escapes to the proper characters s/%([a-fA-F0-9]{2})/pack "H2", $1/eg; return $_; } # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Display HTML # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # print < EOF --- NEW FILE: spellchecker.php --- $val ) { # $val = str_replace( "'", "%27", $val ); echo "textinputs[$key] = decodeURIComponent(\"" . $val . "\");\n"; } } # make declarations for the text input index function print_textindex_decl( $text_input_idx ) { echo "words[$text_input_idx] = [];\n"; echo "suggs[$text_input_idx] = [];\n"; } # set an element of the JavaScript 'words' array to a misspelled word function print_words_elem( $word, $index, $text_input_idx ) { echo "words[$text_input_idx][$index] = '" . escape_quote( $word ) . "';\n"; } # set an element of the JavaScript 'suggs' array to a list of suggestions function print_suggs_elem( $suggs, $index, $text_input_idx ) { echo "suggs[$text_input_idx][$index] = ["; foreach( $suggs as $key=>$val ) { if( $val ) { echo "'" . escape_quote( $val ) . "'"; if ( $key+1 < count( $suggs )) { echo ", "; } } } echo "];\n"; } # escape single quote function escape_quote( $str ) { return preg_replace ( "/'/", "\\'", $str ); } # handle a server-side error. function error_handler( $err ) { echo "error = '" . escape_quote( $err ) . "';\n"; } ## get the list of misspelled words. Put the results in the javascript words array ## for each misspelled word, get suggestions and put in the javascript suggs array function print_checker_results() { global $aspell_prog; global $aspell_opts; global $tempfiledir; global $textinputs; global $input_separator; $aspell_err = ""; # create temp file $tempfile = tempnam( $tempfiledir, 'aspell_data_' ); # open temp file, add the submitted text. if( $fh = fopen( $tempfile, 'w' )) { for( $i = 0; $i < count( $textinputs ); $i++ ) { $text = urldecode( $textinputs[$i] ); // Strip all tags for the text. (by FredCK - #339 / #681) $text = preg_replace( "/<[^>]+>/", " ", $text ) ; $lines = explode( "\n", $text ); fwrite ( $fh, "%\n" ); # exit terse mode fwrite ( $fh, "^$input_separator\n" ); fwrite ( $fh, "!\n" ); # enter terse mode foreach( $lines as $key=>$value ) { # use carat on each line to escape possible aspell commands fwrite( $fh, "^$value\n" ); } } fclose( $fh ); # exec aspell command - redirect STDERR to STDOUT $cmd = "$aspell_prog $aspell_opts < $tempfile 2>&1"; if( $aspellret = shell_exec( $cmd )) { $linesout = explode( "\n", $aspellret ); $index = 0; $text_input_index = -1; # parse each line of aspell return foreach( $linesout as $key=>$val ) { $chardesc = substr( $val, 0, 1 ); # if '&', then not in dictionary but has suggestions # if '#', then not in dictionary and no suggestions # if '*', then it is a delimiter between text inputs # if '@' then version info if( $chardesc == '&' || $chardesc == '#' ) { $line = explode( " ", $val, 5 ); print_words_elem( $line[1], $index, $text_input_index ); if( isset( $line[4] )) { $suggs = explode( ", ", $line[4] ); } else { $suggs = array(); } print_suggs_elem( $suggs, $index, $text_input_index ); $index++; } elseif( $chardesc == '*' ) { $text_input_index++; print_textindex_decl( $text_input_index ); $index = 0; } elseif( $chardesc != '@' && $chardesc != "" ) { # assume this is error output $aspell_err .= $val; } } if( $aspell_err ) { $aspell_err = "Error executing `$cmd`\\n$aspell_err"; error_handler( $aspell_err ); } } else { error_handler( "System error: Aspell program execution failed (`$cmd`)" ); } } else { error_handler( "System error: Could not open file '$tempfile' for writing" ); } # close temp file, delete file unlink( $tempfile ); } ?> --- NEW FILE: spellchecker.cfm --- ]+>", " ", "all")> From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/images/smiley/msn angel_smile.gif, 1.2, 1.3 angry_smile.gif, 1.2, 1.3 broken_heart.gif, 1.2, 1.3 cake.gif, 1.2, 1.3 confused_smile.gif, 1.2, 1.3 cry_smile.gif, 1.2, 1.3 devil_smile.gif, 1.2, 1.3 embaressed_smile.gif, 1.2, 1.3 envelope.gif, 1.2, 1.3 heart.gif, 1.2, 1.3 kiss.gif, 1.2, 1.3 lightbulb.gif, 1.2, 1.3 omg_smile.gif, 1.2, 1.3 regular_smile.gif, 1.2, 1.3 sad_smile.gif, 1.2, 1.3 shades_smile.gif, 1.2, 1.3 teeth_smile.gif, 1.2, 1.3 thumbs_down.gif, 1.2, 1.3 thumbs_up.gif, 1.2, 1.3 tounge_smile.gif, 1.2, 1.3 whatchutalkingabout_smile.gif, 1.2, 1.3 wink_smile.gif, 1.2, 1.3 Message-ID: <20080209125402.86F9310FE78@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/images/smiley/msn In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/images/smiley/msn Added Files: angel_smile.gif angry_smile.gif broken_heart.gif cake.gif confused_smile.gif cry_smile.gif devil_smile.gif embaressed_smile.gif envelope.gif heart.gif kiss.gif lightbulb.gif omg_smile.gif regular_smile.gif sad_smile.gif shades_smile.gif teeth_smile.gif thumbs_down.gif thumbs_up.gif tounge_smile.gif whatchutalkingabout_smile.gif wink_smile.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: thumbs_down.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shades_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: regular_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: heart.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tounge_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: devil_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: whatchutalkingabout_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: teeth_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: omg_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: thumbs_up.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lightbulb.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: embaressed_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: broken_heart.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: confused_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: kiss.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cry_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: angry_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cake.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: angel_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wink_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sad_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: envelope.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/js common.js, 1.3, 1.4 fckxml.js, 1.2, 1.3 Message-ID: <20080209125402.4F89710FE2E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/js In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/browser/default/js Added Files: common.js fckxml.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: common.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckxml.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default browser.css, 1.2, 1.3 browser.html, 1.2, 1.3 frmactualfolder.html, 1.2, 1.3 frmcreatefolder.html, 1.2, 1.3 frmfolders.html, 1.2, 1.3 frmresourceslist.html, 1.3, 1.4 frmresourcetype.html, 1.2, 1.3 frmupload.html, 1.2, 1.3 Message-ID: <20080209125402.2322D10FE29@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/browser/default Added Files: browser.css browser.html frmactualfolder.html frmcreatefolder.html frmfolders.html frmresourceslist.html frmresourcetype.html frmupload.html Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: frmfolders.html ---
    --- NEW FILE: frmactualfolder.html ---
    --- NEW FILE: browser.html --- FCKeditor - Resources Browser --- NEW FILE: frmresourcetype.html ---
    Resource Type
    --- NEW FILE: frmresourceslist.html --- --- NEW FILE: frmcreatefolder.html ---
    --- NEW FILE: browser.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * CSS styles used by all pages that compose the File Browser. */ body { background-color: #f1f1e3; } form { margin: 0px 0px 0px 0px ; padding: 0px 0px 0px 0px ; } .Frame { background-color: #f1f1e3; border-color: #f1f1e3; border-right: thin inset; border-top: thin inset; border-left: thin inset; border-bottom: thin inset; } body.FileArea { background-color: #ffffff; margin: 10px; } body, td, input, select { font-size: 11px; font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; } .ActualFolder { font-weight: bold; font-size: 14px; } .PopupButtons { border-top: #d5d59d 1px solid; background-color: #e3e3c7; padding: 7px 10px 7px 10px; } .Button, button { border-right: #737357 1px solid; border-top: #737357 1px solid; border-left: #737357 1px solid; color: #3b3b1f; border-bottom: #737357 1px solid; background-color: #c7c78f; } .FolderListCurrentFolder img { background-image: url(images/FolderOpened.gif); } .FolderListFolder img { background-image: url(images/Folder.gif); } --- NEW FILE: frmupload.html --- File Upload
    Upload a new file in this folder
     
    From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/aspx config.ascx, NONE, 1.1 connector.aspx, NONE, 1.1 upload.aspx, NONE, 1.1 Message-ID: <20080209125402.532E210FE6A@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/aspx In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/connectors/aspx Added Files: config.ascx connector.aspx upload.aspx Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: config.ascx --- <%@ Control Language="C#" EnableViewState="false" AutoEventWireup="false" Inherits="FredCK.FCKeditorV2.FileBrowser.Config" %> <%-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Configuration file for the File Browser Connector for ASP.NET. --%> --- NEW FILE: upload.aspx --- <%@ Page Language="c#" Trace="false" Inherits="FredCK.FCKeditorV2.FileBrowser.Uploader" AutoEventWireup="false" %> <%@ Register Src="config.ascx" TagName="Config" TagPrefix="FCKeditor" %> <%-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is the Uploader for ASP.NET. * * The code of this page if included in the FCKeditor.Net package, * in the FredCK.FCKeditorV2.dll assemblyfile. So to use it you must * include that DLL in your "bin" directory. * * To download the FCKeditor.Net package, go to our official web site: * http://www.fckeditor.net --%> --- NEW FILE: connector.aspx --- <%@ Page Language="c#" Trace="false" Inherits="FredCK.FCKeditorV2.FileBrowser.Connector" AutoEventWireup="false" %> <%@ Register Src="config.ascx" TagName="Config" TagPrefix="FCKeditor" %> <%-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is the File Browser Connector for ASP.NET. * * The code of this page if included in the FCKeditor.Net package, * in the FredCK.FCKeditorV2.dll assembly file. So to use it you must * include that DLL in your "bin" directory. * * To download the FCKeditor.Net package, go to our official web site: * http://www.fckeditor.net --%> From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/placeholder fck_placeholder.html, 1.4, 1.5 fckplugin.js, 1.4, 1.5 placeholder.gif, 1.3, 1.4 Message-ID: <20080209125402.AFA6610FE7F@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/placeholder In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/plugins/placeholder Added Files: fck_placeholder.html fckplugin.js placeholder.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: placeholder.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckplugin.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_placeholder.html --- Placeholder Properties
    Placeholder Name
    From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/lasso config.lasso, NONE, 1.1 connector.lasso, NONE, 1.1 upload.lasso, NONE, 1.1 Message-ID: <20080209125402.50B8A10FE6B@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/lasso In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/connectors/lasso Added Files: config.lasso connector.lasso upload.lasso Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: config.lasso --- [//lasso /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Configuration file for the File Manager Connector for Lasso. */ /*..................................................................... The connector uses the file tags, which require authentication. Enter a valid username and password from Lasso admin for a group with file tags permissions for uploads and the path you define in UserFilesPath below. */ var('connection') = array( -username='xxxxxxxx', -password='xxxxxxxx' ); /*..................................................................... Set the base path for files that users can upload and browse (relative to server root). Set which file extensions are allowed and/or denied for each file type. */ var('config') = map( 'Enabled' = false, 'UserFilesPath' = '/userfiles/', 'Subdirectories' = map( 'File' = 'File/', 'Image' = 'Image/', 'Flash' = 'Flash/', 'Media' = 'Media/' ), 'AllowedExtensions' = map( 'File' = array('7z','aiff','asf','avi','bmp','csv','doc','fla','flv','gif','gz','gzip','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','ods','odt','pdf','png','ppt','pxd','qt','ram','rar','rm','rmi','rmvb','rtf','sdc','sitd','swf','sxc','sxw','tar','tgz','tif','tiff','txt','vsd','wav','wma','wmv','xls','xml','zip'), 'Image' = array('bmp','gif','jpeg','jpg','png'), 'Flash' = array('swf','flv'), 'Media' = array('aiff','asf','avi','bmp','fla','flv','gif','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','png','qt','ram','rm','rmi','rmvb','swf','tif','tiff','wav','wma','wmv') ), 'DeniedExtensions' = map( 'File' = array(), 'Image' = array(), 'Flash' = array(), 'Media' = array() ) ); ] --- NEW FILE: connector.lasso --- [//lasso /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is the File Manager Connector for Lasso. */ /*..................................................................... Include global configuration. See config.lasso for details. */ include('config.lasso'); /*..................................................................... Translate current date/time to GMT for custom header. */ var('headerDate') = date_localtogmt(date)->format('%a, %d %b %Y %T GMT'); /*..................................................................... Convert query string parameters to variables and initialize output. */ var( 'Command' = action_param('Command'), 'Type' = action_param('Type'), 'CurrentFolder' = action_param('CurrentFolder'), 'ServerPath' = action_param('ServerPath'), 'NewFolderName' = action_param('NewFolderName'), 'NewFile' = null, 'NewFileName' = string, 'OrigFilePath' = string, 'NewFilePath' = string, 'commandData' = string, 'folders' = '\t\n', 'files' = '\t\n', 'errorNumber' = integer, 'responseType' = 'xml', 'uploadResult' = '0' ); /*..................................................................... Calculate the path to the current folder. */ $ServerPath == '' ? $ServerPath = $config->find('UserFilesPath'); var('currentFolderURL' = $ServerPath + $config->find('Subdirectories')->find(action_param('Type')) + action_param('CurrentFolder') ); /*..................................................................... Build the appropriate response per the 'Command' parameter. Wrap the entire process in an inline for file tag permissions. */ inline($connection); select($Command); /*............................................................. List all subdirectories in the 'Current Folder' directory. */ case('GetFolders'); $commandData += '\t\n'; iterate(file_listdirectory($currentFolderURL), local('this')); #this->endswith('/') ? $commandData += '\t\t\n'; /iterate; $commandData += '\t\n'; /*............................................................. List both files and folders in the 'Current Folder' directory. Include the file sizes in kilobytes. */ case('GetFoldersAndFiles'); iterate(file_listdirectory($currentFolderURL), local('this')); if(#this->endswith('/')); $folders += '\t\t\n'; else; local('size') = file_getsize($currentFolderURL + #this) / 1024; $files += '\t\t\n'; /if; /iterate; $folders += '\t\n'; $files += '\t\n'; $commandData += $folders + $files; /*............................................................. Create a directory 'NewFolderName' within the 'Current Folder.' */ case('CreateFolder'); var('newFolder' = $currentFolderURL + $NewFolderName + '/'); file_create($newFolder); /*......................................................... Map Lasso's file error codes to FCKEditor's error codes. */ select(file_currenterror( -errorcode)); case(0); $errorNumber = 0; case( -9983); $errorNumber = 101; case( -9976); $errorNumber = 102; case( -9977); $errorNumber = 102; case( -9961); $errorNumber = 103; case; $errorNumber = 110; /select; $commandData += '\n'; /*............................................................. Process an uploaded file. */ case('FileUpload'); /*......................................................... This is the only command that returns an HTML response. */ $responseType = 'html'; /*......................................................... Was a file actually uploaded? */ file_uploads->size ? $NewFile = file_uploads->get(1) | $uploadResult = '202'; if($uploadResult == '0'); /*..................................................... Split the file's extension from the filename in order to follow the API's naming convention for duplicate files. (Test.txt, Test(1).txt, Test(2).txt, etc.) */ $NewFileName = $NewFile->find('OrigName'); $OrigFilePath = $currentFolderURL + $NewFileName; $NewFilePath = $OrigFilePath; local('fileExtension') = '.' + $NewFile->find('OrigExtension'); local('shortFileName') = $NewFileName->removetrailing(#fileExtension)&; /*..................................................... Make sure the file extension is allowed. */ if($config->find('DeniedExtensions')->find($Type) >> $NewFile->find('OrigExtension')); $uploadResult = '202'; else; /*................................................. Rename the target path until it is unique. */ while(file_exists($NewFilePath)); $NewFilePath = $currentFolderURL + #shortFileName + '(' + loop_count + ')' + #fileExtension; /while; /*................................................. Copy the uploaded file to its final location. */ file_copy($NewFile->find('path'), $NewFilePath); /*................................................. Set the error code for the response. Note whether the file had to be renamed. */ select(file_currenterror( -errorcode)); case(0); $OrigFilePath != $NewFilePath ? $uploadResult = 201; case; $uploadResult = '202'; /select; /if; /if; /*......................................................... Set the HTML response. */ if($uploadResult == '0' || $uploadResult == '201'); $__html_reply__ = '\ '; else; $__html_reply__ = '\ '; /if; /select; /inline; /*..................................................................... Send a custom header for xml responses. */ if($responseType == 'xml'); header; ] HTTP/1.0 200 OK Date: [$headerDate] Server: Lasso Professional [lasso_version( -lassoversion)] Expires: Mon, 26 Jul 1997 05:00:00 GMT Last-Modified: [$headerDate] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=15, max=98 Connection: Keep-Alive Content-Type: text/xml; charset=utf-8 [//lasso /header; /*................................................................. Set the content type encoding for Lasso. */ content_type('text/xml; charset=utf-8'); /*................................................................. Wrap the response as XML and output. */ $__html_reply__ = '\ ' + $commandData + ' '; /if; ] --- NEW FILE: upload.lasso --- [//lasso /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is the "File Uploader" for Lasso. */ /*..................................................................... Include global configuration. See config.lasso for details. */ include('config.lasso'); /*..................................................................... Convert query string parameters to variables and initialize output. */ var( 'Type' = action_param('Type'), 'CurrentFolder' = action_param('CurrentFolder'), 'ServerPath' = action_param('ServerPath'), 'NewFile' = null, 'NewFileName' = string, 'OrigFilePath' = string, 'NewFilePath' = string, 'errorNumber' = 0, 'customMsg' = '' ); $Type == '' ? $Type = 'File'; /*..................................................................... Calculate the path to the current folder. */ $ServerPath == '' ? $ServerPath = $config->find('UserFilesPath'); var('currentFolderURL' = $ServerPath + $config->find('Subdirectories')->find(action_param('Type')) + action_param('CurrentFolder') ); /*..................................................................... Custom tag sets the HTML response. */ define_tag( 'sendresults', -namespace='fck_', -priority='replace', -required='errorNumber', -type='integer', -optional='fileUrl', -type='string', -optional='fileName', -type='string', -optional='customMsg', -type='string', -description='Sets the HTML response for the FCKEditor Quick Upload feature.' ); $__html_reply__ = '\ '; /define_tag; if($config->find('Enabled')); /*................................................................. Process an uploaded file. */ inline($connection); /*............................................................. Was a file actually uploaded? */ file_uploads->size ? $NewFile = file_uploads->get(1) | $errorNumber = 202; if($errorNumber == 0); /*......................................................... Split the file's extension from the filename in order to follow the API's naming convention for duplicate files. (Test.txt, Test(1).txt, Test(2).txt, etc.) */ $NewFileName = $NewFile->find('OrigName'); $OrigFilePath = $currentFolderURL + $NewFileName; $NewFilePath = $OrigFilePath; local('fileExtension') = '.' + $NewFile->find('OrigExtension'); local('shortFileName') = $NewFileName->removetrailing(#fileExtension)&; /*......................................................... Make sure the file extension is allowed. */ if($config->find('DeniedExtensions')->find($Type) >> $NewFile->find('OrigExtension')); $errorNumber = 202; else; /*..................................................... Rename the target path until it is unique. */ while(file_exists($NewFilePath)); $NewFileName = #shortFileName + '(' + loop_count + ')' + #fileExtension; $NewFilePath = $currentFolderURL + $NewFileName; /while; /*..................................................... Copy the uploaded file to its final location. */ file_copy($NewFile->find('path'), $NewFilePath); /*..................................................... Set the error code for the response. */ select(file_currenterror( -errorcode)); case(0); $OrigFilePath != $NewFilePath ? $errorNumber = 201; case; $errorNumber = 202; /select; /if; /if; /inline; else; $errorNumber = 1; $customMsg = 'This file uploader is disabled. Please check the "editor/filemanager/upload/lasso/config.lasso" file.'; /if; fck_sendresults( -errorNumber=$errorNumber, -fileUrl=$NewFilePath, -fileName=$NewFileName, -customMsg=$customMsg ); ] From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/images anchor.gif, 1.2, 1.3 arrow_ltr.gif, 1.2, 1.3 arrow_rtl.gif, 1.2, 1.3 spacer.gif, 1.2, 1.3 Message-ID: <20080209125402.7508410FE74@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/images In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/images Added Files: anchor.gif arrow_ltr.gif arrow_rtl.gif spacer.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: arrow_rtl.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: anchor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: arrow_ltr.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode fckplugin.js, NONE, 1.1 Message-ID: <20080209125402.AC6C910FE7D@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/bbcode In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/plugins/bbcode Added Files: fckplugin.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckplugin.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:03 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:03 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/tablecommands fckplugin.js, 1.3, 1.4 Message-ID: <20080209125403.1BA0810FE82@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/tablecommands In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/plugins/tablecommands Added Files: fckplugin.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckplugin.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/perl basexml.pl, NONE, 1.1 commands.pl, NONE, 1.1 connector.cgi, NONE, 1.1 io.pl, NONE, 1.1 upload.cgi, NONE, 1.1 upload_fck.pl, NONE, 1.1 util.pl, NONE, 1.1 Message-ID: <20080209125402.7146010FE6E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/perl In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/connectors/perl Added Files: basexml.pl commands.pl connector.cgi io.pl upload.cgi upload_fck.pl util.pl Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: upload.cgi --- #!/usr/bin/env perl ##### # FCKeditor - The text editor for Internet - http://www.fckeditor.net # Copyright (C) 2003-2007 Frederico Caldeira Knabben # # == BEGIN LICENSE == # # Licensed under the terms of any of the following licenses at your # choice: # # - GNU General Public License Version 2 or later (the "GPL") # http://www.gnu.org/licenses/gpl.html # # - GNU Lesser General Public License Version 2.1 or later (the "LGPL") # http://www.gnu.org/licenses/lgpl.html # # - Mozilla Public License Version 1.1 or later (the "MPL") # http://www.mozilla.org/MPL/MPL-1.1.html # # == END LICENSE == # # This is the File Manager Connector for Perl. ##### ## # ATTENTION: To enable this connector, look for the "SECURITY" comment in this file. ## ## START: Hack for Windows (Not important to understand the editor code... Perl specific). if(Windows_check()) { chdir(GetScriptPath($0)); } sub Windows_check { # IIS,PWS(NT/95) $www_server_os = $^O; # Win98 & NT(SP4) if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; } # AnHTTPd/Omni/IIS if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; } # Win Apache if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; } if($www_server_os=~ /win/i) { return(1); } return(0); } sub GetScriptPath { local($path) = @_; if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; } $path; } ## END: Hack for IIS require 'util.pl'; require 'io.pl'; require 'basexml.pl'; require 'commands.pl'; require 'upload_fck.pl'; ## # SECURITY: REMOVE/COMMENT THE FOLLOWING LINE TO ENABLE THIS CONNECTOR. ## &SendUploadResults(1, '', '', 'This connector is disabled. Please check the "editor/filemanager/connectors/perl/upload.cgi" file' ) ; &read_input(); if($FORM{'ServerPath'} ne "") { $GLOBALS{'UserFilesPath'} = $FORM{'ServerPath'}; if(!($GLOBALS{'UserFilesPath'} =~ /\/$/)) { $GLOBALS{'UserFilesPath'} .= '/' ; } } else { $GLOBALS{'UserFilesPath'} = '/userfiles/'; } # Map the "UserFiles" path to a local directory. $rootpath = &GetRootPath(); $GLOBALS{'UserFilesDirectory'} = $rootpath . $GLOBALS{'UserFilesPath'}; &DoResponse(); sub DoResponse { # Get the main request information. $sCommand = 'FileUpload'; #$FORM{'Command'}; $sResourceType = $FORM{'Type'}; $sCurrentFolder = $FORM{'CurrentFolder'}; if ($sResourceType eq '') { $sResourceType = 'File' ; } if ($sCurrentFolder eq '') { $sCurrentFolder = '/' ; } # Check the current folder syntax (must begin and start with a slash). if(!($sCurrentFolder =~ /\/$/)) { $sCurrentFolder .= '/'; } if(!($sCurrentFolder =~ /^\//)) { $sCurrentFolder = '/' . $sCurrentFolder; } # Check for invalid folder paths (..) if ( $sCurrentFolder =~ /\.\./ ) { SendError( 102, "" ) ; } # File Upload doesn't have to Return XML, so it must be intercepted before anything. if($sCommand eq 'FileUpload') { FileUpload($sResourceType,$sCurrentFolder); return ; } } --- NEW FILE: commands.pl --- ##### # FCKeditor - The text editor for Internet - http://www.fckeditor.net # Copyright (C) 2003-2007 Frederico Caldeira Knabben # # == BEGIN LICENSE == # # Licensed under the terms of any of the following licenses at your # choice: # # - GNU General Public License Version 2 or later (the "GPL") # http://www.gnu.org/licenses/gpl.html # # - GNU Lesser General Public License Version 2.1 or later (the "LGPL") # http://www.gnu.org/licenses/lgpl.html # # - Mozilla Public License Version 1.1 or later (the "MPL") # http://www.mozilla.org/MPL/MPL-1.1.html # # == END LICENSE == # # This is the File Manager Connector for Perl. ##### sub GetFolders { local($resourceType, $currentFolder) = @_; # Map the virtual path to the local server path. $sServerDir = &ServerMapFolder($resourceType, $currentFolder); print ""; # Open the "Folders" node. opendir(DIR,"$sServerDir"); @files = grep(!/^\.\.?$/,readdir(DIR)); closedir(DIR); foreach $sFile (@files) { if($sFile != '.' && $sFile != '..' && (-d "$sServerDir$sFile")) { $cnv_filename = &ConvertToXmlAttribute($sFile); print ''; } } print ""; # Close the "Folders" node. } sub GetFoldersAndFiles { local($resourceType, $currentFolder) = @_; # Map the virtual path to the local server path. $sServerDir = &ServerMapFolder($resourceType,$currentFolder); # Initialize the output buffers for "Folders" and "Files". $sFolders = ''; $sFiles = ''; opendir(DIR,"$sServerDir"); @files = grep(!/^\.\.?$/,readdir(DIR)); closedir(DIR); foreach $sFile (@files) { if($sFile ne '.' && $sFile ne '..') { if(-d "$sServerDir$sFile") { $cnv_filename = &ConvertToXmlAttribute($sFile); $sFolders .= '' ; } else { ($iFileSize,$refdate,$filedate,$fileperm) = (stat("$sServerDir$sFile"))[7,8,9,2]; if($iFileSize > 0) { $iFileSize = int($iFileSize / 1024); if($iFileSize < 1) { $iFileSize = 1; } } $cnv_filename = &ConvertToXmlAttribute($sFile); $sFiles .= '' ; } } } print $sFolders ; print ''; # Close the "Folders" node. print $sFiles ; print ''; # Close the "Files" node. } sub CreateFolder { local($resourceType, $currentFolder) = @_; $sErrorNumber = '0' ; $sErrorMsg = '' ; if($FORM{'NewFolderName'} ne "") { $sNewFolderName = $FORM{'NewFolderName'}; # Map the virtual path to the local server path of the current folder. $sServerDir = &ServerMapFolder($resourceType, $currentFolder); if(-w $sServerDir) { $sServerDir .= $sNewFolderName; $sErrorMsg = &CreateServerFolder($sServerDir); if($sErrorMsg == 0) { $sErrorNumber = '0'; } elsif($sErrorMsg eq 'Invalid argument' || $sErrorMsg eq 'No such file or directory') { $sErrorNumber = '102'; #// Path too long. } else { $sErrorNumber = '110'; } } else { $sErrorNumber = '103'; } } else { $sErrorNumber = '102' ; } # Create the "Error" node. $cnv_errmsg = &ConvertToXmlAttribute($sErrorMsg); print ''; } sub FileUpload { eval("use File::Copy;"); local($resourceType, $currentFolder) = @_; $sErrorNumber = '0' ; $sFileName = '' ; if($new_fname) { # Map the virtual path to the local server path. $sServerDir = &ServerMapFolder($resourceType,$currentFolder); # Get the uploaded file name. $sFileName = $new_fname; $sOriginalFileName = $sFileName; $iCounter = 0; while(1) { $sFilePath = $sServerDir . $sFileName; if(-e $sFilePath) { $iCounter++ ; ($path,$BaseName,$ext) = &RemoveExtension($sOriginalFileName); $sFileName = $BaseName . '(' . $iCounter . ').' . $ext; $sErrorNumber = '201'; } else { copy("$img_dir/$new_fname","$sFilePath"); chmod(0777,$sFilePath); unlink("$img_dir/$new_fname"); last; } } } else { $sErrorNumber = '202' ; } $sFileName =~ s/"/\\"/g; SendUploadResults($sErrorNumber, $resourceType.$currentFolder.$sFileName, $sFileName, ''); } sub SendUploadResults { local($sErrorNumber, $sFileUrl, $sFileName, $customMsg) = @_; print "Content-type: text/html\n\n"; print ''; exit ; } 1; --- NEW FILE: connector.cgi --- #!/usr/bin/env perl ##### # FCKeditor - The text editor for Internet - http://www.fckeditor.net # Copyright (C) 2003-2007 Frederico Caldeira Knabben # # == BEGIN LICENSE == # # Licensed under the terms of any of the following licenses at your # choice: # # - GNU General Public License Version 2 or later (the "GPL") # http://www.gnu.org/licenses/gpl.html # # - GNU Lesser General Public License Version 2.1 or later (the "LGPL") # http://www.gnu.org/licenses/lgpl.html # # - Mozilla Public License Version 1.1 or later (the "MPL") # http://www.mozilla.org/MPL/MPL-1.1.html # # == END LICENSE == # # This is the File Manager Connector for Perl. ##### ## # ATTENTION: To enable this connector, look for the "SECURITY" comment in this file. ## ## START: Hack for Windows (Not important to understand the editor code... Perl specific). if(Windows_check()) { chdir(GetScriptPath($0)); } sub Windows_check { # IIS,PWS(NT/95) $www_server_os = $^O; # Win98 & NT(SP4) if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; } # AnHTTPd/Omni/IIS if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; } # Win Apache if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; } if($www_server_os=~ /win/i) { return(1); } return(0); } sub GetScriptPath { local($path) = @_; if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; } $path; } ## END: Hack for IIS require 'util.pl'; require 'io.pl'; require 'basexml.pl'; require 'commands.pl'; require 'upload_fck.pl'; ## # SECURITY: REMOVE/COMMENT THE FOLLOWING LINE TO ENABLE THIS CONNECTOR. ## &SendError( 1, 'This connector is disabled. Please check the "editor/filemanager/connectors/perl/connector.cgi" file' ) ; &read_input(); if($FORM{'ServerPath'} ne "") { $GLOBALS{'UserFilesPath'} = $FORM{'ServerPath'}; if(!($GLOBALS{'UserFilesPath'} =~ /\/$/)) { $GLOBALS{'UserFilesPath'} .= '/' ; } } else { $GLOBALS{'UserFilesPath'} = '/userfiles/'; } # Map the "UserFiles" path to a local directory. $rootpath = &GetRootPath(); $GLOBALS{'UserFilesDirectory'} = $rootpath . $GLOBALS{'UserFilesPath'}; &DoResponse(); sub DoResponse { if($FORM{'Command'} eq "" || $FORM{'Type'} eq "" || $FORM{'CurrentFolder'} eq "") { return ; } # Get the main request informaiton. $sCommand = $FORM{'Command'}; $sResourceType = $FORM{'Type'}; $sCurrentFolder = $FORM{'CurrentFolder'}; # Check the current folder syntax (must begin and start with a slash). if(!($sCurrentFolder =~ /\/$/)) { $sCurrentFolder .= '/'; } if(!($sCurrentFolder =~ /^\//)) { $sCurrentFolder = '/' . $sCurrentFolder; } # Check for invalid folder paths (..) if ( $sCurrentFolder =~ /\.\./ ) { SendError( 102, "" ) ; } # File Upload doesn't have to Return XML, so it must be intercepted before anything. if($sCommand eq 'FileUpload') { FileUpload($sResourceType,$sCurrentFolder); return ; } print << "_HTML_HEAD_"; Content-Type:text/xml; charset=utf-8 Pragma: no-cache Cache-Control: no-cache Expires: Thu, 01 Dec 1994 16:00:00 GMT _HTML_HEAD_ &CreateXmlHeader($sCommand,$sResourceType,$sCurrentFolder); # Execute the required command. if($sCommand eq 'GetFolders') { &GetFolders($sResourceType,$sCurrentFolder); } elsif($sCommand eq 'GetFoldersAndFiles') { &GetFoldersAndFiles($sResourceType,$sCurrentFolder); } elsif($sCommand eq 'CreateFolder') { &CreateFolder($sResourceType,$sCurrentFolder); } &CreateXmlFooter(); exit ; } --- NEW FILE: upload_fck.pl --- ##### # FCKeditor - The text editor for Internet - http://www.fckeditor.net # Copyright (C) 2003-2007 Frederico Caldeira Knabben # # == BEGIN LICENSE == # # Licensed under the terms of any of the following licenses at your # choice: # # - GNU General Public License Version 2 or later (the "GPL") # http://www.gnu.org/licenses/gpl.html # # - GNU Lesser General Public License Version 2.1 or later (the "LGPL") # http://www.gnu.org/licenses/lgpl.html # # - Mozilla Public License Version 1.1 or later (the "MPL") # http://www.mozilla.org/MPL/MPL-1.1.html # # == END LICENSE == # # This is the File Manager Connector for Perl. ##### # image data save dir $img_dir = './temp/'; # File size max(unit KB) $MAX_CONTENT_SIZE = 30000; # Filelock (1=use,0=not use) $PM{'flock'} = '1'; # upload Content-Type list my %UPLOAD_CONTENT_TYPE_LIST = ( 'image/(x-)?png' => 'png', # PNG image 'image/p?jpe?g' => 'jpg', # JPEG image 'image/gif' => 'gif', # GIF image 'image/x-xbitmap' => 'xbm', # XBM image 'image/(x-(MS-)?)?bmp' => 'bmp', # Windows BMP image 'image/pict' => 'pict', # Macintosh PICT image 'image/tiff' => 'tif', # TIFF image 'application/pdf' => 'pdf', # PDF image 'application/x-shockwave-flash' => 'swf', # Shockwave Flash 'video/(x-)?msvideo' => 'avi', # Microsoft Video 'video/quicktime' => 'mov', # QuickTime Video 'video/mpeg' => 'mpeg', # MPEG Video 'video/x-mpeg2' => 'mpv2', # MPEG2 Video 'audio/(x-)?midi?' => 'mid', # MIDI Audio 'audio/(x-)?wav' => 'wav', # WAV Audio 'audio/basic' => 'au', # ULAW Audio 'audio/mpeg' => 'mpga', # MPEG Audio 'application/(x-)?zip(-compressed)?' => 'zip', # ZIP Compress 'text/html' => 'html', # HTML 'text/plain' => 'txt', # TEXT '(?:application|text)/(?:rtf|richtext)' => 'rtf', # RichText 'application/msword' => 'doc', # Microsoft Word 'application/vnd.ms-excel' => 'xls', # Microsoft Excel '' ); # Upload is permitted. # A regular expression is possible. my %UPLOAD_EXT_LIST = ( 'png' => 'PNG image', 'p?jpe?g|jpe|jfif|pjp' => 'JPEG image', 'gif' => 'GIF image', 'xbm' => 'XBM image', 'bmp|dib|rle' => 'Windows BMP image', 'pi?ct' => 'Macintosh PICT image', 'tiff?' => 'TIFF image', 'pdf' => 'PDF image', 'swf' => 'Shockwave Flash', 'avi' => 'Microsoft Video', 'moo?v|qt' => 'QuickTime Video', 'm(p(e?gv?|e|v)|1v)' => 'MPEG Video', 'mp(v2|2v)' => 'MPEG2 Video', 'midi?|kar|smf|rmi|mff' => 'MIDI Audio', 'wav' => 'WAVE Audio', 'au|snd' => 'ULAW Audio', 'mp(e?ga|2|a|3)|abs' => 'MPEG Audio', 'zip' => 'ZIP Compress', 'lzh' => 'LZH Compress', 'cab' => 'CAB Compress', 'd?html?' => 'HTML', 'rtf|rtx' => 'RichText', 'txt|text' => 'Text', '' ); # sjis or euc my $CHARCODE = 'sjis'; $TRANS_2BYTE_CODE = 0; ############################################################################## # Summary # # Form Read input # # Parameters # Returns # Memo ############################################################################## sub read_input { eval("use File::Copy;"); eval("use File::Path;"); my ($FORM) = @_; mkdir($img_dir,0777); chmod(0777,$img_dir); undef $img_data_exists; undef @NEWFNAMES; undef @NEWFNAME_DATA; if($ENV{'CONTENT_LENGTH'} > 10000000 || $ENV{'CONTENT_LENGTH'} > $MAX_CONTENT_SIZE * 1024) { &upload_error( 'Size Error', sprintf( "Transmitting size is too large.MAX %d KB Now Size %d KB(%d bytes Over)", $MAX_CONTENT_SIZE, int($ENV{'CONTENT_LENGTH'} / 1024), $ENV{'CONTENT_LENGTH'} - $MAX_CONTENT_SIZE * 1024 ) ); } my $Buffer; if($ENV{'CONTENT_TYPE'} =~ /multipart\/form-data/) { # METHOD POST only return unless($ENV{'CONTENT_LENGTH'}); binmode(STDIN); # STDIN A pause character is detected.'(MacIE3.0 boundary of $ENV{'CONTENT_TYPE'} cannot be trusted.) my $Boundary = ; $Boundary =~ s/\x0D\x0A//; $Boundary = quotemeta($Boundary); while() { if(/^\s*Content-Disposition:/i) { my($name,$ContentType,$FileName); # form data get if(/\bname="([^"]+)"/i || /\bname=([^\s:;]+)/i) { $name = $1; $name =~ tr/+/ /; $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; &Encode(\$name); } if(/\bfilename="([^"]*)"/i || /\bfilename=([^\s:;]*)/i) { $FileName = $1 || 'unknown'; } # head read while() { last if(! /\w/); if(/^\s*Content-Type:\s*"([^"]+)"/i || /^\s*Content-Type:\s*([^\s:;]+)/i) { $ContentType = $1; } } # body read $value = ""; while() { last if(/^$Boundary/o); $value .= $_; }; $lastline = $_; $value =~s /\x0D\x0A$//; if($value ne '') { if($FileName || $ContentType) { $img_data_exists = 1; ( $FileName, # $Ext, # $Length, # $ImageWidth, # $ImageHeight, # $ContentName # ) = &CheckContentType(\$value,$FileName,$ContentType); $FORM{$name} = $FileName; $new_fname = $FileName; push(@NEWFNAME_DATA,"$FileName\t$Ext\t$Length\t$ImageWidth\t$ImageHeight\t$ContentName"); # Multi-upload correspondence push(@NEWFNAMES,$new_fname); open(OUT,">$img_dir/$new_fname"); binmode(OUT); eval "flock(OUT,2);" if($PM{'flock'} == 1); print OUT $value; eval "flock(OUT,8);" if($PM{'flock'} == 1); close(OUT); } elsif($name) { $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; &Encode(\$value,'trans'); $FORM{$name} .= "\0" if(defined($FORM{$name})); $FORM{$name} .= $value; } } }; last if($lastline =~ /^$Boundary\-\-/o); } } elsif($ENV{'CONTENT_LENGTH'}) { read(STDIN,$Buffer,$ENV{'CONTENT_LENGTH'}); } foreach(split(/&/,$Buffer),split(/&/,$ENV{'QUERY_STRING'})) { my($name, $value) = split(/=/); $name =~ tr/+/ /; $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; &Encode(\$name); &Encode(\$value,'trans'); $FORM{$name} .= "\0" if(defined($FORM{$name})); $FORM{$name} .= $value; } } ############################################################################## # Summary # # CheckContentType # # Parameters # Returns # Memo ############################################################################## sub CheckContentType { my($DATA,$FileName,$ContentType) = @_; my($Ext,$ImageWidth,$ImageHeight,$ContentName,$Infomation); my $DataLength = length($$DATA); # An unknown file type $_ = $ContentType; my $UnknownType = ( !$_ || /^application\/(x-)?macbinary$/i || /^application\/applefile$/i || /^application\/octet-stream$/i || /^text\/plane$/i || /^x-unknown-content-type/i ); # MacBinary(Mac Unnecessary data are deleted.) if($UnknownType || $ENV{'HTTP_USER_AGENT'} =~ /Macintosh|Mac_/) { if($DataLength > 128 && !unpack("C",substr($$DATA,0,1)) && !unpack("C",substr($$DATA,74,1)) && !unpack("C",substr($$DATA,82,1)) ) { my $MacBinary_ForkLength = unpack("N", substr($$DATA, 83, 4)); # ForkLength Get my $MacBinary_FileName = quotemeta(substr($$DATA, 2, unpack("C",substr($$DATA, 1, 1)))); if($MacBinary_FileName && $MacBinary_ForkLength && $DataLength >= $MacBinary_ForkLength + 128 && ($FileName =~ /$MacBinary_FileName/i || substr($$DATA,102,4) eq 'mBIN')) { # DATA TOP 128byte MacBinary!! $$DATA = substr($$DATA,128,$MacBinary_ForkLength); my $ResourceLength = $DataLength - $MacBinary_ForkLength - 128; $DataLength = $MacBinary_ForkLength; } } } # A file name is changed into EUC. # &jcode::convert(\$FileName,'euc',$FormCodeDefault); # &jcode::h2z_euc(\$FileName); $FileName =~ s/^.*\\//; # Windows, Mac $FileName =~ s/^.*\///; # UNIX $FileName =~ s/&/&/g; $FileName =~ s/"/"/g; $FileName =~ s//>/g; # # if($CHARCODE ne 'euc') { # &jcode::convert(\$FileName,$CHARCODE,'euc'); # } # An extension is extracted and it changes into a small letter. my $FileExt; if($FileName =~ /\.(\w+)$/) { $FileExt = $1; $FileExt =~ tr/A-Z/a-z/; } # Executable file detection (ban on upload) if($$DATA =~ /^MZ/) { $Ext = 'exe'; } # text if(!$Ext && ($UnknownType || $ContentType =~ /^text\//i || $ContentType =~ /^application\/(?:rtf|richtext)$/i || $ContentType =~ /^image\/x-xbitmap$/i) && ! $$DATA =~ /[\000-\006\177\377]/) { # $$DATA =~ s/\x0D\x0A/\n/g; # $$DATA =~ tr/\x0D\x0A/\n\n/; # # if( # $$DATA =~ /<\s*SCRIPT(?:.|\n)*?>/i # || $$DATA =~ /<\s*(?:.|\n)*?\bONLOAD\s*=(?:.|\n)*?>/i # || $$DATA =~ /<\s*(?:.|\n)*?\bONCLICK\s*=(?:.|\n)*?>/i # ) { # $Infomation = '(JavaScript contains)'; # } # if($$DATA =~ /<\s*TABLE(?:.|\n)*?>/i # || $$DATA =~ /<\s*BLINK(?:.|\n)*?>/i # || $$DATA =~ /<\s*MARQUEE(?:.|\n)*?>/i # || $$DATA =~ /<\s*OBJECT(?:.|\n)*?>/i # || $$DATA =~ /<\s*EMBED(?:.|\n)*?>/i # || $$DATA =~ /<\s*FRAME(?:.|\n)*?>/i # || $$DATA =~ /<\s*APPLET(?:.|\n)*?>/i # || $$DATA =~ /<\s*FORM(?:.|\n)*?>/i # || $$DATA =~ /<\s*(?:.|\n)*?\bSRC\s*=(?:.|\n)*?>/i # || $$DATA =~ /<\s*(?:.|\n)*?\bDYNSRC\s*=(?:.|\n)*?>/i # ) { # $Infomation = '(the HTML tag which is not safe is included)'; # } if($FileExt =~ /^txt$/i || $FileExt =~ /^cgi$/i || $FileExt =~ /^pl$/i) { # Text File $Ext = 'txt'; } elsif($ContentType =~ /^text\/html$/i || $FileExt =~ /html?/i || $$DATA =~ /<\s*HTML(?:.|\n)*?>/i) { # HTML File $Ext = 'html'; } elsif($ContentType =~ /^image\/x-xbitmap$/i || $FileExt =~ /^xbm$/i) { # XBM(x-BitMap) Image my $XbmName = $1; my ($XbmWidth, $XbmHeight); if($$DATA =~ /\#define\s*$XbmName\_width\s*(\d+)/i) { $XbmWidth = $1; } if($$DATA =~ /\#define\s*$XbmName\_height\s*(\d+)/i) { $XbmHeight = $1; } if($XbmWidth && $XbmHeight) { $Ext = 'xbm'; $ImageWidth = $XbmWidth; $ImageHeight = $XbmHeight; } } else { # $Ext = 'txt'; } } # image if(!$Ext && ($UnknownType || $ContentType =~ /^image\//i)) { # PNG if($$DATA =~ /^\x89PNG\x0D\x0A\x1A\x0A/) { if(substr($$DATA, 12, 4) eq 'IHDR') { $Ext = 'png'; ($ImageWidth, $ImageHeight) = unpack("N2", substr($$DATA, 16, 8)); } } elsif($$DATA =~ /^GIF8(?:9|7)a/) { # GIF89a(modified), GIF89a, GIF87a $Ext = 'gif'; ($ImageWidth, $ImageHeight) = unpack("v2", substr($$DATA, 6, 4)); } elsif($$DATA =~ /^II\x2a\x00\x08\x00\x00\x00/ || $$DATA =~ /^MM\x00\x2a\x00\x00\x00\x08/) { # TIFF $Ext = 'tif'; } elsif($$DATA =~ /^BM/) { # BMP $Ext = 'bmp'; } elsif($$DATA =~ /^\xFF\xD8\xFF/ || $$DATA =~ /JFIF/) { # JPEG my $HeaderPoint = index($$DATA, "\xFF\xD8\xFF", 0); my $Point = $HeaderPoint + 2; while($Point < $DataLength) { my($Maker, $MakerType, $MakerLength) = unpack("C2n",substr($$DATA,$Point,4)); if($Maker != 0xFF || $MakerType == 0xd9 || $MakerType == 0xda) { last; } elsif($MakerType >= 0xC0 && $MakerType <= 0xC3) { $Ext = 'jpg'; ($ImageHeight, $ImageWidth) = unpack("n2", substr($$DATA, $Point + 5, 4)); if($HeaderPoint > 0) { $$DATA = substr($$DATA, $HeaderPoint); $DataLength = length($$DATA); } last; } else { $Point += $MakerLength + 2; } } } } # audio if(!$Ext && ($UnknownType || $ContentType =~ /^audio\//i)) { # MIDI Audio if($$DATA =~ /^MThd/) { $Ext = 'mid'; } elsif($$DATA =~ /^\x2esnd/) { # ULAW Audio $Ext = 'au'; } elsif($$DATA =~ /^RIFF/ || $$DATA =~ /^ID3/ && $$DATA =~ /RIFF/) { my $HeaderPoint = index($$DATA, "RIFF", 0); $_ = substr($$DATA, $HeaderPoint + 8, 8); if(/^WAVEfmt $/) { # WAVE if(unpack("V",substr($$DATA, $HeaderPoint + 16, 4)) == 16) { $Ext = 'wav'; } else { # RIFF WAVE MP3 $Ext = 'mp3'; } } elsif(/^RMIDdata$/) { # RIFF MIDI $Ext = 'rmi'; } elsif(/^RMP3data$/) { # RIFF MP3 $Ext = 'rmp'; } if($ContentType =~ /^audio\//i) { $Infomation .= '(RIFF '. substr($$DATA, $HeaderPoint + 8, 4). ')'; } } } # a binary file unless ($Ext) { # PDF image if($$DATA =~ /^\%PDF/) { # Picture size is not measured. $Ext = 'pdf'; } elsif($$DATA =~ /^FWS/) { # Shockwave Flash $Ext = 'swf'; } elsif($$DATA =~ /^RIFF/ || $$DATA =~ /^ID3/ && $$DATA =~ /RIFF/) { my $HeaderPoint = index($$DATA, "RIFF", 0); $_ = substr($$DATA,$HeaderPoint + 8, 8); # AVI if(/^AVI LIST$/) { $Ext = 'avi'; } if($ContentType =~ /^video\//i) { $Infomation .= '(RIFF '. substr($$DATA, $HeaderPoint + 8, 4). ')'; } } elsif($$DATA =~ /^PK/) { # ZIP Compress File $Ext = 'zip'; } elsif($$DATA =~ /^MSCF/) { # CAB Compress File $Ext = 'cab'; } elsif($$DATA =~ /^Rar\!/) { # RAR Compress File $Ext = 'rar'; } elsif(substr($$DATA, 2, 5) =~ /^\-lh(\d+|d)\-$/) { # LHA Compress File $Infomation .= "(lh$1)"; $Ext = 'lzh'; } elsif(substr($$DATA, 325, 25) eq "Apple Video Media Handler" || substr($$DATA, 325, 30) eq "Apple \x83\x72\x83\x66\x83\x49\x81\x45\x83\x81\x83\x66\x83\x42\x83\x41\x83\x6E\x83\x93\x83\x68\x83\x89") { # QuickTime $Ext = 'mov'; } } # Header analysis failure unless ($Ext) { # It will be followed if it applies for the MIME type from the browser. foreach (keys %UPLOAD_CONTENT_TYPE_LIST) { next unless ($_); if($ContentType =~ /^$_$/i) { $Ext = $UPLOAD_CONTENT_TYPE_LIST{$_}; $ContentName = &CheckContentExt($Ext); if( grep {$_ eq $Ext;} ( 'png', 'gif', 'jpg', 'xbm', 'tif', 'bmp', 'pdf', 'swf', 'mov', 'zip', 'cab', 'lzh', 'rar', 'mid', 'rmi', 'au', 'wav', 'avi', 'exe' ) ) { $Infomation .= ' / Header analysis failure'; } if($Ext ne $FileExt && &CheckContentExt($FileExt) eq $ContentName) { $Ext = $FileExt; } last; } } # a MIME type is unknown--It judges from an extension. unless ($Ext) { $ContentName = &CheckContentExt($FileExt); if($ContentName) { $Ext = $FileExt; $Infomation .= ' / MIME type is unknown('. $ContentType. ')'; last; } } } # $ContentName = &CheckContentExt($Ext) unless($ContentName); # if($Ext && $ContentName) { # $ContentName .= $Infomation; # } else { # &upload_error( # 'Extension Error', # "$FileName A not corresponding extension ($Ext)
    The extension which can be responded ". join(',', sort values(%UPLOAD_EXT_LIST)) # ); # } # # SSI Tag Deletion # if($Ext =~ /.?html?/ && $$DATA =~ /<\!/) { # foreach ( # 'config', # 'echo', # 'exec', # 'flastmod', # 'fsize', # 'include' # ) { # $$DATA =~ s/\#\s*$_/\&\#35\;$_/ig # } # } return ( $FileName, $Ext, int($DataLength / 1024 + 1), $ImageWidth, $ImageHeight, $ContentName ); } ############################################################################## # Summary # # Extension discernment # # Parameters # Returns # Memo ############################################################################## sub CheckContentExt { my($Ext) = @_; my $ContentName; foreach (keys %UPLOAD_EXT_LIST) { next unless ($_); if($_ && $Ext =~ /^$_$/) { $ContentName = $UPLOAD_EXT_LIST{$_}; last; } } return $ContentName; } ############################################################################## # Summary # # Form decode # # Parameters # Returns # Memo ############################################################################## sub Encode { my($value,$Trans) = @_; # my $FormCode = &jcode::getcode($value) || $FormCodeDefault; # $FormCodeDefault ||= $FormCode; # # if($Trans && $TRANS_2BYTE_CODE) { # if($FormCode ne 'euc') { # &jcode::convert($value, 'euc', $FormCode); # } # &jcode::tr( # $value, # "\xA3\xB0-\xA3\xB9\xA3\xC1-\xA3\xDA\xA3\xE1-\xA3\xFA", # '0-9A-Za-z' # ); # if($CHARCODE ne 'euc') { # &jcode::convert($value,$CHARCODE,'euc'); # } # } else { # if($CHARCODE ne $FormCode) { # &jcode::convert($value,$CHARCODE,$FormCode); # } # } # if($CHARCODE eq 'euc') { # &jcode::h2z_euc($value); # } elsif($CHARCODE eq 'sjis') { # &jcode::h2z_sjis($value); # } } ############################################################################## # Summary # # Error Msg # # Parameters # Returns # Memo ############################################################################## sub upload_error { local($error_message) = $_[0]; local($error_message2) = $_[1]; print "Content-type: text/html\n\n"; print< Error Message
    Error Message

      $error_message

      $error_message2
    EOF &rm_tmp_uploaded_files; # Image Temporary deletion exit; } ############################################################################## # Summary # # Image Temporary deletion # # Parameters # Returns # Memo ############################################################################## sub rm_tmp_uploaded_files { if($img_data_exists == 1){ sleep 1; foreach $fname_list(@NEWFNAMES) { if(-e "$img_dir/$fname_list") { unlink("$img_dir/$fname_list"); } } } } 1; --- NEW FILE: util.pl --- ##### # FCKeditor - The text editor for Internet - http://www.fckeditor.net # Copyright (C) 2003-2007 Frederico Caldeira Knabben # # == BEGIN LICENSE == # # Licensed under the terms of any of the following licenses at your # choice: # # - GNU General Public License Version 2 or later (the "GPL") # http://www.gnu.org/licenses/gpl.html # # - GNU Lesser General Public License Version 2.1 or later (the "LGPL") # http://www.gnu.org/licenses/lgpl.html # # - Mozilla Public License Version 1.1 or later (the "MPL") # http://www.mozilla.org/MPL/MPL-1.1.html # # == END LICENSE == # # This is the File Manager Connector for Perl. ##### sub RemoveFromStart { local($sourceString, $charToRemove) = @_; $sPattern = '^' . $charToRemove . '+' ; $sourceString =~ s/^$charToRemove+//g; return $sourceString; } sub RemoveFromEnd { local($sourceString, $charToRemove) = @_; $sPattern = $charToRemove . '+$' ; $sourceString =~ s/$charToRemove+$//g; return $sourceString; } sub ConvertToXmlAttribute { local($value) = @_; return $value; # return utf8_encode(htmlspecialchars($value)); } sub specialchar_cnv { local($ch) = @_; $ch =~ s/&/&/g; # & $ch =~ s/\"/"/g; #" $ch =~ s/\'/'/g; # ' $ch =~ s//>/g; # > return($ch); } sub JS_cnv { local($ch) = @_; $ch =~ s/\"/\\\"/g; #" return($ch); } 1; --- NEW FILE: io.pl --- ##### # FCKeditor - The text editor for Internet - http://www.fckeditor.net # Copyright (C) 2003-2007 Frederico Caldeira Knabben # # == BEGIN LICENSE == # # Licensed under the terms of any of the following licenses at your # choice: # # - GNU General Public License Version 2 or later (the "GPL") # http://www.gnu.org/licenses/gpl.html # # - GNU Lesser General Public License Version 2.1 or later (the "LGPL") # http://www.gnu.org/licenses/lgpl.html # # - Mozilla Public License Version 1.1 or later (the "MPL") # http://www.mozilla.org/MPL/MPL-1.1.html # # == END LICENSE == # # This is the File Manager Connector for Perl. ##### sub GetUrlFromPath { local($resourceType, $folderPath) = @_; if($resourceType eq '') { $rmpath = &RemoveFromEnd($GLOBALS{'UserFilesPath'},'/'); return("$rmpath$folderPath"); } else { return("$GLOBALS{'UserFilesPath'}$resourceType$folderPath"); } } sub RemoveExtension { local($fileName) = @_; local($path, $base, $ext); if($fileName !~ /\./) { $fileName .= '.'; } if($fileName =~ /([^\\\/]*)\.(.*)$/) { $base = $1; $ext = $2; if($fileName =~ /(.*)$base\.$ext$/) { $path = $1; } } return($path,$base,$ext); } sub ServerMapFolder { local($resourceType,$folderPath) = @_; # Get the resource type directory. $sResourceTypePath = $GLOBALS{'UserFilesDirectory'} . $resourceType . '/'; # Ensure that the directory exists. &CreateServerFolder($sResourceTypePath); # Return the resource type directory combined with the required path. $rmpath = &RemoveFromStart($folderPath,'/'); return("$sResourceTypePath$rmpath"); } sub GetParentFolder { local($folderPath) = @_; $folderPath =~ s/[\/][^\/]+[\/]?$//g; return $folderPath; } sub CreateServerFolder { local($folderPath) = @_; $sParent = &GetParentFolder($folderPath); # Check if the parent exists, or create it. if(!(-e $sParent)) { $sErrorMsg = &CreateServerFolder($sParent); if($sErrorMsg == 1) { return(1); } } if(!(-e $folderPath)) { umask(000); mkdir("$folderPath",0777); chmod(0777,"$folderPath"); return(0); } else { return(1); } } sub GetRootPath { #use Cwd; # my $dir = getcwd; # print $dir; # $dir =~ s/$ENV{'DOCUMENT_ROOT'}//g; # print $dir; # return($dir); # $wk = $0; # $wk =~ s/\/connector\.cgi//g; # if($wk) { # $current_dir = $wk; # } else { # $current_dir = `pwd`; # } # return($current_dir); use Cwd; if($ENV{'DOCUMENT_ROOT'}) { $dir = $ENV{'DOCUMENT_ROOT'}; } else { my $dir = getcwd; $workdir =~ s/\/connector\.cgi//g; $dir =~ s/$workdir//g; } return($dir); } 1; --- NEW FILE: basexml.pl --- ##### # FCKeditor - The text editor for Internet - http://www.fckeditor.net # Copyright (C) 2003-2007 Frederico Caldeira Knabben # # == BEGIN LICENSE == # # Licensed under the terms of any of the following licenses at your # choice: # # - GNU General Public License Version 2 or later (the "GPL") # http://www.gnu.org/licenses/gpl.html # # - GNU Lesser General Public License Version 2.1 or later (the "LGPL") # http://www.gnu.org/licenses/lgpl.html # # - Mozilla Public License Version 1.1 or later (the "MPL") # http://www.mozilla.org/MPL/MPL-1.1.html # # == END LICENSE == # # This is the File Manager Connector for Perl. ##### sub CreateXmlHeader { local($command,$resourceType,$currentFolder) = @_; # Create the XML document header. print ''; # Create the main "Connector" node. print ''; # Add the current folder node. print ''; } sub CreateXmlFooter { print ''; } sub SendError { local( $number, $text ) = @_; print << "_HTML_HEAD_"; Content-Type:text/xml; charset=utf-8 Pragma: no-cache Cache-Control: no-cache Expires: Thu, 01 Dec 1994 16:00:00 GMT _HTML_HEAD_ # Create the XML document header print '' ; print '' ; exit ; } 1; From blaine at qs1489.pair.com Sat Feb 9 07:54:03 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:03 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/plugins/simplecommands fckplugin.js, 1.2, 1.3 Message-ID: <20080209125403.08B8110FE81@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/plugins/simplecommands In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/plugins/simplecommands Added Files: fckplugin.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckplugin.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/cfm ImageObject.cfc, NONE, 1.1 cf5_connector.cfm, NONE, 1.1 cf5_upload.cfm, NONE, 1.1 cf_basexml.cfm, NONE, 1.1 cf_commands.cfm, NONE, 1.1 cf_connector.cfm, NONE, 1.1 cf_io.cfm, NONE, 1.1 cf_upload.cfm, NONE, 1.1 cf_util.cfm, NONE, 1.1 config.cfm, NONE, 1.1 connector.cfm, NONE, 1.1 image.cfc, NONE, 1.1 upload.cfm, NONE, 1.1 Message-ID: <20080209125402.547FC10FE6C@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/cfm In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/connectors/cfm Added Files: ImageObject.cfc cf5_connector.cfm cf5_upload.cfm cf_basexml.cfm cf_commands.cfm cf_connector.cfm cf_io.cfm cf_upload.cfm cf_util.cfm config.cfm connector.cfm image.cfc upload.cfm Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: cf_connector.cfm --- --- NEW FILE: image.cfc --- --- NEW FILE: ImageObject.cfc --- --- NEW FILE: connector.cfm --- --- NEW FILE: cf_commands.cfm --- sFileExt = GetExtension( sFileName ) ; sFilePart = RemoveExtension( sFileName ); while( fileExists( sServerDir & sFileName ) ) { counter = counter + 1; sFileName = sFilePart & '(#counter#).' & CFFILE.ClientFileExt; errorNumber = 201; } while( i lte qDir.recordCount ) { if( compareNoCase( qDir.type[i], "FILE" ) and not listFind( ".,..", qDir.name[i] ) ) { folders = folders & '' ; } i = i + 1; } #folders# while( i lte qDir.recordCount ) { if( not compareNoCase( qDir.type[i], "DIR" ) and not listFind( ".,..", qDir.name[i] ) ) { folders = folders & '' ; } else if( not compareNoCase( qDir.type[i], "FILE" ) ) { fileSizeKB = round(qDir.size[i] / 1024) ; files = files & '' ; } i = i + 1 ; } #folders# #files# sNewFolderName = SanitizeFolderName( sNewFolderName ) ; --- NEW FILE: config.cfm --- Config = StructNew() ; // SECURITY: You must explicitly enable this "connector". (Set enabled to "true") Config.Enabled = true ; // Path to uploaded files relative to the document root. Config.UserFilesPath = "/userfiles/" ; // Use this to force the server path if FCKeditor is not running directly off // the root of the application or the FCKeditor directory in the URL is a virtual directory // or a symbolic link / junction // Example: C:\inetpub\wwwroot\myDocs\ Config.ServerPath = "" ; // Due to security issues with Apache modules, it is recommended to leave the // following setting enabled. Config.ForceSingleExtension = true ; // Perform additional checks for image files - if set to true, validate image size // (This feature works in MX 6.0 and above) Config.SecureImageUploads = true; // What the user can do with this connector Config.ConfigAllowedCommands = "QuickUpload,FileUpload,GetFolders,GetFoldersAndFiles,CreateFolder" ; //Allowed Resource Types Config.ConfigAllowedTypes = "File,Image,Flash,Media" ; // For security, HTML is allowed in the first Kb of data for files having the // following extensions only. // (This feature works in MX 6.0 and above)) Config.HtmlExtensions = "html,htm,xml,xsd,txt,js" ; // Configuration settings for each Resource Type // // - AllowedExtensions: the possible extensions that can be allowed. // If it is empty then any file type can be uploaded. // - DeniedExtensions: The extensions that won't be allowed. // If it is empty then no restrictions are done here. // // For a file to be uploaded it has to fulfill both the AllowedExtensions // and DeniedExtensions (that's it: not being denied) conditions. // // - FileTypesPath: the virtual folder relative to the document root where // these resources will be located. // Attention: It must start and end with a slash: '/' // // - FileTypesAbsolutePath: the physical path to the above folder. It must be // an absolute path. // If it's an empty string then it will be autocalculated. // Usefull if you are using a virtual directory, symbolic link or alias. // Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. // Attention: The above 'FileTypesPath' must point to the same directory. // Attention: It must end with a slash: '/' // // // - QuickUploadPath: the virtual folder relative to the document root where // these resources will be uploaded using the Upload tab in the resources // dialogs. // Attention: It must start and end with a slash: '/' // // - QuickUploadAbsolutePath: the physical path to the above folder. It must be // an absolute path. // If it's an empty string then it will be autocalculated. // Usefull if you are using a virtual directory, symbolic link or alias. // Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. // Attention: The above 'QuickUploadPath' must point to the same directory. // Attention: It must end with a slash: '/' Config.AllowedExtensions = StructNew() ; Config.DeniedExtensions = StructNew() ; Config.FileTypesPath = StructNew() ; Config.FileTypesAbsolutePath = StructNew() ; Config.QuickUploadPath = StructNew() ; Config.QuickUploadAbsolutePath = StructNew() ; Config.AllowedExtensions["File"] = "7z,aiff,asf,avi,bmp,csv,doc,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xml,zip" ; Config.DeniedExtensions["File"] = "" ; Config.FileTypesPath["File"] = Config.UserFilesPath & 'file/' ; Config.FileTypesAbsolutePath["File"] = iif( Config.ServerPath eq "", de(""), de(Config.ServerPath & 'file/') ) ; Config.QuickUploadPath["File"] = Config.FileTypesPath["File"] ; Config.QuickUploadAbsolutePath["File"] = Config.FileTypesAbsolutePath["File"] ; Config.AllowedExtensions["Image"] = "bmp,gif,jpeg,jpg,png" ; Config.DeniedExtensions["Image"] = "" ; Config.FileTypesPath["Image"] = Config.UserFilesPath & 'image/' ; Config.FileTypesAbsolutePath["Image"] = iif( Config.ServerPath eq "", de(""), de(Config.ServerPath & 'image/') ) ; Config.QuickUploadPath["Image"] = Config.FileTypesPath["Image"] ; Config.QuickUploadAbsolutePath["Image"] = Config.FileTypesAbsolutePath["Image"] ; Config.AllowedExtensions["Flash"] = "swf,flv" ; Config.DeniedExtensions["Flash"] = "" ; Config.FileTypesPath["Flash"] = Config.UserFilesPath & 'flash/' ; Config.FileTypesAbsolutePath["Flash"] = iif( Config.ServerPath eq "", de(""), de(Config.ServerPath & 'flash/') ) ; Config.QuickUploadPath["Flash"] = Config.FileTypesPath["Flash"] ; Config.QuickUploadAbsolutePath["Flash"] = Config.FileTypesAbsolutePath["Flash"] ; Config.AllowedExtensions["Media"] = "aiff,asf,avi,bmp,fla,flv,gif,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,png,qt,ram,rm,rmi,rmvb,swf,tif,tiff,wav,wma,wmv" ; Config.DeniedExtensions["Media"] = "" ; Config.FileTypesPath["Media"] = Config.UserFilesPath & 'media/' ; Config.FileTypesAbsolutePath["Media"] = iif( Config.ServerPath eq "", de(""), de(Config.ServerPath & 'media/') ) ; Config.QuickUploadPath["Media"] = Config.FileTypesPath["Media"] ; Config.QuickUploadAbsolutePath["Media"] = Config.FileTypesAbsolutePath["Media"] ; function structCopyKeys(stFrom, stTo) { for ( key in stFrom ) { if ( isStruct(stFrom[key]) ) { structCopyKeys(stFrom[key],stTo[key]); } else { stTo[key] = stFrom[key]; } } } structCopyKeys(FCKeditor, config); --- NEW FILE: cf5_connector.cfm --- userFilesPath = config.userFilesPath; if ( userFilesPath eq "" ) { userFilesPath = "/userfiles/"; } // make sure the user files path is correctly formatted userFilesPath = replace(userFilesPath, "\", "/", "ALL"); userFilesPath = replace(userFilesPath, '//', '/', 'ALL'); if ( right(userFilesPath,1) NEQ "/" ) { userFilesPath = userFilesPath & "/"; } if ( left(userFilesPath,1) NEQ "/" ) { userFilesPath = "/" & userFilesPath; } // make sure the current folder is correctly formatted url.currentFolder = replace(url.currentFolder, "\", "/", "ALL"); url.currentFolder = replace(url.currentFolder, '//', '/', 'ALL'); if ( right(url.currentFolder,1) neq "/" ) { url.currentFolder = url.currentFolder & "/"; } if ( left(url.currentFolder,1) neq "/" ) { url.currentFolder = "/" & url.currentFolder; } if ( find("/",getBaseTemplatePath()) neq 0 ) { fs = "/"; } else { fs = "\"; } // Get the base physical path to the web root for this application. The code to determine the path automatically assumes that // the "FCKeditor" directory in the http request path is directly off the web root for the application and that it's not a // virtual directory or a symbolic link / junction. Use the serverPath config setting to force a physical path if necessary. if ( len(config.serverPath) ) { serverPath = config.serverPath; if ( right(serverPath,1) neq fs ) { serverPath = serverPath & fs; } } else { serverPath = replaceNoCase(getBaseTemplatePath(),replace(cgi.script_name,"/",fs,"all"),"") & replace(userFilesPath,"/",fs,"all"); } rootPath = left( serverPath, Len(serverPath) - Len(userFilesPath) ) ; xmlContent = ""; // append to this string to build content "> "> '> '> "> i=1; folders = ""; while( i lte qDir.recordCount ) { if( not compareNoCase( qDir.type[i], "FILE" )) break; if( not listFind(".,..", qDir.name[i]) ) folders = folders & ''; i=i+1; } xmlContent = xmlContent & '' & folders & ''; i=1; folders = ""; files = ""; while( i lte qDir.recordCount ) { if( not compareNoCase( qDir.type[i], "DIR" ) and not listFind(".,..", qDir.name[i]) ) { folders = folders & ''; } else if( not compareNoCase( qDir.type[i], "FILE" ) ) { fileSizeKB = round(qDir.size[i] / 1024); files = files & ''; } i=i+1; } xmlContent = xmlContent & '' & folders & ''; xmlContent = xmlContent & '' & files & ''; newFolderName = url.newFolderName; if( reFind("[^A-Za-z0-9_\-\.]", newFolderName) ) { // Munge folder name same way as we do the filename // This means folder names are always US-ASCII so we don't have to worry about CF5 and UTF-8 newFolderName = reReplace(newFolderName, "[^A-Za-z0-9\-\.]", "_", "all"); newFolderName = reReplace(newFolderName, "_{2,}", "_", "all"); newFolderName = reReplace(newFolderName, "([^_]+)_+$", "\1", "all"); newFolderName = reReplace(newFolderName, "$_([^_]+)$", "\1", "all"); } '> xmlHeader = ''; xmlHeader = xmlHeader & ''; xmlFooter = ''; #xmlHeader##xmlContent##xmlFooter# --- NEW FILE: cf_io.cfm --- +', "_", "all" )> var chunk = ""; var fileReaderClass = ""; var fileReader = ""; var file = ""; var done = false; var counter = 0; var byteArray = ""; if( not fileExists( ARGUMENTS.fileName ) ) { return "" ; } if (REQUEST.CFVersion gte 8) { file = FileOpen( ARGUMENTS.fileName, "readbinary" ) ; byteArray = FileRead( file, 1024 ) ; chunk = toString( toBinary( toBase64( byteArray ) ) ) ; FileClose( file ) ; } else { fileReaderClass = createObject("java", "java.io.FileInputStream"); fileReader = fileReaderClass.init(fileName); while(not done) { char = fileReader.read(); counter = counter + 1; if ( char eq -1 or counter eq ARGUMENTS.bytes) { done = true; } else { chunk = chunk & chr(char) ; } } } +', "_", "all" )> --- NEW FILE: cf_basexml.cfm --- --- NEW FILE: cf_upload.cfm --- --- NEW FILE: cf5_upload.cfm --- function SendUploadResults(errorNumber, fileUrl, fileName, customMsg) { WriteOutput(''); } userFilesPath = config.userFilesPath; if ( userFilesPath eq "" ) { userFilesPath = "/userfiles/"; } // make sure the user files path is correctly formatted userFilesPath = replace(userFilesPath, "\", "/", "ALL"); userFilesPath = replace(userFilesPath, '//', '/', 'ALL'); if ( right(userFilesPath,1) NEQ "/" ) { userFilesPath = userFilesPath & "/"; } if ( left(userFilesPath,1) NEQ "/" ) { userFilesPath = "/" & userFilesPath; } // make sure the current folder is correctly formatted url.currentFolder = replace(url.currentFolder, "\", "/", "ALL"); url.currentFolder = replace(url.currentFolder, '//', '/', 'ALL'); if ( right(url.currentFolder,1) neq "/" ) { url.currentFolder = url.currentFolder & "/"; } if ( left(url.currentFolder,1) neq "/" ) { url.currentFolder = "/" & url.currentFolder; } if (find("/",getBaseTemplatePath())) { fs = "/"; } else { fs = "\"; } // Get the base physical path to the web root for this application. The code to determine the path automatically assumes that // the "FCKeditor" directory in the http request path is directly off the web root for the application and that it's not a // virtual directory or a symbolic link / junction. Use the serverPath config setting to force a physical path if necessary. if ( len(config.serverPath) ) { serverPath = config.serverPath; if ( right(serverPath,1) neq fs ) { serverPath = serverPath & fs; } } else { serverPath = replaceNoCase(getBaseTemplatePath(),replace(cgi.script_name,"/",fs,"all"),"") & replace(userFilesPath,"/",fs,"all"); } rootPath = left( serverPath, Len(serverPath) - Len(userFilesPath) ) ; errorNumber = 0; fileName = cffile.ClientFileName ; fileExt = cffile.ServerFileExt ; fileExisted = false ; // munge filename for html download. Only a-z, 0-9, _, - and . are allowed if( reFind("[^A-Za-z0-9_\-\.]", fileName) ) { fileName = reReplace(fileName, "[^A-Za-z0-9\-\.]", "_", "ALL"); fileName = reReplace(fileName, "_{2,}", "_", "ALL"); fileName = reReplace(fileName, "([^_]+)_+$", "\1", "ALL"); fileName = reReplace(fileName, "$_([^_]+)$", "\1", "ALL"); } // remove additional dots from file name if( isDefined("Config.ForceSingleExtension") and Config.ForceSingleExtension ) fileName = replace( fileName, '.', "_", "all" ) ; // When the original filename already exists, add numbers (0), (1), (2), ... at the end of the filename. if( compare( cffile.ServerFileName, fileName ) ) { counter = 0; tmpFileName = fileName; while( fileExists("#currentFolderPath##fileName#.#fileExt#") ) { fileExisted = true ; counter = counter + 1 ; fileName = tmpFileName & '(#counter#)' ; } } --- NEW FILE: cf_util.cfm --- > From blaine at qs1489.pair.com Sat Feb 9 07:54:03 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:03 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins _fckviewstrips.html, 1.2, 1.3 Message-ID: <20080209125403.2C2CE10FE83@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/skins Added Files: _fckviewstrips.html Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: _fckviewstrips.html --- FCKeditor - View Icons Strips
    Index Skins
    default office2003 silver
    From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/js fckeditorcode_gecko.js, 1.3, 1.4 fckeditorcode_ie.js, 1.3, 1.4 Message-ID: <20080209125402.8EB9C10FE79@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/js In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/js Added Files: fckeditorcode_gecko.js fckeditorcode_ie.js Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fckeditorcode_gecko.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckeditorcode_ie.js --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:04 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:04 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/silver/images toolbar.arrowright.gif, 1.2, 1.3 toolbar.buttonarrow.gif, 1.2, 1.3 toolbar.buttonbg.gif, 1.3, 1.4 toolbar.collapse.gif, 1.2, 1.3 toolbar.end.gif, 1.2, 1.3 toolbar.expand.gif, 1.2, 1.3 toolbar.separator.gif, 1.2, 1.3 toolbar.start.gif, 1.3, 1.4 Message-ID: <20080209125404.80FD210FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/silver/images In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/skins/silver/images Added Files: toolbar.arrowright.gif toolbar.buttonarrow.gif toolbar.buttonbg.gif toolbar.collapse.gif toolbar.end.gif toolbar.expand.gif toolbar.separator.gif toolbar.start.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: toolbar.expand.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.end.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.separator.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.collapse.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.start.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.buttonbg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.arrowright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.buttonarrow.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:03 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:03 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/office2003 fck_dialog.css, 1.3, 1.4 fck_editor.css, 1.5, 1.6 fck_strip.gif, 1.2, 1.3 Message-ID: <20080209125404.7F17410FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/office2003 In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/skins/office2003 Added Files: fck_dialog.css fck_editor.css fck_strip.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_dialog.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Styles used by the dialog boxes. */ body { margin: 0px; padding: 10px; background-color: #f7f8fd; } body, td, input, select, textarea { font-size: 11px; font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; } body, .BackColor { background-color: #f7f8fd; } .PopupBody { margin: 0px; padding: 0px; } .PopupTitle { font-weight: bold; font-size: 14pt; color: #0e3460; background-color: #8cb2fd; padding: 3px 10px 3px 10px; } .PopupButtons { border-top: #466ca6 1px solid; background-color: #8cb2fd; padding: 7px 10px 7px 10px; } .Button { border: #1c3460 1px solid; color: #000a28; background-color: #7096d3; } #btnOk { width: 100px; } .DarkBackground { background-color: #d7d79f; } .LightBackground { background-color: #ffffbe; } .PopupTitleBorder { border-bottom: #d5d59d 1px solid; } .PopupTabArea { color: #0e3460; background-color: #8cb2fd; } .PopupTabEmptyArea { padding-left: 10px ; border-bottom: #466ca6 1px solid; } .PopupTab, .PopupTabSelected { border-right: #466ca6 1px solid; border-top: #466ca6 1px solid; border-left: #466ca6 1px solid; padding: 3px 5px 3px 5px; color: #0e3460; } .PopupTab { margin-top: 1px; border-bottom: #466ca6 1px solid; cursor: pointer; cursor: hand; } .PopupTabSelected { font-weight:bold; cursor: default; padding-top: 4px; border-bottom: #f7f8fd 1px solid; background-color: #f7f8fd; } .PopupSelectionBox { border: #1e90ff 1px solid !important; background-color: #add8e6 !important; cursor: pointer; cursor: hand; } #tdBrowse { vertical-align: bottom; } --- NEW FILE: fck_editor.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Styles used by the editor IFRAME and Toolbar. */ /* ### Basic Editor IFRAME Styles. */ body { padding: 1px; margin: 0; background-color: #ffffff; } #xEditingArea { border: #696969 1px solid; } .SourceField { padding: 5px; margin: 0px; font-family: Monospace; } /* Toolbar */ .TB_ToolbarSet, .TB_Expand, .TB_Collapse { cursor: default; background-color: #f7f8fd; } .TB_ToolbarSet { border-top: #f7f8fd 1px outset; border-bottom: #f7f8fd 1px outset; } .TB_ToolbarSet TD { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .TB_Toolbar { background-color: #d6dff7; background-image: url(images/toolbar.bg.gif); background-repeat: repeat-x; display: inline-table; } .TB_Separator { width: 1px; height: 16px; margin: 2px; background-color: #B2CBFF; } .TB_Start { background-image: url(images/toolbar.start.gif); background-repeat: no-repeat; background-position: center center; margin: 0px; width: 7px; height: 24px; } .TB_End { background-image: url(images/toolbar.end.gif); background-repeat: no-repeat; background-position: center left; height: 24px; width: 4px; } .TB_ExpandImg { background-image: url(images/toolbar.expand.gif); background-repeat: no-repeat; } .TB_CollapseImg { background-image: url(images/toolbar.collapse.gif); background-repeat: no-repeat; } .TB_SideBorder { background-color: #696969; } .TB_Expand, .TB_Collapse { padding: 2px 2px 2px 2px; border: #f7f8fd 1px outset; } .TB_Collapse { width: 5px; } .TB_Break { height: 24px; /* IE needs the height to be set, otherwise no break */ } /* Toolbar Button */ .TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled { margin: 1px; height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */ } .TB_Button_On { margin: 0px; border: #316ac5 1px solid; background-color: #c1d2ee; } .TB_Button_On_Over, .TB_Button_Off_Over { margin: 0px ; border: #316ac5 1px solid; background-color: #dff1ff; } .TB_Button_Off { filter: alpha(opacity=70); /* IE */ opacity: 0.70; /* Safari, Opera and Mozilla */ } .TB_Button_Disabled { filter: gray() alpha(opacity=30); /* IE */ opacity: 0.30; /* Safari, Opera and Mozilla */ } .TB_Button_Padding { visibility: hidden; width: 3px; height: 22px; } .TB_Button_Image { overflow: hidden; width: 16px; height: 16px; margin: 3px; background-repeat: no-repeat; } .TB_Button_Image img { position: relative; } .TB_Button_Off .TB_Button_Text { background-color: #d6dff7; /* Needed because of a bug on ClearType */ background-image: url(images/toolbar.bg.gif); background-repeat: repeat-x; } .TB_ConnectionLine { background-color: #f7f8fd; height: 1px; margin-left: 1px; /* ltr */ margin-right: 1px; /* rtl */ } .TB_Button_Off .TB_Text { background-color: #d6dff7; /* Needed because of a bug on ClearType */ background-image: url(images/toolbar.bg.gif); background-repeat: repeat-x; } .TB_Button_On_Over .TB_Text { background-color: #dff1ff ; /* Needed because of a bug on ClearType */ } /* Menu */ .MN_Menu { border: 1px solid #8f8f73; padding: 2px; background-color: #f7f8fd; cursor: default; } .MN_Menu, .MN_Menu .MN_Label { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .MN_Item_Padding { visibility: hidden; width: 3px; height: 20px; } .MN_Icon { background-color: #d6dff7; text-align: center; height: 20px; } .MN_Label { padding-left: 3px; padding-right: 3px; } .MN_Separator { height: 3px; } .MN_Separator_Line { border-top: #b9b99d 1px solid; } .MN_Item .MN_Icon IMG { filter: alpha(opacity=70); opacity: 0.70; } .MN_Item_Over { color: #ffffff; background-color: #7096FA; } .MN_Item_Over .MN_Icon { background-color: #466ca6; } .MN_Item_Disabled IMG { filter: gray() alpha(opacity=30); /* IE */ opacity: 0.30; /* Safari, Opera and Mozilla */ } .MN_Item_Disabled .MN_Label { color: #b7b7b7; } .MN_Arrow { padding-right: 3px; padding-left: 3px; } .MN_ConnectionLine { background-color: #f7f8fd; } .Menu .TB_Button_On, .Menu .TB_Button_On_Over { border: #8f8f73 1px solid; background-color: #f7f8fd; } /* ### Panel Styles */ .FCK_Panel { border: #8f8f73 1px solid; padding: 2px; background-color: #f7f8fd; } .FCK_Panel, .FCK_Panel TD { font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; font-size: 11px; } /* ### Special Combos */ .SC_Panel { overflow: auto; white-space: nowrap; cursor: default; border: 1px solid #8f8f73; padding-left: 2px; padding-right: 2px; } .SC_Panel, .SC_Panel TD { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .SC_Item, .SC_ItemSelected { margin-top: 2px; margin-bottom: 2px; background-position: left center; padding-left: 11px; padding-right: 3px; padding-top: 2px; padding-bottom: 2px; text-overflow: ellipsis; overflow: hidden; background-repeat: no-repeat; border: #dddddd 1px solid; } .SC_Item *, .SC_ItemSelected * { margin-top: 0px; margin-bottom: 0px; } .SC_ItemSelected { border: #9a9afb 1px solid; background-image: url(images/toolbar.arrowright.gif); } .SC_ItemOver { border: #316ac5 1px solid; } .SC_Field { margin-top: 2px ; border: #b7b7a6 1px solid; cursor: default; } .SC_FieldCaption { overflow: visible; padding-right: 5px; padding-left: 5px; opacity: 0.75; /* Safari, Opera and Mozilla */ filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */ height: 23px; background-color: #d6dff7; /* Needed because of a bug on ClearType */ background-image: url(images/toolbar.bg.gif); background-repeat: repeat-x; /* background-color: inherit; Maybe this is needed wait to check */ } .SC_FieldLabel { white-space: nowrap; padding: 2px; width: 100%; cursor: default; background-color: #ffffff; text-overflow: ellipsis; overflow: hidden; } .SC_FieldButton { background-position: center center; background-image: url(images/toolbar.buttonarrow.gif); border-left: #b7b7a6 1px solid; width: 14px; background-repeat: no-repeat; } .SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption { opacity: 0.30; /* Safari, Opera and Mozilla */ filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */ } .SC_FieldOver { border: #316ac5 1px solid; } .SC_FieldOver .SC_FieldButton { border-left: #316ac5 1px solid; } /* ### Color Selector Panel */ .ColorBoxBorder { border: #808080 1px solid; position: static; } .ColorBox { font-size: 1px; width: 10px; position: static; height: 10px; } .ColorDeselected, .ColorSelected { cursor: default; } .ColorDeselected { border: #ffffff 1px solid; padding: 2px; float: left; } .ColorSelected { border: #330066 1px solid; padding: 2px; float: left; background-color: #c4cdd6; } --- NEW FILE: fck_strip.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images/icons/32 ai.gif, 1.2, 1.3 avi.gif, 1.2, 1.3 bmp.gif, 1.2, 1.3 cs.gif, 1.2, 1.3 default.icon.gif, 1.2, 1.3 dll.gif, 1.2, 1.3 doc.gif, 1.2, 1.3 exe.gif, 1.2, 1.3 fla.gif, 1.2, 1.3 gif.gif, 1.2, 1.3 htm.gif, 1.2, 1.3 html.gif, 1.2, 1.3 jpg.gif, 1.2, 1.3 js.gif, 1.2, 1.3 mdb.gif, 1.2, 1.3 mp3.gif, 1.2, 1.3 pdf.gif, 1.2, 1.3 png.gif, NONE, 1.1 ppt.gif, 1.2, 1.3 rdp.gif, 1.2, 1.3 swf.gif, 1.2, 1.3 swt.gif, 1.2, 1.3 txt.gif, 1.2, 1.3 vsd.gif, 1.2, 1.3 xls.gif, 1.2, 1.3 xml.gif, 1.2, 1.3 zip.gif, 1.2, 1.3 Message-ID: <20080209125402.3FB9C10FE2C@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/images/icons/32 In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/browser/default/images/icons/32 Added Files: ai.gif avi.gif bmp.gif cs.gif default.icon.gif dll.gif doc.gif exe.gif fla.gif gif.gif htm.gif html.gif jpg.gif js.gif mdb.gif mp3.gif pdf.gif png.gif ppt.gif rdp.gif swf.gif swt.gif txt.gif vsd.gif xls.gif xml.gif zip.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: default.icon.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mdb.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: png.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bmp.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: exe.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cs.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ai.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: html.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mp3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: htm.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: dll.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gif.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: zip.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fla.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: js.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: xls.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: swf.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: swt.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: xml.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: avi.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: txt.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: doc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ppt.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vsd.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: rdp.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pdf.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jpg.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:03 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:03 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/default fck_dialog.css, 1.3, 1.4 fck_editor.css, 1.5, 1.6 fck_strip.gif, 1.2, 1.3 Message-ID: <20080209125403.4C55C10FE84@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/default In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/skins/default Added Files: fck_dialog.css fck_editor.css fck_strip.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_dialog.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Styles used by the dialog boxes. */ body { margin: 0px; padding: 10px; } body, td, input, select, textarea { font-size: 11px; font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; } body, .BackColor { background-color: #f1f1e3; } .PopupBody { margin: 0px; padding: 0px; } .PopupTitle { font-weight: bold; font-size: 14pt; color: #737357; background-color: #e3e3c7; padding: 3px 10px 3px 10px; } .PopupButtons { border-top: #d5d59d 1px solid; background-color: #e3e3c7; padding: 7px 10px 7px 10px; } .Button { border: #737357 1px solid; color: #3b3b1f; background-color: #c7c78f; } #btnOk { width: 100px; } .DarkBackground { background-color: #d7d79f; } .LightBackground { background-color: #ffffbe; } .PopupTitleBorder { border-bottom: #d5d59d 1px solid; } .PopupTabArea { color: #737357; background-color: #e3e3c7; } .PopupTabEmptyArea { padding-left: 10px ; border-bottom: #d5d59d 1px solid; } .PopupTab, .PopupTabSelected { border-right: #d5d59d 1px solid; border-top: #d5d59d 1px solid; border-left: #d5d59d 1px solid; padding: 3px 5px 3px 5px; color: #737357; } .PopupTab { margin-top: 1px; border-bottom: #d5d59d 1px solid; cursor: pointer; cursor: hand; } .PopupTabSelected { font-weight:bold; cursor: default; padding-top: 4px; border-bottom: #f1f1e3 1px solid; background-color: #f1f1e3; } .PopupSelectionBox { border: #ff9933 1px solid !important; background-color: #fffacd !important; cursor: pointer; cursor: hand; } #tdBrowse { vertical-align: bottom; } --- NEW FILE: fck_editor.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Styles used by the editor IFRAME and Toolbar. */ /* ### Basic Editor IFRAME Styles. */ body { padding: 1px; margin: 0; background-color: #ffffff; } #xEditingArea { border: #696969 1px solid; } .SourceField { padding: 5px; margin: 0px; font-family: Monospace; } /* Toolbar */ .TB_ToolbarSet, .TB_Expand, .TB_Collapse { cursor: default; background-color: #efefde; } .TB_ToolbarSet { border-top: #efefde 1px outset; border-bottom: #efefde 1px outset; } .TB_ToolbarSet TD { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .TB_Toolbar { height: 24px; display: inline-table; /* inline = Opera jumping buttons bug */ } .TB_Separator { width: 1px; height: 16px; margin: 2px; background-color: #999966; } .TB_Start { background-image: url(images/toolbar.start.gif); margin: 2px; width: 3px; background-repeat: no-repeat; height: 16px; } .TB_End { display: none; } .TB_ExpandImg { background-image: url(images/toolbar.expand.gif); background-repeat: no-repeat; } .TB_CollapseImg { background-image: url(images/toolbar.collapse.gif); background-repeat: no-repeat; } .TB_SideBorder { background-color: #696969; } .TB_Expand, .TB_Collapse { padding: 2px 2px 2px 2px; border: #efefde 1px outset; } .TB_Collapse { width: 5px; } .TB_Break { height: 24px; /* IE needs the height to be set, otherwise no break */ } /* Toolbar Button */ .TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled { border: #efefde 1px solid; /* This is the default border */ height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */ } .TB_Button_On { border: #316ac5 1px solid; background-color: #c1d2ee; } .TB_Button_On_Over, .TB_Button_Off_Over { border: #316ac5 1px solid; background-color: #dff1ff; } .TB_Button_Off { filter: alpha(opacity=70); /* IE */ opacity: 0.70; /* Safari, Opera and Mozilla */ } .TB_Button_Disabled { filter: gray() alpha(opacity=30); /* IE */ opacity: 0.30; /* Safari, Opera and Mozilla */ } .TB_Button_Padding { visibility: hidden; width: 3px; height: 22px; } .TB_Button_Image { overflow: hidden; width: 16px; height: 16px; margin: 3px; background-repeat: no-repeat; } .TB_Button_Image img { position: relative; } .TB_Button_Off .TB_Button_Text { background-color: #efefde; /* Needed because of a bug on Clear Type */ } .TB_ConnectionLine { background-color: #ffffff; height: 1px; margin-left: 1px; /* ltr */ margin-right: 1px; /* rtl */ } .TB_Text { height: 22px; } .TB_Button_Off .TB_Text { background-color: #efefde ; /* Needed because of a bug on ClearType */ } .TB_Button_On_Over .TB_Text { background-color: #dff1ff ; /* Needed because of a bug on ClearType */ } /* Menu */ .MN_Menu { border: 1px solid #8f8f73; padding: 2px; background-color: #ffffff; cursor: default; } .MN_Menu, .MN_Menu .MN_Label { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .MN_Item_Padding { visibility: hidden; width: 3px; height: 20px; } .MN_Icon { background-color: #e3e3c7; text-align: center; height: 20px; } .MN_Label { padding-left: 3px; padding-right: 3px; } .MN_Separator { height: 3px; } .MN_Separator_Line { border-top: #b9b99d 1px solid; } .MN_Item .MN_Icon IMG { filter: alpha(opacity=70); opacity: 0.70; } .MN_Item_Over { color: #ffffff; background-color: #8f8f73; } .MN_Item_Over .MN_Icon { background-color: #737357; } .MN_Item_Disabled IMG { filter: gray() alpha(opacity=30); /* IE */ opacity: 0.30; /* Safari, Opera and Mozilla */ } .MN_Item_Disabled .MN_Label { color: #b7b7b7; } .MN_Arrow { padding-right: 3px; padding-left: 3px; } .MN_ConnectionLine { background-color: #ffffff; } .Menu .TB_Button_On, .Menu .TB_Button_On_Over { border: #8f8f73 1px solid; background-color: #ffffff; } /* ### Panel Styles */ .FCK_Panel { border: #8f8f73 1px solid; padding: 2px; background-color: #ffffff; } .FCK_Panel, .FCK_Panel TD { font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; font-size: 11px; } /* ### Special Combos */ .SC_Panel { overflow: auto; white-space: nowrap; cursor: default; border: 1px solid #8f8f73; padding-left: 2px; padding-right: 2px; } .SC_Panel, .SC_Panel TD { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .SC_Item, .SC_ItemSelected { margin-top: 2px; margin-bottom: 2px; background-position: left center; padding-left: 11px; padding-right: 3px; padding-top: 2px; padding-bottom: 2px; text-overflow: ellipsis; overflow: hidden; background-repeat: no-repeat; border: #dddddd 1px solid; } .SC_Item *, .SC_ItemSelected * { margin-top: 0px; margin-bottom: 0px; } .SC_ItemSelected { border: #9a9afb 1px solid; background-image: url(images/toolbar.arrowright.gif); } .SC_ItemOver { border: #316ac5 1px solid; } .SC_Field { border: #b7b7a6 1px solid; cursor: default; } .SC_FieldCaption { overflow: visible; padding-right: 5px; padding-left: 5px; opacity: 0.75; /* Safari, Opera and Mozilla */ filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */ height: 23px; background-color: #efefde; } .SC_FieldLabel { white-space: nowrap; padding: 2px; width: 100%; cursor: default; background-color: #ffffff; text-overflow: ellipsis; overflow: hidden; } .SC_FieldButton { background-position: center center; background-image: url(images/toolbar.buttonarrow.gif); border-left: #b7b7a6 1px solid; width: 14px; background-repeat: no-repeat; } .SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption { opacity: 0.30; /* Safari, Opera and Mozilla */ filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */ } .SC_FieldOver { border: #316ac5 1px solid; } .SC_FieldOver .SC_FieldButton { border-left: #316ac5 1px solid; } /* ### Color Selector Panel */ .ColorBoxBorder { border: #808080 1px solid; position: static; } .ColorBox { font-size: 1px; width: 10px; position: static; height: 10px; } .ColorDeselected, .ColorSelected { cursor: default; } .ColorDeselected { border: #ffffff 1px solid; padding: 2px; float: left; } .ColorSelected { border: #330066 1px solid; padding: 2px; float: left; background-color: #c4cdd6; } --- NEW FILE: fck_strip.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:04 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:04 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/silver fck_dialog.css, 1.3, 1.4 fck_editor.css, 1.5, 1.6 fck_strip.gif, 1.2, 1.3 Message-ID: <20080209125404.80E8710FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/silver In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/skins/silver Added Files: fck_dialog.css fck_editor.css fck_strip.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_dialog.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Styles used by the dialog boxes. */ body { margin: 0px; padding: 10px; background-color: #f7f7f7; } body, td, input, select, textarea { font-size: 11px; font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; } body, .BackColor { background-color: #f7f7f7; } .PopupBody { margin: 0px; padding: 0px; } .PopupTitle { padding-right: 10px; padding-left: 10px; font-weight: bold; font-size: 14pt; padding-bottom: 3px; color: #504845; padding-top: 3px; background-color: #dedede; } .PopupButtons { border-top: #cec6b5 1px solid; background-color: #DEDEDE; padding: 7px 10px 7px 10px; } .Button { border: #7a7261 1px solid; color: #504845; background-color: #cec6b5; } #btnOk { width: 100px; } .DarkBackground { background-color: #d7d79f; } .LightBackground { background-color: #ffffbe; } .PopupTitleBorder { border-bottom: #cec6b5 1px solid; } .PopupTabArea { color: #504845; background-color: #DEDEDE; } .PopupTabEmptyArea { padding-left: 10px ; border-bottom: #cec6b5 1px solid; } .PopupTab, .PopupTabSelected { border-right: #cec6b5 1px solid; border-top: #cec6b5 1px solid; border-left: #cec6b5 1px solid; padding: 3px 5px 3px 5px; color: #504845; } .PopupTab { margin-top: 1px; border-bottom: #cec6b5 1px solid; cursor: pointer; cursor: hand; } .PopupTabSelected { font-weight:bold; cursor: default; padding-top: 4px; border-bottom: #f1f1e3 1px solid; background-color: #f7f7f7; } .PopupSelectionBox { border: #a9a9a9 1px solid !important; background-color: #dcdcdc !important; cursor: pointer; cursor: hand; } #tdBrowse { vertical-align: bottom; } --- NEW FILE: fck_editor.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Styles used by the editor IFRAME and Toolbar. */ /* ### Basic Editor IFRAME Styles. */ body { padding: 1px; margin: 0; background-color: #ffffff; } #xEditingArea { border: #696969 1px solid; } .SourceField { padding: 5px; margin: 0px; font-family: Monospace; } /* Toolbar */ .TB_ToolbarSet, .TB_Expand, .TB_Collapse { cursor: default; background-color: #f7f7f7; } .TB_ToolbarSet { padding: 1px; border-top: #efefde 1px outset; border-bottom: #efefde 1px outset; } .TB_ToolbarSet TD { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .TB_Toolbar { display: inline-table; } .TB_Separator { width: 1px; height: 21px; margin: 2px; background-color: #C6C3BD; } .TB_Start { background-image: url(images/toolbar.start.gif); margin-left: 2px; margin-right: 2px; width: 3px; background-repeat: no-repeat; height: 27px; background-position: center center; } .TB_End { display: none; } .TB_ExpandImg { background-image: url(images/toolbar.expand.gif); background-repeat: no-repeat; } .TB_CollapseImg { background-image: url(images/toolbar.collapse.gif); background-repeat: no-repeat; } .TB_SideBorder { background-color: #696969; } .TB_Expand, .TB_Collapse { padding: 2px 2px 2px 2px; border: #efefde 1px outset; } .TB_Collapse { border: #efefde 1px outset; width: 5px; } .TB_Break { height: 27px; } /* Toolbar Button */ .TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled { padding: 1px ; margin:1px; height: 21px; } .TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled { border: #cec6b5 1px solid; } .TB_Button_On { border-color: #316ac5; background-color: #c1d2ee; } .TB_Button_On_Over, .TB_Button_Off_Over { border: #316ac5 1px solid; background-color: #dff1ff; } .TB_Button_Off { background: #efefef url(images/toolbar.buttonbg.gif) repeat-x; } .TB_Button_Off, .TB_Combo_Off { opacity: 0.70; /* Safari, Opera and Mozilla */ filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.70; Mozilla (Old) */ } .TB_Button_Disabled { opacity: 0.30; /* Safari, Opera and Mozilla */ filter: gray() alpha(opacity=30); /* IE */ } .TB_Button_Padding { visibility: hidden; width: 3px; height: 21px; } .TB_Button_Image { overflow: hidden; width: 16px; height: 16px; margin: 3px; margin-top: 4px; margin-bottom: 2px; background-repeat: no-repeat; } /* For composed button ( icon + text, icon + arrow ), we must compensate the table */ .TB_Button_On TABLE .TB_Button_Image, .TB_Button_Off TABLE .TB_Button_Image, .TB_Button_On_Over TABLE .TB_Button_Image, .TB_Button_Off_Over TABLE .TB_Button_Image, .TB_Button_Disabled TABLE .TB_Button_Image { margin-top: 3px; } .TB_Button_Image img { position: relative; } .TB_ConnectionLine { background-color: #ffffff; height: 1px; margin-left: 1px; /* ltr */ margin-right: 1px; /* rtl */ } /* Menu */ .MN_Menu { border: 1px solid #8f8f73; padding: 2px; background-color: #f7f7f7; cursor: default; } .MN_Menu, .MN_Menu .MN_Label { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .MN_Item_Padding { visibility: hidden; width: 3px; height: 20px; } .MN_Icon { background-color: #dedede; text-align: center; height: 20px; } .MN_Label { padding-left: 3px; padding-right: 3px; } .MN_Separator { height: 3px; } .MN_Separator_Line { border-top: #b9b99d 1px solid; } .MN_Item .MN_Icon IMG { filter: alpha(opacity=70); opacity: 0.70; } .MN_Item_Over { color: #ffffff; background-color: #8a857d; } .MN_Item_Over .MN_Icon { background-color: #6c6761; } .MN_Item_Disabled IMG { filter: gray() alpha(opacity=30); /* IE */ opacity: 0.30; /* Safari, Opera and Mozilla */ } .MN_Item_Disabled .MN_Label { color: #b7b7b7; } .MN_Arrow { padding-right: 3px; padding-left: 3px; } .MN_ConnectionLine { background-color: #ffffff; } .Menu .TB_Button_On, .Menu .TB_Button_On_Over { border: #8f8f73 1px solid; background-color: #ffffff; } /* ### Panel Styles */ .FCK_Panel { border: #8f8f73 1px solid; padding: 2px; background-color: #ffffff; } .FCK_Panel, .FCK_Panel TD { font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; font-size: 11px; } /* ### Special Combos */ .SC_Panel { overflow: auto; white-space: nowrap; cursor: default; border: 1px solid #8f8f73; padding-left: 2px; padding-right: 2px; } .SC_Panel, .SC_Panel TD { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .SC_Item, .SC_ItemSelected { margin-top: 2px; margin-bottom: 2px; background-position: left center; padding-left: 11px; padding-right: 3px; padding-top: 2px; padding-bottom: 2px; text-overflow: ellipsis; overflow: hidden; background-repeat: no-repeat; border: #dddddd 1px solid; } .SC_Item *, .SC_ItemSelected * { margin-top: 0px; margin-bottom: 0px; } .SC_ItemSelected { border: #9a9afb 1px solid; background-image: url(images/toolbar.arrowright.gif); } .SC_ItemOver { border: #316ac5 1px solid; } .SC_Field { margin-top:1px ; border: #b7b7a6 1px solid; cursor: default; } .SC_FieldCaption { padding-top: 1px ; overflow: visible; padding-right: 5px; padding-left: 5px; opacity: 0.75; /* Safari, Opera and Mozilla */ filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */ height: 23px; background-color: #f7f7f7; } .SC_FieldLabel { white-space: nowrap; padding: 2px; width: 100%; cursor: default; background-color: #ffffff; text-overflow: ellipsis; overflow: hidden; } .SC_FieldButton { background-position: center center; background-image: url(images/toolbar.buttonarrow.gif); border-left: #b7b7a6 1px solid; width: 14px; background-repeat: no-repeat; } .SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption { opacity: 0.30; /* Safari, Opera and Mozilla */ filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */ } .SC_FieldOver { border: #316ac5 1px solid; } .SC_FieldOver .SC_FieldButton { border-left: #316ac5 1px solid; } /* ### Color Selector Panel */ .ColorBoxBorder { border: #808080 1px solid; position: static; } .ColorBox { font-size: 1px; width: 10px; position: static; height: 10px; } .ColorDeselected, .ColorSelected { cursor: default; } .ColorDeselected { border: #ffffff 1px solid; padding: 2px; float: left; } .ColorSelected { border: #316ac5 1px solid; padding: 2px; float: left; background-color: #c1d2ee; } --- NEW FILE: fck_strip.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:02 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/py config.py, NONE, 1.1 connector.py, NONE, 1.1 fckcommands.py, NONE, 1.1 fckconnector.py, NONE, 1.1 fckoutput.py, NONE, 1.1 fckutil.py, NONE, 1.1 htaccess.txt, NONE, 1.1 upload.py, NONE, 1.1 wsgi.py, NONE, 1.1 zope.py, NONE, 1.1 Message-ID: <20080209125402.76DE910FE76@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/connectors/py In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/filemanager/connectors/py Added Files: config.py connector.py fckcommands.py fckconnector.py fckoutput.py fckutil.py htaccess.txt upload.py wsgi.py zope.py Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: config.py --- #!/usr/bin/env python """ * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Configuration file for the File Manager Connector for Python """ # INSTALLATION NOTE: You must set up your server environment accordingly to run # python scripts. This connector requires Python 2.4 or greater. # # Supported operation modes: # * WSGI (recommended): You'll need apache + mod_python + modpython_gateway # or any web server capable of the WSGI python standard # * Plain Old CGI: Any server capable of running standard python scripts # (although mod_python is recommended for performance) # This was the previous connector version operation mode # # If you're using Apache web server, replace the htaccess.txt to to .htaccess, # and set the proper options and paths. # For WSGI and mod_python, you may need to download modpython_gateway from: # http://projects.amor.org/misc/svn/modpython_gateway.py and copy it in this # directory. # SECURITY: You must explicitly enable this "connector". (Set it to "True"). # WARNING: don't just set "ConfigIsEnabled = True", you must be sure that only # authenticated users can access this file or use some kind of session checking. Enabled = False # Path to user files relative to the document root. UserFilesPath = '/userfiles/' # Fill the following value it you prefer to specify the absolute path for the # user files directory. Useful if you are using a virtual directory, symbolic # link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. # Attention: The above 'UserFilesPath' must point to the same directory. # WARNING: GetRootPath may not work in virtual or mod_python configurations, and # may not be thread safe. Use this configuration parameter instead. UserFilesAbsolutePath = '' # Due to security issues with Apache modules, it is recommended to leave the # following setting enabled. ForceSingleExtension = True # What the user can do with this connector ConfigAllowedCommands = [ 'QuickUpload', 'FileUpload', 'GetFolders', 'GetFoldersAndFiles', 'CreateFolder' ] # Allowed Resource Types ConfigAllowedTypes = ['File', 'Image', 'Flash', 'Media'] # Do not touch this 3 lines, see "Configuration settings for each Resource Type" AllowedExtensions = {}; DeniedExtensions = {}; FileTypesPath = {}; FileTypesAbsolutePath = {}; QuickUploadPath = {}; QuickUploadAbsolutePath = {}; # Configuration settings for each Resource Type # # - AllowedExtensions: the possible extensions that can be allowed. # If it is empty then any file type can be uploaded. # - DeniedExtensions: The extensions that won't be allowed. # If it is empty then no restrictions are done here. # # For a file to be uploaded it has to fulfill both the AllowedExtensions # and DeniedExtensions (that's it: not being denied) conditions. # # - FileTypesPath: the virtual folder relative to the document root where # these resources will be located. # Attention: It must start and end with a slash: '/' # # - FileTypesAbsolutePath: the physical path to the above folder. It must be # an absolute path. # If it's an empty string then it will be autocalculated. # Useful if you are using a virtual directory, symbolic link or alias. # Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. # Attention: The above 'FileTypesPath' must point to the same directory. # Attention: It must end with a slash: '/' # # # - QuickUploadPath: the virtual folder relative to the document root where # these resources will be uploaded using the Upload tab in the resources # dialogs. # Attention: It must start and end with a slash: '/' # # - QuickUploadAbsolutePath: the physical path to the above folder. It must be # an absolute path. # If it's an empty string then it will be autocalculated. # Useful if you are using a virtual directory, symbolic link or alias. # Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. # Attention: The above 'QuickUploadPath' must point to the same directory. # Attention: It must end with a slash: '/' AllowedExtensions['File'] = ['7z','aiff','asf','avi','bmp','csv','doc','fla','flv','gif','gz','gzip','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','ods','odt','pdf','png','ppt','pxd','qt','ram','rar','rm','rmi','rmvb','rtf','sdc','sitd','swf','sxc','sxw','tar','tgz','tif','tiff','txt','vsd','wav','wma','wmv','xls','xml','zip'] DeniedExtensions['File'] = [] FileTypesPath['File'] = UserFilesPath + 'file/' FileTypesAbsolutePath['File'] = (not UserFilesAbsolutePath == '') and (UserFilesAbsolutePath + 'file/') or '' QuickUploadPath['File'] = FileTypesPath['File'] QuickUploadAbsolutePath['File'] = FileTypesAbsolutePath['File'] AllowedExtensions['Image'] = ['bmp','gif','jpeg','jpg','png'] DeniedExtensions['Image'] = [] FileTypesPath['Image'] = UserFilesPath + 'image/' FileTypesAbsolutePath['Image'] = (not UserFilesAbsolutePath == '') and UserFilesAbsolutePath + 'image/' or '' QuickUploadPath['Image'] = FileTypesPath['Image'] QuickUploadAbsolutePath['Image']= FileTypesAbsolutePath['Image'] AllowedExtensions['Flash'] = ['swf','flv'] DeniedExtensions['Flash'] = [] FileTypesPath['Flash'] = UserFilesPath + 'flash/' FileTypesAbsolutePath['Flash'] = ( not UserFilesAbsolutePath == '') and UserFilesAbsolutePath + 'flash/' or '' QuickUploadPath['Flash'] = FileTypesPath['Flash'] QuickUploadAbsolutePath['Flash']= FileTypesAbsolutePath['Flash'] AllowedExtensions['Media'] = ['aiff','asf','avi','bmp','fla', 'flv','gif','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','png','qt','ram','rm','rmi','rmvb','swf','tif','tiff','wav','wma','wmv'] DeniedExtensions['Media'] = [] FileTypesPath['Media'] = UserFilesPath + 'media/' FileTypesAbsolutePath['Media'] = ( not UserFilesAbsolutePath == '') and UserFilesAbsolutePath + 'media/' or '' QuickUploadPath['Media'] = FileTypesPath['Media'] QuickUploadAbsolutePath['Media']= FileTypesAbsolutePath['Media'] --- NEW FILE: zope.py --- #!/usr/bin/env python """ FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben == BEGIN LICENSE == Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html == END LICENSE == Connector for Python and Zope. This code was not tested at all. It just was ported from pre 2.5 release, so for further reference see \editor\filemanager\browser\default\connectors\py\connector.py in previous releases. """ from fckutil import * from connector import * import config as Config class FCKeditorConnectorZope(FCKeditorConnector): """ Zope versiof FCKeditorConnector """ # Allow access (Zope) __allow_access_to_unprotected_subobjects__ = 1 def __init__(self, context=None): """ Constructor """ FCKeditorConnector.__init__(self, environ=None) # call superclass constructor # Instance Attributes self.context = context self.request = FCKeditorRequest(context) def getZopeRootContext(self): if self.zopeRootContext is None: self.zopeRootContext = self.context.getPhysicalRoot() return self.zopeRootContext def getZopeUploadContext(self): if self.zopeUploadContext is None: folderNames = self.userFilesFolder.split("/") c = self.getZopeRootContext() for folderName in folderNames: if (folderName <> ""): c = c[folderName] self.zopeUploadContext = c return self.zopeUploadContext def setHeader(self, key, value): self.context.REQUEST.RESPONSE.setHeader(key, value) def getFolders(self, resourceType, currentFolder): # Open the folders node s = "" s += """""" zopeFolder = self.findZopeFolder(resourceType, currentFolder) for (name, o) in zopeFolder.objectItems(["Folder"]): s += """""" % ( convertToXmlAttribute(name) ) # Close the folders node s += """""" return s def getZopeFoldersAndFiles(self, resourceType, currentFolder): folders = self.getZopeFolders(resourceType, currentFolder) files = self.getZopeFiles(resourceType, currentFolder) s = folders + files return s def getZopeFiles(self, resourceType, currentFolder): # Open the files node s = "" s += """""" zopeFolder = self.findZopeFolder(resourceType, currentFolder) for (name, o) in zopeFolder.objectItems(["File","Image"]): s += """""" % ( convertToXmlAttribute(name), ((o.get_size() / 1024) + 1) ) # Close the files node s += """""" return s def findZopeFolder(self, resourceType, folderName): # returns the context of the resource / folder zopeFolder = self.getZopeUploadContext() folderName = self.removeFromStart(folderName, "/") folderName = self.removeFromEnd(folderName, "/") if (resourceType <> ""): try: zopeFolder = zopeFolder[resourceType] except: zopeFolder.manage_addProduct["OFSP"].manage_addFolder(id=resourceType, title=resourceType) zopeFolder = zopeFolder[resourceType] if (folderName <> ""): folderNames = folderName.split("/") for folderName in folderNames: zopeFolder = zopeFolder[folderName] return zopeFolder def createFolder(self, resourceType, currentFolder): # Find out where we are zopeFolder = self.findZopeFolder(resourceType, currentFolder) errorNo = 0 errorMsg = "" if self.request.has_key("NewFolderName"): newFolder = self.request.get("NewFolderName", None) zopeFolder.manage_addProduct["OFSP"].manage_addFolder(id=newFolder, title=newFolder) else: errorNo = 102 return self.sendErrorNode ( errorNo, errorMsg ) def uploadFile(self, resourceType, currentFolder, count=None): zopeFolder = self.findZopeFolder(resourceType, currentFolder) file = self.request.get("NewFile", None) fileName = self.getFileName(file.filename) fileNameOnly = self.removeExtension(fileName) fileExtension = self.getExtension(fileName).lower() if (count): nid = "%s.%s.%s" % (fileNameOnly, count, fileExtension) else: nid = fileName title = nid try: zopeFolder.manage_addProduct['OFSP'].manage_addFile( id=nid, title=title, file=file.read() ) except: if (count): count += 1 else: count = 1 return self.zopeFileUpload(resourceType, currentFolder, count) return self.sendUploadResults( 0 ) class FCKeditorRequest(object): "A wrapper around the request object" def __init__(self, context=None): r = context.REQUEST self.request = r def has_key(self, key): return self.request.has_key(key) def get(self, key, default=None): return self.request.get(key, default) """ Running from zope, you will need to modify this connector. If you have uploaded the FCKeditor into Zope (like me), you need to move this connector out of Zope, and replace the "connector" with an alias as below. The key to it is to pass the Zope context in, as we then have a like to the Zope context. ## Script (Python) "connector.py" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=*args, **kws ##title=ALIAS ## import Products.zope as connector return connector.FCKeditorConnectorZope(context=context).doResponse() """ --- NEW FILE: upload.py --- #!/usr/bin/env python """ FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben == BEGIN LICENSE == Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html == END LICENSE == This is the "File Uploader" for Python """ import os from fckutil import * from fckcommands import * # default command's implementation from fckconnector import FCKeditorConnectorBase # import base connector import config as Config class FCKeditorQuickUpload( FCKeditorConnectorBase, UploadFileCommandMixin, BaseHttpMixin, BaseHtmlMixin): def doResponse(self): "Main function. Process the request, set headers and return a string as response." # Check if this connector is disabled if not(Config.Enabled): return self.sendUploadResults(1, "This file uploader is disabled. Please check the \"editor/filemanager/connectors/py/config.py\"") command = 'QuickUpload' # The file type (from the QueryString, by default 'File'). resourceType = self.request.get('Type','File') currentFolder = getCurrentFolder(self.request.get("CurrentFolder","")) # Check for invalid paths if currentFolder is None: return self.sendUploadResults(102, '', '', "") # Check if it is an allowed command if ( not command in Config.ConfigAllowedCommands ): return self.sendUploadResults( 1, '', '', 'The %s command isn\'t allowed' % command ) if ( not resourceType in Config.ConfigAllowedTypes ): return self.sendUploadResults( 1, '', '', 'Invalid type specified' ) # Setup paths self.userFilesFolder = Config.QuickUploadAbsolutePath[resourceType] self.webUserFilesFolder = Config.QuickUploadPath[resourceType] if not self.userFilesFolder: # no absolute path given (dangerous...) self.userFilesFolder = mapServerPath(self.environ, self.webUserFilesFolder) # Ensure that the directory exists. if not os.path.exists(self.userFilesFolder): try: self.createServerFoldercreateServerFolder( self.userFilesFolder ) except: return self.sendError(1, "This connector couldn\'t access to local user\'s files directories. Please check the UserFilesAbsolutePath in \"editor/filemanager/connectors/py/config.py\" and try again. ") # File upload doesn't have to return XML, so intercept here return self.uploadFile(resourceType, currentFolder) # Running from command line (plain old CGI) if __name__ == '__main__': try: # Create a Connector Instance conn = FCKeditorQuickUpload() data = conn.doResponse() for header in conn.headers: if not header is None: print '%s: %s' % header print print data except: print "Content-Type: text/plain" print import cgi cgi.print_exception() --- NEW FILE: connector.py --- #!/usr/bin/env python """ FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben == BEGIN LICENSE == Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html == END LICENSE == Connector for Python (CGI and WSGI). See config.py for configuration settings """ import os from fckutil import * from fckcommands import * # default command's implementation from fckoutput import * # base http, xml and html output mixins from fckconnector import FCKeditorConnectorBase # import base connector import config as Config class FCKeditorConnector( FCKeditorConnectorBase, GetFoldersCommandMixin, GetFoldersAndFilesCommandMixin, CreateFolderCommandMixin, UploadFileCommandMixin, BaseHttpMixin, BaseXmlMixin, BaseHtmlMixin ): "The Standard connector class." def doResponse(self): "Main function. Process the request, set headers and return a string as response." s = "" # Check if this connector is disabled if not(Config.Enabled): return self.sendError(1, "This connector is disabled. Please check the connector configurations in \"editor/filemanager/connectors/py/config.py\" and try again.") # Make sure we have valid inputs for key in ("Command","Type","CurrentFolder"): if not self.request.has_key (key): return # Get command, resource type and current folder command = self.request.get("Command") resourceType = self.request.get("Type") currentFolder = getCurrentFolder(self.request.get("CurrentFolder")) # Check for invalid paths if currentFolder is None: return self.sendError(102, "") # Check if it is an allowed command if ( not command in Config.ConfigAllowedCommands ): return self.sendError( 1, 'The %s command isn\'t allowed' % command ) if ( not resourceType in Config.ConfigAllowedTypes ): return self.sendError( 1, 'Invalid type specified' ) # Setup paths if command == "QuickUpload": self.userFilesFolder = Config.QuickUploadAbsolutePath[resourceType] self.webUserFilesFolder = Config.QuickUploadPath[resourceType] else: self.userFilesFolder = Config.FileTypesAbsolutePath[resourceType] self.webUserFilesFolder = Config.FileTypesPath[resourceType] if not self.userFilesFolder: # no absolute path given (dangerous...) self.userFilesFolder = mapServerPath(self.environ, self.webUserFilesFolder) # Ensure that the directory exists. if not os.path.exists(self.userFilesFolder): try: self.createServerFoldercreateServerFolder( self.userFilesFolder ) except: return self.sendError(1, "This connector couldn\'t access to local user\'s files directories. Please check the UserFilesAbsolutePath in \"editor/filemanager/connectors/py/config.py\" and try again. ") # File upload doesn't have to return XML, so intercept here if (command == "FileUpload"): return self.uploadFile(resourceType, currentFolder) # Create Url url = combinePaths( self.webUserFilesFolder, currentFolder ) # Begin XML s += self.createXmlHeader(command, resourceType, currentFolder, url) # Execute the command selector = {"GetFolders": self.getFolders, "GetFoldersAndFiles": self.getFoldersAndFiles, "CreateFolder": self.createFolder, } s += selector[command](resourceType, currentFolder) s += self.createXmlFooter() return s # Running from command line (plain old CGI) if __name__ == '__main__': try: # Create a Connector Instance conn = FCKeditorConnector() data = conn.doResponse() for header in conn.headers: print '%s: %s' % header print print data except: print "Content-Type: text/plain" print import cgi cgi.print_exception() --- NEW FILE: fckcommands.py --- #!/usr/bin/env python """ FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben == BEGIN LICENSE == Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html == END LICENSE == Connector for Python (CGI and WSGI). """ import os try: # Windows needs stdio set for binary mode for file upload to work. import msvcrt msvcrt.setmode (0, os.O_BINARY) # stdin = 0 msvcrt.setmode (1, os.O_BINARY) # stdout = 1 except ImportError: pass from fckutil import * from fckoutput import * import config as Config class GetFoldersCommandMixin (object): def getFolders(self, resourceType, currentFolder): """ Purpose: command to recieve a list of folders """ # Map the virtual path to our local server serverPath = mapServerFolder(self.userFilesFolder,currentFolder) s = """""" # Open the folders node for someObject in os.listdir(serverPath): someObjectPath = mapServerFolder(serverPath, someObject) if os.path.isdir(someObjectPath): s += """""" % ( convertToXmlAttribute(someObject) ) s += """""" # Close the folders node return s class GetFoldersAndFilesCommandMixin (object): def getFoldersAndFiles(self, resourceType, currentFolder): """ Purpose: command to recieve a list of folders and files """ # Map the virtual path to our local server serverPath = mapServerFolder(self.userFilesFolder,currentFolder) # Open the folders / files node folders = """""" files = """""" for someObject in os.listdir(serverPath): someObjectPath = mapServerFolder(serverPath, someObject) if os.path.isdir(someObjectPath): folders += """""" % ( convertToXmlAttribute(someObject) ) elif os.path.isfile(someObjectPath): size = os.path.getsize(someObjectPath) files += """""" % ( convertToXmlAttribute(someObject), os.path.getsize(someObjectPath) ) # Close the folders / files node folders += """""" files += """""" return folders + files class CreateFolderCommandMixin (object): def createFolder(self, resourceType, currentFolder): """ Purpose: command to create a new folder """ errorNo = 0; errorMsg =''; if self.request.has_key("NewFolderName"): newFolder = self.request.get("NewFolderName", None) newFolder = sanitizeFolderName (newFolder) try: newFolderPath = mapServerFolder(self.userFilesFolder, combinePaths(currentFolder, newFolder)) self.createServerFolder(newFolderPath) except Exception, e: errorMsg = str(e).decode('iso-8859-1').encode('utf-8') # warning with encodigns!!! if hasattr(e,'errno'): if e.errno==17: #file already exists errorNo=0 elif e.errno==13: # permission denied errorNo = 103 elif e.errno==36 or e.errno==2 or e.errno==22: # filename too long / no such file / invalid name errorNo = 102 else: errorNo = 110 else: errorNo = 102 return self.sendErrorNode ( errorNo, errorMsg ) def createServerFolder(self, folderPath): "Purpose: physically creates a folder on the server" # No need to check if the parent exists, just create all hierachy oldumask = os.umask(0) os.makedirs(folderPath,mode=0755) os.umask( oldumask ) class UploadFileCommandMixin (object): def uploadFile(self, resourceType, currentFolder): """ Purpose: command to upload files to server (same as FileUpload) """ errorNo = 0 if self.request.has_key("NewFile"): # newFile has all the contents we need newFile = self.request.get("NewFile", "") # Get the file name newFileName = newFile.filename newFileName = sanitizeFileName( newFileName ) newFileNameOnly = removeExtension(newFileName) newFileExtension = getExtension(newFileName).lower() allowedExtensions = Config.AllowedExtensions[resourceType] deniedExtensions = Config.DeniedExtensions[resourceType] if (allowedExtensions): # Check for allowed isAllowed = False if (newFileExtension in allowedExtensions): isAllowed = True elif (deniedExtensions): # Check for denied isAllowed = True if (newFileExtension in deniedExtensions): isAllowed = False else: # No extension limitations isAllowed = True if (isAllowed): # Upload to operating system # Map the virtual path to the local server path currentFolderPath = mapServerFolder(self.userFilesFolder, currentFolder) i = 0 while (True): newFilePath = os.path.join (currentFolderPath,newFileName) if os.path.exists(newFilePath): i += 1 newFileName = "%s(%04d).%s" % ( newFileNameOnly, i, newFileExtension ) errorNo= 201 # file renamed else: # Read file contents and write to the desired path (similar to php's move_uploaded_file) fout = file(newFilePath, 'wb') while (True): chunk = newFile.file.read(100000) if not chunk: break fout.write (chunk) fout.close() if os.path.exists ( newFilePath ): oldumask = os.umask(0) os.chmod( newFilePath, 0755 ) os.umask( oldumask ) newFileUrl = self.webUserFilesFolder + currentFolder + newFileName return self.sendUploadResults( errorNo , newFileUrl, newFileName ) else: return self.sendUploadResults( errorNo = 203, customMsg = "Extension not allowed" ) else: return self.sendUploadResults( errorNo = 202, customMsg = "No File" ) --- NEW FILE: wsgi.py --- #!/usr/bin/env python """ FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben == BEGIN LICENSE == Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html == END LICENSE == Connector/QuickUpload for Python (WSGI wrapper). See config.py for configuration settings """ from connector import FCKeditorConnector from upload import FCKeditorQuickUpload import cgitb from cStringIO import StringIO # Running from WSGI capable server (recomended) def App(environ, start_response): "WSGI entry point. Run the connector" if environ['SCRIPT_NAME'].endswith("connector.py"): conn = FCKeditorConnector(environ) elif environ['SCRIPT_NAME'].endswith("upload.py"): conn = FCKeditorQuickUpload(environ) else: start_response ("200 Ok", [('Content-Type','text/html')]) yield "Unknown page requested: " yield environ['SCRIPT_NAME'] return try: # run the connector data = conn.doResponse() # Start WSGI response: start_response ("200 Ok", conn.headers) # Send response text yield data except: start_response("500 Internal Server Error",[("Content-type","text/html")]) file = StringIO() cgitb.Hook(file = file).handle() yield file.getvalue() --- NEW FILE: fckconnector.py --- #!/usr/bin/env python """ FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben == BEGIN LICENSE == Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html == END LICENSE == Base Connector for Python (CGI and WSGI). See config.py for configuration settings """ import cgi, os from fckutil import * from fckcommands import * # default command's implementation from fckoutput import * # base http, xml and html output mixins import config as Config class FCKeditorConnectorBase( object ): "The base connector class. Subclass it to extend functionality (see Zope example)" def __init__(self, environ=None): "Constructor: Here you should parse request fields, initialize variables, etc." self.request = FCKeditorRequest(environ) # Parse request self.headers = [] # Clean Headers if environ: self.environ = environ else: self.environ = os.environ # local functions def setHeader(self, key, value): self.headers.append ((key, value)) return class FCKeditorRequest(object): "A wrapper around the request object" def __init__(self, environ): if environ: # WSGI self.request = cgi.FieldStorage(fp=environ['wsgi.input'], environ=environ, keep_blank_values=1) self.environ = environ else: # plain old cgi self.environ = os.environ self.request = cgi.FieldStorage() if 'REQUEST_METHOD' in self.environ and 'QUERY_STRING' in self.environ: if self.environ['REQUEST_METHOD'].upper()=='POST': # we are in a POST, but GET query_string exists # cgi parses by default POST data, so parse GET QUERY_STRING too self.get_request = cgi.FieldStorage(fp=None, environ={ 'REQUEST_METHOD':'GET', 'QUERY_STRING':self.environ['QUERY_STRING'], }, ) else: self.get_request={} def has_key(self, key): return self.request.has_key(key) or self.get_request.has_key(key) def get(self, key, default=None): if key in self.request.keys(): field = self.request[key] elif key in self.get_request.keys(): field = self.get_request[key] else: return default if hasattr(field,"filename") and field.filename: #file upload, do not convert return value return field else: return field.value --- NEW FILE: htaccess.txt --- # replace the name of this file to .htaccess (if using apache), # and set the proper options and paths according your enviroment Allow from all # If using mod_python uncomment this: PythonPath "[r'C:\Archivos de programa\Apache Software Foundation\Apache2.2\htdocs\fckeditor\editor\filemanager\connectors\py'] + sys.path" # Recomended: WSGI application running with mod_python and modpython_gateway SetHandler python-program PythonHandler modpython_gateway::handler PythonOption wsgi.application wsgi::App # Emulated CGI with mod_python and cgihandler #AddHandler mod_python .py #PythonHandler mod_python.cgihandler # Plain old CGI #Options +ExecCGI #AddHandler cgi-script py --- NEW FILE: fckoutput.py --- #!/usr/bin/env python """ FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben == BEGIN LICENSE == Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html == END LICENSE == Connector for Python (CGI and WSGI). """ from time import gmtime, strftime import string def escape(text, replace=string.replace): """ Converts the special characters '<', '>', and '&'. RFC 1866 specifies that these characters be represented in HTML as < > and & respectively. In Python 1.5 we use the new string.replace() function for speed. """ text = replace(text, '&', '&') # must be done 1st text = replace(text, '<', '<') text = replace(text, '>', '>') text = replace(text, '"', '"') return text def convertToXmlAttribute(value): if (value is None): value = "" return escape(value) class BaseHttpMixin(object): def setHttpHeaders(self, content_type='text/xml'): "Purpose: to prepare the headers for the xml to return" # Prevent the browser from caching the result. # Date in the past self.setHeader('Expires','Mon, 26 Jul 1997 05:00:00 GMT') # always modified self.setHeader('Last-Modified',strftime("%a, %d %b %Y %H:%M:%S GMT", gmtime())) # HTTP/1.1 self.setHeader('Cache-Control','no-store, no-cache, must-revalidate') self.setHeader('Cache-Control','post-check=0, pre-check=0') # HTTP/1.0 self.setHeader('Pragma','no-cache') # Set the response format. self.setHeader( 'Content-Type', content_type + '; charset=utf-8' ) return class BaseXmlMixin(object): def createXmlHeader(self, command, resourceType, currentFolder, url): "Purpose: returns the xml header" self.setHttpHeaders() # Create the XML document header s = """""" # Create the main connector node s += """""" % ( command, resourceType ) # Add the current folder node s += """""" % ( convertToXmlAttribute(currentFolder), convertToXmlAttribute(url), ) return s def createXmlFooter(self): "Purpose: returns the xml footer" return """""" def sendError(self, number, text): "Purpose: in the event of an error, return an xml based error" self.setHttpHeaders() return ("""""" + """""" + self.sendErrorNode (number, text) + """""" ) def sendErrorNode(self, number, text): return """""" % (number, convertToXmlAttribute(text)) class BaseHtmlMixin(object): def sendUploadResults( self, errorNo = 0, fileUrl = '', fileName = '', customMsg = '' ): self.setHttpHeaders("text/html") "This is the function that sends the results of the uploading process" return """""" % { 'errorNumber': errorNo, 'fileUrl': fileUrl.replace ('"', '\\"'), 'fileName': fileName.replace ( '"', '\\"' ) , 'customMsg': customMsg.replace ( '"', '\\"' ), } --- NEW FILE: fckutil.py --- #!/usr/bin/env python """ FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben == BEGIN LICENSE == Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html == END LICENSE == Utility functions for the File Manager Connector for Python """ import string, re import os import config as Config # Generic manipulation functions def removeExtension(fileName): index = fileName.rindex(".") newFileName = fileName[0:index] return newFileName def getExtension(fileName): index = fileName.rindex(".") + 1 fileExtension = fileName[index:] return fileExtension def removeFromStart(string, char): return string.lstrip(char) def removeFromEnd(string, char): return string.rstrip(char) # Path functions def combinePaths( basePath, folder ): return removeFromEnd( basePath, '/' ) + '/' + removeFromStart( folder, '/' ) def getFileName(filename): " Purpose: helper function to extrapolate the filename " for splitChar in ["/", "\\"]: array = filename.split(splitChar) if (len(array) > 1): filename = array[-1] return filename def sanitizeFolderName( newFolderName ): "Do a cleanup of the folder name to avoid possible problems" # Remove . \ / | : ? * return re.sub( '\\.|\\\\|\\/|\\||\\:|\\?|\\*', '_', newFolderName ) def sanitizeFileName( newFileName ): "Do a cleanup of the file name to avoid possible problems" # Replace dots in the name with underscores (only one dot can be there... security issue). if ( Config.ForceSingleExtension ): # remove dots newFileName = re.sub ( '/\\.(?![^.]*$)/', '_', newFileName ) ; newFileName = newFileName.replace('\\','/') # convert windows to unix path newFileName = os.path.basename (newFileName) # strip directories # Remove \ / | : ? * return re.sub ( '/\\\\|\\/|\\||\\:|\\?|\\*/', '_', newFileName ) def getCurrentFolder(currentFolder): if not currentFolder: currentFolder = '/' # Check the current folder syntax (must begin and end with a slash). if (currentFolder[-1] <> "/"): currentFolder += "/" if (currentFolder[0] <> "/"): currentFolder = "/" + currentFolder # Ensure the folder path has no double-slashes while '//' in currentFolder: currentFolder = currentFolder.replace('//','/') # Check for invalid folder paths (..) if '..' in currentFolder: return None return currentFolder def mapServerPath( environ, url): " Emulate the asp Server.mapPath function. Given an url path return the physical directory that it corresponds to " # This isn't correct but for the moment there's no other solution # If this script is under a virtual directory or symlink it will detect the problem and stop return combinePaths( getRootPath(environ), url ) def mapServerFolder(resourceTypePath, folderPath): return combinePaths ( resourceTypePath , folderPath ) def getRootPath(environ): "Purpose: returns the root path on the server" # WARNING: this may not be thread safe, and doesn't work w/ VirtualServer/mod_python # Use Config.UserFilesAbsolutePath instead if environ.has_key('DOCUMENT_ROOT'): return environ['DOCUMENT_ROOT'] else: realPath = os.path.realpath( './' ) selfPath = environ['SCRIPT_FILENAME'] selfPath = selfPath [ : selfPath.rfind( '/' ) ] selfPath = selfPath.replace( '/', os.path.sep) position = realPath.find(selfPath) # This can check only that this script isn't run from a virtual dir # But it avoids the problems that arise if it isn't checked raise realPath if ( position < 0 or position <> len(realPath) - len(selfPath) or realPath[ : position ]==''): raise Exception('Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/py/config.py".') return realPath[ : position ] From blaine at qs1489.pair.com Sat Feb 9 07:54:04 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:04 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/office2003/images toolbar.arrowright.gif, 1.2, 1.3 toolbar.bg.gif, 1.2, 1.3 toolbar.buttonarrow.gif, 1.2, 1.3 toolbar.collapse.gif, 1.2, 1.3 toolbar.end.gif, 1.2, 1.3 toolbar.expand.gif, 1.2, 1.3 toolbar.separator.gif, 1.2, 1.3 toolbar.start.gif, 1.3, 1.4 Message-ID: <20080209125404.8120F10FE17@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/office2003/images In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/skins/office2003/images Added Files: toolbar.arrowright.gif toolbar.bg.gif toolbar.buttonarrow.gif toolbar.collapse.gif toolbar.end.gif toolbar.expand.gif toolbar.separator.gif toolbar.start.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: toolbar.bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.expand.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.end.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.separator.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.collapse.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.start.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.arrowright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.buttonarrow.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:03 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:03 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/default/images toolbar.arrowright.gif, 1.2, 1.3 toolbar.buttonarrow.gif, 1.2, 1.3 toolbar.collapse.gif, 1.2, 1.3 toolbar.end.gif, 1.2, 1.3 toolbar.expand.gif, 1.2, 1.3 toolbar.separator.gif, 1.2, 1.3 toolbar.start.gif, 1.3, 1.4 Message-ID: <20080209125403.7AE3C10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/default/images In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/skins/default/images Added Files: toolbar.arrowright.gif toolbar.buttonarrow.gif toolbar.collapse.gif toolbar.end.gif toolbar.expand.gif toolbar.separator.gif toolbar.start.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: toolbar.expand.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.end.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.separator.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.collapse.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.start.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.arrowright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.buttonarrow.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:04 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:04 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/skins/silver fck_dialog.css, 1.3, 1.4 fck_editor.css, 1.5, 1.6 fck_strip.gif, 1.2, 1.3 Message-ID: <20080209125404.80E8710FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/skins/silver In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/skins/silver Added Files: fck_dialog.css fck_editor.css fck_strip.gif Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_dialog.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Styles used by the dialog boxes. */ body { margin: 0px; padding: 10px; background-color: #f7f7f7; } body, td, input, select, textarea { font-size: 11px; font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; } body, .BackColor { background-color: #f7f7f7; } .PopupBody { margin: 0px; padding: 0px; } .PopupTitle { padding-right: 10px; padding-left: 10px; font-weight: bold; font-size: 14pt; padding-bottom: 3px; color: #504845; padding-top: 3px; background-color: #dedede; } .PopupButtons { border-top: #cec6b5 1px solid; background-color: #DEDEDE; padding: 7px 10px 7px 10px; } .Button { border: #7a7261 1px solid; color: #504845; background-color: #cec6b5; } #btnOk { width: 100px; } .DarkBackground { background-color: #d7d79f; } .LightBackground { background-color: #ffffbe; } .PopupTitleBorder { border-bottom: #cec6b5 1px solid; } .PopupTabArea { color: #504845; background-color: #DEDEDE; } .PopupTabEmptyArea { padding-left: 10px ; border-bottom: #cec6b5 1px solid; } .PopupTab, .PopupTabSelected { border-right: #cec6b5 1px solid; border-top: #cec6b5 1px solid; border-left: #cec6b5 1px solid; padding: 3px 5px 3px 5px; color: #504845; } .PopupTab { margin-top: 1px; border-bottom: #cec6b5 1px solid; cursor: pointer; cursor: hand; } .PopupTabSelected { font-weight:bold; cursor: default; padding-top: 4px; border-bottom: #f1f1e3 1px solid; background-color: #f7f7f7; } .PopupSelectionBox { border: #a9a9a9 1px solid !important; background-color: #dcdcdc !important; cursor: pointer; cursor: hand; } #tdBrowse { vertical-align: bottom; } --- NEW FILE: fck_editor.css --- /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Styles used by the editor IFRAME and Toolbar. */ /* ### Basic Editor IFRAME Styles. */ body { padding: 1px; margin: 0; background-color: #ffffff; } #xEditingArea { border: #696969 1px solid; } .SourceField { padding: 5px; margin: 0px; font-family: Monospace; } /* Toolbar */ .TB_ToolbarSet, .TB_Expand, .TB_Collapse { cursor: default; background-color: #f7f7f7; } .TB_ToolbarSet { padding: 1px; border-top: #efefde 1px outset; border-bottom: #efefde 1px outset; } .TB_ToolbarSet TD { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .TB_Toolbar { display: inline-table; } .TB_Separator { width: 1px; height: 21px; margin: 2px; background-color: #C6C3BD; } .TB_Start { background-image: url(images/toolbar.start.gif); margin-left: 2px; margin-right: 2px; width: 3px; background-repeat: no-repeat; height: 27px; background-position: center center; } .TB_End { display: none; } .TB_ExpandImg { background-image: url(images/toolbar.expand.gif); background-repeat: no-repeat; } .TB_CollapseImg { background-image: url(images/toolbar.collapse.gif); background-repeat: no-repeat; } .TB_SideBorder { background-color: #696969; } .TB_Expand, .TB_Collapse { padding: 2px 2px 2px 2px; border: #efefde 1px outset; } .TB_Collapse { border: #efefde 1px outset; width: 5px; } .TB_Break { height: 27px; } /* Toolbar Button */ .TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled { padding: 1px ; margin:1px; height: 21px; } .TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled { border: #cec6b5 1px solid; } .TB_Button_On { border-color: #316ac5; background-color: #c1d2ee; } .TB_Button_On_Over, .TB_Button_Off_Over { border: #316ac5 1px solid; background-color: #dff1ff; } .TB_Button_Off { background: #efefef url(images/toolbar.buttonbg.gif) repeat-x; } .TB_Button_Off, .TB_Combo_Off { opacity: 0.70; /* Safari, Opera and Mozilla */ filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.70; Mozilla (Old) */ } .TB_Button_Disabled { opacity: 0.30; /* Safari, Opera and Mozilla */ filter: gray() alpha(opacity=30); /* IE */ } .TB_Button_Padding { visibility: hidden; width: 3px; height: 21px; } .TB_Button_Image { overflow: hidden; width: 16px; height: 16px; margin: 3px; margin-top: 4px; margin-bottom: 2px; background-repeat: no-repeat; } /* For composed button ( icon + text, icon + arrow ), we must compensate the table */ .TB_Button_On TABLE .TB_Button_Image, .TB_Button_Off TABLE .TB_Button_Image, .TB_Button_On_Over TABLE .TB_Button_Image, .TB_Button_Off_Over TABLE .TB_Button_Image, .TB_Button_Disabled TABLE .TB_Button_Image { margin-top: 3px; } .TB_Button_Image img { position: relative; } .TB_ConnectionLine { background-color: #ffffff; height: 1px; margin-left: 1px; /* ltr */ margin-right: 1px; /* rtl */ } /* Menu */ .MN_Menu { border: 1px solid #8f8f73; padding: 2px; background-color: #f7f7f7; cursor: default; } .MN_Menu, .MN_Menu .MN_Label { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .MN_Item_Padding { visibility: hidden; width: 3px; height: 20px; } .MN_Icon { background-color: #dedede; text-align: center; height: 20px; } .MN_Label { padding-left: 3px; padding-right: 3px; } .MN_Separator { height: 3px; } .MN_Separator_Line { border-top: #b9b99d 1px solid; } .MN_Item .MN_Icon IMG { filter: alpha(opacity=70); opacity: 0.70; } .MN_Item_Over { color: #ffffff; background-color: #8a857d; } .MN_Item_Over .MN_Icon { background-color: #6c6761; } .MN_Item_Disabled IMG { filter: gray() alpha(opacity=30); /* IE */ opacity: 0.30; /* Safari, Opera and Mozilla */ } .MN_Item_Disabled .MN_Label { color: #b7b7b7; } .MN_Arrow { padding-right: 3px; padding-left: 3px; } .MN_ConnectionLine { background-color: #ffffff; } .Menu .TB_Button_On, .Menu .TB_Button_On_Over { border: #8f8f73 1px solid; background-color: #ffffff; } /* ### Panel Styles */ .FCK_Panel { border: #8f8f73 1px solid; padding: 2px; background-color: #ffffff; } .FCK_Panel, .FCK_Panel TD { font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; font-size: 11px; } /* ### Special Combos */ .SC_Panel { overflow: auto; white-space: nowrap; cursor: default; border: 1px solid #8f8f73; padding-left: 2px; padding-right: 2px; } .SC_Panel, .SC_Panel TD { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .SC_Item, .SC_ItemSelected { margin-top: 2px; margin-bottom: 2px; background-position: left center; padding-left: 11px; padding-right: 3px; padding-top: 2px; padding-bottom: 2px; text-overflow: ellipsis; overflow: hidden; background-repeat: no-repeat; border: #dddddd 1px solid; } .SC_Item *, .SC_ItemSelected * { margin-top: 0px; margin-bottom: 0px; } .SC_ItemSelected { border: #9a9afb 1px solid; background-image: url(images/toolbar.arrowright.gif); } .SC_ItemOver { border: #316ac5 1px solid; } .SC_Field { margin-top:1px ; border: #b7b7a6 1px solid; cursor: default; } .SC_FieldCaption { padding-top: 1px ; overflow: visible; padding-right: 5px; padding-left: 5px; opacity: 0.75; /* Safari, Opera and Mozilla */ filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */ height: 23px; background-color: #f7f7f7; } .SC_FieldLabel { white-space: nowrap; padding: 2px; width: 100%; cursor: default; background-color: #ffffff; text-overflow: ellipsis; overflow: hidden; } .SC_FieldButton { background-position: center center; background-image: url(images/toolbar.buttonarrow.gif); border-left: #b7b7a6 1px solid; width: 14px; background-repeat: no-repeat; } .SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption { opacity: 0.30; /* Safari, Opera and Mozilla */ filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */ } .SC_FieldOver { border: #316ac5 1px solid; } .SC_FieldOver .SC_FieldButton { border-left: #316ac5 1px solid; } /* ### Color Selector Panel */ .ColorBoxBorder { border: #808080 1px solid; position: static; } .ColorBox { font-size: 1px; width: 10px; position: static; height: 10px; } .ColorDeselected, .ColorSelected { cursor: default; } .ColorDeselected { border: #ffffff 1px solid; padding: 2px; float: left; } .ColorSelected { border: #316ac5 1px solid; padding: 2px; float: left; background-color: #c1d2ee; } --- NEW FILE: fck_strip.gif --- (This appears to be a binary file; contents omitted.) From blaine at qs1489.pair.com Sat Feb 9 07:54:01 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Sat, 09 Feb 2008 12:54:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/dialog fck_about.html, 1.5, 1.6 fck_anchor.html, 1.5, 1.6 fck_button.html, 1.3, 1.4 fck_checkbox.html, 1.4, 1.5 fck_colorselector.html, 1.3, 1.4 fck_docprops.html, 1.4, 1.5 fck_flash.html, 1.3, 1.4 fck_form.html, 1.3, 1.4 fck_hiddenfield.html, 1.3, 1.4 fck_image.html, 1.6, 1.7 fck_link.html, 1.5, 1.6 fck_listprop.html, 1.4, 1.5 fck_paste.html, 1.4, 1.5 fck_radiobutton.html, 1.4, 1.5 fck_replace.html, 1.3, 1.4 fck_select.html, 1.3, 1.4 fck_smiley.html, 1.4, 1.5 fck_source.html, 1.3, 1.4 fck_specialchar.html, 1.5, 1.6 fck_spellerpages.html, 1.3, 1.4 fck_table.html, 1.5, 1.6 fck_tablecell.html, 1.3, 1.4 fck_template.html, 1.5, 1.6 fck_textarea.html, 1.3, 1.4 fck_textfield.html, 1.3, 1.4 Message-ID: <20080209125401.CC7EE10FE1C@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/dialog In directory qs1489.pair.com:/tmp/cvs-serv26402/editor/dialog Added Files: fck_about.html fck_anchor.html fck_button.html fck_checkbox.html fck_colorselector.html fck_docprops.html fck_flash.html fck_form.html fck_hiddenfield.html fck_image.html fck_link.html fck_listprop.html fck_paste.html fck_radiobutton.html fck_replace.html fck_select.html fck_smiley.html fck_source.html fck_specialchar.html fck_spellerpages.html fck_table.html fck_tablecell.html fck_template.html fck_textarea.html fck_textfield.html Log Message: Upgrade to v2.5.1 of FCKeditor --- NEW FILE: fck_table.html --- Table Properties
    Rows:  
    Columns:  
       
    Border size:  
    Alignment:  
       
    Width:    
    Height:    pixels
         
    Cell spacing:    
    Cell padding:    
    Caption  
    Summary  
    --- NEW FILE: fck_template.html ---
    Please select the template to open in the editor
    (the actual contents will be lost):
    --- NEW FILE: fck_radiobutton.html --- Radio Button Properties
    Name
    Value
    --- NEW FILE: fck_hiddenfield.html --- Hidden Field Properties
    Name
    Value
    --- NEW FILE: fck_link.html --- Link Properties --- NEW FILE: fck_button.html --- Button Properties
    Name
    Text (Value)
    Type
    --- NEW FILE: fck_listprop.html ---
    List Type
     
    --- NEW FILE: fck_about.html ---
    version
    2.5.1
    Build 17566
     

    Support Open Source Software



    For further information go to http://www.fckeditor.net/.
    Copyright © 2003-2007 Frederico Caldeira Knabben
    --- NEW FILE: fck_image.html --- Image Properties
    URL
    Short Description


    Width 
    Height 

    Border 
    HSpace 
    VSpace 
    Align 
       
    Preview
    --- NEW FILE: fck_smiley.html ---
    --- NEW FILE: fck_checkbox.html --- Checkbox Properties
    Name
    Value
    --- NEW FILE: fck_tablecell.html --- Table Cell Properties
    Width:   
    Height:   pixels
       
    Word Wrap:  
       
    Horizontal Alignment:  
    Vertical Alignment:  
       
    Rows Span:  
    Columns Span:  
         
    Background Color:    
    Border Color:    
    --- NEW FILE: fck_replace.html --- --- NEW FILE: fck_colorselector.html ---
    Highlight
     
    Selected

    --- NEW FILE: fck_textfield.html ---
    Name
    Value
    Character Width
    Maximum Characters
    Type
     
    --- NEW FILE: fck_spellerpages.html --- Spell Check --- NEW FILE: fck_docprops.html ---
    Page Title

    Language Direction
        Language Code

    Character Set Encoding
        Other Character Set Encoding
     
    Document Type Heading
    Other Document Type Heading

    --- NEW FILE: fck_specialchar.html ---
        
     
    --- NEW FILE: fck_form.html ---
    Name
    Action
    Method
    --- NEW FILE: fck_select.html --- Select Properties
    Name 
    Value 
    Size   lines


     Available Options 
    Text
    Value

      
    --- NEW FILE: fck_textarea.html --- Text Area Properties
    Name
    Collumns

    Rows
    --- NEW FILE: fck_flash.html --- Flash Properties
    URL
    Width
      Height
    Preview
    --- NEW FILE: fck_source.html --- Source
    --- NEW FILE: fck_paste.html ---
    Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.
     

    --- NEW FILE: fck_anchor.html --- Anchor Properties
    Anchor Name
    From dhaun at qs1489.pair.com Sun Feb 10 08:08:08 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 13:08:08 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional/admin/config configuration.thtml, 1.10, 1.11 Message-ID: <20080210130808.5D9BD10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/admin/config In directory qs1489.pair.com:/tmp/cvs-serv76291/admin/config Modified Files: configuration.thtml Log Message: Missing Index: configuration.thtml =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/admin/config/configuration.thtml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** configuration.thtml 2 Feb 2008 21:56:34 -0000 1.10 --- configuration.thtml 10 Feb 2008 13:08:06 -0000 1.11 *************** *** 8,12 **** !
    {config_menu} --- 8,12 ---- !
    {config_menu}
    *************** *** 53,55 **** ! \ No newline at end of file --- 53,55 ---- ! From dhaun at qs1489.pair.com Sun Feb 10 10:18:14 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 15:18:14 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/polls/templates/admin polleditor.thtml, 1.10, 1.11 Message-ID: <20080210151814.D8BEE10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/polls/templates/admin In directory qs1489.pair.com:/tmp/cvs-serv81460/admin Modified Files: polleditor.thtml Log Message: Fixed HTML ( not allowed in a

    ) Index: polleditor.thtml =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/polls/templates/admin/polleditor.thtml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** polleditor.thtml 30 Dec 2007 13:38:14 -0000 1.10 --- polleditor.thtml 10 Feb 2008 15:18:12 -0000 1.11 *************** *** 41,45 ****

    {lang_permissions}

    {lang_permissionskey}

    !

    {permissions_editor}

    {lang_permissions_msg}

    {delete_option}

    --- 41,45 ----

    {lang_permissions}

    {lang_permissionskey}

    !
    {permissions_editor}

    {lang_permissions_msg}

    {delete_option}

    From dhaun at qs1489.pair.com Sun Feb 10 12:09:39 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.23, 1.24 Message-ID: <20080210170939.C5E8810FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv85353/system/classes Modified Files: config.class.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** config.class.php 9 Feb 2008 12:22:28 -0000 1.23 --- config.class.php 10 Feb 2008 17:09:37 -0000 1.24 *************** *** 312,317 **** $q_string = "SELECT name, type, selectionArray, " . "fieldset, value FROM {$_TABLES['conf_values']}" . ! " WHERE group_name='{$group}' and subgroup='{$subgroup}' " . ! " ORDER BY sort_order ASC"; $Qresult = DB_query($q_string); $res = array(); --- 312,318 ---- $q_string = "SELECT name, type, selectionArray, " . "fieldset, value FROM {$_TABLES['conf_values']}" . ! " WHERE group_name='{$group}' AND subgroup='{$subgroup}' " . ! " AND (type <> 'fieldset' AND type <> 'subgroup') " . ! " ORDER BY fieldset,sort_order ASC"; $Qresult = DB_query($q_string); $res = array(); *************** *** 357,374 **** } ! function get_sgroups($group) { global $_TABLES; ! $q_string = "SELECT subgroup FROM {$_TABLES['conf_values']} WHERE " . ! "group_name='{$group}' " . ! "GROUP BY subgroup"; $res = DB_query($q_string); - $return = array(); while ($row = DB_fetchArray($res)) { ! $return[] = $row[0]; } ! return $return; } --- 358,375 ---- } ! function _get_sgroups($group) { global $_TABLES; ! $q_string = "SELECT name,subgroup FROM {$_TABLES['conf_values']} WHERE " ! . "type = 'subgroup' AND group_name = '$group' " ! . "ORDER BY subgroup"; ! $retval = array(); $res = DB_query($q_string); while ($row = DB_fetchArray($res)) { ! $retval[$row['name']] = $row['subgroup']; } ! return $retval; } *************** *** 418,427 **** $t->set_var("group_select_value", $group); $t->set_var("group_display", ucwords($group)); ! $subgroups = $this->get_sgroups($group); ! $innerloopcntr=1; ! foreach ($subgroups as $sgroup) { if ($grp == $group AND $sg == $sgroup) { ! $t->set_var('group_active_name',ucwords($group)); ! $t->set_var('subgroup_active_name',$LANG_configsubgroups[$group][$sgroup]); $t->set_var('select_id', 'id="current"'); } else { --- 419,434 ---- $t->set_var("group_select_value", $group); $t->set_var("group_display", ucwords($group)); ! $subgroups = $this->_get_sgroups($group); ! $innerloopcntr = 1; ! foreach ($subgroups as $sgname => $sgroup) { if ($grp == $group AND $sg == $sgroup) { ! $t->set_var('group_active_name', ucwords($group)); ! if (isset($LANG_configsubgroups[$group][$sgname])) { ! $t->set_var('subgroup_active_name', ! $LANG_configsubgroups[$group][$sgname]); ! } else { ! $t->set_var('subgroup_active_name', ! $LANG_configsubgroups[$group][$sgroup]); ! } $t->set_var('select_id', 'id="current"'); } else { *************** *** 451,457 **** $ext_info = $this->_get_extended($sg, $grp); ! foreach ($ext_info as $fset=>$params) { $fs_contents = ''; ! foreach ($params as $name=>$e) { $fs_contents .= $this->_UI_get_conf_element($name, --- 458,464 ---- $ext_info = $this->_get_extended($sg, $grp); ! foreach ($ext_info as $fset => $params) { $fs_contents = ''; ! foreach ($params as $name => $e) { $fs_contents .= $this->_UI_get_conf_element($name, *************** *** 493,497 **** function _UI_get_fs($group, $contents, $fs_id, &$t) { ! global $LANG_fs; if (!array_key_exists($group, $LANG_fs)) { --- 500,504 ---- function _UI_get_fs($group, $contents, $fs_id, &$t) { ! global $_TABLES, $LANG_fs; if (!array_key_exists($group, $LANG_fs)) { *************** *** 499,503 **** } $t->set_var('fs_contents', $contents); ! $t->set_var('fs_display', $LANG_fs[$group][$fs_id]); $t->set_var('fs_notes', ''); $t->parse('sg_contents', 'fieldset', true); --- 506,516 ---- } $t->set_var('fs_contents', $contents); ! $fs_index = DB_getItem($_TABLES['conf_values'], 'name', ! "type = 'fieldset' AND fieldset = $fs_id AND group_name = '$group'"); ! if (empty($fs_index)) { ! $t->set_var('fs_display', $LANG_fs[$group][$fs_id]); ! } else { ! $t->set_var('fs_display', $LANG_fs[$group][$fs_index]); ! } $t->set_var('fs_notes', ''); $t->parse('sg_contents', 'fieldset', true); *************** *** 543,547 **** if ($deletable) { $t->set_var('delete', $t->parse('output', 'delete-button')); ! } elseif ($this->ref == 'Core' ) { $t->set_var('unset_link', "(X)"); --- 556,560 ---- if ($deletable) { $t->set_var('delete', $t->parse('output', 'delete-button')); ! } elseif (false) { // ??? } elseif ($this->ref == 'Core' ) { $t->set_var('unset_link', "(X)"); *************** *** 729,739 **** } $retval .= COM_startBlock($subgroup_title, '', ! COM_getBlockTemplate('configmanager_subblock', 'header')); ! $sgroups = $this->get_sgroups($conf_group); if (count($sgroups) > 0) { ! $i =0; ! foreach ($sgroups as $sgroup) { ! $group_display = $LANG_configsubgroups[$conf_group][$sgroup]; // Create a menu item for each sub config group - disable the link for the current selected one if ($i == $sg) { --- 742,756 ---- } $retval .= COM_startBlock($subgroup_title, '', ! COM_getBlockTemplate('configmanager_subblock', 'header')); ! $sgroups = $this->_get_sgroups($conf_group); if (count($sgroups) > 0) { ! $i = 0; ! foreach ($sgroups as $sgname => $sgroup) { ! if (isset($LANG_configsubgroups[$conf_group][$sgname])) { ! $group_display = $LANG_configsubgroups[$conf_group][$sgname]; ! } else { ! $group_display = $LANG_configsubgroups[$conf_group][$sgroup]; ! } // Create a menu item for each sub config group - disable the link for the current selected one if ($i == $sg) { *************** *** 752,754 **** } ! ?> \ No newline at end of file --- 769,771 ---- } ! ?> From dhaun at qs1489.pair.com Sun Feb 10 12:09:39 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/links install_defaults.php, 1.1, 1.2 Message-ID: <20080210170939.E44D710FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links In directory qs1489.pair.com:/tmp/cvs-serv85353/plugins/links Modified Files: install_defaults.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: install_defaults.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/install_defaults.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** install_defaults.php 3 Feb 2008 19:11:50 -0000 1.1 --- install_defaults.php 10 Feb 2008 17:09:37 -0000 1.2 *************** *** 173,176 **** --- 173,178 ---- if (!$c->group_exists('links')) { + $c->add('sg_main', NULL, 'subgroup', 0, 0, NULL, 0, true, 'links'); + $c->add('fs_public', NULL, 'fieldset', 0, 0, NULL, 0, true, 'links'); $c->add('linksloginrequired', $_LI_DEFAULT['linksloginrequired'], 'select', 0, 0, 0, 10, true, 'links'); *************** *** 183,186 **** --- 185,189 ---- $c->add('show_category_descriptions', $_LI_DEFAULT['show_category_descriptions'], 'select', 0, 0, 1, 50, true, 'links'); + $c->add('fs_admin', NULL, 'fieldset', 0, 1, NULL, 0, true, 'links'); $c->add('hidenewlinks', $_LI_DEFAULT['hidenewlinks'], 'select', 0, 1, 0, 60, true, 'links'); *************** *** 200,203 **** --- 203,207 ---- 0, 1, 0, 130, true, 'links'); + $c->add('fs_permissions', NULL, 'fieldset', 0, 2, NULL, 0, true, 'links'); $c->add('default_permissions', $_LI_DEFAULT['default_permissions'], '@select', 0, 2, 12, 140, true, 'links'); From dhaun at qs1489.pair.com Sun Feb 10 12:09:39 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/links/language english.php, 1.28, 1.29 english_utf-8.php, 1.15, 1.16 Message-ID: <20080210170940.01C4E10FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links/language In directory qs1489.pair.com:/tmp/cvs-serv85353/plugins/links/language Modified Files: english.php english_utf-8.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/language/english.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** english.php 3 Feb 2008 19:11:50 -0000 1.28 --- english.php 10 Feb 2008 17:09:37 -0000 1.29 *************** *** 276,286 **** $LANG_configsubgroups['links'] = array( ! 0 => 'Main Settings' ); $LANG_fs['links'] = array( ! 0 => 'Public Links List Settings', ! 1 => 'Links Admin Settings', ! 2 => 'Default Permissions' ); --- 276,286 ---- $LANG_configsubgroups['links'] = array( ! 'sg_main' => 'Main Settings' ); $LANG_fs['links'] = array( ! 'fs_public' => 'Public Links List Settings', ! 'fs_admin' => 'Links Admin Settings', ! 'fs_permissions' => 'Default Permissions' ); Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/language/english_utf-8.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** english_utf-8.php 3 Feb 2008 19:11:50 -0000 1.15 --- english_utf-8.php 10 Feb 2008 17:09:37 -0000 1.16 *************** *** 276,286 **** $LANG_configsubgroups['links'] = array( ! 0 => 'Main Settings' ); $LANG_fs['links'] = array( ! 0 => 'Public Links List Settings', ! 1 => 'Links Admin Settings', ! 2 => 'Default Permissions' ); --- 276,286 ---- $LANG_configsubgroups['links'] = array( ! 'sg_main' => 'Main Settings' ); $LANG_fs['links'] = array( ! 'fs_public' => 'Public Links List Settings', ! 'fs_admin' => 'Links Admin Settings', ! 'fs_permissions' => 'Default Permissions' ); From dhaun at qs1489.pair.com Sun Feb 10 12:09:39 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.25, 1.26 Message-ID: <20080210170939.D96AD10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install In directory qs1489.pair.com:/tmp/cvs-serv85353/public_html/admin/install Modified Files: config-install.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: config-install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** config-install.php 3 Feb 2008 20:52:55 -0000 1.25 --- config-install.php 10 Feb 2008 17:09:37 -0000 1.26 *************** *** 42,230 **** $c = config::get_instance(); ! $c->add('path_html','','text',0,1,NULL,10,TRUE); $c->add('site_url','','text',0,0,NULL,20,TRUE); $c->add('site_admin_url','','text',0,0,NULL,30,TRUE); - $c->add('site_mail','','text',0,3,NULL,40,TRUE); - $c->add('noreply_mail','','text',0,3,NULL,50,TRUE); $c->add('site_name','','text',0,0,NULL,60,TRUE); $c->add('site_slogan','','text',0,0,NULL,70,TRUE); $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); ! $c->add('path_log','','text',0,1,NULL,90,TRUE); ! $c->add('path_language','','text',0,1,NULL,100,TRUE); ! $c->add('backup_path','','text',0,1,NULL,110,TRUE); ! $c->add('path_data','','text',0,1,NULL,120,TRUE); ! $c->add('path_images','','text',0,1,NULL,130,TRUE); $c->add('have_pear','','select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); ! $c->add('mail_settings',array ('backend' => 'mail', 'sendmail_path' => '/usr/bin/sendmail', 'sendmail_args' => '', 'host' => 'smtp.example.com','port' => '25', 'auth' => false, 'username' => 'smtp-username','password' => 'smtp-password'),'@text',0,3,NULL,160,TRUE); $c->add('allow_mysqldump',1,'select',0,5,0,170,TRUE); $c->add('mysqldump_path','/usr/bin/mysqldump','text',0,5,NULL,175,TRUE); $c->add('mysqldump_options','-Q','text',0,5,NULL,180,TRUE); ! $c->add('theme','professional','fn:themeList',2,2,NULL,190,TRUE); ! $c->add('menu_elements',array('contribute','search','stats','directory','plugins'),'%text',2,2,NULL,200,TRUE); ! $c->add('path_themes','','text',2,2,NULL,210,TRUE); ! $c->add('disable_new_user_registration',FALSE,'select',4,6,0,220,TRUE); ! $c->add('allow_user_themes',1,'select',4,6,0,230,TRUE); ! $c->add('allow_user_language',1,'select',4,6,0,240,TRUE); ! $c->add('allow_user_photo',1,'select',4,6,0,250,TRUE); ! $c->add('allow_username_change',0,'select',4,6,0,260,TRUE); ! $c->add('allow_account_delete',0,'select',4,6,0,270,TRUE); ! $c->add('hide_author_exclusion',0,'select',4,6,0,280,TRUE); ! $c->add('show_fullname',0,'select',4,6,0,290,TRUE); ! $c->add('show_servicename',TRUE,'select',4,6,1,300,TRUE); ! $c->add('custom_registration',FALSE,'select',4,6,1,310,TRUE); ! $c->add('user_login_method',array('standard' => true, 'openid' => false, '3rdparty' => false),'@select',4,6,1,320,TRUE); ! $c->add('spamx',128,'text',4,8,NULL,330,TRUE); ! $c->add('sort_admin',TRUE,'select',3,9,1,340,TRUE); ! $c->add('language','english','fn:languageList',6,11,NULL,350,TRUE); ! $c->add('locale','en_GB','text',6,10,NULL,360,TRUE); ! $c->add('date','%A, %B %d %Y @ %I:%M %p %Z','text',6,10,NULL,370,TRUE); ! $c->add('daytime','%m/%d %I:%M%p','text',6,10,NULL,380,TRUE); ! $c->add('shortdate','%x','text',6,10,NULL,390,TRUE); ! $c->add('dateonly','%d-%b','text',6,10,NULL,400,TRUE); ! $c->add('timeonly','%I:%M%p','text',6,10,NULL,410,TRUE); ! $c->add('week_start','Sun','select',6,10,14,420,TRUE); ! $c->add('hour_mode',12,'select',6,10,6,430,TRUE); ! $c->add('thousand_separator',",",'text',6,10,NULL,440,TRUE); ! $c->add('decimal_separator',".",'text',6,10,NULL,450,TRUE); ! $c->add('decimal_count',"2",'text',6,10,NULL,460,TRUE); ! $c->add('language_files',array('en'=>'english_utf-8', 'de'=>'german_formal_utf-8'),'*text',6,11,NULL,470,FALSE); ! $c->add('languages',array('en'=>'English', 'de'=>'Deutsch'),'*text',6,11,NULL,480,FALSE); ! $c->add('timezone','Etc/GMT-6','text',6,10,NULL,490,FALSE); ! $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('rootdebug',FALSE,'select',7,12,1,520,TRUE); ! $c->add('cookie_session','gl_session','text',7,13,NULL,530,TRUE); ! $c->add('cookie_name','geeklog','text',7,13,NULL,540,TRUE); ! $c->add('cookie_password','password','text',7,13,NULL,550,TRUE); ! $c->add('cookie_theme','theme','text',7,13,NULL,560,TRUE); ! $c->add('cookie_language','language','text',7,13,NULL,570,TRUE); ! $c->add('cookie_tzid','timezone','text',7,13,NULL,575,TRUE); ! $c->add('cookie_ip',0,'select',7,13,0,580,TRUE); ! $c->add('default_perm_cookie_timeout',28800,'text',7,13,NULL,590,TRUE); ! $c->add('session_cookie_timeout',7200,'text',7,13,NULL,600,TRUE); ! $c->add('cookie_path','/','text',7,13,NULL,610,TRUE); ! $c->add('cookiedomain','','text',7,13,NULL,620,TRUE); ! $c->add('cookiesecure',FALSE,'select',7,13,1,630,TRUE); ! $c->add('lastlogin',TRUE,'select',4,14,1,640,TRUE); ! $c->add('pdf_enabled',0,'select',7,7,0,660,TRUE); ! $c->add('num_search_results',10,'text',0,15,NULL,670,TRUE); ! $c->add('loginrequired',0,'select',4,14,0,680,TRUE); ! $c->add('submitloginrequired',0,'select',4,14,0,690,TRUE); ! $c->add('commentsloginrequired',0,'select',4,14,0,700,TRUE); ! $c->add('statsloginrequired',0,'select',4,14,0,710,TRUE); ! $c->add('searchloginrequired',0,'select',4,14,16,720,TRUE); ! $c->add('profileloginrequired',0,'select',4,14,0,730,TRUE); ! $c->add('emailuserloginrequired',0,'select',4,14,0,740,TRUE); ! $c->add('emailstoryloginrequired',0,'select',4,14,0,750,TRUE); ! $c->add('directoryloginrequired',0,'select',4,14,0,760,TRUE); ! $c->add('storysubmission',1,'select',4,17,0,770,TRUE); ! $c->add('usersubmission',0,'select',4,16,0,780,TRUE); ! $c->add('listdraftstories',0,'select',4,17,0,790,TRUE); ! $c->add('notification',array(),'%text',7,7,NULL,800,TRUE); ! $c->add('postmode','plaintext','select',4,17,5,810,TRUE); ! $c->add('speedlimit',45,'text',4,17,NULL,820,TRUE); ! $c->add('skip_preview',0,'select',4,17,0,830,TRUE); ! $c->add('advanced_editor',FALSE,'select',4,17,1,840,TRUE); ! $c->add('wikitext_editor',FALSE,'select',4,17,1,850,TRUE); ! $c->add('cron_schedule_interval',86400,'text',7,7,NULL,860,TRUE); ! $c->add('sortmethod','sortnum','select',3,18,15,870,TRUE); ! $c->add('showstorycount',1,'select',3,18,0,880,TRUE); ! $c->add('showsubmissioncount',1,'select',3,18,0,890,TRUE); ! $c->add('hide_home_link',0,'select',3,18,0,900,TRUE); ! $c->add('whosonline_threshold',300,'text',3,19,NULL,910,TRUE); ! $c->add('whosonline_anonymous',0,'select',3,19,0,920,TRUE); ! $c->add('emailstories',0,'select',7,20,0,930,TRUE); ! $c->add('emailstorieslength',1,'text',7,20,NULL,940,TRUE); ! $c->add('emailstoriesperdefault',0,'select',7,20,0,950,TRUE); ! $c->add('allow_domains','','text',4,16,NULL,960,TRUE); ! $c->add('disallow_domains','','text',4,16,NULL,970,TRUE); ! $c->add('newstoriesinterval',86400,'text',3,21,NULL,980,TRUE); ! $c->add('newcommentsinterval',172800,'text',3,21,NULL,990,TRUE); ! $c->add('newtrackbackinterval',172800,'text',3,21,NULL,1000,TRUE); ! $c->add('hidenewstories',0,'select',3,21,0,1010,TRUE); ! $c->add('hidenewcomments',0,'select',3,21,0,1020,TRUE); ! $c->add('hidenewtrackbacks',0,'select',3,21,0,1030,TRUE); ! $c->add('hidenewplugins',0,'select',3,21,0,1040,TRUE); ! $c->add('title_trim_length',20,'text',3,21,NULL,1050,TRUE); ! $c->add('trackback_enabled',TRUE,'select',1,22,1,1060,TRUE); ! $c->add('trackback_code',0,'select',1,22,3,1070,TRUE); ! $c->add('trackbackspeedlimit',300,'text',1,22,NULL,1080,TRUE); ! $c->add('check_trackback_link',2,'select',1,22,4,1090,TRUE); ! $c->add('multiple_trackbacks',0,'select',1,22,2,1100,TRUE); ! $c->add('pingback_enabled',TRUE,'select',1,23,1,1110,TRUE); ! $c->add('pingback_excerpt',TRUE,'select',1,23,1,1120,TRUE); ! $c->add('pingback_self',0,'select',1,23,13,1130,TRUE); ! $c->add('ping_enabled',TRUE,'select',1,23,1,1140,TRUE); ! $c->add('link_documentation',1,'select',3,9,0,1150,TRUE); ! $c->add('link_versionchecker',1,'select',3,9,0,1160,TRUE); ! $c->add('maximagesperarticle',5,'text',1,24,NULL,1170,TRUE); ! $c->add('limitnews',10,'text',1,24,NULL,1180,TRUE); ! $c->add('minnews',1,'text',1,24,NULL,1190,TRUE); ! $c->add('contributedbyline',1,'select',1,24,0,1200,TRUE); ! $c->add('hideviewscount',0,'select',1,24,0,1210,TRUE); ! $c->add('hideemailicon',0,'select',1,24,0,1220,TRUE); ! $c->add('hideprintericon',0,'select',1,24,0,1230,TRUE); ! $c->add('allow_page_breaks',1,'select',1,24,0,1240,TRUE); ! $c->add('page_break_comments','last','select',1,24,7,1250,TRUE); ! $c->add('article_image_align','right','select',1,24,8,1260,TRUE); ! $c->add('show_topic_icon',1,'select',1,24,0,1270,TRUE); ! $c->add('draft_flag',0,'select',1,24,0,1280,TRUE); ! $c->add('frontpage',1,'select',1,24,0,1290,TRUE); ! $c->add('hide_no_news_msg',0,'select',1,24,0,1300,TRUE); ! $c->add('hide_main_page_navigation',0,'select',1,24,0,1310,TRUE); ! $c->add('onlyrootfeatures',0,'select',1,24,0,1320,TRUE); ! $c->add('aftersave_story','list','select',1,24,9,1330,TRUE); ! $c->add('aftersave_user','item','select',1,24,9,1340,TRUE); ! $c->add('show_right_blocks',FALSE,'select',2,25,1,1350,TRUE); ! $c->add('showfirstasfeatured',0,'select',2,25,0,1360,TRUE); ! $c->add('backend',1,'select',0,26,0,1380,TRUE); ! $c->add('rdf_file','','text',0,26,NULL,1390,TRUE); ! $c->add('rdf_limit',10,'text',0,26,NULL,1400,TRUE); ! $c->add('rdf_storytext',1,'text',0,26,NULL,1410,TRUE); ! $c->add('rdf_language','en-gb','text',0,26,NULL,1420,TRUE); ! $c->add('syndication_max_headlines',0,'text',0,26,NULL,1430,TRUE); ! $c->add('copyright','2007','text',0,0,NULL,1440,FALSE); ! $c->add('image_lib','','select',5,27,10,1450,TRUE); ! $c->add('path_to_mogrify','','text',5,27,NULL,1460,FALSE); ! $c->add('path_to_netpbm','','text',5,27,NULL,1470,FALSE); ! $c->add('keep_unscaled_image',0,'select',5,28,0,1480,TRUE); ! $c->add('allow_user_scaling',1,'select',5,28,0,1490,TRUE); ! $c->add('debug_image_upload',TRUE,'select',5,28,1,1500,TRUE); ! $c->add('max_image_width',160,'text',5,29,NULL,1510,TRUE); ! $c->add('max_image_height',160,'text',5,29,NULL,1520,TRUE); ! $c->add('max_image_size',1048576,'text',5,29,NULL,1530,TRUE); ! $c->add('max_topicicon_width',48,'text',5,30,NULL,1540,TRUE); ! $c->add('max_topicicon_height',48,'text',5,30,NULL,1550,TRUE); ! $c->add('max_topicicon_size',65536,'text',5,30,NULL,1560,TRUE); ! $c->add('max_photo_width',128,'text',5,31,NULL,1570,TRUE); ! $c->add('max_photo_height',128,'text',5,31,NULL,1580,TRUE); ! $c->add('max_photo_size',65536,'text',5,31,NULL,1590,TRUE); ! $c->add('use_gravatar',FALSE,'select',5,32,1,1600,TRUE); ! $c->add('gravatar_rating','R','text',5,32,NULL,1610,FALSE); ! $c->add('force_photo_width',75,'text',5,31,NULL,1620,FALSE); ! $c->add('default_photo','http://example.com/default.jpg','text',5,31,NULL,1630,FALSE); ! $c->add('commentspeedlimit',45,'text',4,33,NULL,1640,TRUE); ! $c->add('comment_limit',100,'text',4,33,NULL,1650,TRUE); ! $c->add('comment_mode','threaded','select',4,33,11,1660,TRUE); ! $c->add('comment_code',0,'select',4,33,17,1670,TRUE); ! $c->add('passwordspeedlimit',300,'text',4,14,NULL,1680,TRUE); ! $c->add('login_attempts',3,'text',4,14,NULL,1690,TRUE); ! $c->add('login_speedlimit',300,'text',4,14,NULL,1700,TRUE); $c->add('user_html',array ('p' => array(), 'b' => array(), 'strong' => array(),'i' => array(), 'a' => array('href' => 1, 'title' => 1, 'rel' => 1),'em' => array(),'br' => array(),'tt' => array(),'hr' => array(), 'li' => array(), 'ol' => array(), 'ul' => array(), 'code' => array(), 'pre' => array()),'**placeholder',7,34,NULL,1710,TRUE); $c->add('admin_html',array ('p' => array('class' => 1, 'id' => 1, 'align' => 1), 'div' => array('class' => 1, 'id' => 1), 'span' => array('class' => 1, 'id' => 1), 'table' => array('class' => 1, 'id' => 1, 'width' => 1, 'border' => 1, 'cellspacing' => 1, 'cellpadding' => 1), 'tr' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1), 'th' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1, 'colspan' => 1, 'rowspan' => 1), 'td' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1, 'colspan' => 1, 'rowspan' => 1)),'**placeholder',7,34,NULL,1720,TRUE); $c->add('skip_html_filter_for_root',0,'select',7,34,0,1730,TRUE); ! $c->add('allowed_protocols',array('http','ftp','https'),'%text',0,0,NULL,1740,TRUE); ! $c->add('disable_autolinks',0,'select',7,7,0,1750,TRUE); $c->add('censormode',1,'select',7,35,0,1760,TRUE); $c->add('censorreplace','*censormode*','text',7,35,NULL,1770,TRUE); $c->add('censorlist', array('fuck','cunt','fucker','fucking','pussy','cock','c0ck',' cum ','twat','clit','bitch','fuk','fuking','motherfucker'),'%text',7,35,NULL,1780,TRUE); $c->add('ip_lookup','/nettools/whois.php?domain=*','text',7,36,NULL,1790,FALSE); ! $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); ! $c->add('default_permissions_block',array(3, 2, 2, 2),'@select',7,37,12,1810,TRUE); $c->add('default_permissions_story',array(3, 2, 2, 2),'@select',7,37,12,1820,TRUE); ! $c->add('default_permissions_topic',array(3, 2, 2, 2),'@select',7,37,12,1830,TRUE); ! $c->add('disable_webservices', 0, 'select', 7, 38, 0, 1840, TRUE); ! $c->add('restrict_webservices', 0, 'select', 7, 38, 0, 1850, TRUE); ! $c->add('atom_max_stories', 10, 'text', 7, 38, 0, 1860, TRUE); --- 42,335 ---- $c = config::get_instance(); ! // Subgroup: Site ! $c->add('sg_site', NULL, 'subgroup', 0, 0, NULL, 0, TRUE); ! ! $c->add('fs_site', NULL, 'fieldset', 0, 0, NULL, 0, TRUE); $c->add('site_url','','text',0,0,NULL,20,TRUE); $c->add('site_admin_url','','text',0,0,NULL,30,TRUE); $c->add('site_name','','text',0,0,NULL,60,TRUE); $c->add('site_slogan','','text',0,0,NULL,70,TRUE); $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); ! $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('copyright','2007','text',0,0,NULL,1440,FALSE); ! $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); ! ! $c->add('fs_mail', NULL, 'fieldset', 0, 1, NULL, 0, TRUE); ! $c->add('site_mail','','text',0,1,NULL,40,TRUE); ! $c->add('noreply_mail','','text',0,1,NULL,50,TRUE); ! $c->add('mail_settings',array ('backend' => 'mail', 'sendmail_path' => '/usr/bin/sendmail', 'sendmail_args' => '', 'host' => 'smtp.example.com','port' => '25', 'auth' => false, 'username' => 'smtp-username','password' => 'smtp-password'),'@text',0,1,NULL,160,TRUE); ! ! $c->add('fs_syndication', NULL, 'fieldset', 0, 2, NULL, 0, TRUE); ! $c->add('backend',1,'select',0,2,0,1380,TRUE); ! $c->add('rdf_file','','text',0,2,NULL,1390,TRUE); ! $c->add('rdf_limit',10,'text',0,2,NULL,1400,TRUE); ! $c->add('rdf_storytext',1,'text',0,2,NULL,1410,TRUE); ! $c->add('rdf_language','en-gb','text',0,2,NULL,1420,TRUE); ! $c->add('syndication_max_headlines',0,'text',0,2,NULL,1430,TRUE); ! ! $c->add('fs_paths', NULL, 'fieldset', 0, 3, NULL, 0, TRUE); ! $c->add('path_html','','text',0,3,NULL,10,TRUE); ! $c->add('path_log','','text',0,3,NULL,90,TRUE); ! $c->add('path_language','','text',0,3,NULL,100,TRUE); ! $c->add('backup_path','','text',0,3,NULL,110,TRUE); ! $c->add('path_data','','text',0,3,NULL,120,TRUE); ! $c->add('path_images','','text',0,3,NULL,130,TRUE); ! ! $c->add('fs_pear', NULL, 'fieldset', 0, 4, NULL, 0, TRUE); $c->add('have_pear','','select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); ! ! $c->add('fs_mysql', NULL, 'fieldset', 0, 5, NULL, 0, TRUE); $c->add('allow_mysqldump',1,'select',0,5,0,170,TRUE); $c->add('mysqldump_path','/usr/bin/mysqldump','text',0,5,NULL,175,TRUE); $c->add('mysqldump_options','-Q','text',0,5,NULL,180,TRUE); ! ! $c->add('fs_search', NULL, 'fieldset', 0, 6, NULL, 0, TRUE); ! $c->add('num_search_results',10,'text',0,6,NULL,670,TRUE); ! ! // Subgroup: Stories and Trackback ! $c->add('sg_stories', NULL, 'subgroup', 1, 0, NULL, 0, TRUE); ! ! $c->add('fs_story', NULL, 'fieldset', 1, 7, NULL, 0, TRUE); ! $c->add('maximagesperarticle',5,'text',1,7,NULL,1170,TRUE); ! $c->add('limitnews',10,'text',1,7,NULL,1180,TRUE); ! $c->add('minnews',1,'text',1,7,NULL,1190,TRUE); ! $c->add('contributedbyline',1,'select',1,7,0,1200,TRUE); ! $c->add('hideviewscount',0,'select',1,7,0,1210,TRUE); ! $c->add('hideemailicon',0,'select',1,7,0,1220,TRUE); ! $c->add('hideprintericon',0,'select',1,7,0,1230,TRUE); ! $c->add('allow_page_breaks',1,'select',1,7,0,1240,TRUE); ! $c->add('page_break_comments','last','select',1,7,7,1250,TRUE); ! $c->add('article_image_align','right','select',1,7,8,1260,TRUE); ! $c->add('show_topic_icon',1,'select',1,7,0,1270,TRUE); ! $c->add('draft_flag',0,'select',1,7,0,1280,TRUE); ! $c->add('frontpage',1,'select',1,7,0,1290,TRUE); ! $c->add('hide_no_news_msg',0,'select',1,7,0,1300,TRUE); ! $c->add('hide_main_page_navigation',0,'select',1,7,0,1310,TRUE); ! $c->add('onlyrootfeatures',0,'select',1,7,0,1320,TRUE); ! $c->add('aftersave_story','list','select',1,7,9,1330,TRUE); ! ! $c->add('fs_trackback', NULL, 'fieldset', 1, 8, NULL, 0, TRUE); ! $c->add('trackback_enabled',TRUE,'select',1,8,1,1060,TRUE); ! $c->add('trackback_code',0,'select',1,8,3,1070,TRUE); ! $c->add('trackbackspeedlimit',300,'text',1,8,NULL,1080,TRUE); ! $c->add('check_trackback_link',2,'select',1,8,4,1090,TRUE); ! $c->add('multiple_trackbacks',0,'select',1,8,2,1100,TRUE); ! ! $c->add('fs_pingback', NULL, 'fieldset', 1, 9, NULL, 0, TRUE); ! $c->add('pingback_enabled',TRUE,'select',1,9,1,1110,TRUE); ! $c->add('pingback_excerpt',TRUE,'select',1,9,1,1120,TRUE); ! $c->add('pingback_self',0,'select',1,9,13,1130,TRUE); ! $c->add('ping_enabled',TRUE,'select',1,9,1,1140,TRUE); ! ! // Subgroup: Theme ! $c->add('sg_theme', NULL, 'subgroup', 2, 0, NULL, 0, TRUE); ! ! $c->add('fs_theme', NULL, 'fieldset', 2, 10, NULL, 0, TRUE); ! $c->add('theme','professional','fn:themeList',2,10,NULL,190,TRUE); ! $c->add('menu_elements',array('contribute','search','stats','directory','plugins'),'%text',2,10,NULL,200,TRUE); ! $c->add('path_themes','','text',2,10,NULL,210,TRUE); ! ! $c->add('fs_theme_advanced', NULL, 'fieldset', 2, 11, NULL, 0, TRUE); ! $c->add('show_right_blocks',FALSE,'select',2,11,1,1350,TRUE); ! $c->add('showfirstasfeatured',0,'select',2,11,0,1360,TRUE); ! ! // Subgroup: Blocks ! $c->add('sg_blocks', NULL, 'subgroup', 3, 0, NULL, 0, TRUE); ! ! $c->add('fs_admin_block', NULL, 'fieldset', 3, 12, NULL, 0, TRUE); ! $c->add('sort_admin',TRUE,'select',3,12,1,340,TRUE); ! $c->add('link_documentation',1,'select',3,12,0,1150,TRUE); ! $c->add('link_versionchecker',1,'select',3,12,0,1160,TRUE); ! ! $c->add('fs_topics_block', NULL, 'fieldset', 3, 13, NULL, 0, TRUE); ! $c->add('sortmethod','sortnum','select',3,13,15,870,TRUE); ! $c->add('showstorycount',1,'select',3,13,0,880,TRUE); ! $c->add('showsubmissioncount',1,'select',3,13,0,890,TRUE); ! $c->add('hide_home_link',0,'select',3,13,0,900,TRUE); ! ! $c->add('fs_whosonline_block', NULL, 'fieldset', 3, 14, NULL, 0, TRUE); ! $c->add('whosonline_threshold',300,'text',3,14,NULL,910,TRUE); ! $c->add('whosonline_anonymous',0,'select',3,14,0,920,TRUE); ! ! $c->add('fs_whatsnew_block', NULL, 'fieldset', 3, 15, NULL, 0, TRUE); ! $c->add('newstoriesinterval',86400,'text',3,15,NULL,980,TRUE); ! $c->add('newcommentsinterval',172800,'text',3,15,NULL,990,TRUE); ! $c->add('newtrackbackinterval',172800,'text',3,15,NULL,1000,TRUE); ! $c->add('hidenewstories',0,'select',3,15,0,1010,TRUE); ! $c->add('hidenewcomments',0,'select',3,15,0,1020,TRUE); ! $c->add('hidenewtrackbacks',0,'select',3,15,0,1030,TRUE); ! $c->add('hidenewplugins',0,'select',3,15,0,1040,TRUE); ! $c->add('title_trim_length',20,'text',3,15,NULL,1050,TRUE); ! ! // Subgroup: Users and Submissions ! $c->add('sg_users', NULL, 'subgroup', 4, 0, NULL, 0, TRUE); ! ! $c->add('fs_users', NULL, 'fieldset', 4, 16, NULL, 0, TRUE); ! $c->add('disable_new_user_registration',FALSE,'select',4,16,0,220,TRUE); ! $c->add('allow_user_themes',1,'select',4,16,0,230,TRUE); ! $c->add('allow_user_language',1,'select',4,16,0,240,TRUE); ! $c->add('allow_user_photo',1,'select',4,16,0,250,TRUE); ! $c->add('allow_username_change',0,'select',4,16,0,260,TRUE); ! $c->add('allow_account_delete',0,'select',4,16,0,270,TRUE); ! $c->add('hide_author_exclusion',0,'select',4,16,0,280,TRUE); ! $c->add('show_fullname',0,'select',4,16,0,290,TRUE); ! $c->add('show_servicename',TRUE,'select',4,16,1,300,TRUE); ! $c->add('custom_registration',FALSE,'select',4,16,1,310,TRUE); ! $c->add('user_login_method',array('standard' => true, 'openid' => false, '3rdparty' => false),'@select',4,16,1,320,TRUE); ! $c->add('aftersave_user','item','select',4,16,9,1340,TRUE); ! ! $c->add('fs_spamx', NULL, 'fieldset', 4, 17, NULL, 0, TRUE); ! $c->add('spamx',128,'text',4,17,NULL,330,TRUE); ! ! $c->add('fs_login', NULL, 'fieldset', 4, 18, NULL, 0, TRUE); ! $c->add('lastlogin',TRUE,'select',4,18,1,640,TRUE); ! $c->add('loginrequired',0,'select',4,18,0,680,TRUE); ! $c->add('submitloginrequired',0,'select',4,18,0,690,TRUE); ! $c->add('commentsloginrequired',0,'select',4,18,0,700,TRUE); ! $c->add('statsloginrequired',0,'select',4,18,0,710,TRUE); ! $c->add('searchloginrequired',0,'select',4,18,16,720,TRUE); ! $c->add('profileloginrequired',0,'select',4,18,0,730,TRUE); ! $c->add('emailuserloginrequired',0,'select',4,18,0,740,TRUE); ! $c->add('emailstoryloginrequired',0,'select',4,18,0,750,TRUE); ! $c->add('directoryloginrequired',0,'select',4,18,0,760,TRUE); ! $c->add('passwordspeedlimit',300,'text',4,18,NULL,1680,TRUE); ! $c->add('login_attempts',3,'text',4,18,NULL,1690,TRUE); ! $c->add('login_speedlimit',300,'text',4,18,NULL,1700,TRUE); ! ! $c->add('fs_user_submission', NULL, 'fieldset', 4, 19, NULL, 0, TRUE); ! $c->add('usersubmission',0,'select',4,19,0,780,TRUE); ! $c->add('allow_domains','','text',4,19,NULL,960,TRUE); ! $c->add('disallow_domains','','text',4,19,NULL,970,TRUE); ! ! $c->add('fs_submission', NULL, 'fieldset', 4, 20, NULL, 0, TRUE); ! $c->add('storysubmission',1,'select',4,20,0,770,TRUE); ! $c->add('listdraftstories',0,'select',4,20,0,790,TRUE); ! $c->add('postmode','plaintext','select',4,20,5,810,TRUE); ! $c->add('speedlimit',45,'text',4,20,NULL,820,TRUE); ! $c->add('skip_preview',0,'select',4,20,0,830,TRUE); ! $c->add('advanced_editor',FALSE,'select',4,20,1,840,TRUE); ! $c->add('wikitext_editor',FALSE,'select',4,20,1,850,TRUE); ! ! $c->add('fs_comments', NULL, 'fieldset', 4, 21, NULL, 0, TRUE); ! $c->add('commentspeedlimit',45,'text',4,21,NULL,1640,TRUE); ! $c->add('comment_limit',100,'text',4,21,NULL,1650,TRUE); ! $c->add('comment_mode','threaded','select',4,21,11,1660,TRUE); ! $c->add('comment_code',0,'select',4,21,17,1670,TRUE); ! ! // Subgroup: Images ! $c->add('sg_images', NULL, 'subgroup', 5, 0, NULL, 0, TRUE); ! ! $c->add('fs_imagelib', NULL, 'fieldset', 5, 22, NULL, 0, TRUE); ! $c->add('image_lib','','select',5,22,10,1450,TRUE); ! $c->add('path_to_mogrify','','text',5,22,NULL,1460,FALSE); ! $c->add('path_to_netpbm','','text',5,22,NULL,1470,FALSE); ! ! $c->add('fs_upload', NULL, 'fieldset', 5, 23, NULL, 0, TRUE); ! $c->add('keep_unscaled_image',0,'select',5,23,0,1480,TRUE); ! $c->add('allow_user_scaling',1,'select',5,23,0,1490,TRUE); ! $c->add('debug_image_upload',TRUE,'select',5,23,1,1500,TRUE); ! ! $c->add('fs_articleimg', NULL, 'fieldset', 5, 24, NULL, 0, TRUE); ! $c->add('max_image_width',160,'text',5,24,NULL,1510,TRUE); ! $c->add('max_image_height',160,'text',5,24,NULL,1520,TRUE); ! $c->add('max_image_size',1048576,'text',5,24,NULL,1530,TRUE); ! ! $c->add('fs_topicicon', NULL, 'fieldset', 5, 25, NULL, 0, TRUE); ! $c->add('max_topicicon_width',48,'text',5,25,NULL,1540,TRUE); ! $c->add('max_topicicon_height',48,'text',5,25,NULL,1550,TRUE); ! $c->add('max_topicicon_size',65536,'text',5,25,NULL,1560,TRUE); ! ! $c->add('fs_userphoto', NULL, 'fieldset', 5, 26, NULL, 0, TRUE); ! $c->add('max_photo_width',128,'text',5,26,NULL,1570,TRUE); ! $c->add('max_photo_height',128,'text',5,26,NULL,1580,TRUE); ! $c->add('max_photo_size',65536,'text',5,26,NULL,1590,TRUE); ! $c->add('force_photo_width',75,'text',5,26,NULL,1620,FALSE); ! $c->add('default_photo','http://example.com/default.jpg','text',5,26,NULL,1630,FALSE); ! ! $c->add('fs_gravatar', NULL, 'fieldset', 5, 27, NULL, 0, TRUE); ! $c->add('use_gravatar',FALSE,'select',5,27,1,1600,TRUE); ! $c->add('gravatar_rating','R','text',5,27,NULL,1610,FALSE); ! ! // Subgroup: Languages and Locale ! $c->add('sg_locale', NULL, 'subgroup', 6, 0, NULL, 0, TRUE); ! ! $c->add('fs_language', NULL, 'fieldset', 6, 28, NULL, 0, TRUE); ! $c->add('language','english','fn:languageList',6,28,NULL,350,TRUE); ! $c->add('language_files',array('en'=>'english_utf-8', 'de'=>'german_formal_utf-8'),'*text',6,28,NULL,470,FALSE); ! $c->add('languages',array('en'=>'English', 'de'=>'Deutsch'),'*text',6,28,NULL,480,FALSE); ! ! $c->add('fs_locale', NULL, 'fieldset', 6, 29, NULL, 0, TRUE); ! $c->add('locale','en_GB','text',6,29,NULL,360,TRUE); ! $c->add('date','%A, %B %d %Y @ %I:%M %p %Z','text',6,29,NULL,370,TRUE); ! $c->add('daytime','%m/%d %I:%M%p','text',6,29,NULL,380,TRUE); ! $c->add('shortdate','%x','text',6,29,NULL,390,TRUE); ! $c->add('dateonly','%d-%b','text',6,29,NULL,400,TRUE); ! $c->add('timeonly','%I:%M%p','text',6,29,NULL,410,TRUE); ! $c->add('week_start','Sun','select',6,29,14,420,TRUE); ! $c->add('hour_mode',12,'select',6,29,6,430,TRUE); ! $c->add('thousand_separator',",",'text',6,29,NULL,440,TRUE); ! $c->add('decimal_separator',".",'text',6,29,NULL,450,TRUE); ! $c->add('decimal_count',"2",'text',6,29,NULL,460,TRUE); ! $c->add('timezone','Etc/GMT-6','text',6,29,NULL,490,FALSE); ! ! // Subgroup: Miscellaneous ! $c->add('sg_misc', NULL, 'subgroup', 7, 0, NULL, 0, TRUE); ! ! $c->add('fs_cookies', NULL, 'fieldset', 7, 30, NULL, 0, TRUE); ! $c->add('cookie_session','gl_session','text',7,30,NULL,530,TRUE); ! $c->add('cookie_name','geeklog','text',7,30,NULL,540,TRUE); ! $c->add('cookie_password','password','text',7,30,NULL,550,TRUE); ! $c->add('cookie_theme','theme','text',7,30,NULL,560,TRUE); ! $c->add('cookie_language','language','text',7,30,NULL,570,TRUE); ! $c->add('cookie_tzid','timezone','text',7,30,NULL,575,TRUE); ! $c->add('cookie_ip',0,'select',7,30,0,580,TRUE); ! $c->add('default_perm_cookie_timeout',28800,'text',7,30,NULL,590,TRUE); ! $c->add('session_cookie_timeout',7200,'text',7,30,NULL,600,TRUE); ! $c->add('cookie_path','/','text',7,30,NULL,610,TRUE); ! $c->add('cookiedomain','','text',7,30,NULL,620,TRUE); ! $c->add('cookiesecure',FALSE,'select',7,30,1,630,TRUE); ! ! $c->add('fs_misc', NULL, 'fieldset', 7, 31, NULL, 0, TRUE); ! $c->add('pdf_enabled',0,'select',7,31,0,660,TRUE); ! $c->add('notification',array(),'%text',7,31,NULL,800,TRUE); ! $c->add('cron_schedule_interval',86400,'text',7,31,NULL,860,TRUE); ! $c->add('disable_autolinks',0,'select',7,31,0,1750,TRUE); ! ! $c->add('fs_debug', NULL, 'fieldset', 7, 32, NULL, 0, TRUE); ! $c->add('rootdebug',FALSE,'select',7,32,1,520,TRUE); ! ! $c->add('fs_daily_digest', NULL, 'fieldset', 7, 33, NULL, 0, TRUE); ! $c->add('emailstories',0,'select',7,33,0,930,TRUE); ! $c->add('emailstorieslength',1,'text',7,33,NULL,940,TRUE); ! $c->add('emailstoriesperdefault',0,'select',7,33,0,950,TRUE); ! ! $c->add('fs_htmlfilter', NULL, 'fieldset', 7, 34, NULL, 0, TRUE); $c->add('user_html',array ('p' => array(), 'b' => array(), 'strong' => array(),'i' => array(), 'a' => array('href' => 1, 'title' => 1, 'rel' => 1),'em' => array(),'br' => array(),'tt' => array(),'hr' => array(), 'li' => array(), 'ol' => array(), 'ul' => array(), 'code' => array(), 'pre' => array()),'**placeholder',7,34,NULL,1710,TRUE); $c->add('admin_html',array ('p' => array('class' => 1, 'id' => 1, 'align' => 1), 'div' => array('class' => 1, 'id' => 1), 'span' => array('class' => 1, 'id' => 1), 'table' => array('class' => 1, 'id' => 1, 'width' => 1, 'border' => 1, 'cellspacing' => 1, 'cellpadding' => 1), 'tr' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1), 'th' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1, 'colspan' => 1, 'rowspan' => 1), 'td' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1, 'colspan' => 1, 'rowspan' => 1)),'**placeholder',7,34,NULL,1720,TRUE); $c->add('skip_html_filter_for_root',0,'select',7,34,0,1730,TRUE); ! $c->add('allowed_protocols',array('http','ftp','https'),'%text',7,34,NULL,1740,TRUE); ! ! $c->add('fs_censoring', NULL, 'fieldset', 7, 35, NULL, 0, TRUE); $c->add('censormode',1,'select',7,35,0,1760,TRUE); $c->add('censorreplace','*censormode*','text',7,35,NULL,1770,TRUE); $c->add('censorlist', array('fuck','cunt','fucker','fucking','pussy','cock','c0ck',' cum ','twat','clit','bitch','fuk','fuking','motherfucker'),'%text',7,35,NULL,1780,TRUE); + + $c->add('fs_iplookup', NULL, 'fieldset', 7, 36, NULL, 0, TRUE); $c->add('ip_lookup','/nettools/whois.php?domain=*','text',7,36,NULL,1790,FALSE); ! ! $c->add('fs_perm_story', NULL, 'fieldset', 7, 37, NULL, 0, TRUE); $c->add('default_permissions_story',array(3, 2, 2, 2),'@select',7,37,12,1820,TRUE); ! ! $c->add('fs_perm_topic', NULL, 'fieldset', 7, 38, NULL, 0, TRUE); ! $c->add('default_permissions_topic',array(3, 2, 2, 2),'@select',7,38,12,1830,TRUE); ! ! $c->add('fs_perm_block', NULL, 'fieldset', 7, 39, NULL, 0, TRUE); ! $c->add('default_permissions_block',array(3, 2, 2, 2),'@select',7,39,12,1810,TRUE); ! ! $c->add('fs_webservices', NULL, 'fieldset', 7, 40, NULL, 0, TRUE); ! $c->add('disable_webservices', 0, 'select', 7, 40, 0, 1840, TRUE); ! $c->add('restrict_webservices', 0, 'select', 7, 40, 0, 1850, TRUE); ! $c->add('atom_max_stories', 10, 'text', 7, 40, 0, 1860, TRUE); From dhaun at qs1489.pair.com Sun Feb 10 12:09:40 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/spamx/language english.php, 1.20, 1.21 english_utf-8.php, 1.8, 1.9 Message-ID: <20080210170940.1F03410FE18@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/spamx/language In directory qs1489.pair.com:/tmp/cvs-serv85353/plugins/spamx/language Modified Files: english.php english_utf-8.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/spamx/language/english.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** english.php 27 Jan 2008 09:02:15 -0000 1.20 --- english.php 10 Feb 2008 17:09:38 -0000 1.21 *************** *** 151,159 **** $LANG_configsubgroups['spamx'] = array( ! 0 => 'Main Settings' ); $LANG_fs['spamx'] = array( ! 0 => 'Spam-X Main Settings' ); --- 151,159 ---- $LANG_configsubgroups['spamx'] = array( ! 'sg_main' => 'Main Settings' ); $LANG_fs['spamx'] = array( ! 'fs_main' => 'Spam-X Main Settings' ); Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/spamx/language/english_utf-8.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** english_utf-8.php 27 Jan 2008 09:02:15 -0000 1.8 --- english_utf-8.php 10 Feb 2008 17:09:38 -0000 1.9 *************** *** 151,159 **** $LANG_configsubgroups['spamx'] = array( ! 0 => 'Main Settings' ); $LANG_fs['spamx'] = array( ! 0 => 'Spam-X Main Settings' ); --- 151,159 ---- $LANG_configsubgroups['spamx'] = array( ! 'sg_main' => 'Main Settings' ); $LANG_fs['spamx'] = array( ! 'fs_main' => 'Spam-X Main Settings' ); From dhaun at qs1489.pair.com Sun Feb 10 12:09:40 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/spamx install_defaults.php, 1.1, 1.2 Message-ID: <20080210170940.0EAA810FE17@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/spamx In directory qs1489.pair.com:/tmp/cvs-serv85353/plugins/spamx Modified Files: install_defaults.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: install_defaults.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/spamx/install_defaults.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** install_defaults.php 2 Feb 2008 20:03:06 -0000 1.1 --- install_defaults.php 10 Feb 2008 17:09:37 -0000 1.2 *************** *** 92,95 **** --- 92,97 ---- } + $c->add('sg_main', NULL, 'subgroup', 0, 0, NULL, 0, true, 'spamx'); + $c->add('fs_main', NULL, 'fieldset', 0, 0, NULL, 0, true, 'spamx'); $c->add('logging', $_SPX_DEFAULT['logging'], 'select', 0, 0, 1, 10, true, 'spamx'); From dhaun at qs1489.pair.com Sun Feb 10 12:09:40 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/staticpages install_defaults.php, 1.3, 1.4 Message-ID: <20080210170940.2B1FB10FE19@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages In directory qs1489.pair.com:/tmp/cvs-serv85353/plugins/staticpages Modified Files: install_defaults.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: install_defaults.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/install_defaults.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** install_defaults.php 2 Feb 2008 16:36:33 -0000 1.3 --- install_defaults.php 10 Feb 2008 17:09:38 -0000 1.4 *************** *** 128,131 **** --- 128,135 ---- if (!$c->group_exists('staticpages')) { + $c->add('sg_main', NULL, 'subgroup', + 0, 0, NULL, 0, true, 'staticpages'); + $c->add('fs_main', NULL, 'fieldset', + 0, 0, NULL, 0, true, 'staticpages'); $c->add('allow_php', $_SP_DEFAULT['allow_php'], 'select', 0, 0, 0, 10, true, 'staticpages'); *************** *** 150,153 **** --- 154,160 ---- $c->add('atom_max_items', $_SP_DEFAULT['atom_max_items'], 'text', 0, 0, null, 110, true, 'staticpages'); + + $c->add('fs_permissions', NULL, 'fieldset', + 0, 1, NULL, 0, true, 'staticpages'); $c->add('default_permissions', $_SP_DEFAULT['default_permissions'], '@select', 0, 1, 12, 120, true, 'staticpages'); From dhaun at qs1489.pair.com Sun Feb 10 12:09:40 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/staticpages/language english.php, 1.30, 1.31 english_utf-8.php, 1.16, 1.17 Message-ID: <20080210170940.3B40810FE1A@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/language In directory qs1489.pair.com:/tmp/cvs-serv85353/plugins/staticpages/language Modified Files: english.php english_utf-8.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/language/english.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** english.php 27 Jan 2008 09:02:15 -0000 1.30 --- english.php 10 Feb 2008 17:09:38 -0000 1.31 *************** *** 140,149 **** $LANG_configsubgroups['staticpages'] = array( ! 0 => 'Main Settings' ); $LANG_fs['staticpages'] = array( ! 0 => 'Static Pages Main Settings', ! 1 => 'Default Permissions' ); --- 140,149 ---- $LANG_configsubgroups['staticpages'] = array( ! 'sg_main' => 'Main Settings' ); $LANG_fs['staticpages'] = array( ! 'fs_main' => 'Static Pages Main Settings', ! 'fs_permissions' => 'Default Permissions' ); Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/language/english_utf-8.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** english_utf-8.php 27 Jan 2008 09:02:15 -0000 1.16 --- english_utf-8.php 10 Feb 2008 17:09:38 -0000 1.17 *************** *** 140,149 **** $LANG_configsubgroups['staticpages'] = array( ! 0 => 'Main Settings' ); $LANG_fs['staticpages'] = array( ! 0 => 'Static Pages Main Settings', ! 1 => 'Default Permissions' ); --- 140,149 ---- $LANG_configsubgroups['staticpages'] = array( ! 'sg_main' => 'Main Settings' ); $LANG_fs['staticpages'] = array( ! 'fs_main' => 'Static Pages Main Settings', ! 'fs_permissions' => 'Default Permissions' ); From dhaun at qs1489.pair.com Sun Feb 10 12:09:40 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mysql_1.4.1_to_1.5.0.php, 1.63, 1.64 Message-ID: <20080210170940.6BC4610FE1C@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv85353/sql/updates Modified Files: mysql_1.4.1_to_1.5.0.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** mysql_1.4.1_to_1.5.0.php 3 Feb 2008 20:52:55 -0000 1.63 --- mysql_1.4.1_to_1.5.0.php 10 Feb 2008 17:09:38 -0000 1.64 *************** *** 49,237 **** $c = config::get_instance(); ! $c->add('path_html','','text',0,1,NULL,10,TRUE); $c->add('site_url','','text',0,0,NULL,20,TRUE); $c->add('site_admin_url','','text',0,0,NULL,30,TRUE); - $c->add('site_mail','','text',0,3,NULL,40,TRUE); - $c->add('noreply_mail','','text',0,3,NULL,50,TRUE); $c->add('site_name','','text',0,0,NULL,60,TRUE); $c->add('site_slogan','','text',0,0,NULL,70,TRUE); $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); ! $c->add('path_log','','text',0,1,NULL,90,TRUE); ! $c->add('path_language','','text',0,1,NULL,100,TRUE); ! $c->add('backup_path','','text',0,1,NULL,110,TRUE); ! $c->add('path_data','','text',0,1,NULL,120,TRUE); ! $c->add('path_images','','text',0,1,NULL,130,TRUE); $c->add('have_pear','','select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); ! $c->add('mail_settings',array ('backend' => 'mail', 'sendmail_path' => '/usr/bin/sendmail', 'sendmail_args' => '', 'host' => 'smtp.example.com','port' => '25', 'auth' => false, 'username' => 'smtp-username','password' => 'smtp-password'),'@text',0,3,NULL,160,TRUE); $c->add('allow_mysqldump',1,'select',0,5,0,170,TRUE); $c->add('mysqldump_path','/usr/bin/mysqldump','text',0,5,NULL,175,TRUE); $c->add('mysqldump_options','-Q','text',0,5,NULL,180,TRUE); ! $c->add('theme','professional','fn:themeList',2,2,NULL,190,TRUE); ! $c->add('menu_elements',array('contribute','search','stats','directory','plugins'),'%text',2,2,NULL,200,TRUE); ! $c->add('path_themes','','text',2,2,NULL,210,TRUE); ! $c->add('disable_new_user_registration',FALSE,'select',4,6,0,220,TRUE); ! $c->add('allow_user_themes',1,'select',4,6,0,230,TRUE); ! $c->add('allow_user_language',1,'select',4,6,0,240,TRUE); ! $c->add('allow_user_photo',1,'select',4,6,0,250,TRUE); ! $c->add('allow_username_change',0,'select',4,6,0,260,TRUE); ! $c->add('allow_account_delete',0,'select',4,6,0,270,TRUE); ! $c->add('hide_author_exclusion',0,'select',4,6,0,280,TRUE); ! $c->add('show_fullname',0,'select',4,6,0,290,TRUE); ! $c->add('show_servicename',TRUE,'select',4,6,1,300,TRUE); ! $c->add('custom_registration',FALSE,'select',4,6,1,310,TRUE); ! $c->add('user_login_method',array('standard' => true, 'openid' => false, '3rdparty' => false),'@select',4,6,1,320,TRUE); ! $c->add('spamx',128,'text',4,8,NULL,330,TRUE); ! $c->add('sort_admin',TRUE,'select',3,9,1,340,TRUE); ! $c->add('language','english','fn:languageList',6,11,NULL,350,TRUE); ! $c->add('locale','en_GB','text',6,10,NULL,360,TRUE); ! $c->add('date','%A, %B %d %Y @ %I:%M %p %Z','text',6,10,NULL,370,TRUE); ! $c->add('daytime','%m/%d %I:%M%p','text',6,10,NULL,380,TRUE); ! $c->add('shortdate','%x','text',6,10,NULL,390,TRUE); ! $c->add('dateonly','%d-%b','text',6,10,NULL,400,TRUE); ! $c->add('timeonly','%I:%M%p','text',6,10,NULL,410,TRUE); ! $c->add('week_start','Sun','select',6,10,14,420,TRUE); ! $c->add('hour_mode',12,'select',6,10,6,430,TRUE); ! $c->add('thousand_separator',",",'text',6,10,NULL,440,TRUE); ! $c->add('decimal_separator',".",'text',6,10,NULL,450,TRUE); ! $c->add('decimal_count',"2",'text',6,10,NULL,460,TRUE); ! $c->add('language_files',array('en'=>'english_utf-8', 'de'=>'german_formal_utf-8'),'*text',6,11,NULL,470,FALSE); ! $c->add('languages',array('en'=>'English', 'de'=>'Deutsch'),'*text',6,11,NULL,480,FALSE); ! $c->add('timezone','Etc/GMT-6','text',6,10,NULL,490,FALSE); ! $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('rootdebug',FALSE,'select',7,12,1,520,TRUE); ! $c->add('cookie_session','gl_session','text',7,13,NULL,530,TRUE); ! $c->add('cookie_name','geeklog','text',7,13,NULL,540,TRUE); ! $c->add('cookie_password','password','text',7,13,NULL,550,TRUE); ! $c->add('cookie_theme','theme','text',7,13,NULL,560,TRUE); ! $c->add('cookie_language','language','text',7,13,NULL,570,TRUE); ! $c->add('cookie_tzid','timezone','text',7,13,NULL,575,TRUE); ! $c->add('cookie_ip',0,'select',7,13,0,580,TRUE); ! $c->add('default_perm_cookie_timeout',28800,'text',7,13,NULL,590,TRUE); ! $c->add('session_cookie_timeout',7200,'text',7,13,NULL,600,TRUE); ! $c->add('cookie_path','/','text',7,13,NULL,610,TRUE); ! $c->add('cookiedomain','','text',7,13,NULL,620,TRUE); ! $c->add('cookiesecure',FALSE,'select',7,13,1,630,TRUE); ! $c->add('lastlogin',TRUE,'select',4,14,1,640,TRUE); ! $c->add('pdf_enabled',0,'select',7,7,0,660,TRUE); ! $c->add('num_search_results',10,'text',0,15,NULL,670,TRUE); ! $c->add('loginrequired',0,'select',4,14,0,680,TRUE); ! $c->add('submitloginrequired',0,'select',4,14,0,690,TRUE); ! $c->add('commentsloginrequired',0,'select',4,14,0,700,TRUE); ! $c->add('statsloginrequired',0,'select',4,14,0,710,TRUE); ! $c->add('searchloginrequired',0,'select',4,14,16,720,TRUE); ! $c->add('profileloginrequired',0,'select',4,14,0,730,TRUE); ! $c->add('emailuserloginrequired',0,'select',4,14,0,740,TRUE); ! $c->add('emailstoryloginrequired',0,'select',4,14,0,750,TRUE); ! $c->add('directoryloginrequired',0,'select',4,14,0,760,TRUE); ! $c->add('storysubmission',1,'select',4,17,0,770,TRUE); ! $c->add('usersubmission',0,'select',4,16,0,780,TRUE); ! $c->add('listdraftstories',0,'select',4,17,0,790,TRUE); ! $c->add('notification',array(),'%text',7,7,NULL,800,TRUE); ! $c->add('postmode','plaintext','select',4,17,5,810,TRUE); ! $c->add('speedlimit',45,'text',4,17,NULL,820,TRUE); ! $c->add('skip_preview',0,'select',4,17,0,830,TRUE); ! $c->add('advanced_editor',FALSE,'select',4,17,1,840,TRUE); ! $c->add('wikitext_editor',FALSE,'select',4,17,1,850,TRUE); ! $c->add('cron_schedule_interval',86400,'text',7,7,NULL,860,TRUE); ! $c->add('sortmethod','sortnum','select',3,18,15,870,TRUE); ! $c->add('showstorycount',1,'select',3,18,0,880,TRUE); ! $c->add('showsubmissioncount',1,'select',3,18,0,890,TRUE); ! $c->add('hide_home_link',0,'select',3,18,0,900,TRUE); ! $c->add('whosonline_threshold',300,'text',3,19,NULL,910,TRUE); ! $c->add('whosonline_anonymous',0,'select',3,19,0,920,TRUE); ! $c->add('emailstories',0,'select',7,20,0,930,TRUE); ! $c->add('emailstorieslength',1,'text',7,20,NULL,940,TRUE); ! $c->add('emailstoriesperdefault',0,'select',7,20,0,950,TRUE); ! $c->add('allow_domains','','text',4,16,NULL,960,TRUE); ! $c->add('disallow_domains','','text',4,16,NULL,970,TRUE); ! $c->add('newstoriesinterval',86400,'text',3,21,NULL,980,TRUE); ! $c->add('newcommentsinterval',172800,'text',3,21,NULL,990,TRUE); ! $c->add('newtrackbackinterval',172800,'text',3,21,NULL,1000,TRUE); ! $c->add('hidenewstories',0,'select',3,21,0,1010,TRUE); ! $c->add('hidenewcomments',0,'select',3,21,0,1020,TRUE); ! $c->add('hidenewtrackbacks',0,'select',3,21,0,1030,TRUE); ! $c->add('hidenewplugins',0,'select',3,21,0,1040,TRUE); ! $c->add('title_trim_length',20,'text',3,21,NULL,1050,TRUE); ! $c->add('trackback_enabled',TRUE,'select',1,22,1,1060,TRUE); ! $c->add('trackback_code',0,'select',1,22,3,1070,TRUE); ! $c->add('trackbackspeedlimit',300,'text',1,22,NULL,1080,TRUE); ! $c->add('check_trackback_link',2,'select',1,22,4,1090,TRUE); ! $c->add('multiple_trackbacks',0,'select',1,22,2,1100,TRUE); ! $c->add('pingback_enabled',TRUE,'select',1,23,1,1110,TRUE); ! $c->add('pingback_excerpt',TRUE,'select',1,23,1,1120,TRUE); ! $c->add('pingback_self',0,'select',1,23,13,1130,TRUE); ! $c->add('ping_enabled',TRUE,'select',1,23,1,1140,TRUE); ! $c->add('link_documentation',1,'select',3,9,0,1150,TRUE); ! $c->add('link_versionchecker',1,'select',3,9,0,1160,TRUE); ! $c->add('maximagesperarticle',5,'text',1,24,NULL,1170,TRUE); ! $c->add('limitnews',10,'text',1,24,NULL,1180,TRUE); ! $c->add('minnews',1,'text',1,24,NULL,1190,TRUE); ! $c->add('contributedbyline',1,'select',1,24,0,1200,TRUE); ! $c->add('hideviewscount',0,'select',1,24,0,1210,TRUE); ! $c->add('hideemailicon',0,'select',1,24,0,1220,TRUE); ! $c->add('hideprintericon',0,'select',1,24,0,1230,TRUE); ! $c->add('allow_page_breaks',1,'select',1,24,0,1240,TRUE); ! $c->add('page_break_comments','last','select',1,24,7,1250,TRUE); ! $c->add('article_image_align','right','select',1,24,8,1260,TRUE); ! $c->add('show_topic_icon',1,'select',1,24,0,1270,TRUE); ! $c->add('draft_flag',0,'select',1,24,0,1280,TRUE); ! $c->add('frontpage',1,'select',1,24,0,1290,TRUE); ! $c->add('hide_no_news_msg',0,'select',1,24,0,1300,TRUE); ! $c->add('hide_main_page_navigation',0,'select',1,24,0,1310,TRUE); ! $c->add('onlyrootfeatures',0,'select',1,24,0,1320,TRUE); ! $c->add('aftersave_story','list','select',1,24,9,1330,TRUE); ! $c->add('aftersave_user','item','select',1,24,9,1340,TRUE); ! $c->add('show_right_blocks',FALSE,'select',2,25,1,1350,TRUE); ! $c->add('showfirstasfeatured',0,'select',2,25,0,1360,TRUE); ! $c->add('backend',1,'select',0,26,0,1380,TRUE); ! $c->add('rdf_file','','text',0,26,NULL,1390,TRUE); ! $c->add('rdf_limit',10,'text',0,26,NULL,1400,TRUE); ! $c->add('rdf_storytext',1,'text',0,26,NULL,1410,TRUE); ! $c->add('rdf_language','en-gb','text',0,26,NULL,1420,TRUE); ! $c->add('syndication_max_headlines',0,'text',0,26,NULL,1430,TRUE); ! $c->add('copyright','2007','text',0,0,NULL,1440,FALSE); ! $c->add('image_lib','','select',5,27,10,1450,TRUE); ! $c->add('path_to_mogrify','','text',5,27,NULL,1460,FALSE); ! $c->add('path_to_netpbm','','text',5,27,NULL,1470,FALSE); ! $c->add('keep_unscaled_image',0,'select',5,28,0,1480,TRUE); ! $c->add('allow_user_scaling',1,'select',5,28,0,1490,TRUE); ! $c->add('debug_image_upload',TRUE,'select',5,28,1,1500,TRUE); ! $c->add('max_image_width',160,'text',5,29,NULL,1510,TRUE); ! $c->add('max_image_height',160,'text',5,29,NULL,1520,TRUE); ! $c->add('max_image_size',1048576,'text',5,29,NULL,1530,TRUE); ! $c->add('max_topicicon_width',48,'text',5,30,NULL,1540,TRUE); ! $c->add('max_topicicon_height',48,'text',5,30,NULL,1550,TRUE); ! $c->add('max_topicicon_size',65536,'text',5,30,NULL,1560,TRUE); ! $c->add('max_photo_width',128,'text',5,31,NULL,1570,TRUE); ! $c->add('max_photo_height',128,'text',5,31,NULL,1580,TRUE); ! $c->add('max_photo_size',65536,'text',5,31,NULL,1590,TRUE); ! $c->add('use_gravatar',FALSE,'select',5,32,1,1600,TRUE); ! $c->add('gravatar_rating','R','text',5,32,NULL,1610,FALSE); ! $c->add('force_photo_width',75,'text',5,31,NULL,1620,FALSE); ! $c->add('default_photo','http://example.com/default.jpg','text',5,31,NULL,1630,FALSE); ! $c->add('commentspeedlimit',45,'text',4,33,NULL,1640,TRUE); ! $c->add('comment_limit',100,'text',4,33,NULL,1650,TRUE); ! $c->add('comment_mode','threaded','select',4,33,11,1660,TRUE); ! $c->add('comment_code',0,'select',4,33,17,1670,TRUE); ! $c->add('passwordspeedlimit',300,'text',4,14,NULL,1680,TRUE); ! $c->add('login_attempts',3,'text',4,14,NULL,1690,TRUE); ! $c->add('login_speedlimit',300,'text',4,14,NULL,1700,TRUE); ! $c->add('user_html',array ('p' => array(), 'b' => array(), 'strong' => array(),'i' => array(), 'a' => array('href' => 1, 'title' => 1, 'rel' => 1),'em' => array(),'br' => array(),'tt' => array(),'hr' => array(), 'li' => array(), 'ol' => array(), 'ul' => array(), 'code' => array(), 'pre' => array()),'**placeholder',7,34,NULL,1710,TRUE); $c->add('admin_html',array ('p' => array('class' => 1, 'id' => 1, 'align' => 1), 'div' => array('class' => 1, 'id' => 1), 'span' => array('class' => 1, 'id' => 1), 'table' => array('class' => 1, 'id' => 1, 'width' => 1, 'border' => 1, 'cellspacing' => 1, 'cellpadding' => 1), 'tr' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1), 'th' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1, 'colspan' => 1, 'rowspan' => 1), 'td' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1, 'colspan' => 1, 'rowspan' => 1)),'**placeholder',7,34,NULL,1720,TRUE); $c->add('skip_html_filter_for_root',0,'select',7,34,0,1730,TRUE); ! $c->add('allowed_protocols',array('http','ftp','https'),'%text',0,0,NULL,1740,TRUE); ! $c->add('disable_autolinks',0,'select',7,7,0,1750,TRUE); $c->add('censormode',1,'select',7,35,0,1760,TRUE); $c->add('censorreplace','*censormode*','text',7,35,NULL,1770,TRUE); $c->add('censorlist', array('fuck','cunt','fucker','fucking','pussy','cock','c0ck',' cum ','twat','clit','bitch','fuk','fuking','motherfucker'),'%text',7,35,NULL,1780,TRUE); $c->add('ip_lookup','/nettools/whois.php?domain=*','text',7,36,NULL,1790,FALSE); ! $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); ! $c->add('default_permissions_block',array(3, 2, 2, 2),'@select',7,37,12,1810,TRUE); $c->add('default_permissions_story',array(3, 2, 2, 2),'@select',7,37,12,1820,TRUE); ! $c->add('default_permissions_topic',array(3, 2, 2, 2),'@select',7,37,12,1830,TRUE); ! $c->add('disable_webservices', 0, 'select', 7, 38, 0, 1840, TRUE); ! $c->add('restrict_webservices', 0, 'select', 7, 38, 0, 1850, TRUE); ! $c->add('atom_max_stories', 10, 'text', 7, 38, 0, 1860, TRUE); } --- 49,342 ---- $c = config::get_instance(); ! // Subgroup: Site ! $c->add('sg_site', NULL, 'subgroup', 0, 0, NULL, 0, TRUE); ! ! $c->add('fs_site', NULL, 'fieldset', 0, 0, NULL, 0, TRUE); $c->add('site_url','','text',0,0,NULL,20,TRUE); $c->add('site_admin_url','','text',0,0,NULL,30,TRUE); $c->add('site_name','','text',0,0,NULL,60,TRUE); $c->add('site_slogan','','text',0,0,NULL,70,TRUE); $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); ! $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('copyright','2007','text',0,0,NULL,1440,FALSE); ! $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); ! ! $c->add('fs_mail', NULL, 'fieldset', 0, 1, NULL, 0, TRUE); ! $c->add('site_mail','','text',0,1,NULL,40,TRUE); ! $c->add('noreply_mail','','text',0,1,NULL,50,TRUE); ! $c->add('mail_settings',array ('backend' => 'mail', 'sendmail_path' => '/usr/bin/sendmail', 'sendmail_args' => '', 'host' => 'smtp.example.com','port' => '25', 'auth' => false, 'username' => 'smtp-username','password' => 'smtp-password'),'@text',0,1,NULL,160,TRUE); ! ! $c->add('fs_syndication', NULL, 'fieldset', 0, 2, NULL, 0, TRUE); ! $c->add('backend',1,'select',0,2,0,1380,TRUE); ! $c->add('rdf_file','','text',0,2,NULL,1390,TRUE); ! $c->add('rdf_limit',10,'text',0,2,NULL,1400,TRUE); ! $c->add('rdf_storytext',1,'text',0,2,NULL,1410,TRUE); ! $c->add('rdf_language','en-gb','text',0,2,NULL,1420,TRUE); ! $c->add('syndication_max_headlines',0,'text',0,2,NULL,1430,TRUE); ! ! $c->add('fs_paths', NULL, 'fieldset', 0, 3, NULL, 0, TRUE); ! $c->add('path_html','','text',0,3,NULL,10,TRUE); ! $c->add('path_log','','text',0,3,NULL,90,TRUE); ! $c->add('path_language','','text',0,3,NULL,100,TRUE); ! $c->add('backup_path','','text',0,3,NULL,110,TRUE); ! $c->add('path_data','','text',0,3,NULL,120,TRUE); ! $c->add('path_images','','text',0,3,NULL,130,TRUE); ! ! $c->add('fs_pear', NULL, 'fieldset', 0, 4, NULL, 0, TRUE); $c->add('have_pear','','select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); ! ! $c->add('fs_mysql', NULL, 'fieldset', 0, 5, NULL, 0, TRUE); $c->add('allow_mysqldump',1,'select',0,5,0,170,TRUE); $c->add('mysqldump_path','/usr/bin/mysqldump','text',0,5,NULL,175,TRUE); $c->add('mysqldump_options','-Q','text',0,5,NULL,180,TRUE); ! ! $c->add('fs_search', NULL, 'fieldset', 0, 6, NULL, 0, TRUE); ! $c->add('num_search_results',10,'text',0,6,NULL,670,TRUE); ! ! // Subgroup: Stories and Trackback ! $c->add('sg_stories', NULL, 'subgroup', 1, 0, NULL, 0, TRUE); ! ! $c->add('fs_story', NULL, 'fieldset', 1, 7, NULL, 0, TRUE); ! $c->add('maximagesperarticle',5,'text',1,7,NULL,1170,TRUE); ! $c->add('limitnews',10,'text',1,7,NULL,1180,TRUE); ! $c->add('minnews',1,'text',1,7,NULL,1190,TRUE); ! $c->add('contributedbyline',1,'select',1,7,0,1200,TRUE); ! $c->add('hideviewscount',0,'select',1,7,0,1210,TRUE); ! $c->add('hideemailicon',0,'select',1,7,0,1220,TRUE); ! $c->add('hideprintericon',0,'select',1,7,0,1230,TRUE); ! $c->add('allow_page_breaks',1,'select',1,7,0,1240,TRUE); ! $c->add('page_break_comments','last','select',1,7,7,1250,TRUE); ! $c->add('article_image_align','right','select',1,7,8,1260,TRUE); ! $c->add('show_topic_icon',1,'select',1,7,0,1270,TRUE); ! $c->add('draft_flag',0,'select',1,7,0,1280,TRUE); ! $c->add('frontpage',1,'select',1,7,0,1290,TRUE); ! $c->add('hide_no_news_msg',0,'select',1,7,0,1300,TRUE); ! $c->add('hide_main_page_navigation',0,'select',1,7,0,1310,TRUE); ! $c->add('onlyrootfeatures',0,'select',1,7,0,1320,TRUE); ! $c->add('aftersave_story','list','select',1,7,9,1330,TRUE); ! ! $c->add('fs_trackback', NULL, 'fieldset', 1, 8, NULL, 0, TRUE); ! $c->add('trackback_enabled',TRUE,'select',1,8,1,1060,TRUE); ! $c->add('trackback_code',0,'select',1,8,3,1070,TRUE); ! $c->add('trackbackspeedlimit',300,'text',1,8,NULL,1080,TRUE); ! $c->add('check_trackback_link',2,'select',1,8,4,1090,TRUE); ! $c->add('multiple_trackbacks',0,'select',1,8,2,1100,TRUE); ! ! $c->add('fs_pingback', NULL, 'fieldset', 1, 9, NULL, 0, TRUE); ! $c->add('pingback_enabled',TRUE,'select',1,9,1,1110,TRUE); ! $c->add('pingback_excerpt',TRUE,'select',1,9,1,1120,TRUE); ! $c->add('pingback_self',0,'select',1,9,13,1130,TRUE); ! $c->add('ping_enabled',TRUE,'select',1,9,1,1140,TRUE); ! ! // Subgroup: Theme ! $c->add('sg_theme', NULL, 'subgroup', 2, 0, NULL, 0, TRUE); ! ! $c->add('fs_theme', NULL, 'fieldset', 2, 10, NULL, 0, TRUE); ! $c->add('theme','professional','fn:themeList',2,10,NULL,190,TRUE); ! $c->add('menu_elements',array('contribute','search','stats','directory','plugins'),'%text',2,10,NULL,200,TRUE); ! $c->add('path_themes','','text',2,10,NULL,210,TRUE); ! ! $c->add('fs_theme_advanced', NULL, 'fieldset', 2, 11, NULL, 0, TRUE); ! $c->add('show_right_blocks',FALSE,'select',2,11,1,1350,TRUE); ! $c->add('showfirstasfeatured',0,'select',2,11,0,1360,TRUE); ! ! // Subgroup: Blocks ! $c->add('sg_blocks', NULL, 'subgroup', 3, 0, NULL, 0, TRUE); ! ! $c->add('fs_admin_block', NULL, 'fieldset', 3, 12, NULL, 0, TRUE); ! $c->add('sort_admin',TRUE,'select',3,12,1,340,TRUE); ! $c->add('link_documentation',1,'select',3,12,0,1150,TRUE); ! $c->add('link_versionchecker',1,'select',3,12,0,1160,TRUE); ! ! $c->add('fs_topics_block', NULL, 'fieldset', 3, 13, NULL, 0, TRUE); ! $c->add('sortmethod','sortnum','select',3,13,15,870,TRUE); ! $c->add('showstorycount',1,'select',3,13,0,880,TRUE); ! $c->add('showsubmissioncount',1,'select',3,13,0,890,TRUE); ! $c->add('hide_home_link',0,'select',3,13,0,900,TRUE); ! ! $c->add('fs_whosonline_block', NULL, 'fieldset', 3, 14, NULL, 0, TRUE); ! $c->add('whosonline_threshold',300,'text',3,14,NULL,910,TRUE); ! $c->add('whosonline_anonymous',0,'select',3,14,0,920,TRUE); ! ! $c->add('fs_whatsnew_block', NULL, 'fieldset', 3, 15, NULL, 0, TRUE); ! $c->add('newstoriesinterval',86400,'text',3,15,NULL,980,TRUE); ! $c->add('newcommentsinterval',172800,'text',3,15,NULL,990,TRUE); ! $c->add('newtrackbackinterval',172800,'text',3,15,NULL,1000,TRUE); ! $c->add('hidenewstories',0,'select',3,15,0,1010,TRUE); ! $c->add('hidenewcomments',0,'select',3,15,0,1020,TRUE); ! $c->add('hidenewtrackbacks',0,'select',3,15,0,1030,TRUE); ! $c->add('hidenewplugins',0,'select',3,15,0,1040,TRUE); ! $c->add('title_trim_length',20,'text',3,15,NULL,1050,TRUE); ! ! // Subgroup: Users and Submissions ! $c->add('sg_users', NULL, 'subgroup', 4, 0, NULL, 0, TRUE); ! ! $c->add('fs_users', NULL, 'fieldset', 4, 16, NULL, 0, TRUE); ! $c->add('disable_new_user_registration',FALSE,'select',4,16,0,220,TRUE); ! $c->add('allow_user_themes',1,'select',4,16,0,230,TRUE); ! $c->add('allow_user_language',1,'select',4,16,0,240,TRUE); ! $c->add('allow_user_photo',1,'select',4,16,0,250,TRUE); ! $c->add('allow_username_change',0,'select',4,16,0,260,TRUE); ! $c->add('allow_account_delete',0,'select',4,16,0,270,TRUE); ! $c->add('hide_author_exclusion',0,'select',4,16,0,280,TRUE); ! $c->add('show_fullname',0,'select',4,16,0,290,TRUE); ! $c->add('show_servicename',TRUE,'select',4,16,1,300,TRUE); ! $c->add('custom_registration',FALSE,'select',4,16,1,310,TRUE); ! $c->add('user_login_method',array('standard' => true, 'openid' => false, '3rdparty' => false),'@select',4,16,1,320,TRUE); ! $c->add('aftersave_user','item','select',4,16,9,1340,TRUE); ! ! $c->add('fs_spamx', NULL, 'fieldset', 4, 17, NULL, 0, TRUE); ! $c->add('spamx',128,'text',4,17,NULL,330,TRUE); ! ! $c->add('fs_login', NULL, 'fieldset', 4, 18, NULL, 0, TRUE); ! $c->add('lastlogin',TRUE,'select',4,18,1,640,TRUE); ! $c->add('loginrequired',0,'select',4,18,0,680,TRUE); ! $c->add('submitloginrequired',0,'select',4,18,0,690,TRUE); ! $c->add('commentsloginrequired',0,'select',4,18,0,700,TRUE); ! $c->add('statsloginrequired',0,'select',4,18,0,710,TRUE); ! $c->add('searchloginrequired',0,'select',4,18,16,720,TRUE); ! $c->add('profileloginrequired',0,'select',4,18,0,730,TRUE); ! $c->add('emailuserloginrequired',0,'select',4,18,0,740,TRUE); ! $c->add('emailstoryloginrequired',0,'select',4,18,0,750,TRUE); ! $c->add('directoryloginrequired',0,'select',4,18,0,760,TRUE); ! $c->add('passwordspeedlimit',300,'text',4,18,NULL,1680,TRUE); ! $c->add('login_attempts',3,'text',4,18,NULL,1690,TRUE); ! $c->add('login_speedlimit',300,'text',4,18,NULL,1700,TRUE); ! ! $c->add('fs_user_submission', NULL, 'fieldset', 4, 19, NULL, 0, TRUE); ! $c->add('usersubmission',0,'select',4,19,0,780,TRUE); ! $c->add('allow_domains','','text',4,19,NULL,960,TRUE); ! $c->add('disallow_domains','','text',4,19,NULL,970,TRUE); ! ! $c->add('fs_submission', NULL, 'fieldset', 4, 20, NULL, 0, TRUE); ! $c->add('storysubmission',1,'select',4,20,0,770,TRUE); ! $c->add('listdraftstories',0,'select',4,20,0,790,TRUE); ! $c->add('postmode','plaintext','select',4,20,5,810,TRUE); ! $c->add('speedlimit',45,'text',4,20,NULL,820,TRUE); ! $c->add('skip_preview',0,'select',4,20,0,830,TRUE); ! $c->add('advanced_editor',FALSE,'select',4,20,1,840,TRUE); ! $c->add('wikitext_editor',FALSE,'select',4,20,1,850,TRUE); ! ! $c->add('fs_comments', NULL, 'fieldset', 4, 21, NULL, 0, TRUE); ! $c->add('commentspeedlimit',45,'text',4,21,NULL,1640,TRUE); ! $c->add('comment_limit',100,'text',4,21,NULL,1650,TRUE); ! $c->add('comment_mode','threaded','select',4,21,11,1660,TRUE); ! $c->add('comment_code',0,'select',4,21,17,1670,TRUE); ! ! // Subgroup: Images ! $c->add('sg_images', NULL, 'subgroup', 5, 0, NULL, 0, TRUE); ! ! $c->add('fs_imagelib', NULL, 'fieldset', 5, 22, NULL, 0, TRUE); ! $c->add('image_lib','','select',5,22,10,1450,TRUE); ! $c->add('path_to_mogrify','','text',5,22,NULL,1460,FALSE); ! $c->add('path_to_netpbm','','text',5,22,NULL,1470,FALSE); ! ! $c->add('fs_upload', NULL, 'fieldset', 5, 23, NULL, 0, TRUE); ! $c->add('keep_unscaled_image',0,'select',5,23,0,1480,TRUE); ! $c->add('allow_user_scaling',1,'select',5,23,0,1490,TRUE); ! $c->add('debug_image_upload',TRUE,'select',5,23,1,1500,TRUE); ! ! $c->add('fs_articleimg', NULL, 'fieldset', 5, 24, NULL, 0, TRUE); ! $c->add('max_image_width',160,'text',5,24,NULL,1510,TRUE); ! $c->add('max_image_height',160,'text',5,24,NULL,1520,TRUE); ! $c->add('max_image_size',1048576,'text',5,24,NULL,1530,TRUE); ! ! $c->add('fs_topicicon', NULL, 'fieldset', 5, 25, NULL, 0, TRUE); ! $c->add('max_topicicon_width',48,'text',5,25,NULL,1540,TRUE); ! $c->add('max_topicicon_height',48,'text',5,25,NULL,1550,TRUE); ! $c->add('max_topicicon_size',65536,'text',5,25,NULL,1560,TRUE); ! ! $c->add('fs_userphoto', NULL, 'fieldset', 5, 26, NULL, 0, TRUE); ! $c->add('max_photo_width',128,'text',5,26,NULL,1570,TRUE); ! $c->add('max_photo_height',128,'text',5,26,NULL,1580,TRUE); ! $c->add('max_photo_size',65536,'text',5,26,NULL,1590,TRUE); ! $c->add('force_photo_width',75,'text',5,26,NULL,1620,FALSE); ! $c->add('default_photo','http://example.com/default.jpg','text',5,26,NULL,1630,FALSE); ! ! $c->add('fs_gravatar', NULL, 'fieldset', 5, 27, NULL, 0, TRUE); ! $c->add('use_gravatar',FALSE,'select',5,27,1,1600,TRUE); ! $c->add('gravatar_rating','R','text',5,27,NULL,1610,FALSE); ! ! // Subgroup: Languages and Locale ! $c->add('sg_locale', NULL, 'subgroup', 6, 0, NULL, 0, TRUE); ! ! $c->add('fs_language', NULL, 'fieldset', 6, 28, NULL, 0, TRUE); ! $c->add('language','english','fn:languageList',6,28,NULL,350,TRUE); ! $c->add('language_files',array('en'=>'english_utf-8', 'de'=>'german_formal_utf-8'),'*text',6,28,NULL,470,FALSE); ! $c->add('languages',array('en'=>'English', 'de'=>'Deutsch'),'*text',6,28,NULL,480,FALSE); ! ! $c->add('fs_locale', NULL, 'fieldset', 6, 29, NULL, 0, TRUE); ! $c->add('locale','en_GB','text',6,29,NULL,360,TRUE); ! $c->add('date','%A, %B %d %Y @ %I:%M %p %Z','text',6,29,NULL,370,TRUE); ! $c->add('daytime','%m/%d %I:%M%p','text',6,29,NULL,380,TRUE); ! $c->add('shortdate','%x','text',6,29,NULL,390,TRUE); ! $c->add('dateonly','%d-%b','text',6,29,NULL,400,TRUE); ! $c->add('timeonly','%I:%M%p','text',6,29,NULL,410,TRUE); ! $c->add('week_start','Sun','select',6,29,14,420,TRUE); ! $c->add('hour_mode',12,'select',6,29,6,430,TRUE); ! $c->add('thousand_separator',",",'text',6,29,NULL,440,TRUE); ! $c->add('decimal_separator',".",'text',6,29,NULL,450,TRUE); ! $c->add('decimal_count',"2",'text',6,29,NULL,460,TRUE); ! $c->add('timezone','Etc/GMT-6','text',6,29,NULL,490,FALSE); ! ! // Subgroup: Miscellaneous ! $c->add('sg_misc', NULL, 'subgroup', 7, 0, NULL, 0, TRUE); ! ! $c->add('fs_cookies', NULL, 'fieldset', 7, 30, NULL, 0, TRUE); ! $c->add('cookie_session','gl_session','text',7,30,NULL,530,TRUE); ! $c->add('cookie_name','geeklog','text',7,30,NULL,540,TRUE); ! $c->add('cookie_password','password','text',7,30,NULL,550,TRUE); ! $c->add('cookie_theme','theme','text',7,30,NULL,560,TRUE); ! $c->add('cookie_language','language','text',7,30,NULL,570,TRUE); ! $c->add('cookie_tzid','timezone','text',7,30,NULL,575,TRUE); ! $c->add('cookie_ip',0,'select',7,30,0,580,TRUE); ! $c->add('default_perm_cookie_timeout',28800,'text',7,30,NULL,590,TRUE); ! $c->add('session_cookie_timeout',7200,'text',7,30,NULL,600,TRUE); ! $c->add('cookie_path','/','text',7,30,NULL,610,TRUE); ! $c->add('cookiedomain','','text',7,30,NULL,620,TRUE); ! $c->add('cookiesecure',FALSE,'select',7,30,1,630,TRUE); ! ! $c->add('fs_misc', NULL, 'fieldset', 7, 31, NULL, 0, TRUE); ! $c->add('pdf_enabled',0,'select',7,31,0,660,TRUE); ! $c->add('notification',array(),'%text',7,31,NULL,800,TRUE); ! $c->add('cron_schedule_interval',86400,'text',7,31,NULL,860,TRUE); ! $c->add('disable_autolinks',0,'select',7,31,0,1750,TRUE); ! ! $c->add('fs_debug', NULL, 'fieldset', 7, 32, NULL, 0, TRUE); ! $c->add('rootdebug',FALSE,'select',7,32,1,520,TRUE); ! ! $c->add('fs_daily_digest', NULL, 'fieldset', 7, 33, NULL, 0, TRUE); ! $c->add('emailstories',0,'select',7,33,0,930,TRUE); ! $c->add('emailstorieslength',1,'text',7,33,NULL,940,TRUE); ! $c->add('emailstoriesperdefault',0,'select',7,33,0,950,TRUE); ! ! $c->add('fs_htmlfilter', NULL, 'fieldset', 7, 34, NULL, 0, TRUE); ! $c->add('user_html',array ('p' => array(), 'b' => array(), 'strong' => array(),'i' => array(), 'a' => array('href' => 1, 'title' => 1, 'rel' => 1),'em' => array(),'br' => array(),'tt' => array(),'hr' => array(), 'li' => array(), 'ol' => array(), 'ul' => array(), 'code' => array(), 'pre' => array()),'**placeholder',7,34,NULL,1710,TRUE); $c->add('admin_html',array ('p' => array('class' => 1, 'id' => 1, 'align' => 1), 'div' => array('class' => 1, 'id' => 1), 'span' => array('class' => 1, 'id' => 1), 'table' => array('class' => 1, 'id' => 1, 'width' => 1, 'border' => 1, 'cellspacing' => 1, 'cellpadding' => 1), 'tr' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1), 'th' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1, 'colspan' => 1, 'rowspan' => 1), 'td' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1, 'colspan' => 1, 'rowspan' => 1)),'**placeholder',7,34,NULL,1720,TRUE); $c->add('skip_html_filter_for_root',0,'select',7,34,0,1730,TRUE); ! $c->add('allowed_protocols',array('http','ftp','https'),'%text',7,34,NULL,1740,TRUE); ! ! $c->add('fs_censoring', NULL, 'fieldset', 7, 35, NULL, 0, TRUE); $c->add('censormode',1,'select',7,35,0,1760,TRUE); $c->add('censorreplace','*censormode*','text',7,35,NULL,1770,TRUE); $c->add('censorlist', array('fuck','cunt','fucker','fucking','pussy','cock','c0ck',' cum ','twat','clit','bitch','fuk','fuking','motherfucker'),'%text',7,35,NULL,1780,TRUE); + + $c->add('fs_iplookup', NULL, 'fieldset', 7, 36, NULL, 0, TRUE); $c->add('ip_lookup','/nettools/whois.php?domain=*','text',7,36,NULL,1790,FALSE); ! ! $c->add('fs_perm_story', NULL, 'fieldset', 7, 37, NULL, 0, TRUE); $c->add('default_permissions_story',array(3, 2, 2, 2),'@select',7,37,12,1820,TRUE); ! ! $c->add('fs_perm_topic', NULL, 'fieldset', 7, 38, NULL, 0, TRUE); ! $c->add('default_permissions_topic',array(3, 2, 2, 2),'@select',7,38,12,1830,TRUE); ! ! $c->add('fs_perm_block', NULL, 'fieldset', 7, 39, NULL, 0, TRUE); ! $c->add('default_permissions_block',array(3, 2, 2, 2),'@select',7,39,12,1810,TRUE); ! ! $c->add('fs_webservices', NULL, 'fieldset', 7, 40, NULL, 0, TRUE); ! $c->add('disable_webservices', 0, 'select', 7, 40, 0, 1840, TRUE); ! $c->add('restrict_webservices', 0, 'select', 7, 40, 0, 1850, TRUE); ! $c->add('atom_max_stories', 10, 'text', 7, 40, 0, 1860, TRUE); } From dhaun at qs1489.pair.com Sun Feb 10 12:09:40 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Feb 2008 17:09:40 +0000 Subject: [geeklog-cvs] Geeklog-1.x/language english.php, 1.326, 1.327 english_utf-8.php, 1.111, 1.112 Message-ID: <20080210170940.5F89410FE1B@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/language In directory qs1489.pair.com:/tmp/cvs-serv85353/language Modified Files: english.php english_utf-8.php Log Message: Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates. Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english.php,v retrieving revision 1.326 retrieving revision 1.327 diff -C2 -d -r1.326 -r1.327 *** english.php 2 Feb 2008 21:56:18 -0000 1.326 --- english.php 10 Feb 2008 17:09:38 -0000 1.327 *************** *** 1765,1818 **** $LANG_configsubgroups['Core'] = array( ! 0 => 'Site', ! 1 => 'Stories and Trackback', ! 2 => 'Theme', ! 3 => 'Blocks', ! 4 => 'Users and Submissions', ! 5 => 'Images', ! 6 => 'Languages and Locale', ! 7 => 'Miscellaneous' ); $LANG_fs['Core'] = array( ! 0 => 'Site', ! 1 => 'Paths', ! 2 => 'Theme', ! 3 => 'Mail', ! 4 => 'Pear', ! 5 => 'MySQL', ! 6 => 'Users', ! 7 => 'Miscellaneous', ! 8 => 'Spam-X', ! 9 => 'Admin Block', ! 10 => 'Locale', ! 11 => 'Language', ! 12 => 'Debug', ! 13 => 'Cookies', ! 14 => 'Login Settings', ! 15 => 'Search', ! 16 => 'User Submission', ! 17 => 'Submission Settings', ! 18 => 'Topics Block', ! 19 => 'Who\'s Online Block', ! 20 => 'Daily Digest', ! 21 => 'What\'s New Block', ! 22 => 'Trackback', ! 23 => 'Pingback', ! 24 => 'Story', ! 25 => 'Advanced Settings', ! 26 => 'RSS', ! 27 => 'Image Library', ! 28 => 'Upload', ! 29 => 'Images in Articles', ! 30 => 'Topic Icons', ! 31 => 'Photos', ! 32 => 'Gravatar', ! 33 => 'Comments', ! 34 => 'HTML Filtering', ! 35 => 'Censoring', ! 36 => 'IP Lookup', ! 37 => 'Default Permission', ! 38 => 'Webservices' ); --- 1765,1820 ---- $LANG_configsubgroups['Core'] = array( ! 'sg_site' => 'Site', ! 'sg_stories' => 'Stories and Trackback', ! 'sg_theme' => 'Theme', ! 'sg_blocks' => 'Blocks', ! 'sg_users' => 'Users and Submissions', ! 'sg_images' => 'Images', ! 'sg_locale' => 'Languages and Locale', ! 'sg_misc' => 'Miscellaneous' ); $LANG_fs['Core'] = array( ! 'fs_site' => 'Site', ! 'fs_paths' => 'Paths', ! 'fs_theme' => 'Theme', ! 'fs_mail' => 'Mail', ! 'fs_pear' => 'Pear', ! 'fs_mysql' => 'MySQL', ! 'fs_users' => 'Users', ! 'fs_misc' => 'Miscellaneous', ! 'fs_spamx' => 'Spam-X', ! 'fs_admin_block' => 'Admin Block', ! 'fs_locale' => 'Locale', ! 'fs_language' => 'Language', ! 'fs_debug' => 'Debug', ! 'fs_cookies' => 'Cookies', ! 'fs_login' => 'Login Settings', ! 'fs_search' => 'Search', ! 'fs_user_submission' => 'User Submission', ! 'fs_submission' => 'Submission Settings', ! 'fs_topics_block' => 'Topics Block', ! 'fs_whosonline_block' => 'Who\'s Online Block', ! 'fs_daily_digest' => 'Daily Digest', ! 'fs_whatsnew_block' => 'What\'s New Block', ! 'fs_trackback' => 'Trackback', ! 'fs_pingback' => 'Pingback', ! 'fs_story' => 'Story', ! 'fs_theme_advanced' => 'Advanced Settings', ! 'fs_syndication' => 'RSS', ! 'fs_imagelib' => 'Image Library', ! 'fs_upload' => 'Upload', ! 'fs_articleimg' => 'Images in Articles', ! 'fs_topicicon' => 'Topic Icons', ! 'fs_userphoto' => 'Photos', ! 'fs_gravatar' => 'Gravatar', ! 'fs_comments' => 'Comments', ! 'fs_htmlfilter' => 'HTML Filtering', ! 'fs_censoring' => 'Censoring', ! 'fs_iplookup' => 'IP Lookup', ! 'fs_perm_story' => 'Story Default Permission', ! 'fs_perm_topic' => 'Topic Default Permission', ! 'fs_perm_block' => 'Block Default Permission', ! 'fs_webservices' => 'Webservices' ); Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english_utf-8.php,v retrieving revision 1.111 retrieving revision 1.112 diff -C2 -d -r1.111 -r1.112 *** english_utf-8.php 2 Feb 2008 21:56:18 -0000 1.111 --- english_utf-8.php 10 Feb 2008 17:09:38 -0000 1.112 *************** *** 1765,1818 **** $LANG_configsubgroups['Core'] = array( ! 0 => 'Site', ! 1 => 'Stories and Trackback', ! 2 => 'Theme', ! 3 => 'Blocks', ! 4 => 'Users and Submissions', ! 5 => 'Images', ! 6 => 'Languages and Locale', ! 7 => 'Miscellaneous' ); $LANG_fs['Core'] = array( ! 0 => 'Site', ! 1 => 'Paths', ! 2 => 'Theme', ! 3 => 'Mail', ! 4 => 'Pear', ! 5 => 'MySQL', ! 6 => 'Users', ! 7 => 'Miscellaneous', ! 8 => 'Spam-X', ! 9 => 'Admin Block', ! 10 => 'Locale', ! 11 => 'Language', ! 12 => 'Debug', ! 13 => 'Cookies', ! 14 => 'Login Settings', ! 15 => 'Search', ! 16 => 'User Submission', ! 17 => 'Submission Settings', ! 18 => 'Topics Block', ! 19 => 'Who\'s Online Block', ! 20 => 'Daily Digest', ! 21 => 'What\'s New Block', ! 22 => 'Trackback', ! 23 => 'Pingback', ! 24 => 'Story', ! 25 => 'Advanced Settings', ! 26 => 'RSS', ! 27 => 'Image Library', ! 28 => 'Upload', ! 29 => 'Images in Articles', ! 30 => 'Topic Icons', ! 31 => 'Photos', ! 32 => 'Gravatar', ! 33 => 'Comments', ! 34 => 'HTML Filtering', ! 35 => 'Censoring', ! 36 => 'IP Lookup', ! 37 => 'Default Permission', ! 38 => 'Webservices' ); --- 1765,1820 ---- $LANG_configsubgroups['Core'] = array( ! 'sg_site' => 'Site', ! 'sg_stories' => 'Stories and Trackback', ! 'sg_theme' => 'Theme', ! 'sg_blocks' => 'Blocks', ! 'sg_users' => 'Users and Submissions', ! 'sg_images' => 'Images', ! 'sg_locale' => 'Languages and Locale', ! 'sg_misc' => 'Miscellaneous' ); $LANG_fs['Core'] = array( ! 'fs_site' => 'Site', ! 'fs_paths' => 'Paths', ! 'fs_theme' => 'Theme', ! 'fs_mail' => 'Mail', ! 'fs_pear' => 'Pear', ! 'fs_mysql' => 'MySQL', ! 'fs_users' => 'Users', ! 'fs_misc' => 'Miscellaneous', ! 'fs_spamx' => 'Spam-X', ! 'fs_admin_block' => 'Admin Block', ! 'fs_locale' => 'Locale', ! 'fs_language' => 'Language', ! 'fs_debug' => 'Debug', ! 'fs_cookies' => 'Cookies', ! 'fs_login' => 'Login Settings', ! 'fs_search' => 'Search', ! 'fs_user_submission' => 'User Submission', ! 'fs_submission' => 'Submission Settings', ! 'fs_topics_block' => 'Topics Block', ! 'fs_whosonline_block' => 'Who\'s Online Block', ! 'fs_daily_digest' => 'Daily Digest', ! 'fs_whatsnew_block' => 'What\'s New Block', ! 'fs_trackback' => 'Trackback', ! 'fs_pingback' => 'Pingback', ! 'fs_story' => 'Story', ! 'fs_theme_advanced' => 'Advanced Settings', ! 'fs_syndication' => 'RSS', ! 'fs_imagelib' => 'Image Library', ! 'fs_upload' => 'Upload', ! 'fs_articleimg' => 'Images in Articles', ! 'fs_topicicon' => 'Topic Icons', ! 'fs_userphoto' => 'Photos', ! 'fs_gravatar' => 'Gravatar', ! 'fs_comments' => 'Comments', ! 'fs_htmlfilter' => 'HTML Filtering', ! 'fs_censoring' => 'Censoring', ! 'fs_iplookup' => 'IP Lookup', ! 'fs_perm_story' => 'Story Default Permission', ! 'fs_perm_topic' => 'Topic Default Permission', ! 'fs_perm_block' => 'Block Default Permission', ! 'fs_webservices' => 'Webservices' ); From dhaun at qs1489.pair.com Mon Feb 11 03:37:44 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Mon, 11 Feb 2008 08:37:44 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin story.php, 1.248, 1.248.2.1 Message-ID: <20080211083744.A3E2610FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv17484/public_html/admin Modified Files: Tag: geeklog_1_4_1_1 story.php Log Message: Fixed multiple application of htmlspecialchars() in the story preview Index: story.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/story.php,v retrieving revision 1.248 retrieving revision 1.248.2.1 diff -C2 -d -r1.248 -r1.248.2.1 *** story.php 10 Dec 2006 12:08:40 -0000 1.248 --- story.php 11 Feb 2008 08:37:42 -0000 1.248.2.1 *************** *** 778,784 **** $newintro = str_replace('','[/code]',$newintro); $newbody = str_replace('','[/code]',$newbody); - - $newintro = htmlspecialchars ($newintro); - $newbody = htmlspecialchars ($newbody); } --- 778,781 ---- From dhaun at qs1489.pair.com Mon Feb 11 03:37:44 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Mon, 11 Feb 2008 08:37:44 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history, 1.535.2.27, 1.535.2.28 Message-ID: <20080211083744.BF6AF10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv17484/public_html/docs Modified Files: Tag: geeklog_1_4_1_1 history Log Message: Fixed multiple application of htmlspecialchars() in the story preview Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.535.2.27 retrieving revision 1.535.2.28 diff -C2 -d -r1.535.2.27 -r1.535.2.28 *** history 21 Dec 2007 13:57:10 -0000 1.535.2.27 --- history 11 Feb 2008 08:37:42 -0000 1.535.2.28 *************** *** 4,7 **** --- 4,8 ---- ------------ + - Fixed multiple application of htmlspecialchars() in the story preview [Dirk] - Set variable {max_url_length} for the default block editor (used in the template file but wasn't set). Patch provided by dengen. [Dirk] From dhaun at qs1489.pair.com Wed Feb 13 06:29:11 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Wed, 13 Feb 2008 11:29:11 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/calendar index.php, 1.23, 1.24 Message-ID: <20080213112911.98EFE10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/calendar In directory qs1489.pair.com:/tmp/cvs-serv64679/public_html/calendar Modified Files: index.php Log Message: Typo in description: function returns 2 characters, not 3 Index: index.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/calendar/index.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** index.php 21 Dec 2007 13:50:15 -0000 1.23 --- index.php 13 Feb 2008 11:29:09 -0000 1.24 *************** *** 141,145 **** * * @param int $day 1 = Sunday, 2 = Monday, ... ! * @return string abbreviated day's name (3 characters) * * --- 141,145 ---- * * @param int $day 1 = Sunday, 2 = Monday, ... ! * @return string abbreviated day's name (2 characters) * * From mjervis at qs1489.pair.com Fri Feb 15 14:10:30 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 15 Feb 2008 19:10:30 +0000 Subject: [geeklog-cvs] Geeklog-1.x/language english.php,1.327,1.328 Message-ID: <20080215191030.10FCB10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/language In directory qs1489.pair.com:/tmp/cvs-serv60922/language Modified Files: english.php Log Message: Support for Podcasts in portal blocks improved. Fixed error where REALLY long syndication feeds could blow portal blocks up. Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english.php,v retrieving revision 1.327 retrieving revision 1.328 diff -C2 -d -r1.327 -r1.328 *** english.php 10 Feb 2008 17:09:38 -0000 1.327 --- english.php 15 Feb 2008 19:10:27 -0000 1.328 *************** *** 699,703 **** 65 => 'Order', 66 => 'Autotags', ! 67 => 'Check to allow autotags' ); --- 699,704 ---- 65 => 'Order', 66 => 'Autotags', ! 67 => 'Check to allow autotags', ! 68 => 'The feed for this portal block is too long to display. Please set a maximum number of articles to import for the block in the block setup screen, or a global maximum in Geeklog Configuration.' ); From mjervis at qs1489.pair.com Fri Feb 15 14:10:30 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 15 Feb 2008 19:10:30 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php, 1.675, 1.676 usersettings.php, 1.167, 1.168 Message-ID: <20080215191030.2CEA810FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv60922/public_html Modified Files: lib-common.php usersettings.php Log Message: Support for Podcasts in portal blocks improved. Fixed error where REALLY long syndication feeds could blow portal blocks up. Index: usersettings.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/usersettings.php,v retrieving revision 1.167 retrieving revision 1.168 diff -C2 -d -r1.167 -r1.168 *** usersettings.php 9 Dec 2007 18:05:39 -0000 1.167 --- usersettings.php 15 Feb 2008 19:10:28 -0000 1.168 *************** *** 168,176 **** } - // @@@@ 2007/09/16 changed by dengen ----->> - // $selection = '' . LB; - // @@@@ 2007/09/16 changed by dengen -----<< $selection .= COM_optionList ($_TABLES['cookiecodes'], 'cc_value,cc_descr', $A['cookietimeout'], 0); --- 168,172 ---- Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.675 retrieving revision 1.676 diff -C2 -d -r1.675 -r1.676 *** lib-common.php 3 Feb 2008 20:21:23 -0000 1.675 --- lib-common.php 15 Feb 2008 19:10:28 -0000 1.676 *************** *** 3597,3601 **** * Syndication import function. Imports headline data to a portal block. * ! * Rewritten December 19th 2004 by Michael Jervis (mike at fuckingbrit.com). Now * utilises a Factory Pattern to open a URL and automaticaly retreive a feed * object populated with feed data. Then import it into the portal block. --- 3597,3601 ---- * Syndication import function. Imports headline data to a portal block. * ! * Rewritten December 19th 2004 by Michael Jervis (mike@*censored*ingbrit.com). Now * utilises a Factory Pattern to open a URL and automaticaly retreive a feed * object populated with feed data. Then import it into the portal block. *************** *** 3676,3680 **** $title = utf8_decode($feed->articles[$i]['title']); } ! $content = COM_createLink($title, $feed->articles[$i]['link']); $articles[] = $content; } --- 3676,3686 ---- $title = utf8_decode($feed->articles[$i]['title']); } ! if ($feed->articles[$i]['link'] != '') { ! $content = COM_createLink($title, $feed->articles[$i]['link']); ! } elseif ($feed->articles[$i]['enclosureurl'] != '') { ! $content = COM_createLink($title, $feed->articles[$i]['enclosureurl']); ! } else { ! $content = $title; ! } $articles[] = $content; } *************** *** 3683,3686 **** --- 3689,3696 ---- $content = COM_makeList($articles, 'list-feed'); $content = preg_replace("/(\015\012)|(\015)|(\012)/", '', $content); + + if (strlen($content) > 65000) { + $content = $LANG21[68]; + } // Standard theme based function to put it in the block From mjervis at qs1489.pair.com Fri Feb 15 14:10:30 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 15 Feb 2008 19:10:30 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes/syndication rss.feed.class.php, 1.12, 1.13 Message-ID: <20080215191030.35A6810FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication In directory qs1489.pair.com:/tmp/cvs-serv60922/system/classes/syndication Modified Files: rss.feed.class.php Log Message: Support for Podcasts in portal blocks improved. Fixed error where REALLY long syndication feeds could blow portal blocks up. Index: rss.feed.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication/rss.feed.class.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** rss.feed.class.php 9 Mar 2006 18:15:05 -0000 1.12 --- rss.feed.class.php 15 Feb 2008 19:10:28 -0000 1.13 *************** *** 434,437 **** --- 434,440 ---- $this->_permaLink = false; } + } else if( ($name == 'ENCLOSURE') && array_key_exists('URL', $attributes) ) { + /* If we have an enclosure with a URL, remember it because this is a podcast */ + $this->_currentItem['enclosureurl'] = $attributes['URL']; } else { $this->_permaLink = false; From mjervis at qs1489.pair.com Fri Feb 15 14:15:50 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 15 Feb 2008 19:15:50 +0000 Subject: [geeklog-cvs] Geeklog-1.x/language english.php, 1.328, 1.329 english_utf-8.php, 1.112, 1.113 Message-ID: <20080215191550.B14CB10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/language In directory qs1489.pair.com:/tmp/cvs-serv61166/language Modified Files: english.php english_utf-8.php Log Message: Admin UI Language corrections for syndication. Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english.php,v retrieving revision 1.328 retrieving revision 1.329 diff -C2 -d -r1.328 -r1.329 *** english.php 15 Feb 2008 19:10:27 -0000 1.328 --- english.php 15 Feb 2008 19:15:48 -0000 1.329 *************** *** 646,651 **** 12 => 'Normal Block', 13 => 'Portal Block Options', ! 14 => 'RSS URL', ! 15 => 'Last RSS Update', 16 => 'Normal Block Options', 17 => 'Block Content', --- 646,651 ---- 12 => 'Normal Block', 13 => 'Portal Block Options', ! 14 => 'Feed URL', ! 15 => 'Last Feed Update', 16 => 'Normal Block Options', 17 => 'Block Content', *************** *** 665,669 **** 31 => 'Error in PHP Block. Function, %s, does not exist.', 32 => 'Error Missing Field(s)', ! 33 => 'You must enter the URL to the RSS file for portal blocks', 34 => 'You must enter the title and the function for PHP blocks', 35 => 'You must enter the title and the content for normal blocks', --- 665,669 ---- 31 => 'Error in PHP Block. Function, %s, does not exist.', 32 => 'Error Missing Field(s)', ! 33 => 'You must enter the URL to the syndication feed file for portal blocks', 34 => 'You must enter the title and the function for PHP blocks', 35 => 'You must enter the title and the content for normal blocks', *************** *** 752,756 **** 44 => '', 45 => '', ! 46 => 'NOTE: if you modify this date to be in the future, this article will not be published until that date. That also means the story will not be included in your RSS headline feed and it will be ignored by the search and statistics pages.', 47 => 'Images', 48 => 'image', --- 752,756 ---- 44 => '', 45 => '', ! 46 => 'NOTE: if you modify this date to be in the future, this article will not be published until that date. That also means the story will not be included in your feed headline feed and it will be ignored by the search and statistics pages.', 47 => 'Images', 48 => 'image', *************** *** 1715,1723 **** 'showfirstasfeatured' => "Show First Story as Featured?", 'backend' => "Enable Feeds?", ! 'rdf_file' => "RSS File", ! 'rdf_limit' => "RSS Limit", 'rdf_storytext' => "Length of Stories in Feed", ! 'rdf_language' => "RSS Language", ! 'syndication_max_headlines' => 'Max. Number of Headlines', 'copyright' => "Copyright Year", 'image_lib' => "Image Library", --- 1715,1723 ---- 'showfirstasfeatured' => "Show First Story as Featured?", 'backend' => "Enable Feeds?", ! 'rdf_file' => "Syndication Output Folder", ! 'rdf_limit' => "Feed Limit", 'rdf_storytext' => "Length of Stories in Feed", ! 'rdf_language' => "Feed Language", ! 'syndication_max_headlines' => 'Max. Number of Headlines (portal blocks)', 'copyright' => "Copyright Year", 'image_lib' => "Image Library", *************** *** 1803,1807 **** 'fs_story' => 'Story', 'fs_theme_advanced' => 'Advanced Settings', ! 'fs_syndication' => 'RSS', 'fs_imagelib' => 'Image Library', 'fs_upload' => 'Upload', --- 1803,1807 ---- 'fs_story' => 'Story', 'fs_theme_advanced' => 'Advanced Settings', ! 'fs_syndication' => 'Syndication', 'fs_imagelib' => 'Image Library', 'fs_upload' => 'Upload', Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english_utf-8.php,v retrieving revision 1.112 retrieving revision 1.113 diff -C2 -d -r1.112 -r1.113 *** english_utf-8.php 10 Feb 2008 17:09:38 -0000 1.112 --- english_utf-8.php 15 Feb 2008 19:15:48 -0000 1.113 *************** *** 646,651 **** 12 => 'Normal Block', 13 => 'Portal Block Options', ! 14 => 'RSS URL', ! 15 => 'Last RSS Update', 16 => 'Normal Block Options', 17 => 'Block Content', --- 646,651 ---- 12 => 'Normal Block', 13 => 'Portal Block Options', ! 14 => 'Feed URL', ! 15 => 'Last Feed Update', 16 => 'Normal Block Options', 17 => 'Block Content', *************** *** 665,669 **** 31 => 'Error in PHP Block. Function, %s, does not exist.', 32 => 'Error Missing Field(s)', ! 33 => 'You must enter the URL to the RSS file for portal blocks', 34 => 'You must enter the title and the function for PHP blocks', 35 => 'You must enter the title and the content for normal blocks', --- 665,669 ---- 31 => 'Error in PHP Block. Function, %s, does not exist.', 32 => 'Error Missing Field(s)', ! 33 => 'You must enter the URL to the syndication feed file for portal blocks', 34 => 'You must enter the title and the function for PHP blocks', 35 => 'You must enter the title and the content for normal blocks', *************** *** 699,703 **** 65 => 'Order', 66 => 'Autotags', ! 67 => 'Check to allow autotags' ); --- 699,704 ---- 65 => 'Order', 66 => 'Autotags', ! 67 => 'Check to allow autotags', ! 68 => 'The feed for this portal block is too long to display. Please set a maximum number of articles to import for the block in the block setup screen, or a global maximum in Geeklog Configuration.' ); *************** *** 751,755 **** 44 => '', 45 => '', ! 46 => 'NOTE: if you modify this date to be in the future, this article will not be published until that date. That also means the story will not be included in your RSS headline feed and it will be ignored by the search and statistics pages.', 47 => 'Images', 48 => 'image', --- 752,756 ---- 44 => '', 45 => '', ! 46 => 'NOTE: if you modify this date to be in the future, this article will not be published until that date. That also means the story will not be included in your feed headline feed and it will be ignored by the search and statistics pages.', 47 => 'Images', 48 => 'image', *************** *** 1714,1722 **** 'showfirstasfeatured' => "Show First Story as Featured?", 'backend' => "Enable Feeds?", ! 'rdf_file' => "RSS File", ! 'rdf_limit' => "RSS Limit", 'rdf_storytext' => "Length of Stories in Feed", ! 'rdf_language' => "RSS Language", ! 'syndication_max_headlines' => 'Max. Number of Headlines', 'copyright' => "Copyright Year", 'image_lib' => "Image Library", --- 1715,1723 ---- 'showfirstasfeatured' => "Show First Story as Featured?", 'backend' => "Enable Feeds?", ! 'rdf_file' => "Syndication Output Folder", ! 'rdf_limit' => "Feed Limit", 'rdf_storytext' => "Length of Stories in Feed", ! 'rdf_language' => "Feed Language", ! 'syndication_max_headlines' => 'Max. Number of Headlines (portal blocks)', 'copyright' => "Copyright Year", 'image_lib' => "Image Library", *************** *** 1802,1806 **** 'fs_story' => 'Story', 'fs_theme_advanced' => 'Advanced Settings', ! 'fs_syndication' => 'RSS', 'fs_imagelib' => 'Image Library', 'fs_upload' => 'Upload', --- 1803,1807 ---- 'fs_story' => 'Story', 'fs_theme_advanced' => 'Advanced Settings', ! 'fs_syndication' => 'Syndication', 'fs_imagelib' => 'Image Library', 'fs_upload' => 'Upload', From dhaun at qs1489.pair.com Sat Feb 16 06:40:06 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 11:40:06 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html usersettings.php, 1.168, 1.169 Message-ID: <20080216114006.9765B10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv98599/public_html Modified Files: usersettings.php Log Message: Removed remaining "changed by dengen" comments that accidentally came in with the XHTML patch Index: usersettings.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/usersettings.php,v retrieving revision 1.168 retrieving revision 1.169 diff -C2 -d -r1.168 -r1.169 *** usersettings.php 15 Feb 2008 19:10:28 -0000 1.168 --- usersettings.php 16 Feb 2008 11:40:04 -0000 1.169 *************** *** 9,13 **** // | Geeklog user settings page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2007 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | --- 9,13 ---- // | Geeklog user settings page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | *************** *** 479,487 **** } - // @@@@ 2007/09/16 changed by dengen ----->> - // $selection = '' . LB; - // @@@@ 2007/09/16 changed by dengen -----<< foreach ($language as $langFile => $langName) { --- 479,483 ---- *************** *** 505,513 **** if ($_CONF['allow_user_themes'] == 1) { - // @@@@ 2007/09/16 changed by dengen ----->> - // $selection = '' . LB; - // @@@@ 2007/09/16 changed by dengen -----<< if (empty ($_USER['theme'])) { --- 501,505 ---- *************** *** 555,572 **** $timezone = $tz_obj->id; } - // @@@@ 2007/09/16 changed by dengen ----->> - // $selection = '' . LB; - // @@@@ 2007/09/16 changed by dengen -----<< $T = $GLOBALS['_DATE_TIMEZONE_DATA']; while ($tDetails = current($T)) { - // @@@@ 2007/09/16 changed by dengen ----->> - // $tzcode = key($T); - // @@@@ 2007/09/16 changed by dengen -----|| $tzcode = htmlspecialchars(key($T)); - // @@@@ 2007/09/16 changed by dengen -----<< $selection .= ''); } else { ! ! // @@@@ changed by dengen 2007/09/05 ---------->> ! // $topic_templates->set_var('end_row',''); ! // @@@@ changed by dengen 2007/09/05 ----------|| ! if ( $i == $nrows - 1 ) { $topic_templates->set_var('end_row',''); } else { $topic_templates->set_var('end_row',''); } - // @@@@ changed by dengen 2007/09/05 ----------<< $topic_templates->parse('list_row','item',true); --- 378,386 ---- $topic_templates->set_var('begin_row',''); } else { ! if ($i == $nrows - 1) { $topic_templates->set_var('end_row',''); } else { $topic_templates->set_var('end_row',''); } $topic_templates->parse('list_row','item',true); *************** *** 395,401 **** } } - // @@@@ uncommented by dengen 2007/09/05 ---------->> - // $topic_templates->set_var('end_row',''); - // @@@@ uncommented by dengen 2007/09/05 ----------<< $topic_templates->parse('output', 'list'); $retval .= $topic_templates->finish($topic_templates->get_var('output')); --- 390,393 ---- From dhaun at qs1489.pair.com Sat Feb 16 11:45:05 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 16:45:05 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history,1.603,1.604 Message-ID: <20080216164505.5897610FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv10288/public_html/docs Modified Files: history Log Message: Only use the multi-byte string functions with UTF-8 (problem reported by Rick78) Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.603 retrieving revision 1.604 diff -C2 -d -r1.603 -r1.604 *** history 2 Feb 2008 15:04:37 -0000 1.603 --- history 16 Feb 2008 16:45:03 -0000 1.604 *************** *** 3,6 **** --- 3,8 ---- ??? ??, 2008 (1.5.0) ------------ + - Only use the multi-byte string functions when the current character set is + UTF-8 (reported by Rick78) [Dirk] - COM_hit() is now called from COM_siteFooter() instead of doing the UPDATE SQL directly (reported by Joe Mucchiello) [Dirk] From dhaun at qs1489.pair.com Sat Feb 16 11:45:05 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 16:45:05 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-mbyte.php,1.19,1.20 Message-ID: <20080216164505.442EB10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv10288/system Modified Files: lib-mbyte.php Log Message: Only use the multi-byte string functions with UTF-8 (problem reported by Rick78) Index: lib-mbyte.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-mbyte.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** lib-mbyte.php 15 Jan 2007 07:13:43 -0000 1.19 --- lib-mbyte.php 16 Feb 2008 16:45:03 -0000 1.20 *************** *** 3,7 **** /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.4 | // +---------------------------------------------------------------------------+ // | lib-mbyte.php | --- 3,7 ---- /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.5 | // +---------------------------------------------------------------------------+ // | lib-mbyte.php | *************** *** 9,13 **** // | function collection to handle mutli-byte related issues | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2006 by the following authors: | // | | // | Authors: Oliver Spiesshofer - oliver AT spiesshofer DOT com | --- 9,13 ---- // | function collection to handle mutli-byte related issues | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Oliver Spiesshofer - oliver AT spiesshofer DOT com | *************** *** 32,37 **** // $Id$ ! if (strpos ($_SERVER['PHP_SELF'], 'lib-mbyte.php') !== false) { ! die ('This file can not be used on its own!'); } --- 32,37 ---- // $Id$ ! if (strpos($_SERVER['PHP_SELF'], 'lib-mbyte.php') !== false) { ! die('This file can not be used on its own!'); } *************** *** 85,101 **** // replacement functions for UTF-8 functions ! function MBYTE_checkEnabled() { static $mb_enabled; ! if (function_exists( 'mb_eregi_replace' )) { ! $mb_enabled = mb_internal_encoding("UTF-8"); ! } else { $mb_enabled = false; } return $mb_enabled; } ! function MBYTE_strlen($str) { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 85,111 ---- // replacement functions for UTF-8 functions ! function MBYTE_checkEnabled() ! { ! global $LANG_CHARSET; ! static $mb_enabled; ! ! if (!isset($mb_enabled)) { $mb_enabled = false; + if (strcasecmp($LANG_CHARSET, 'utf-8') == 0) { + if (function_exists('mb_eregi_replace')) { + $mb_enabled = mb_internal_encoding('UTF-8'); + } + } } + return $mb_enabled; } ! function MBYTE_strlen($str) ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 106,114 **** $result = strlen($str); } return $result; } ! function MBYTE_substr($str, $start, $length = NULL) { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 116,127 ---- $result = strlen($str); } + return $result; } ! function MBYTE_substr($str, $start, $length = NULL) ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 129,137 **** } } return $result; } ! function MBYTE_strpos($hay, $needle, $offset = NULL) { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 142,153 ---- } } + return $result; } ! function MBYTE_strpos($hay, $needle, $offset = NULL) ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 142,150 **** $result = strpos($hay, $needle, $offset); } return $result; } ! function MBYTE_strtolower($str) { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 158,169 ---- $result = strpos($hay, $needle, $offset); } + return $result; } ! function MBYTE_strtolower($str) ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 155,163 **** $result = strtolower($str); } return $result; } ! function MBYTE_eregi($pattern, $str, $regs = NULL) { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 174,185 ---- $result = strtolower($str); } + return $result; } ! function MBYTE_eregi($pattern, $str, $regs = NULL) ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 168,176 **** $result = eregi($pattern, $str, $regs); } return $result; } ! function MBYTE_eregi_replace($pattern, $replace, $str) { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 190,201 ---- $result = eregi($pattern, $str, $regs); } + return $result; } ! function MBYTE_eregi_replace($pattern, $replace, $str) ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 181,190 **** $result = eregi_replace($pattern, $replace, $str); } return $result; } /** those are currently not needed in GL, left here if needed later ! function MBYTE_substr_count($hay, $needle) { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 206,219 ---- $result = eregi_replace($pattern, $replace, $str); } + return $result; } /** those are currently not needed in GL, left here if needed later ! ! function MBYTE_substr_count($hay, $needle) ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 195,203 **** $result = substr_count($hay, $needle); } return $result; } ! function MBYTE_strtoupper($str) { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 224,235 ---- $result = substr_count($hay, $needle); } + return $result; } ! function MBYTE_strtoupper($str) ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 208,216 **** $result = strtoupper($str); } return $result; } ! function MBYTE_strrpos($hay, $needle, $offset='') { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 240,251 ---- $result = strtoupper($str); } + return $result; } ! function MBYTE_strrpos($hay, $needle, $offset='') ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 221,229 **** $result = strrpos($hay, $needle, $offset); } return $result; } ! function MBYTE_mail($to, $subj, $mess, $header = NULL, $param = NULL) { static $mb_enabled; if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); --- 256,267 ---- $result = strrpos($hay, $needle, $offset); } + return $result; } ! function MBYTE_mail($to, $subj, $mess, $header = NULL, $param = NULL) ! { static $mb_enabled; + if (!isset($mb_enabled)) { $mb_enabled = MBYTE_checkEnabled(); *************** *** 266,271 **** mb_substr_count -- Count the number of substring occurrences */ - - ?> --- 304,307 ---- From dhaun at qs1489.pair.com Sat Feb 16 11:57:54 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 16:57:54 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin moderation.php, 1.115, 1.116 Message-ID: <20080216165754.0FEA510FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv10786/public_html/admin Modified Files: moderation.php Log Message: When the link to the version check is hidden from the Admin's Block, also hide it from the Admin Home (aka Command and Control) Index: moderation.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/moderation.php,v retrieving revision 1.115 retrieving revision 1.116 diff -C2 -d -r1.115 -r1.116 *** moderation.php 25 Nov 2007 15:09:08 -0000 1.115 --- moderation.php 16 Feb 2008 16:57:51 -0000 1.116 *************** *** 9,13 **** // | Geeklog main administration page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2007 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | --- 9,13 ---- // | Geeklog main administration page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | *************** *** 155,159 **** 'url' => $_CONF['site_url'] . '/docs/', 'lang' => $LANG01[113], 'image' => '/images/icons/docs.'), ! array('condition' => (SEC_inGroup ('Root')), 'url' => 'http://www.geeklog.net/versionchecker.php?version=' . VERSION, 'lang' => $LANG01[107], 'image' => '/images/icons/versioncheck.'), --- 155,160 ---- 'url' => $_CONF['site_url'] . '/docs/', 'lang' => $LANG01[113], 'image' => '/images/icons/docs.'), ! array('condition' => (SEC_inGroup ('Root') && ! ($_CONF['link_versionchecker'] == 1)), 'url' => 'http://www.geeklog.net/versionchecker.php?version=' . VERSION, 'lang' => $LANG01[107], 'image' => '/images/icons/versioncheck.'), From dhaun at qs1489.pair.com Sat Feb 16 16:22:28 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 21:22:28 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional/trackback trackbackcomment.thtml, 1.1, 1.2 Message-ID: <20080216212228.D266610FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/trackback In directory qs1489.pair.com:/tmp/cvs-serv20132 Modified Files: trackbackcomment.thtml Log Message: Fixed HTML error (nested

    tags) Index: trackbackcomment.thtml =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/trackback/trackbackcomment.thtml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** trackbackcomment.thtml 16 Jan 2005 19:14:29 -0000 1.1 --- trackbackcomment.thtml 16 Feb 2008 21:22:26 -0000 1.2 *************** *** 1,3 **** !

    {formatted_comment} !

    --- 1,3 ---- !
    {formatted_comment} !
    From dhaun at qs1489.pair.com Sat Feb 16 16:24:30 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 21:24:30 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html users.php,1.161,1.162 Message-ID: <20080216212430.BFB7510FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv20255/public_html Modified Files: users.php Log Message: Threw in a few htmlspecialchars() calls Index: users.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/users.php,v retrieving revision 1.161 retrieving revision 1.162 diff -C2 -d -r1.161 -r1.162 *** users.php 20 Jan 2008 10:20:23 -0000 1.161 --- users.php 16 Feb 2008 21:24:28 -0000 1.162 *************** *** 103,107 **** } ! $display_name = COM_getDisplayName ($user, $A['username'], $A['fullname']); $retval .= COM_siteHeader ('menu', $LANG04[1] . ' ' . $display_name); --- 103,108 ---- } ! $display_name = htmlspecialchars(COM_getDisplayName($user, $A['username'], ! $A['fullname'])); $retval .= COM_siteHeader ('menu', $LANG04[1] . ' ' . $display_name); *************** *** 118,122 **** 'row' => 'commentrow.thtml', 'strow' => 'storyrow.thtml')); ! $user_templates->set_var ( 'xhtml', XHTML ); $user_templates->set_var ('site_url', $_CONF['site_url']); $user_templates->set_var ('start_block_userprofile', --- 119,123 ---- 'row' => 'commentrow.thtml', 'strow' => 'storyrow.thtml')); ! $user_templates->set_var ('xhtml', XHTML); $user_templates->set_var ('site_url', $_CONF['site_url']); $user_templates->set_var ('start_block_userprofile', *************** *** 137,140 **** --- 138,143 ---- $fullname = $A['fullname']; } + $username = htmlspecialchars($username); + $fullname = htmlspecialchars($fullname); if ($A['status'] == USER_ACCOUNT_DISABLED) { From dhaun at qs1489.pair.com Sat Feb 16 16:24:30 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 21:24:30 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes search.class.php, 1.63, 1.64 Message-ID: <20080216212430.CFDB210FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv20255/system/classes Modified Files: search.class.php Log Message: Threw in a few htmlspecialchars() calls Index: search.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/search.class.php,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** search.class.php 25 Nov 2007 06:59:56 -0000 1.63 --- search.class.php 16 Feb 2008 21:24:28 -0000 1.64 *************** *** 3,7 **** /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.4 | // +---------------------------------------------------------------------------+ // | search.php | --- 3,7 ---- /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.5 | // +---------------------------------------------------------------------------+ // | search.php | *************** *** 9,13 **** // | Geeklog search class. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2007 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT geeklog DOT net | --- 9,13 ---- // | Geeklog search class. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT geeklog DOT net | *************** *** 311,315 **** . $A['sid'] . '&query=' . urlencode($this->_query); } ! $author = $this->_displayName ($A['username'], $A['fullname']); if ($A['uid'] == 1) { $profile = $author; --- 311,316 ---- . $A['sid'] . '&query=' . urlencode($this->_query); } ! $author = htmlspecialchars($this->_displayName($A['username'], ! $A['fullname'])); if ($A['uid'] == 1) { $profile = $author; *************** *** 463,467 **** $names[$A['uid']] = COM_getDisplayName ($A['uid']); } ! $author = $names[$A['uid']]; if ($A['uid'] == 1) { $profile = $author; --- 464,468 ---- $names[$A['uid']] = COM_getDisplayName ($A['uid']); } ! $author = htmlspecialchars($names[$A['uid']]); if ($A['uid'] == 1) { $profile = $author; *************** *** 506,518 **** $searchmain->set_var ('num_matches', ''); if ($this->_keyType == 'any') { ! $searchQuery = str_replace(' ', "' " . $LANG09[57] . " '",$this->_query); $searchQuery = "'$searchQuery'"; } else { if ($this->_keyType == 'all') { ! $searchQuery = str_replace(' ', "' " . $LANG09[56] . " '",$this->_query); $searchQuery = "'$searchQuery'"; } else { ! $searchQuery = $LANG09[55] . " '$this->_query'"; } } --- 507,520 ---- $searchmain->set_var ('num_matches', ''); + $escquery = htmlspecialchars($this->_query); if ($this->_keyType == 'any') { ! $searchQuery = str_replace(' ', "' " . $LANG09[57] . " '", $escquery); $searchQuery = "'$searchQuery'"; } else { if ($this->_keyType == 'all') { ! $searchQuery = str_replace(' ', "' " . $LANG09[56] . " '", $escquery); $searchQuery = "'$searchQuery'"; } else { ! $searchQuery = $LANG09[55] . " '$escquery'"; } } *************** *** 940,945 **** $useroptions .= ' selected="selected"'; } ! $useroptions .= '>' . $this->_displayName ($A['username'], ! $A['fullname']) . ''; } $searchform->set_var('author_option_list', $useroptions); --- 942,946 ---- $useroptions .= ' selected="selected"'; } ! $useroptions .= '>' . htmlspecialchars($this->_displayName($A['username'], $A['fullname'])) . ''; } $searchform->set_var('author_option_list', $useroptions); From dhaun at qs1489.pair.com Sat Feb 16 17:18:16 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 22:18:16 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-story.php,1.121,1.122 Message-ID: <20080216221816.6768B10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv22147/system Modified Files: lib-story.php Log Message: Minor improvement for my own convenience: When displaying an article with a highlighted search query, make the story title a link again (to the same article without the query) Index: lib-story.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-story.php,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** lib-story.php 5 Jan 2008 16:00:59 -0000 1.121 --- lib-story.php 16 Feb 2008 22:18:14 -0000 1.122 *************** *** 200,204 **** $articleUrl = COM_buildUrl($_CONF['site_url'] . '/article.php?story=' . $story->getSid()); - $article->set_var('story_title_link', $story->DisplayElements('title')); $article->set_var('story_title', $story->DisplayElements('title')); $article->set_var('lang_permalink', $LANG01[127]); --- 200,203 ---- *************** *** 207,210 **** --- 206,223 ---- // n = 'Compact display' for list of stories. p = 'Preview' mode. + + if ((($index != 'n') && ($index != 'p')) || !empty($query)) { + $article->set_var( 'start_storylink_anchortag', '' ); + $article->set_var( 'end_storylink_anchortag', '' ); + $article->set_var( 'story_title_link', + COM_createLink( + $story->DisplayElements('title'), + $articleUrl, + array('class'=>'non-ul') + ) + ); + } + if(( $index == 'n' ) || ( $index == 'p' )) { *************** *** 310,324 **** $article->set_var('read_more_class', 'class="story-read-more-link"'); } - - $article->set_var( 'start_storylink_anchortag', '' ); - $article->set_var( 'end_storylink_anchortag', '' ); - $article->set_var( 'story_title_link', - COM_createLink( - $story->DisplayElements('title'), - $articleUrl, - array('class'=>'non-ul') - ) - ); if(( $story->DisplayElements('commentcode') >= 0 ) and ( $show_comments )) --- 323,326 ---- From dhaun at qs1489.pair.com Sat Feb 16 17:58:30 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 22:58:30 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin trackback.php, 1.50, 1.51 Message-ID: <20080216225830.26FD110FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv23591/public_html/admin Modified Files: trackback.php Log Message: {max_url_length} wasn't set for pingbackform.thtml Index: trackback.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/trackback.php,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** trackback.php 29 Dec 2007 23:05:07 -0000 1.50 --- trackback.php 16 Feb 2008 22:58:28 -0000 1.51 *************** *** 9,13 **** // | Admin functions handle Trackback, Pingback, and Ping | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2005-2007 by the following authors: | // | | // | Author: Dirk Haun - dirk AT haun-online DOT de | --- 9,13 ---- // | Admin functions handle Trackback, Pingback, and Ping | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2005-2008 by the following authors: | // | | // | Author: Dirk Haun - dirk AT haun-online DOT de | *************** *** 293,297 **** $template = new Template ($_CONF['path_layout'] . 'admin/trackback'); $template->set_file (array ('list' => 'pingbackform.thtml')); ! $template->set_var ( 'xhtml', XHTML ); $template->set_var ('site_url', $_CONF['site_url']); $template->set_var ('site_admin_url', $_CONF['site_admin_url']); --- 293,297 ---- $template = new Template ($_CONF['path_layout'] . 'admin/trackback'); $template->set_file (array ('list' => 'pingbackform.thtml')); ! $template->set_var ('xhtml', XHTML); $template->set_var ('site_url', $_CONF['site_url']); $template->set_var ('site_admin_url', $_CONF['site_admin_url']); *************** *** 302,305 **** --- 302,306 ---- $template->set_var ('lang_site_url', $LANG_TRB['site_url']); $template->set_var ('lang_send', $LANG_TRB['button_send']); + $template->set_var ('max_url_length', 255); $template->set_var ('target_url', $targetUrl); From dhaun at qs1489.pair.com Sat Feb 16 18:00:37 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 23:00:37 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin block.php,1.116,1.117 Message-ID: <20080216230037.5C75710FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv23716/public_html/admin Modified Files: block.php Log Message: Removed another dengen comment ... Index: block.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/block.php,v retrieving revision 1.116 retrieving revision 1.117 diff -C2 -d -r1.116 -r1.117 *** block.php 25 Nov 2007 06:58:55 -0000 1.116 --- block.php 16 Feb 2008 23:00:35 -0000 1.117 *************** *** 3,7 **** /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.4 | // +---------------------------------------------------------------------------+ // | block.php | --- 3,7 ---- /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.5 | // +---------------------------------------------------------------------------+ // | block.php | *************** *** 9,13 **** // | Geeklog block administration. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2007 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | --- 9,13 ---- // | Geeklog block administration. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | *************** *** 164,168 **** $block_templates->set_var('permissions_editor', SEC_getPermissionsHTML($A['perm_owner'],$A['perm_group'],$A['perm_members'],$A['perm_anon'])); $block_templates->set_var('permissions_msg', $LANG_ACCESS['permmsg']); ! $block_templates->set_var('max_url_length', 255); // @@@@ added by dengen 2007/09/08 $block_templates->parse('output','editor'); $retval .= $block_templates->finish($block_templates->get_var('output')); --- 164,168 ---- $block_templates->set_var('permissions_editor', SEC_getPermissionsHTML($A['perm_owner'],$A['perm_group'],$A['perm_members'],$A['perm_anon'])); $block_templates->set_var('permissions_msg', $LANG_ACCESS['permmsg']); ! $block_templates->set_var('max_url_length', 255); $block_templates->parse('output','editor'); $retval .= $block_templates->finish($block_templates->get_var('output')); From dhaun at qs1489.pair.com Sat Feb 16 18:07:27 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 23:07:27 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin trackback.php, 1.43.2.1, 1.43.2.2 Message-ID: <20080216230727.1888F10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv23886/public_html/admin Modified Files: Tag: geeklog_1_4_1_1 trackback.php Log Message: {max_url_length} wasn't set for pingbackform.thtml Index: trackback.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/trackback.php,v retrieving revision 1.43.2.1 retrieving revision 1.43.2.2 diff -C2 -d -r1.43.2.1 -r1.43.2.2 *** trackback.php 11 Feb 2007 09:36:03 -0000 1.43.2.1 --- trackback.php 16 Feb 2008 23:07:24 -0000 1.43.2.2 *************** *** 298,301 **** --- 298,302 ---- $template->set_var ('lang_site_url', $LANG_TRB['site_url']); $template->set_var ('lang_send', $LANG_TRB['button_send']); + $template->set_var ('max_url_length', 255); $template->set_var ('target_url', $targetUrl); From dhaun at qs1489.pair.com Sat Feb 16 18:07:27 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 16 Feb 2008 23:07:27 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history, 1.535.2.28, 1.535.2.29 Message-ID: <20080216230727.2DF3C10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv23886/public_html/docs Modified Files: Tag: geeklog_1_4_1_1 history Log Message: {max_url_length} wasn't set for pingbackform.thtml Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.535.2.28 retrieving revision 1.535.2.29 diff -C2 -d -r1.535.2.28 -r1.535.2.29 *** history 11 Feb 2008 08:37:42 -0000 1.535.2.28 --- history 16 Feb 2008 23:07:25 -0000 1.535.2.29 *************** *** 4,7 **** --- 4,8 ---- ------------ + - Set variable {max_url_length} in pingbackform.thtml [Dirk] - Fixed multiple application of htmlspecialchars() in the story preview [Dirk] - Set variable {max_url_length} for the default block editor (used in the From dhaun at qs1489.pair.com Sun Feb 17 03:31:38 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:31:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.24, 1.25 Message-ID: <20080217083138.7395810FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv43693/system/classes Modified Files: config.class.php Log Message: Provide the standard set of template variables Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** config.class.php 10 Feb 2008 17:09:37 -0000 1.24 --- config.class.php 17 Feb 2008 08:31:36 -0000 1.25 *************** *** 401,405 **** } $t = new Template($_CONF['path_layout'] . 'admin/config'); ! $t->set_file(array('main' => 'configuration.thtml','menugroup' => 'menu_element.thtml')); $t->set_var('lang_save_changes', $LANG_CONFIG['save_changes']); --- 401,411 ---- } $t = new Template($_CONF['path_layout'] . 'admin/config'); ! $t->set_file(array('main' => 'configuration.thtml', ! 'menugroup' => 'menu_element.thtml')); ! ! $t->set_var('site_url', $_CONF['site_url']); ! $t->set_var('site_admin_url', $_CONF['site_admin_url']); ! $t->set_var('layout_url', $_CONF['layout_url']); ! $t->set_var('xhtml', XHTML); $t->set_var('lang_save_changes', $LANG_CONFIG['save_changes']); *************** *** 407,412 **** $t->set_var('lang_changes_made', $LANG_CONFIG['changes_made']); - $t->set_var('xhtml', XHTML); - $t->set_var('site_url', $_CONF['site_url']); $t->set_var('open_group', $grp); --- 413,416 ---- *************** *** 547,554 **** } $t->set_var('lang_restore', $LANG_CONFIG['restore']); $t->set_var('lang_add_element', $LANG_CONFIG['add_element']); - $t->set_var('xhtml', XHTML); $t->set_var('name', $name); $t->set_var('display_name', $display_name); --- 551,562 ---- } + $t->set_var('site_url', $_CONF['site_url']); + $t->set_var('site_admin_url', $_CONF['site_admin_url']); + $t->set_var('layout_url', $_CONF['layout_url']); + $t->set_var('xhtml', XHTML); + $t->set_var('lang_restore', $LANG_CONFIG['restore']); $t->set_var('lang_add_element', $LANG_CONFIG['add_element']); $t->set_var('name', $name); $t->set_var('display_name', $display_name); From dhaun at qs1489.pair.com Sun Feb 17 03:40:33 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:40:33 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional blockfooter-config.thtml, NONE, 1.1 blockheader-config.thtml, NONE, 1.1 functions.php, 1.11, 1.12 blockfooter-notitle.thtml, 1.2, NONE blockheader-notitle.thtml, 1.1, NONE Message-ID: <20080217084033.1BEAD10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional In directory qs1489.pair.com:/tmp/cvs-serv44254 Modified Files: functions.php Added Files: blockfooter-config.thtml blockheader-config.thtml Removed Files: blockfooter-notitle.thtml blockheader-notitle.thtml Log Message: Let's have block titles in the Configuration again Index: functions.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/functions.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** functions.php 9 Feb 2008 12:00:59 -0000 1.11 --- functions.php 17 Feb 2008 08:40:31 -0000 1.12 *************** *** 24,29 **** $_BLOCK_TEMPLATE['_msg_block'] = 'blockheader-message.thtml,blockfooter-message.thtml'; ! $_BLOCK_TEMPLATE['configmanager_block'] = 'blockheader-notitle.thtml,blockfooter-notitle.thtml'; ! $_BLOCK_TEMPLATE['configmanager_subblock'] = 'blockheader-notitle.thtml,blockfooter-notitle.thtml'; $_BLOCK_TEMPLATE['whats_related_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; $_BLOCK_TEMPLATE['story_options_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; --- 24,29 ---- $_BLOCK_TEMPLATE['_msg_block'] = 'blockheader-message.thtml,blockfooter-message.thtml'; ! $_BLOCK_TEMPLATE['configmanager_block'] = 'blockheader-config.thtml,blockfooter-config.thtml'; ! $_BLOCK_TEMPLATE['configmanager_subblock'] = 'blockheader-config.thtml,blockfooter-config.thtml'; $_BLOCK_TEMPLATE['whats_related_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; $_BLOCK_TEMPLATE['story_options_block'] = 'blockheader-related.thtml,blockfooter-related.thtml'; --- NEW FILE: blockfooter-config.thtml ---
    --- blockheader-notitle.thtml DELETED --- --- blockfooter-notitle.thtml DELETED --- --- NEW FILE: blockheader-config.thtml ---
    {block_help}

    {block_title}

    From dhaun at qs1489.pair.com Sun Feb 17 03:50:19 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:50:19 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional/images/droplinemenu menu_active.png, 1.1, NONE menu_normal.png, 1.1, NONE menu_over.png, 1.1, NONE sublevel_divider.png, 1.1, NONE Message-ID: <20080217085019.557FC10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/images/droplinemenu In directory qs1489.pair.com:/tmp/cvs-serv44645/public_html/layout/professional/images/droplinemenu Removed Files: menu_active.png menu_normal.png menu_over.png sublevel_divider.png Log Message: Removed dropline menu CSS and images --- sublevel_divider.png DELETED --- --- menu_over.png DELETED --- --- menu_active.png DELETED --- --- menu_normal.png DELETED --- From dhaun at qs1489.pair.com Sun Feb 17 03:50:19 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:50:19 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional droplinemenu.css, 1.2, NONE Message-ID: <20080217085019.4404710FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional In directory qs1489.pair.com:/tmp/cvs-serv44645/public_html/layout/professional Removed Files: droplinemenu.css Log Message: Removed dropline menu CSS and images --- droplinemenu.css DELETED --- From dhaun at qs1489.pair.com Sun Feb 17 03:50:19 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:50:19 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.25, 1.26 Message-ID: <20080217085019.62D0210FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv44645/system/classes Modified Files: config.class.php Log Message: Removed dropline menu CSS and images Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** config.class.php 17 Feb 2008 08:31:36 -0000 1.25 --- config.class.php 17 Feb 2008 08:50:17 -0000 1.26 *************** *** 475,481 **** } ! // Output the result and add the required CSS for the dropline menu ! $cssfile = '' . LB; ! $display = COM_siteHeader('none','Configuration Manager',$cssfile); $t->set_var('config_menu',$this->_UI_configmanager_menu($grp,$sg)); if ($change_result != null AND $change_result !== array()) { --- 475,479 ---- } ! $display = COM_siteHeader('none', 'Configuration Manager'); $t->set_var('config_menu',$this->_UI_configmanager_menu($grp,$sg)); if ($change_result != null AND $change_result !== array()) { From dhaun at qs1489.pair.com Sun Feb 17 03:50:19 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:50:19 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional droplinemenu.css, 1.2, NONE Message-ID: <20080217085019.4404710FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional In directory qs1489.pair.com:/tmp/cvs-serv44645/public_html/layout/professional Removed Files: droplinemenu.css Log Message: Removed dropline menu CSS and images --- droplinemenu.css DELETED --- From dhaun at qs1489.pair.com Sun Feb 17 03:52:42 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:52:42 +0000 Subject: [geeklog-cvs] Geeklog-1.x/language english.php, 1.329, 1.330 english_utf-8.php, 1.113, 1.114 Message-ID: <20080217085242.A37CA10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/language In directory qs1489.pair.com:/tmp/cvs-serv44723/language Modified Files: english.php english_utf-8.php Log Message: Moved hard-coded page title to the language file Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english.php,v retrieving revision 1.329 retrieving revision 1.330 diff -C2 -d -r1.329 -r1.330 *** english.php 15 Feb 2008 19:15:48 -0000 1.329 --- english.php 17 Feb 2008 08:52:40 -0000 1.330 *************** *** 1569,1573 **** 'save_changes' => 'Save Changes', 'reset_form' => 'Reset Form', ! 'changes_made' => 'Changes were successfully made to' ); --- 1569,1574 ---- 'save_changes' => 'Save Changes', 'reset_form' => 'Reset Form', ! 'changes_made' => 'Changes were successfully made to', ! 'title' => 'Configuration Manager' ); Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english_utf-8.php,v retrieving revision 1.113 retrieving revision 1.114 diff -C2 -d -r1.113 -r1.114 *** english_utf-8.php 15 Feb 2008 19:15:48 -0000 1.113 --- english_utf-8.php 17 Feb 2008 08:52:40 -0000 1.114 *************** *** 1569,1573 **** 'save_changes' => 'Save Changes', 'reset_form' => 'Reset Form', ! 'changes_made' => 'Changes were successfully made to' ); --- 1569,1574 ---- 'save_changes' => 'Save Changes', 'reset_form' => 'Reset Form', ! 'changes_made' => 'Changes were successfully made to', ! 'title' => 'Configuration Manager' ); From dhaun at qs1489.pair.com Sun Feb 17 03:52:42 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:52:42 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.26, 1.27 Message-ID: <20080217085242.B107E10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv44723/system/classes Modified Files: config.class.php Log Message: Moved hard-coded page title to the language file Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** config.class.php 17 Feb 2008 08:50:17 -0000 1.26 --- config.class.php 17 Feb 2008 08:52:40 -0000 1.27 *************** *** 475,479 **** } ! $display = COM_siteHeader('none', 'Configuration Manager'); $t->set_var('config_menu',$this->_UI_configmanager_menu($grp,$sg)); if ($change_result != null AND $change_result !== array()) { --- 475,479 ---- } ! $display = COM_siteHeader('none', $LANG_CONF['title']); $t->set_var('config_menu',$this->_UI_configmanager_menu($grp,$sg)); if ($change_result != null AND $change_result !== array()) { From dhaun at qs1489.pair.com Sun Feb 17 03:52:42 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:52:42 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.26, 1.27 Message-ID: <20080217085242.B107E10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv44723/system/classes Modified Files: config.class.php Log Message: Moved hard-coded page title to the language file Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** config.class.php 17 Feb 2008 08:50:17 -0000 1.26 --- config.class.php 17 Feb 2008 08:52:40 -0000 1.27 *************** *** 475,479 **** } ! $display = COM_siteHeader('none', 'Configuration Manager'); $t->set_var('config_menu',$this->_UI_configmanager_menu($grp,$sg)); if ($change_result != null AND $change_result !== array()) { --- 475,479 ---- } ! $display = COM_siteHeader('none', $LANG_CONF['title']); $t->set_var('config_menu',$this->_UI_configmanager_menu($grp,$sg)); if ($change_result != null AND $change_result !== array()) { From dhaun at qs1489.pair.com Sun Feb 17 03:54:35 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 08:54:35 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.27, 1.28 Message-ID: <20080217085435.8EA2810FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv44847/system/classes Modified Files: config.class.php Log Message: Typo: $LANG_CONF -> $LANG_CONFIG Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** config.class.php 17 Feb 2008 08:52:40 -0000 1.27 --- config.class.php 17 Feb 2008 08:54:33 -0000 1.28 *************** *** 475,479 **** } ! $display = COM_siteHeader('none', $LANG_CONF['title']); $t->set_var('config_menu',$this->_UI_configmanager_menu($grp,$sg)); if ($change_result != null AND $change_result !== array()) { --- 475,479 ---- } ! $display = COM_siteHeader('none', $LANG_CONFIG['title']); $t->set_var('config_menu',$this->_UI_configmanager_menu($grp,$sg)); if ($change_result != null AND $change_result !== array()) { From dhaun at qs1489.pair.com Sun Feb 17 05:29:38 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 10:29:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin moderation.php, 1.116, 1.117 Message-ID: <20080217102938.86E1A10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv48196/public_html/admin Modified Files: moderation.php Log Message: Quick'n'dirty workaround: Limit submission queue listings to 50 entries at a time to prevent timeouts (in case of submission queues full of spam). For a proper solution, we would need to use ADMIN_list instead of ADMIN_simpleList. Index: moderation.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/moderation.php,v retrieving revision 1.116 retrieving revision 1.117 diff -C2 -d -r1.116 -r1.117 *** moderation.php 16 Feb 2008 16:57:51 -0000 1.116 --- moderation.php 17 Feb 2008 10:29:36 -0000 1.117 *************** *** 269,272 **** --- 269,273 ---- // run SQL but this time ignore any errors if (!empty ($sql)) { + $sql .= ' LIMIT 50'; // quick'n'dirty workaround to prevent timeouts $result = DB_query($sql, 1); } From dhaun at qs1489.pair.com Sun Feb 17 10:02:38 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 15:02:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-syndication.php,1.39,1.40 Message-ID: <20080217150238.1B9BA10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv57500/system Modified Files: lib-syndication.php Log Message: Added an Atom self-link to RSS feeds (patch by Mike) Index: lib-syndication.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-syndication.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** lib-syndication.php 2 Sep 2007 07:50:56 -0000 1.39 --- lib-syndication.php 17 Feb 2008 15:02:36 -0000 1.40 *************** *** 3,7 **** /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.4 | // +---------------------------------------------------------------------------+ // | lib-syndication.php | --- 3,7 ---- /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.5 | // +---------------------------------------------------------------------------+ // | lib-syndication.php | *************** *** 9,13 **** // | Geeklog syndication library. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2003-2006 by the following authors: | // | | // | Authors: Dirk Haun - dirk AT haun-online DOT de | --- 9,13 ---- // | Geeklog syndication library. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2003-2008 by the following authors: | // | | // | Authors: Dirk Haun - dirk AT haun-online DOT de | *************** *** 436,440 **** $format = explode( '-', $A['format'] ); $feed = $factory->writer( $format[0], $format[1] ); ! if( $feed ) { --- 436,440 ---- $format = explode( '-', $A['format'] ); $feed = $factory->writer( $format[0], $format[1] ); ! if( $feed ) { *************** *** 519,524 **** } } ! $feed->extensions = PLG_getFeedExtensionTags($A['type'], $format[0], $format[1], $A['topic'], $fid); ! $feed->articles = $content; if( !empty( $A['filename'] )) --- 519,531 ---- } } ! ! /* Inject the namespace for Atom into RSS feeds. Illogical? ! * Well apparantly not: ! * http://feedvalidator.org/docs/warning/MissingAtomSelfLink.html ! */ ! if( $format[0] == 'RSS' ) ! { ! $feed->namespaces[] = 'xmlns:atom="http://www.w3.org/2005/Atom"'; ! } if( !empty( $A['filename'] )) *************** *** 532,535 **** --- 539,555 ---- } $feed->url = SYND_getFeedUrl( $filename ); + + $feed->extensions = PLG_getFeedExtensionTags($A['type'], $format[0], $format[1], $A['topic'], $fid, $feed); + + /* Inject the self reference for Atom into RSS feeds. Illogical? + * Well apparantly not: + * http://feedvalidator.org/docs/warning/MissingAtomSelfLink.html + */ + if( $format[0] == 'RSS' ) + { + $feed->extensions[] = ''; + } + $feed->articles = $content; + $feed->createFeed( SYND_getFeedPath( $filename )); } From dhaun at qs1489.pair.com Sun Feb 17 10:02:38 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 15:02:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history,1.604,1.605 Message-ID: <20080217150238.0C6EC10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv57500/public_html/docs Modified Files: history Log Message: Added an Atom self-link to RSS feeds (patch by Mike) Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.604 retrieving revision 1.605 diff -C2 -d -r1.604 -r1.605 *** history 16 Feb 2008 16:45:03 -0000 1.604 --- history 17 Feb 2008 15:02:35 -0000 1.605 *************** *** 3,6 **** --- 3,10 ---- ??? ??, 2008 (1.5.0) ------------ + - Added an Atom self-link to RSS feeds. Sounds odd, but it is recommended by + [Mike] + - Improved support for podcasts in portal blocks and fixed an error where REALLY + long syndication feeds could blow portal blocks up. [Mike] - Only use the multi-byte string functions when the current character set is UTF-8 (reported by Rick78) [Dirk] From dhaun at qs1489.pair.com Sun Feb 17 10:02:38 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 15:02:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history,1.604,1.605 Message-ID: <20080217150238.0C6EC10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv57500/public_html/docs Modified Files: history Log Message: Added an Atom self-link to RSS feeds (patch by Mike) Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.604 retrieving revision 1.605 diff -C2 -d -r1.604 -r1.605 *** history 16 Feb 2008 16:45:03 -0000 1.604 --- history 17 Feb 2008 15:02:35 -0000 1.605 *************** *** 3,6 **** --- 3,10 ---- ??? ??, 2008 (1.5.0) ------------ + - Added an Atom self-link to RSS feeds. Sounds odd, but it is recommended by + [Mike] + - Improved support for podcasts in portal blocks and fixed an error where REALLY + long syndication feeds could blow portal blocks up. [Mike] - Only use the multi-byte string functions when the current character set is UTF-8 (reported by Rick78) [Dirk] From dhaun at qs1489.pair.com Sun Feb 17 13:31:59 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 18:31:59 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-security.php,1.60,1.61 Message-ID: <20080217183159.13CA110FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv64895/system Modified Files: lib-security.php Log Message: SEC_authenticate should always return - caller will have to handle errors etc. Index: lib-security.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-security.php,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** lib-security.php 9 Dec 2007 18:05:39 -0000 1.60 --- lib-security.php 17 Feb 2008 18:31:56 -0000 1.61 *************** *** 9,13 **** // | Geeklog security library. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2007 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | --- 9,13 ---- // | Geeklog security library. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | *************** *** 689,723 **** function SEC_authenticate($username, $password, &$uid) { ! global $_TABLES, $LANG01, $_CONF; ! $result = DB_query( "SELECT status, passwd, email, uid FROM {$_TABLES['users']} WHERE username='$username' AND ((remoteservice is null) or (remoteservice = ''))" ); $tmp = DB_error(); ! $nrows = DB_numRows( $result ); ! if(( $tmp == 0 ) && ( $nrows == 1 )) ! { ! $U = DB_fetchArray( $result ); $uid = $U['uid']; ! if ($U['status'] == USER_ACCOUNT_DISABLED) ! { ! return USER_ACCOUNT_DISABLED; // banned, jump to here to save an md5 calc. ! } elseif ($U['passwd'] != SEC_encryptPassword( $password )) { return -1; // failed login } elseif ($U['status'] == USER_ACCOUNT_AWAITING_APPROVAL) { ! //awaiting approval, jump to msg. ! echo COM_refresh($_CONF['site_url'] . '/users.php?msg=70'); ! exit; } elseif ($U['status'] == USER_ACCOUNT_AWAITING_ACTIVATION) { // Awaiting user activation, activate: ! DB_change($_TABLES['users'],'status',USER_ACCOUNT_ACTIVE,'username',$username); return USER_ACCOUNT_ACTIVE; } else { return $U['status']; // just return their status } ! } ! else ! { $tmp = $LANG01[32] . ": '" . $username . "'"; ! COM_errorLog( $tmp, 1 ); return -1; } --- 689,719 ---- function SEC_authenticate($username, $password, &$uid) { ! global $_CONF, $_TABLES, $LANG01; ! $result = DB_query("SELECT status, passwd, email, uid FROM {$_TABLES['users']} WHERE username='$username' AND ((remoteservice is null) or (remoteservice = ''))"); $tmp = DB_error(); ! $nrows = DB_numRows($result); ! if (($tmp == 0) && ($nrows == 1)) { ! $U = DB_fetchArray($result); $uid = $U['uid']; ! if ($U['status'] == USER_ACCOUNT_DISABLED) { ! // banned, jump to here to save an md5 calc. ! return USER_ACCOUNT_DISABLED; ! } elseif ($U['passwd'] != SEC_encryptPassword($password)) { return -1; // failed login } elseif ($U['status'] == USER_ACCOUNT_AWAITING_APPROVAL) { ! return USER_ACCOUNT_AWAITING_APPROVAL; } elseif ($U['status'] == USER_ACCOUNT_AWAITING_ACTIVATION) { // Awaiting user activation, activate: ! DB_change($_TABLES['users'], 'status', USER_ACCOUNT_ACTIVE, ! 'username', $username); return USER_ACCOUNT_ACTIVE; } else { return $U['status']; // just return their status } ! } else { $tmp = $LANG01[32] . ": '" . $username . "'"; ! COM_errorLog($tmp, 1); return -1; } From dhaun at qs1489.pair.com Sun Feb 17 13:32:37 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 17 Feb 2008 18:32:37 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin auth.inc.php, 1.35, 1.36 Message-ID: <20080217183237.8EF4C10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv64965/public_html/admin Modified Files: auth.inc.php Log Message: Use USER_ACCOUNT_ACTIVE constant Index: auth.inc.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/auth.inc.php,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** auth.inc.php 25 Nov 2007 06:58:55 -0000 1.35 --- auth.inc.php 17 Feb 2008 18:32:35 -0000 1.36 *************** *** 3,7 **** /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.4 | // +---------------------------------------------------------------------------+ // | auth.inc.php | --- 3,7 ---- /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.5 | // +---------------------------------------------------------------------------+ // | auth.inc.php | *************** *** 9,13 **** // | Geeklog admin authentication module | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2006 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | --- 9,13 ---- // | Geeklog admin authentication module | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | *************** *** 50,54 **** $display = ''; ! if ($status == 3) { DB_change($_TABLES['users'],'pwrequestid',"NULL",'uid',$uid); $_USER = SESS_getUserDataFromId ($uid); --- 50,54 ---- $display = ''; ! if ($status == USER_ACCOUNT_ACTIVE) { DB_change($_TABLES['users'],'pwrequestid',"NULL",'uid',$uid); $_USER = SESS_getUserDataFromId ($uid); From mjervis at qs1489.pair.com Mon Feb 18 14:42:14 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Mon, 18 Feb 2008 19:42:14 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history,1.605,1.606 Message-ID: <20080218194215.01A8A10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv21576/public_html/docs Modified Files: history Log Message: Support for [raw][/raw] in HTML stories for painless HTML managing. Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.605 retrieving revision 1.606 diff -C2 -d -r1.605 -r1.606 *** history 17 Feb 2008 15:02:35 -0000 1.605 --- history 18 Feb 2008 19:42:12 -0000 1.606 *************** *** 3,6 **** --- 3,8 ---- ??? ??, 2008 (1.5.0) ------------ + - Support for [raw][/raw] tag in HTML post mode. All the benefits of code and + pre, with none of the ugly styling. [Mike] - Added an Atom self-link to RSS feeds. Sounds odd, but it is recommended by [Mike] From mjervis at qs1489.pair.com Mon Feb 18 14:42:15 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Mon, 18 Feb 2008 19:42:15 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.676,1.677 Message-ID: <20080218194215.2B25310FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv21576/public_html Modified Files: lib-common.php Log Message: Support for [raw][/raw] in HTML stories for painless HTML managing. Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.676 retrieving revision 1.677 diff -C2 -d -r1.676 -r1.677 *** lib-common.php 15 Feb 2008 19:10:28 -0000 1.676 --- lib-common.php 18 Feb 2008 19:42:12 -0000 1.677 *************** *** 2944,2948 **** } while( $start_pos !== false ); ! if( isset( $_CONF['skip_html_filter_for_root'] ) && --- 2944,2980 ---- } while( $start_pos !== false ); ! ! // handle [raw] ... [/raw] ! do ! { ! $start_pos = MBYTE_strpos( MBYTE_strtolower( $str ), '[raw]' ); ! if( $start_pos !== false ) ! { ! $end_pos = MBYTE_strpos( MBYTE_strtolower( $str ), '[/raw]' ); ! if( $end_pos !== false ) ! { ! $encoded = COM_handleCode( MBYTE_substr( $str, $start_pos + 6, ! $end_pos - ( $start_pos + 6 ))); ! // [raw2] to avoid infinite loop. Not HTML comment as we strip ! // them later. ! $encoded = '[raw2]' . $encoded . '[/raw2]'; ! $str = MBYTE_substr( $str, 0, $start_pos ) . $encoded ! . MBYTE_substr( $str, $end_pos + 7 ); ! } ! else // missing [/raw] ! { ! // Treat the rest of the text as raw (so as not to lose any ! // special characters). However, the calling entity should ! // better be checking for missing [/raw] before calling this ! // function ... ! $encoded = COM_handleCode( MBYTE_substr( $str, $start_pos + 6 )); ! // [raw2] to avoid infinite loop. Not HTML comment as we strip ! // them later. ! $encoded = '[raw2]' . $encoded . '[/raw2]'; ! $str = MBYTE_substr( $str, 0, $start_pos ) . $encoded; ! } ! } ! } ! while( $start_pos !== false ); if( isset( $_CONF['skip_html_filter_for_root'] ) && *************** *** 2981,2985 **** $filter->AddHTML( $tag, $attr ); } ! return $filter->Parse( $str ); } --- 3013,3023 ---- $filter->AddHTML( $tag, $attr ); } ! /* Replace [raw][/raw] with , note done "late" because ! * of the above noted // strip_tags() gets confused by HTML comments ... ! */ ! $str = $filter->Parse( $str ); ! $str = str_replace('[raw2]','', $str); ! $str = str_replace('[/raw2]','', $str); ! return $str; } *************** *** 3689,3693 **** $content = COM_makeList($articles, 'list-feed'); $content = preg_replace("/(\015\012)|(\015)|(\012)/", '', $content); ! if (strlen($content) > 65000) { $content = $LANG21[68]; --- 3727,3731 ---- $content = COM_makeList($articles, 'list-feed'); $content = preg_replace("/(\015\012)|(\015)|(\012)/", '', $content); ! if (strlen($content) > 65000) { $content = $LANG21[68]; From mjervis at qs1489.pair.com Mon Feb 18 14:42:15 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Mon, 18 Feb 2008 19:42:15 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.20, 1.21 Message-ID: <20080218194215.3F79710FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv21576/system/classes Modified Files: story.class.php Log Message: Support for [raw][/raw] in HTML stories for painless HTML managing. Index: story.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** story.class.php 3 Jan 2008 18:55:45 -0000 1.20 --- story.class.php 18 Feb 2008 19:42:13 -0000 1.21 *************** *** 1519,1522 **** --- 1519,1524 ---- $out = str_replace('
    ', '[code]', $out);
                  $out = str_replace('
    ', '[/code]', $out); + $out = str_replace('', '[raw]', $out); + $out = str_replace('', '[/raw]', $out); $out = $this->_editUnescape($out); $out = $this->_displayEscape(htmlspecialchars($out)); From mjervis at qs1489.pair.com Tue Feb 19 01:49:04 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Tue, 19 Feb 2008 06:49:04 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes/syndication atom.feed.class.php, 1.12, 1.13 feedparserbase.class.php, 1.6, 1.7 rdf.feed.class.php, 1.7, 1.8 rss.feed.class.php, 1.13, 1.14 Message-ID: <20080219064904.DD40110FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication In directory qs1489.pair.com:/tmp/cvs-serv45377/system/classes/syndication Modified Files: atom.feed.class.php feedparserbase.class.php rdf.feed.class.php rss.feed.class.php Log Message: Ensure that namespaces and tags injected into feeds remain unique. Ensure implementation of tag injection is consistent over all feed classes. Index: rss.feed.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication/rss.feed.class.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** rss.feed.class.php 15 Feb 2008 19:10:28 -0000 1.13 --- rss.feed.class.php 19 Feb 2008 06:49:02 -0000 1.14 *************** *** 125,132 **** $xml .= "\n"; } ! foreach( $this->extensions as $extendingTag ) ! { ! $xml .= $extendingTag."\n"; ! } return $xml; } --- 125,129 ---- $xml .= "\n"; } ! $xml .= $this->_injectExtendingTags(); return $xml; } *************** *** 392,399 **** $xml .= "\n"; } ! foreach( $this->extensions as $extendingTag ) ! { ! $xml .= $extendingTag."\n"; ! } return $xml; } --- 389,393 ---- $xml .= "\n"; } ! $xml .= $this->_injectExtendingTags(); return $xml; } Index: atom.feed.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication/atom.feed.class.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** atom.feed.class.php 13 Jun 2007 06:22:48 -0000 1.12 --- atom.feed.class.php 19 Feb 2008 06:49:02 -0000 1.13 *************** *** 133,143 **** . "\n" . $this->_safeXML( $this->title ) . '' . LB . '' . $this->_safeXML( $this->sitecontact ) . "\n\n"; ! if( is_array( $this->extensions ) ) ! { ! foreach( $this->extensions as $extendingTag ) ! { ! $xml .= "$extendingTag\n"; ! } ! } return $xml; } --- 133,137 ---- . "\n" . $this->_safeXML( $this->title ) . '' . LB . '' . $this->_safeXML( $this->sitecontact ) . "\n\n"; ! $xml .= $this->_injectExtendingTags(); return $xml; } *************** *** 353,363 **** . "\n" . $this->_safeXML( $this->title ) . '' . LB . '' . $this->_safeXML( $this->sitecontact ) . "\n\n"; ! if( is_array( $this->extensions ) ) ! { ! foreach( $this->extensions as $extendingTag ) ! { ! $xml .= "$extendingTag\n"; ! } ! } return $xml; } --- 347,351 ---- . "\n" . $this->_safeXML( $this->title ) . '' . LB . '' . $this->_safeXML( $this->sitecontact ) . "\n\n"; ! $xml .= $this->_injectExtendingTags(); return $xml; } Index: feedparserbase.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication/feedparserbase.class.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** feedparserbase.class.php 19 Nov 2005 03:59:17 -0000 1.6 --- feedparserbase.class.php 19 Feb 2008 06:49:02 -0000 1.7 *************** *** 238,244 **** $xml .= "{$this->title}\n"; ! foreach( $this->extensions as $extendingTag ) { ! $xml .= $extendingTag."\n"; } return $xml; --- 238,255 ---- $xml .= "{$this->title}\n"; ! $xml .= $this->_injectExtendingTags(); ! return $xml; ! } ! ! /** ! * Inject extending tags into the feed header, if needed. ! */ ! function _injectExtendingTags() ! { ! $xml = ''; ! if( is_array( $this->extensions ) ) { ! $this->extensions = array_unique($this->extensions); ! $xml .= implode("\n", $this->extensions); } return $xml; *************** *** 246,251 **** /** ! * Inject XMLNS items into the feed master element, ! * if needed. */ function _injectNamespaces() --- 257,261 ---- /** ! * Inject XMLNS items into the feed master element, if needed. */ function _injectNamespaces() *************** *** 254,257 **** --- 264,268 ---- if( is_array($this->namespaces) ) { + $this->namespaces = array_unique($this->namespaces); $xml .= implode(' ', $this->namespaces); } Index: rdf.feed.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication/rdf.feed.class.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** rdf.feed.class.php 7 Jun 2007 15:08:34 -0000 1.7 --- rdf.feed.class.php 19 Feb 2008 06:49:02 -0000 1.8 *************** *** 136,146 **** $xml .= "\n"; } ! if( is_array( $this->extensions ) ) ! { ! foreach( $this->extensions as $extendingTag ) ! { ! $xml .= "$extendingTag\n"; ! } ! } $xml .= "\n"; --- 136,140 ---- $xml .= "\n"; } ! $xml .= $this->_injectExtendingTags(); $xml .= "\n"; From mjervis at qs1489.pair.com Tue Feb 19 02:23:26 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Tue, 19 Feb 2008 07:23:26 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.677,1.678 Message-ID: <20080219072326.E7FFB10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv46668/public_html Modified Files: lib-common.php Log Message: Stop [raw] and [/raw] eating the following character (mike can't count). Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.677 retrieving revision 1.678 diff -C2 -d -r1.677 -r1.678 *** lib-common.php 18 Feb 2008 19:42:12 -0000 1.677 --- lib-common.php 19 Feb 2008 07:23:24 -0000 1.678 *************** *** 2954,2964 **** if( $end_pos !== false ) { ! $encoded = COM_handleCode( MBYTE_substr( $str, $start_pos + 6, ! $end_pos - ( $start_pos + 6 ))); // [raw2] to avoid infinite loop. Not HTML comment as we strip // them later. $encoded = '[raw2]' . $encoded . '[/raw2]'; $str = MBYTE_substr( $str, 0, $start_pos ) . $encoded ! . MBYTE_substr( $str, $end_pos + 7 ); } else // missing [/raw] --- 2954,2964 ---- if( $end_pos !== false ) { ! $encoded = COM_handleCode( MBYTE_substr( $str, $start_pos + 5, ! $end_pos - ( $start_pos + 5 ))); // [raw2] to avoid infinite loop. Not HTML comment as we strip // them later. $encoded = '[raw2]' . $encoded . '[/raw2]'; $str = MBYTE_substr( $str, 0, $start_pos ) . $encoded ! . MBYTE_substr( $str, $end_pos + 6 ); } else // missing [/raw] *************** *** 2968,2972 **** // better be checking for missing [/raw] before calling this // function ... ! $encoded = COM_handleCode( MBYTE_substr( $str, $start_pos + 6 )); // [raw2] to avoid infinite loop. Not HTML comment as we strip // them later. --- 2968,2972 ---- // better be checking for missing [/raw] before calling this // function ... ! $encoded = COM_handleCode( MBYTE_substr( $str, $start_pos + 5 )); // [raw2] to avoid infinite loop. Not HTML comment as we strip // them later. From mjervis at qs1489.pair.com Tue Feb 19 12:46:09 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Tue, 19 Feb 2008 17:46:09 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.678,1.679 Message-ID: <20080219174609.5959010FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv69104/public_html Modified Files: lib-common.php Log Message: Add [raw] to allowed HTML list (and there was me trying to find it hiding in the database config stuf...) Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.678 retrieving revision 1.679 diff -C2 -d -r1.678 -r1.679 *** lib-common.php 19 Feb 2008 07:23:24 -0000 1.678 --- lib-common.php 19 Feb 2008 17:46:07 -0000 1.679 *************** *** 3812,3816 **** } ! $retval .= '[code]'; if( $allow_page_break ) --- 3812,3816 ---- } ! $retval .= '[code], [raw]'; if( $allow_page_break ) From mjervis at qs1489.pair.com Tue Feb 19 12:47:32 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Tue, 19 Feb 2008 17:47:32 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.21, 1.22 Message-ID: <20080219174732.9327310FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv69148/system/classes Modified Files: story.class.php Log Message: Correctly handle escaping in HTML postmode of non-[raw] and non-[code] blocks. Index: story.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** story.class.php 18 Feb 2008 19:42:13 -0000 1.21 --- story.class.php 19 Feb 2008 17:47:30 -0000 1.22 *************** *** 1484,1494 **** { if (($this->_postmode == 'html') || ($this->_postmode == 'wikitext')) { ! // Standard named items, plus the three we do in _displayEscape and ! // others I know off-hand. ! //$replacefrom = array('<', '>', '&', '$', '{', '}', '\'); ! //$replaceto = array('<', '>', '&', '$', '{', '}', '\\'); ! //$return = str_replace($replacefrom, $replaceto, $in); ! //return $return; ! return html_entity_decode($in); } else { // advanced editor or plaintext can handle themselves... --- 1484,1560 ---- { if (($this->_postmode == 'html') || ($this->_postmode == 'wikitext')) { ! /* Raw and code blocks need entity decoding. Other areas do not. ! * otherwise, annoyingly, < will end up as < on preview 1, on ! * preview 2 it'll be stripped by KSES. Can't beleive I missed that ! * in rewrite phase 1. ! * ! * First, raw ! */ ! $inlower = MBYTE_strtolower($in); ! $buffer = $in; ! $start_pos = MBYTE_strpos($inlower, '[raw]'); ! if( $start_pos !== false ) { ! $out = ''; ! while( $start_pos !== false ) { ! /* Copy in to start to out */ ! $out .= MBYTE_substr($in, 0, $start_pos); ! /* Find end */ ! $end_pos = MBYTE_strpos($inlower, '[raw]'); ! if( $end_pos !== false ) { ! /* Encode body and append to out */ ! $encoded = html_entity_decode(MBYTE_substr($buffer, $start_pos, $end_pos - $start_pos)); ! $out .= $encoded; ! /* Nibble in */ ! $inlower = MBYTE_substr($inlower, $end_pos); ! $buffer = MBYTE_substr($buffer, $end_pos); ! } else { // missing [/raw] ! // Treat the remainder as code, but this should have been ! // checked prior to calling: ! $out .= html_entity_decode(MBYTE_substr($buffer, $start_pos + 5)); ! $inlower = ''; ! } ! $start_pos = MBYTE_strpos($linlower, '[raw]'); ! } ! // Append remainder: ! if( $buffer != '' ) { ! $out .= $buffer; ! } ! $in = $out; ! } ! /* ! * Then, code ! */ ! $inlower = MBYTE_strtolower($in); ! $buffer = $in; ! $start_pos = MBYTE_strpos($inlower, '[code]'); ! if( $start_pos !== false ) { ! $out = ''; ! while( $start_pos !== false ) { ! /* Copy in to start to out */ ! $out .= MBYTE_substr($in, 0, $start_pos); ! /* Find end */ ! $end_pos = MBYTE_strpos($inlower, '[code]'); ! if( $end_pos !== false ) { ! /* Encode body and append to out */ ! $encoded = html_entity_decode(MBYTE_substr($buffer, $start_pos, $end_pos - $start_pos)); ! $out .= $encoded; ! /* Nibble in */ ! $inlower = MBYTE_substr($inlower, $end_pos); ! $buffer = MBYTE_substr($buffer, $end_pos); ! } else { // missing [/code] ! // Treat the remainder as code, but this should have been ! // checked prior to calling: ! $out .= html_entity_decode(MBYTE_substr($buffer, $start_pos + 6)); ! $inlower = ''; ! } ! $start_pos = MBYTE_strpos($linlower, '[code]'); ! } ! // Append remainder: ! if( $buffer != '' ) { ! $out .= $buffer; ! } ! $in = $out; ! } ! return $in; } else { // advanced editor or plaintext can handle themselves... From mjervis at qs1489.pair.com Wed Feb 20 12:47:27 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 17:47:27 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.22, 1.23 Message-ID: <20080220174727.4EEBB10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv20688/system/classes Modified Files: story.class.php Log Message: Final fixes for HTML story processing. Index: story.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** story.class.php 19 Feb 2008 17:47:30 -0000 1.22 --- story.class.php 20 Feb 2008 17:47:25 -0000 1.23 *************** *** 1500,1511 **** $out .= MBYTE_substr($in, 0, $start_pos); /* Find end */ ! $end_pos = MBYTE_strpos($inlower, '[raw]'); if( $end_pos !== false ) { /* Encode body and append to out */ $encoded = html_entity_decode(MBYTE_substr($buffer, $start_pos, $end_pos - $start_pos)); ! $out .= $encoded; /* Nibble in */ ! $inlower = MBYTE_substr($inlower, $end_pos); ! $buffer = MBYTE_substr($buffer, $end_pos); } else { // missing [/raw] // Treat the remainder as code, but this should have been --- 1500,1511 ---- $out .= MBYTE_substr($in, 0, $start_pos); /* Find end */ ! $end_pos = MBYTE_strpos($inlower, '[/raw]'); if( $end_pos !== false ) { /* Encode body and append to out */ $encoded = html_entity_decode(MBYTE_substr($buffer, $start_pos, $end_pos - $start_pos)); ! $out .= $encoded . '[/raw]'; /* Nibble in */ ! $inlower = MBYTE_substr($inlower, $end_pos + 6); ! $buffer = MBYTE_substr($buffer, $end_pos + 6); } else { // missing [/raw] // Treat the remainder as code, but this should have been *************** *** 1514,1518 **** $inlower = ''; } ! $start_pos = MBYTE_strpos($linlower, '[raw]'); } // Append remainder: --- 1514,1518 ---- $inlower = ''; } ! $start_pos = MBYTE_strpos($inlower, '[raw]'); } // Append remainder: *************** *** 1534,1545 **** $out .= MBYTE_substr($in, 0, $start_pos); /* Find end */ ! $end_pos = MBYTE_strpos($inlower, '[code]'); if( $end_pos !== false ) { /* Encode body and append to out */ $encoded = html_entity_decode(MBYTE_substr($buffer, $start_pos, $end_pos - $start_pos)); ! $out .= $encoded; /* Nibble in */ ! $inlower = MBYTE_substr($inlower, $end_pos); ! $buffer = MBYTE_substr($buffer, $end_pos); } else { // missing [/code] // Treat the remainder as code, but this should have been --- 1534,1545 ---- $out .= MBYTE_substr($in, 0, $start_pos); /* Find end */ ! $end_pos = MBYTE_strpos($inlower, '[/code]'); if( $end_pos !== false ) { /* Encode body and append to out */ $encoded = html_entity_decode(MBYTE_substr($buffer, $start_pos, $end_pos - $start_pos)); ! $out .= $encoded . '[/code]'; /* Nibble in */ ! $inlower = MBYTE_substr($inlower, $end_pos + 7); ! $buffer = MBYTE_substr($buffer, $end_pos + 7); } else { // missing [/code] // Treat the remainder as code, but this should have been *************** *** 1548,1552 **** $inlower = ''; } ! $start_pos = MBYTE_strpos($linlower, '[code]'); } // Append remainder: --- 1548,1552 ---- $inlower = ''; } ! $start_pos = MBYTE_strpos($inlower, '[code]'); } // Append remainder: From mjervis at qs1489.pair.com Wed Feb 20 15:08:00 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:08:00 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/staticpages functions.inc, 1.115, 1.116 Message-ID: <20080220200800.CE8E510FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages In directory qs1489.pair.com:/tmp/cvs-serv25857/plugins/staticpages Modified Files: functions.inc Log Message: Ensure every template class has site_url, site_admin_url, layout_url and xhtml variables set. My eyes, they bleed... Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/functions.inc,v retrieving revision 1.115 retrieving revision 1.116 diff -C2 -d -r1.115 -r1.116 *** functions.inc 3 Feb 2008 19:23:24 -0000 1.115 --- functions.inc 20 Feb 2008 20:07:58 -0000 1.116 *************** *** 292,295 **** --- 292,299 ---- $spage = new Template( $_CONF['path'] . 'plugins/staticpages/templates/' ); + $spage->set_var('xhtml', XHTML); + $spage->set_var('site_url', $_CONF['site_url']); + $spage->set_var('layout_url', $_CONF['layout_url']); + $spage->set_var('site_admin_url', $_CONF['site_admin_url']); $spage -> set_file( array('page'=>'staticpage.thtml', 'comments' => 'spcomments.thtml')); *************** *** 870,873 **** --- 874,881 ---- $spage = new Template( $_CONF['path'] . 'plugins/staticpages/templates/' ); $spage->set_file( array('page'=>'centerblock.thtml')); + $spage->set_var('xhtml', XHTML); + $spage->set_var('site_url', $_CONF['site_url']); + $spage->set_var('layout_url', $_CONF['layout_url']); + $spage->set_var('site_admin_url', $_CONF['site_admin_url']); $icons = ''; From mjervis at qs1489.pair.com Wed Feb 20 15:08:00 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:08:00 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/calendar functions.inc, 1.77, 1.78 Message-ID: <20080220200800.CCA4D10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/calendar In directory qs1489.pair.com:/tmp/cvs-serv25857/plugins/calendar Modified Files: functions.inc Log Message: Ensure every template class has site_url, site_admin_url, layout_url and xhtml variables set. My eyes, they bleed... Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/calendar/functions.inc,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** functions.inc 27 Jan 2008 15:23:32 -0000 1.77 --- functions.inc 20 Feb 2008 20:07:58 -0000 1.78 *************** *** 808,811 **** --- 808,814 ---- $cal_templates->set_file (array ('form' => 'batchdelete.thtml')); $cal_templates->set_var ('site_admin_url', $_CONF['site_admin_url']); + $cal_templates->set_var ('site_url', $_CONF['site_url']); + $cal_templates->set_var('layout_url', $_CONF['layout_url']); + $cal_templates->set_var('xhtml', XHTML); $cal_templates->set_var ('usr_time', $usr_time); $cal_templates->set_var ('lang_text_start', $LANG_CAL_ADMIN[28]); *************** *** 814,818 **** $cal_templates->set_var ('lang_delete_sel', $LANG_ADMIN['delete_sel']); $cal_templates->set_var ('lang_delconfirm', $LANG_CAL_ADMIN[31]); - $cal_templates->set_var('xhtml', XHTML); $cal_templates->parse('form', 'form'); $desc = $cal_templates->finish($cal_templates->get_var('form')); --- 817,820 ---- From mjervis at qs1489.pair.com Wed Feb 20 15:08:00 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:08:00 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/polls functions.inc,1.82,1.83 Message-ID: <20080220200800.CD9CF10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/polls In directory qs1489.pair.com:/tmp/cvs-serv25857/plugins/polls Modified Files: functions.inc Log Message: Ensure every template class has site_url, site_admin_url, layout_url and xhtml variables set. My eyes, they bleed... Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/polls/functions.inc,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** functions.inc 19 Jan 2008 14:53:12 -0000 1.82 --- functions.inc 20 Feb 2008 20:07:58 -0000 1.83 *************** *** 479,482 **** --- 479,483 ---- $poll->set_var('site_url', $_CONF['site_url']); $poll->set_var('layout_url', $_CONF['layout_url']); + $poll->set_var('site_admin_url', $_CONF['site_admin_url']); $poll->set_var('poll_id', $pid ); $poll->set_var('poll_topic', $P['topic'] ); *************** *** 776,779 **** --- 777,781 ---- $poll->set_var('xhtml', XHTML); $poll->set_var('site_url', $_CONF['site_url']); + $poll->set_var('site_admin_url', $_CONF['site_admin_url']); $poll->set_var('layout_url', $_CONF['layout_url']); $poll->set_var('poll_topic', $P['topic']); From mjervis at qs1489.pair.com Wed Feb 20 15:08:01 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:08:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes navbar.class.php, 1.4, 1.5 search.class.php, 1.64, 1.65 Message-ID: <20080220200801.3295710FE17@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv25857/system/classes Modified Files: navbar.class.php search.class.php Log Message: Ensure every template class has site_url, site_admin_url, layout_url and xhtml variables set. My eyes, they bleed... Index: search.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/search.class.php,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** search.class.php 16 Feb 2008 21:24:28 -0000 1.64 --- search.class.php 20 Feb 2008 20:07:59 -0000 1.65 *************** *** 530,534 **** $cur_plugin = new Plugin(); $searchresults = new Template($_CONF['path_layout'] . 'search'); ! $searchresults->set_var( 'xhtml', XHTML ); $maxdisplayed = 0; --- 530,537 ---- $cur_plugin = new Plugin(); $searchresults = new Template($_CONF['path_layout'] . 'search'); ! $searchresults->set_var('xhtml', XHTML); ! $searchresults->set_var('site_url', $_CONF['site_url']); ! $searchresults->set_var('site_admin_url', $_CONF['site_admin_url']); ! $searchresults->set_var('layout_url', $_CONF['layout_url']); $maxdisplayed = 0; *************** *** 742,745 **** --- 745,750 ---- $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('site_url', $_CONF['site_url']); + $login->set_var ('site_admin_url', $_CONF['site_admin_url']); + $login->set_var ('layout_url', $_CONF['layout_url']); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); *************** *** 839,842 **** --- 844,849 ---- $searchform->set_var('search_intro', $LANG09[19]); $searchform->set_var('site_url', $_CONF['site_url']); + $searchform->set_var('site_admin_url', $_CONF['site_admin_url']); + $searchform->set_var('layout_url', $_CONF['layout_url']); $searchform->set_var('lang_keywords', $LANG09[2]); $searchform->set_var('lang_date', $LANG09[20]); Index: navbar.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/navbar.class.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** navbar.class.php 25 Nov 2007 06:59:56 -0000 1.4 --- navbar.class.php 20 Feb 2008 20:07:59 -0000 1.5 *************** *** 152,155 **** --- 152,158 ---- $navtemplate->set_var( 'xhtml', XHTML ); + $navtemplate->set_var( 'site_url', $_CONF['site_url'] ); + $navtemplate->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); + $navtemplate->set_var( 'layout_url', $_CONF['layout_url'] ); if ($this->_parms != '') { $navtemplate->set_var( 'parms', $this->_parms); *************** *** 190,193 **** --- 193,199 ---- 'link' => 'breadcrumb_link.thtml')); $this->_bctemplate->set_var( 'xhtml', XHTML ); + $this->_bctemplate->set_var( 'site_url', $_CONF['site_url'] ); + $this->_bctemplate->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); + $this->_bctemplate->set_var( 'layout_url', $_CONF['layout_url'] ); } From mjervis at qs1489.pair.com Wed Feb 20 15:08:01 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:08:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html article.php, 1.94, 1.95 index.php, 1.97, 1.98 lib-common.php, 1.679, 1.680 pdfgenerator.php, 1.12, 1.13 profiles.php, 1.53, 1.54 stats.php, 1.52, 1.53 submit.php, 1.120, 1.121 users.php, 1.162, 1.163 usersettings.php, 1.169, 1.170 Message-ID: <20080220200801.3346A10FE18@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv25857/public_html Modified Files: article.php index.php lib-common.php pdfgenerator.php profiles.php stats.php submit.php users.php usersettings.php Log Message: Ensure every template class has site_url, site_admin_url, layout_url and xhtml variables set. My eyes, they bleed... Index: submit.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/submit.php,v retrieving revision 1.120 retrieving revision 1.121 diff -C2 -d -r1.120 -r1.121 *** submit.php 29 Dec 2007 15:47:42 -0000 1.120 --- submit.php 20 Feb 2008 20:07:58 -0000 1.121 *************** *** 81,87 **** $loginreq->set_file('loginreq', 'submitloginrequired.thtml'); $loginreq->set_var( 'xhtml', XHTML ); - $loginreq->set_var('login_message', $LANG_LOGIN[2]); $loginreq->set_var('site_url', $_CONF['site_url']); $loginreq->set_var('layout_url', $_CONF['layout_url']); $loginreq->set_var('lang_login', $LANG_LOGIN[3]); $loginreq->set_var('lang_newuser', $LANG_LOGIN[4]); --- 81,88 ---- $loginreq->set_file('loginreq', 'submitloginrequired.thtml'); $loginreq->set_var( 'xhtml', XHTML ); $loginreq->set_var('site_url', $_CONF['site_url']); + $loginreq->set_var('site_admin_url', $_CONF['site_admin_url']); $loginreq->set_var('layout_url', $_CONF['layout_url']); + $loginreq->set_var('login_message', $LANG_LOGIN[2]); $loginreq->set_var('lang_login', $LANG_LOGIN[3]); $loginreq->set_var('lang_newuser', $LANG_LOGIN[4]); *************** *** 163,166 **** --- 164,168 ---- $storyform->set_var ( 'xhtml', XHTML ); $storyform->set_var ('site_url', $_CONF['site_url']); + $storyform->set_var ('site_admin_url', $_CONF['site_admin_url']); $storyform->set_var ('layout_url', $_CONF['layout_url']); $storyform->set_var ('lang_username', $LANG12[27]); Index: index.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/index.php,v retrieving revision 1.97 retrieving revision 1.98 diff -C2 -d -r1.97 -r1.98 *** index.php 25 Nov 2007 08:11:08 -0000 1.97 --- index.php 20 Feb 2008 20:07:58 -0000 1.98 *************** *** 163,166 **** --- 163,169 ---- $topspan->set_file (array ('topspan'=>'topcenterblock-span.thtml')); $topspan->set_var( 'xhtml', XHTML ); + $topspan->set_var( 'site_url', $_CONF['site_url'] ); + $topspan->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); + $topspan->set_var( 'layout_url', $_CONF['layout_url'] ); $topspan->parse ('output', 'topspan'); $display .= $topspan->finish ($topspan->get_var('output')); Index: pdfgenerator.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/pdfgenerator.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** pdfgenerator.php 25 Nov 2007 06:55:07 -0000 1.12 --- pdfgenerator.php 20 Feb 2008 20:07:58 -0000 1.13 *************** *** 202,205 **** --- 202,206 ---- $pdf->set_var('layout_url', $_CONF['layout_url']); $pdf->set_var('site_url', $_CONF['site_url']); + $pdf->set_var('site_admin_url', $_CONF['site_admin_url']); $pdf->set_var('lang_loading_document', $LANG_PDF[5]); $pdf->set_var('lang_please_wait', $LANG_PDF[6]); *************** *** 228,231 **** --- 229,233 ---- $pdf->set_var('layout_url', $_CONF['layout_url']); $pdf->set_var('site_url', $_CONF['site_url']); + $pdf->set_var('site_admin_url', $_CONF['site_admin_url']); $pdf->set_var('lang_error_msg', $LANG_PDF[4]); $pdf->set_var('lang_pdf_generator', $LANG_PDF[9]); Index: users.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/users.php,v retrieving revision 1.162 retrieving revision 1.163 diff -C2 -d -r1.162 -r1.163 *** users.php 16 Feb 2008 21:24:28 -0000 1.162 --- users.php 20 Feb 2008 20:07:59 -0000 1.163 *************** *** 82,85 **** --- 82,87 ---- $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('site_url', $_CONF['site_url']); + $login->set_var ('site_admin_url', $_CONF['site_admin_url']); + $login->set_var ('layout_url', $_CONF['layout_url']); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); *************** *** 691,694 **** --- 693,698 ---- $user_templates->set_var( 'xhtml', XHTML ); $user_templates->set_var('site_url', $_CONF['site_url']); + $user_templates->set_var('site_admin_url', $_CONF['site_admin_url']); + $user_templates->set_var('layout_url', $_CONF['layout_url']); $user_templates->set_var('start_block', COM_startBlock($LANG04[22])); $user_templates->set_var('lang_instructions', $LANG04[23]); *************** *** 742,745 **** --- 746,751 ---- $user_templates->set_var( 'xhtml', XHTML ); $user_templates->set_var('site_url', $_CONF['site_url']); + $user_templates->set_var('site_admin_url', $_CONF['site_admin_url']); + $user_templates->set_var('layout_url', $_CONF['layout_url']); $user_templates->set_var('start_block_forgetpassword', COM_startBlock($LANG04[25])); $user_templates->set_var('lang_instructions', $LANG04[26]); Index: profiles.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/profiles.php,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** profiles.php 25 Nov 2007 06:55:07 -0000 1.53 --- profiles.php 20 Feb 2008 20:07:58 -0000 1.54 *************** *** 168,173 **** $login->set_file (array ('login'=>'submitloginrequired.thtml')); $login->set_var ( 'xhtml', XHTML ); - $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('site_url', $_CONF['site_url']); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); --- 168,175 ---- $login->set_file (array ('login'=>'submitloginrequired.thtml')); $login->set_var ( 'xhtml', XHTML ); $login->set_var ('site_url', $_CONF['site_url']); + $login->set_var ('site_admin_url', $_CONF['site_admin_url']); + $login->set_var ('layout_url', $_CONF['layout_url']); + $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); *************** *** 361,366 **** $login->set_file (array ('login'=>'submitloginrequired.thtml')); $login->set_var ( 'xhtml', XHTML ); - $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('site_url', $_CONF['site_url']); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); --- 363,370 ---- $login->set_file (array ('login'=>'submitloginrequired.thtml')); $login->set_var ( 'xhtml', XHTML ); $login->set_var ('site_url', $_CONF['site_url']); + $login->set_var ('site_admin_url', $_CONF['site_admin_url']); + $login->set_var ('layout_url', $_CONF['layout_url']); + $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); *************** *** 389,392 **** --- 393,398 ---- $mail_template->set_var( 'xhtml', XHTML ); $mail_template->set_var('site_url', $_CONF['site_url']); + $mail_template->set_var('site_admin_url', $_CONF['site_admin_url']); + $mail_template->set_var('layout_url', $_CONF['layout_url']); $mail_template->set_var('start_block_mailstory2friend', COM_startBlock($LANG08[17])); $mail_template->set_var('lang_fromname', $LANG08[20]); Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.679 retrieving revision 1.680 diff -C2 -d -r1.679 -r1.680 *** lib-common.php 19 Feb 2008 17:46:07 -0000 1.679 --- lib-common.php 20 Feb 2008 20:07:58 -0000 1.680 *************** *** 1028,1031 **** --- 1028,1032 ---- . '/images/bg.' . $_IMAGE_TYPE ); $header->set_var( 'site_url', $_CONF['site_url'] ); + $header->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $header->set_var( 'layout_url', $_CONF['layout_url'] ); $header->set_var( 'site_mail', "mailto:{$_CONF['site_mail']}" ); *************** *** 1300,1303 **** --- 1301,1305 ---- $footer->set_var( 'xhtml', XHTML ); $footer->set_var( 'site_url', $_CONF['site_url']); + $footer->set_var( 'site_admin_url', $_CONF['site_admin_url']); $footer->set_var( 'layout_url',$_CONF['layout_url']); $footer->set_var( 'site_mail', "mailto:{$_CONF['site_mail']}" ); *************** *** 1478,1481 **** --- 1480,1484 ---- $block->set_var( 'xhtml', XHTML ); $block->set_var( 'site_url', $_CONF['site_url'] ); + $block->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $block->set_var( 'layout_url', $_CONF['layout_url'] ); $block->set_var( 'block_title', stripslashes( $title )); *************** *** 1540,1543 **** --- 1543,1547 ---- $block->set_var( 'xhtml', XHTML ); $block->set_var( 'site_url', $_CONF['site_url'] ); + $block->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $block->set_var( 'layout_url', $_CONF['layout_url'] ); $block->parse( 'endHTML', 'block' ); *************** *** 2106,2109 **** --- 2110,2114 ---- $sections->set_var( 'xhtml', XHTML ); $sections->set_var( 'site_url', $_CONF['site_url'] ); + $sections->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $sections->set_var( 'layout_url', $_CONF['layout_url'] ); $sections->set_var( 'block_name', str_replace( '_', '-', 'section_block' )); *************** *** 2256,2259 **** --- 2261,2265 ---- $usermenu->set_var( 'xhtml', XHTML ); $usermenu->set_var( 'site_url', $_CONF['site_url'] ); + $usermenu->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $usermenu->set_var( 'layout_url', $_CONF['layout_url'] ); $usermenu->set_var( 'block_name', str_replace( '_', '-', 'user_block' )); *************** *** 2334,2337 **** --- 2340,2344 ---- $login->set_var( 'xhtml', XHTML ); $login->set_var( 'site_url', $_CONF['site_url'] ); + $login->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $login->set_var( 'layout_url', $_CONF['layout_url'] ); $login->set_var( 'lang_username', $LANG01[21] ); *************** *** 2446,2449 **** --- 2453,2457 ---- $adminmenu->set_var( 'xhtml', XHTML ); $adminmenu->set_var( 'site_url', $_CONF['site_url'] ); + $adminmenu->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $adminmenu->set_var( 'layout_url', $_CONF['layout_url'] ); $adminmenu->set_var( 'block_name', str_replace( '_', '-', 'admin_block' )); *************** *** 5028,5031 **** --- 5036,5040 ---- $list->set_var( 'xhtml', XHTML ); $list->set_var('site_url', $_CONF['site_url']); + $list->set_var('site_admin_url', $_CONF['site_admin_url']); $list->set_var('layout_url', $_CONF['layout_url']); Index: usersettings.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/usersettings.php,v retrieving revision 1.169 retrieving revision 1.170 diff -C2 -d -r1.169 -r1.170 *** usersettings.php 16 Feb 2008 11:40:04 -0000 1.169 --- usersettings.php 20 Feb 2008 20:07:59 -0000 1.170 *************** *** 1088,1091 **** --- 1088,1093 ---- $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('site_url', $_CONF['site_url']); + $login->set_var ('site_admin_url', $_CONF['site_admin_url']); + $login->set_var ('layout_url', $_CONF['layout_url']); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); Index: stats.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/stats.php,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** stats.php 25 Nov 2007 06:55:07 -0000 1.52 --- stats.php 20 Feb 2008 20:07:58 -0000 1.53 *************** *** 48,53 **** $login->set_file (array ('login'=>'submitloginrequired.thtml')); $login->set_var ( 'xhtml', XHTML ); - $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('site_url', $_CONF['site_url']); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); --- 48,55 ---- $login->set_file (array ('login'=>'submitloginrequired.thtml')); $login->set_var ( 'xhtml', XHTML ); $login->set_var ('site_url', $_CONF['site_url']); + $login->set_var ('site_admin_url', $_CONF['site_admin_url']); + $login->set_var ('layout_url', $_CONF['layout_url']); + $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); Index: article.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/article.php,v retrieving revision 1.94 retrieving revision 1.95 diff -C2 -d -r1.94 -r1.95 *** article.php 25 Nov 2007 06:55:07 -0000 1.94 --- article.php 20 Feb 2008 20:07:58 -0000 1.95 *************** *** 265,268 **** --- 265,269 ---- $story_template->set_var( 'xhtml', XHTML ); $story_template->set_var('site_url', $_CONF['site_url']); + $story_template->set_var('site_admin_url', $_CONF['site_admin_url']); $story_template->set_var('layout_url', $_CONF['layout_url']); $story_template->set_var('story_id', $story->getSid()); From mjervis at qs1489.pair.com Wed Feb 20 15:08:00 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:08:00 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin block.php, 1.117, 1.118 moderation.php, 1.117, 1.118 user.php, 1.199, 1.200 Message-ID: <20080220200800.E1DB310FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv25857/public_html/admin Modified Files: block.php moderation.php user.php Log Message: Ensure every template class has site_url, site_admin_url, layout_url and xhtml variables set. My eyes, they bleed... Index: block.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/block.php,v retrieving revision 1.117 retrieving revision 1.118 diff -C2 -d -r1.117 -r1.118 *** block.php 16 Feb 2008 23:00:35 -0000 1.117 --- block.php 20 Feb 2008 20:07:58 -0000 1.118 *************** *** 101,104 **** --- 101,105 ---- $block_templates = new Template($_CONF['path_layout'] . 'admin/block'); $block_templates->set_file('editor','defaultblockeditor.thtml'); + $block_templates->set_var('xhtml', XHTML); $block_templates->set_var('site_url', $_CONF['site_url']); $block_templates->set_var('site_admin_url', $_CONF['site_admin_url']); *************** *** 241,244 **** --- 242,246 ---- $block_templates->set_file('editor','blockeditor.thtml'); $block_templates->set_var('site_url', $_CONF['site_url']); + $block_templates->set_var('xhtml', XHTML); $block_templates->set_var('site_admin_url', $_CONF['site_admin_url']); $block_templates->set_var('layout_url', $_CONF['layout_url']); Index: moderation.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/moderation.php,v retrieving revision 1.117 retrieving revision 1.118 diff -C2 -d -r1.117 -r1.118 *** moderation.php 17 Feb 2008 10:29:36 -0000 1.117 --- moderation.php 20 Feb 2008 20:07:58 -0000 1.118 *************** *** 89,93 **** 'ccrow' => 'ccrow.thtml', 'ccitem' => 'ccitem.thtml')); ! $admin_templates->set_var( 'xhtml', XHTML ); $retval .= COM_startBlock ('Geeklog ' . VERSION . ' -- ' . $LANG29[34], '', --- 89,96 ---- 'ccrow' => 'ccrow.thtml', 'ccitem' => 'ccitem.thtml')); ! $admin_templates->set_var('xhtml', XHTML); ! $admin_templates->set_var('layout_url', $_CONF['layout_url']); ! $admin_templates->set_var('site_url', $_CONF['site_url']); ! $admin_templates->set_var('site_admin_url', $_CONF['site_admin_url']); $retval .= COM_startBlock ('Geeklog ' . VERSION . ' -- ' . $LANG29[34], '', Index: user.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/user.php,v retrieving revision 1.199 retrieving revision 1.200 diff -C2 -d -r1.199 -r1.200 *** user.php 9 Dec 2007 18:05:39 -0000 1.199 --- user.php 20 Feb 2008 20:07:58 -0000 1.200 *************** *** 701,705 **** --- 701,707 ---- 'reminder' => 'reminder.thtml')); $user_templates->set_var ( 'xhtml', XHTML ); + $user_templates->set_var ('site_url', $_CONF['site_url']); $user_templates->set_var ('site_admin_url', $_CONF['site_admin_url']); + $user_templates->set_var ('layout_url', $_CONF['layout_url']); $user_templates->set_var ('usr_type', $usr_type); $user_templates->set_var ('usr_time', $usr_time); From mjervis at qs1489.pair.com Wed Feb 20 15:08:01 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:08:01 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-admin.php, 1.126, 1.127 lib-comment.php, 1.62, 1.63 lib-security.php, 1.61, 1.62 lib-story.php, 1.122, 1.123 Message-ID: <20080220200801.46B0610FE19@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv25857/system Modified Files: lib-admin.php lib-comment.php lib-security.php lib-story.php Log Message: Ensure every template class has site_url, site_admin_url, layout_url and xhtml variables set. My eyes, they bleed... Index: lib-comment.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-comment.php,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** lib-comment.php 2 Jan 2008 13:00:46 -0000 1.62 --- lib-comment.php 20 Feb 2008 20:07:59 -0000 1.63 *************** *** 75,78 **** --- 75,79 ---- $commentbar->set_var( 'xhtml', XHTML ); $commentbar->set_var( 'site_url', $_CONF['site_url'] ); + $commentbar->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $commentbar->set_var( 'layout_url', $_CONF['layout_url'] ); *************** *** 225,228 **** --- 226,230 ---- $template->set_var( 'xhtml', XHTML ); $template->set_var( 'site_url', $_CONF['site_url'] ); + $template->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $template->set_var( 'layout_url', $_CONF['layout_url'] ); $template->set_var( 'lang_authoredby', $LANG01[42] ); *************** *** 507,510 **** --- 509,513 ---- $template->set_var( 'xhtml', XHTML ); $template->set_var( 'site_url', $_CONF['site_url'] ); + $template->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $template->set_var( 'layout_url', $_CONF['layout_url'] ); $template->set_var( 'commentbar', *************** *** 648,651 **** --- 651,655 ---- $loginreq->set_var('login_message', $LANG_LOGIN[2]); $loginreq->set_var('site_url', $_CONF['site_url']); + $loginreq->set_var('site_admin_url', $_CONF['site_admin_url']); $loginreq->set_var('lang_login', $LANG_LOGIN[3]); $loginreq->set_var('lang_newuser', $LANG_LOGIN[4]); *************** *** 723,726 **** --- 727,731 ---- $start->set_var( 'xhtml', XHTML ); $start->set_var( 'site_url', $_CONF['site_url'] ); + $start->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $start->set_var( 'layout_url', $_CONF['layout_url'] ); $start->set_var( 'hide_if_preview', 'style="display:none"' ); *************** *** 766,769 **** --- 771,776 ---- $comment_template->set_var( 'xhtml', XHTML ); $comment_template->set_var('site_url', $_CONF['site_url']); + $comment_template->set_var('site_admin_url', $_CONF['site_admin_url']); + $comment_template->set_var('layout_url', $_CONF['layout_url']); $comment_template->set_var('start_block_postacomment', COM_startBlock($LANG03[1])); $comment_template->set_var('lang_username', $LANG03[5]); Index: lib-story.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-story.php,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** lib-story.php 16 Feb 2008 22:18:14 -0000 1.122 --- lib-story.php 20 Feb 2008 20:07:59 -0000 1.123 *************** *** 100,103 **** --- 100,104 ---- $article->set_var( 'layout_url', $_CONF['layout_url'] ); $article->set_var( 'site_url', $_CONF['site_url'] ); + $article->set_var( 'site_admin_url', $_CONF['site_admin_url'] ); $article->set_var( 'site_name', $_CONF['site_name'] ); $article->set_var( 'story_date', $story->DisplayElements('date') ); Index: lib-admin.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-admin.php,v retrieving revision 1.126 retrieving revision 1.127 diff -C2 -d -r1.126 -r1.127 *** lib-admin.php 2 Jan 2008 12:35:58 -0000 1.126 --- lib-admin.php 20 Feb 2008 20:07:59 -0000 1.127 *************** *** 84,87 **** --- 84,88 ---- $admin_templates->set_var( 'xhtml', XHTML ); $admin_templates->set_var('site_url', $_CONF['site_url']); + $admin_templates->set_var('site_admin_url', $_CONF['site_admin_url']); $admin_templates->set_var('layout_url', $_CONF['layout_url']); $admin_templates->set_var('form_url', $form_url); *************** *** 273,276 **** --- 274,278 ---- $admin_templates->set_var( 'xhtml', XHTML ); $admin_templates->set_var('site_url', $_CONF['site_url']); + $admin_templates->set_var('site_admin_url', $_CONF['site_admin_url']); $admin_templates->set_var('layout_url', $_CONF['layout_url']); $admin_templates->set_var('form_url', $form_url); *************** *** 578,582 **** $admin_templates->set_var('menu_fields', $menu_fields); $admin_templates->set_var('lang_instructions', $text); ! $admin_templates->set_var( 'xhtml', XHTML ); $admin_templates->parse('top_menu', 'top_menu'); $retval = $admin_templates->finish($admin_templates->get_var('top_menu')); --- 580,587 ---- $admin_templates->set_var('menu_fields', $menu_fields); $admin_templates->set_var('lang_instructions', $text); ! $admin_templates->set_var('xhtml', XHTML); ! $admin_templates->set_var('site_url', $_CONF['site_url']); ! $admin_templates->set_var('site_admin_url', $_CONF['site_admin_url']); ! $admin_templates->set_var('layout_url', $_CONF['layout_url']); $admin_templates->parse('top_menu', 'top_menu'); $retval = $admin_templates->finish($admin_templates->get_var('top_menu')); Index: lib-security.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-security.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** lib-security.php 17 Feb 2008 18:31:56 -0000 1.61 --- lib-security.php 20 Feb 2008 20:07:59 -0000 1.62 *************** *** 430,433 **** --- 430,436 ---- $perm_templates->set_var ( 'xhtml', XHTML ); + $perm_templates->set_var ('site_url', $_CONF['site_url']); + $perm_templates->set_var ('site_admin_url', $_CONF['site_admin_url']); + $perm_templates->set_var ('layout_url', $_CONF['layout_url']); $perm_templates->set_var ('owner', $LANG_ACCESS['owner']); $perm_templates->set_var ('group', $LANG_ACCESS['group']); From dhaun at qs1489.pair.com Wed Feb 20 15:23:02 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Wed, 20 Feb 2008 20:23:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-story.php,1.123,1.124 Message-ID: <20080220202302.BD18010FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv26795/system Modified Files: lib-story.php Log Message: Whoops, I broke {story_title_link} ... Index: lib-story.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-story.php,v retrieving revision 1.123 retrieving revision 1.124 diff -C2 -d -r1.123 -r1.124 *** lib-story.php 20 Feb 2008 20:07:59 -0000 1.123 --- lib-story.php 20 Feb 2008 20:23:00 -0000 1.124 *************** *** 219,222 **** --- 219,224 ---- ) ); + } else { + $article->set_var('story_title_link', $story->DisplayElements('title')); } From mjervis at qs1489.pair.com Wed Feb 20 15:27:27 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:27:27 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html profiles.php,1.54,1.55 Message-ID: <20080220202727.62C5810FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv26991/public_html Modified Files: profiles.php Log Message: Email user option: Form handles " incorrectly on re-display (incomplete form submission) Index: profiles.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/profiles.php,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** profiles.php 20 Feb 2008 20:07:58 -0000 1.54 --- profiles.php 20 Feb 2008 20:27:25 -0000 1.55 *************** *** 131,134 **** --- 131,137 ---- $retval .= COM_refresh($_CONF['site_url'] . '/index.php?msg=27'); } else { + $subject = strip_tags ($subject); + $subject = substr ($subject, 0, strcspn ($subject, "\r\n")); + $subject = htmlspecialchars (trim ($subject), ENT_QUOTES); $retval .= COM_siteHeader ('menu', $LANG04[81]) . COM_errorLog ($LANG08[3], 2) *************** *** 137,140 **** --- 140,146 ---- } } else { + $subject = strip_tags ($subject); + $subject = substr ($subject, 0, strcspn ($subject, "\r\n")); + $subject = htmlspecialchars (trim ($subject), ENT_QUOTES); $retval .= COM_siteHeader ('menu', $LANG04[81]) . COM_errorLog ($LANG08[4], 2) From mjervis at qs1489.pair.com Wed Feb 20 15:27:27 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:27:27 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history,1.606,1.607 Message-ID: <20080220202727.5842F10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv26991/public_html/docs Modified Files: history Log Message: Email user option: Form handles " incorrectly on re-display (incomplete form submission) Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.606 retrieving revision 1.607 diff -C2 -d -r1.606 -r1.607 *** history 18 Feb 2008 19:42:12 -0000 1.606 --- history 20 Feb 2008 20:27:25 -0000 1.607 *************** *** 3,6 **** --- 3,10 ---- ??? ??, 2008 (1.5.0) ------------ + - Bug: Email user form doesn't display correctly with " in subject when sending + is failed due to incomplete fields. [Mike] + - Bugs: Ensure that site_url, site_admin_url, layout_url and xhtml available to all + templates. [Mike] - Support for [raw][/raw] tag in HTML post mode. All the benefits of code and pre, with none of the ugly styling. [Mike] From mjervis at qs1489.pair.com Wed Feb 20 15:32:39 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Wed, 20 Feb 2008 20:32:39 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html profiles.php,1.55,1.56 Message-ID: <20080220203239.ED2CB10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv27176/public_html Modified Files: profiles.php Log Message: Mail story to a friend: User message text is run through COM_applyFilter but shouldn't be because that will cut the message off at the first special character. The message doesn't go out as HTML, and isn't logged, so, we don't introduce a security hole by doing so (I checked carefully!) Index: profiles.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/profiles.php,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** profiles.php 20 Feb 2008 20:27:25 -0000 1.55 --- profiles.php 20 Feb 2008 20:32:37 -0000 1.56 *************** *** 472,476 **** . mailstoryform ($sid, COM_applyFilter($_POST['to']), COM_applyFilter($_POST['toemail']), COM_applyFilter($_POST['from']), COM_applyFilter($_POST['fromemail']), ! COM_applyFilter($_POST['shortmsg']), 52) . COM_siteFooter (); } else if (empty ($_POST['to']) || empty ($_POST['from']) || --- 472,476 ---- . mailstoryform ($sid, COM_applyFilter($_POST['to']), COM_applyFilter($_POST['toemail']), COM_applyFilter($_POST['from']), COM_applyFilter($_POST['fromemail']), ! $_POST['shortmsg'], 52) . COM_siteFooter (); } else if (empty ($_POST['to']) || empty ($_POST['from']) || *************** *** 479,483 **** . mailstoryform ($sid, COM_applyFilter($_POST['to']), COM_applyFilter($_POST['toemail']), COM_applyFilter($_POST['from']), COM_applyFilter($_POST['fromemail']), ! COM_applyFilter($_POST['shortmsg'])) . COM_siteFooter (); } else { --- 479,483 ---- . mailstoryform ($sid, COM_applyFilter($_POST['to']), COM_applyFilter($_POST['toemail']), COM_applyFilter($_POST['from']), COM_applyFilter($_POST['fromemail']), ! $_POST['shortmsg']) . COM_siteFooter (); } else { *************** *** 488,492 **** . mailstoryform ($sid, COM_applyFilter($_POST['to']), COM_applyFilter($_POST['toemail']), COM_applyFilter($_POST['from']), COM_applyFilter($_POST['fromemail']), ! COM_applyFilter($_POST['shortmsg'])) . COM_siteFooter (); } else { --- 488,492 ---- . mailstoryform ($sid, COM_applyFilter($_POST['to']), COM_applyFilter($_POST['toemail']), COM_applyFilter($_POST['from']), COM_applyFilter($_POST['fromemail']), ! $_POST['shortmsg']) . COM_siteFooter (); } else { From dhaun at qs1489.pair.com Wed Feb 20 15:38:02 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Wed, 20 Feb 2008 20:38:02 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-webservices.php,1.32,1.33 Message-ID: <20080220203802.D128D10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv27366/system Modified Files: lib-webservices.php Log Message: Use the somewhat sanitized site_name for the realm Index: lib-webservices.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-webservices.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** lib-webservices.php 6 Jan 2008 20:44:10 -0000 1.32 --- lib-webservices.php 20 Feb 2008 20:38:00 -0000 1.33 *************** *** 59,63 **** function WS_error($error_code, $error_desc = '') { ! global $WS_VERBOSE; header('Content-type: text/plain'); --- 59,63 ---- function WS_error($error_code, $error_desc = '') { ! global $_CONF, $WS_VERBOSE; header('Content-type: text/plain'); *************** *** 76,81 **** break; case PLG_RET_AUTH_FAILED: header($_SERVER['SERVER_PROTOCOL'] . ' 401 Unauthorized'); ! header('WWW-Authenticate: Basic realm="www.geeklog.net"'); if (empty($error_desc)) { $error_desc = 'Unauthorized'; --- 76,82 ---- break; case PLG_RET_AUTH_FAILED: + $realm = preg_replace('/[^a-zA-Z0-9\-_\. ]/', '', $_CONF['site_name']); header($_SERVER['SERVER_PROTOCOL'] . ' 401 Unauthorized'); ! header('WWW-Authenticate: Basic realm="' . $realm . '"'); if (empty($error_desc)) { $error_desc = 'Unauthorized'; From mjervis at qs1489.pair.com Thu Feb 21 14:52:54 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Thu, 21 Feb 2008 19:52:54 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin block.php,1.118,1.119 Message-ID: <20080221195254.F3C3A10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv78690/public_html/admin Modified Files: block.php Log Message: Security changes. Index: block.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/block.php,v retrieving revision 1.118 retrieving revision 1.119 diff -C2 -d -r1.118 -r1.119 *** block.php 20 Feb 2008 20:07:58 -0000 1.118 --- block.php 21 Feb 2008 19:52:52 -0000 1.119 *************** *** 38,41 **** --- 38,42 ---- require_once '../lib-common.php'; require_once 'auth.inc.php'; + require_once $_CONF['path_system'] . 'lib-security.php'; // Uncomment the line below if you need to debug the HTTP variables being passed *************** *** 367,370 **** --- 368,372 ---- require_once( $_CONF['path_system'] . 'lib-admin.php' ); + $token = SEC_createToken(); // writing the menu on top *************** *** 416,420 **** $retval .= ADMIN_list ( "blocks", "ADMIN_getListField_blocks", $header_arr, $text_arr, ! $query_arr, $defsort_arr, '', '', '', $form_arr ); --- 418,422 ---- $retval .= ADMIN_list ( "blocks", "ADMIN_getListField_blocks", $header_arr, $text_arr, ! $query_arr, $defsort_arr, '', $token, '', $form_ar ); *************** *** 438,442 **** $retval .= ADMIN_list ( 'blocks', 'ADMIN_getListField_blocks', $header_arr, $text_arr, ! $query_arr, $defsort_arr, '', '', '', $form_arr ); --- 440,444 ---- $retval .= ADMIN_list ( 'blocks', 'ADMIN_getListField_blocks', $header_arr, $text_arr, ! $query_arr, $defsort_arr, '', $token, '', $form_arr ); *************** *** 822,826 **** --- 824,830 ---- } else if ($mode == 'move') { $display .= COM_siteHeader('menu', $LANG21[19]); + if(SEC_checkToken()) { $display .= moveBlock(); + } $display .= listblocks(); $display .= COM_siteFooter(); From mjervis at qs1489.pair.com Thu Feb 21 14:52:55 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Thu, 21 Feb 2008 19:52:55 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql mssql_tableanddata.php, 1.33, 1.34 mysql_tableanddata.php, 1.200, 1.201 Message-ID: <20080221195255.2855D10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql In directory qs1489.pair.com:/tmp/cvs-serv78690/sql Modified Files: mssql_tableanddata.php mysql_tableanddata.php Log Message: Security changes. Index: mssql_tableanddata.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/mssql_tableanddata.php,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** mssql_tableanddata.php 27 Jan 2008 15:23:32 -0000 1.33 --- mssql_tableanddata.php 21 Feb 2008 19:52:52 -0000 1.34 *************** *** 517,520 **** --- 517,530 ---- "; + $_SQL[] = " + CREATE TABLE {$_TABLES['tokens']} ( + [token] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, + [created] [datetime] NOT NULL, + [owner_id] [numeric] (8,0) NOT NULL, + [urlfor] [varchar] (2000) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, + [ttl] numeric(8,0) NOT NULL DEFAULT 1 + ) ON [PRIMARY] + "; + $_SQL[] = " *************** *** 910,913 **** --- 920,930 ---- ( [fid] + ) ON [PRIMARY] + "; + + $_SQL[] = "ALTER TABLE [dbo].[{$_TABLES['tokens']}] ADD + CONSTRAINT [PK_gl_tokens] PRIMARY KEY CLUSTERED + ( + [toekn] ) ON [PRIMARY] "; Index: mysql_tableanddata.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/mysql_tableanddata.php,v retrieving revision 1.200 retrieving revision 1.201 diff -C2 -d -r1.200 -r1.201 *** mysql_tableanddata.php 3 Feb 2008 19:11:50 -0000 1.200 --- mysql_tableanddata.php 21 Feb 2008 19:52:53 -0000 1.201 *************** *** 724,727 **** --- 724,738 ---- "; + $_SQL[47] = " + CREATE TABLE {$_TABLES['tokens']} ( + token varchar(32) NOT NULL, + created datetime NOT NULL, + owner_id mediumint(8) unsigned NOT NULL, + urlfor varchar(2000) NOT NULL, + ttl mediumint(8) unsigned NOT NULL default '1', + PRIMARY KEY (token) + ) TYPE=MyISAM + "; + $_DATA[] = "INSERT INTO {$_TABLES['access']} (acc_ft_id, acc_grp_id) VALUES (1,3) "; $_DATA[] = "INSERT INTO {$_TABLES['access']} (acc_ft_id, acc_grp_id) VALUES (2,3) "; From mjervis at qs1489.pair.com Thu Feb 21 14:52:55 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Thu, 21 Feb 2008 19:52:55 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mssql_1.4.1_to_1.5.0.php, 1.11, 1.12 mysql_1.4.1_to_1.5.0.php, 1.64, 1.65 Message-ID: <20080221195255.3A6ED10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv78690/sql/updates Modified Files: mssql_1.4.1_to_1.5.0.php mysql_1.4.1_to_1.5.0.php Log Message: Security changes. Index: mssql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mssql_1.4.1_to_1.5.0.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** mssql_1.4.1_to_1.5.0.php 27 Jan 2008 10:53:03 -0000 1.11 --- mssql_1.4.1_to_1.5.0.php 21 Feb 2008 19:52:53 -0000 1.12 *************** *** 30,33 **** --- 30,50 ---- */ + + $_SQL[] = " + CREATE TABLE {$_TABLES['tokens']} ( + [token] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, + [created] [datetime] NOT NULL, + [owner_id] [numeric] (8,0) NOT NULL, + [urlfor] [varchar] (2000) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, + [ttl] numeric(8,0) NOT NULL DEFAULT 1 + ) ON [PRIMARY] + "; + + $_SQL[] = "ALTER TABLE [dbo].[{$_TABLES['tokens']}] ADD + CONSTRAINT [PK_gl_tokens] PRIMARY KEY CLUSTERED + ( + [toekn] + ) ON [PRIMARY] + "; Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** mysql_1.4.1_to_1.5.0.php 10 Feb 2008 17:09:38 -0000 1.64 --- mysql_1.4.1_to_1.5.0.php 21 Feb 2008 19:52:53 -0000 1.65 *************** *** 27,30 **** --- 27,42 ---- $_SQL[] = "INSERT INTO {$_TABLES['groups']} (grp_name, grp_descr, grp_gl_core) VALUES ('Webservices Users', 'Can use the Webservices API (if restricted)', 0)"; + // add the security tokens table: + $_SQL[] = " + CREATE TABLE {$_TABLES['tokens']} ( + token varchar(32) NOT NULL, + created datetime NOT NULL, + owner_id mediumint(8) unsigned NOT NULL, + urlfor varchar(2000) NOT NULL, + ttl mediumint(8) unsigned NOT NULL default '1', + PRIMARY KEY (token) + ) TYPE=MyISAM + "; + function create_ConfValues() From mjervis at qs1489.pair.com Thu Feb 21 14:52:55 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Thu, 21 Feb 2008 19:52:55 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-admin.php, 1.127, 1.128 lib-security.php, 1.62, 1.63 Message-ID: <20080221195255.4B82F10FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv78690/system Modified Files: lib-admin.php lib-security.php Log Message: Security changes. Index: lib-security.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-security.php,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** lib-security.php 20 Feb 2008 20:07:59 -0000 1.62 --- lib-security.php 21 Feb 2008 19:52:53 -0000 1.63 *************** *** 1037,1039 **** --- 1037,1144 ---- } + /** + * Generate a security token. + * + * This generates and stores a one time security token. Security tokens are + * added to forms and urls in the admin section as a non-cookie double-check + * that the admin user really wanted to do that... + * + * @return string Generated token, it'll be an MD5 hash (32chars) + */ + function SEC_createToken() + { + global $_USER, $_TABLES; + + /* Figure out the full url to the current page */ + $pageURL = 'http'; + if ($_SERVER["HTTPS"] == "on") { + $pageURL .= "s"; + } + $pageURL .= "://"; + if ($_SERVER["SERVER_PORT"] != "80") { + $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; + } else { + $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; + } + + /* Generate the token */ + $token = md5($_USER['uid'].$pageURL.uniqid (rand (), 1)); + $pageURL = addslashes($pageURL); + + /* Destroy exired tokens: */ + /* Note: TTL not yet implemented! So commented out */ + // $sql = "DELETE FROM {$_TABLES['tokens']} WHERE (DATE_ADD(created, INTERVAL ttl SECOND) < NOW())" + // . " AND (ttl > 0)"; + // DB_Query($sql); + + /* Destroy tokens for this user/url combination */ + $sql = "DELETE FROM {$_TABLES['tokens']} WHERE owner_id={$_USER['uid']} AND urlfor='$pageURL'"; + DB_Query($sql); + + /* Create a token for this user/url combination */ + /* NOTE: TTL mapping for PageURL not yet implemented */ + $sql = "INSERT INTO {$_TABLES['tokens']} (token, created, owner_id, urlfor, ttl) " + . "VALUES ('$token', NOW(), {$_USER['uid']}, '$pageURL', 0)"; + DB_Query($sql); + + /* And return the token to the user */ + return $token; + } + + /** + * Check a security token. + * + * Checks the POST and GET data for a security token, if one exists, validates that it's for this + * user and URL. + * + * @return bool true iff the token is valid and for this user. + */ + function SEC_checkToken() + { + global $_USER, $_TABLES; + + $token = ''; // Default to no token. + $return = false; // Default to fail. + + if(array_key_exists('token', $_GET)) { + $token = COM_applyFilter($_GET['token']); + } else if(array_key_exists('token', $_POST)) { + $token = COM_applyFilter($_POST['token']); + } + + if(trim($token) != '') { + $sql = "SELECT ((DATE_ADD(created, INTERVAL ttl SECOND) < NOW()) AND ttl > 0) as expired, owner_id, urlfor FROM " + . "{$_TABLES['tokens']} WHERE token='$token'"; + $tokens = DB_Query($sql); + $numberOfTokens = DB_numRows($tokens); + if($numberOfTokens != 1) { + $return = false; // none, or multiple tokens. Both are invalid. (token is unique key...) + } else { + $tokendata = DB_fetchArray($tokens); + /* Check that: + * token's user is the current user. + * token is not expired. + * the http referer is the url for which the token was created. + */ + if( $_USER['uid'] != $tokendata['owner_id'] ) { + $return = false; + } else if($tokendata['urlfor'] != $_SERVER['HTTP_REFERER']) { + $return = false; + } else if($tokendata['expired']) { + $return = false; + } else { + $return = true; // Everything is AOK in only one condition... + } + + // It's a one time token. So eat it. + $sql = "DELETE FROM {$_TABLES['tokens']} WHERE token='$token'"; + DB_Query($sql); + } + } else { + $return = false; // no token. + } + + return $return; + } + ?> Index: lib-admin.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-admin.php,v retrieving revision 1.127 retrieving revision 1.128 diff -C2 -d -r1.127 -r1.128 *** lib-admin.php 20 Feb 2008 20:07:59 -0000 1.127 --- lib-admin.php 21 Feb 2008 19:52:53 -0000 1.128 *************** *** 590,594 **** ! function ADMIN_getListField_blocks($fieldname, $fieldvalue, $A, $icon_arr) { global $_CONF, $LANG_ADMIN, $LANG21, $_IMAGE_TYPE; --- 590,594 ---- ! function ADMIN_getListField_blocks($fieldname, $fieldvalue, $A, $icon_arr, $token) { global $_CONF, $LANG_ADMIN, $LANG21, $_IMAGE_TYPE; *************** *** 639,645 **** $retval.="\"\""" ."" ! ."\"{$LANG21[58]}\""" ! ."\"$moveTitleMsg\""" ! ."\"{$LANG21[57]}\""" .""; } --- 639,645 ---- $retval.="\"\""" ."" ! ."\"{$LANG21[58]}\""" ! ."\"$moveTitleMsg\""" ! ."\"{$LANG21[57]}\""" .""; } From mjervis at qs1489.pair.com Fri Feb 22 03:04:35 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 22 Feb 2008 08:04:35 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-database.php,1.50,1.51 Message-ID: <20080222080435.BBA1C10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv5383/system Modified Files: lib-database.php Log Message: Security changes. Index: lib-database.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-database.php,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** lib-database.php 3 Feb 2008 09:22:05 -0000 1.50 --- lib-database.php 22 Feb 2008 08:04:33 -0000 1.51 *************** *** 75,78 **** --- 75,79 ---- $_TABLES['storysubmission'] = $_DB_table_prefix . 'storysubmission'; $_TABLES['syndication'] = $_DB_table_prefix . 'syndication'; + $_TABLES['tokens'] = $_DB_table_prefix . 'tokens'; $_TABLES['topics'] = $_DB_table_prefix . 'topics'; $_TABLES['trackback'] = $_DB_table_prefix . 'trackback'; From mjervis at qs1489.pair.com Fri Feb 22 03:22:44 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 22 Feb 2008 08:22:44 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-security.php,1.63,1.64 Message-ID: <20080222082244.9418A10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv6028/system Modified Files: lib-security.php Log Message: COM_getCurrentURL not my own rubbish... Index: lib-security.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-security.php,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** lib-security.php 21 Feb 2008 19:52:53 -0000 1.63 --- lib-security.php 22 Feb 2008 08:22:42 -0000 1.64 *************** *** 1051,1064 **** /* Figure out the full url to the current page */ ! $pageURL = 'http'; ! if ($_SERVER["HTTPS"] == "on") { ! $pageURL .= "s"; ! } ! $pageURL .= "://"; ! if ($_SERVER["SERVER_PORT"] != "80") { ! $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; ! } else { ! $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; ! } /* Generate the token */ --- 1051,1055 ---- /* Figure out the full url to the current page */ ! $pageURL = COM_getCurrentURL(); /* Generate the token */ From dhaun at qs1489.pair.com Sun Feb 24 03:54:54 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 08:54:54 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.680,1.681 Message-ID: <20080224085454.37D9210FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv19113/public_html Modified Files: lib-common.php Log Message: Cleanup: handle undefined $what; removed commented-out
      ...
    Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.680 retrieving revision 1.681 diff -C2 -d -r1.680 -r1.681 *** lib-common.php 20 Feb 2008 20:07:58 -0000 1.680 --- lib-common.php 24 Feb 2008 08:54:51 -0000 1.681 *************** *** 1397,1401 **** * This can be used to take control over what blocks are then displayed */ ! if( is_array( $what )) { $function = $what[0]; --- 1397,1401 ---- * This can be used to take control over what blocks are then displayed */ ! if( isset( $what) && is_array( $what )) { $function = $what[0]; *************** *** 1409,1413 **** } } ! else if( $what <> 'none' ) { // Now show any blocks -- need to get the topic if not on home page --- 1409,1413 ---- } } ! else if( !isset( $what ) || ( $what <> 'none' )) { // Now show any blocks -- need to get the topic if not on home page *************** *** 2335,2339 **** $retval .= COM_startBlock( $LANG01[47], $help, COM_getBlockTemplate( 'user_block', 'header' )); - // $retval .= '
      '; $login = new Template( $_CONF['path_layout'] ); $login->set_file( 'form', 'loginform.thtml' ); --- 2335,2338 ---- *************** *** 2400,2404 **** $retval .= $login->parse( 'output', 'form' ); - // $retval .= '
    '; $retval .= COM_endBlock( COM_getBlockTemplate( 'user_block', 'footer' )); } --- 2399,2402 ---- From dhaun at qs1489.pair.com Sun Feb 24 05:55:51 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 10:55:51 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php, 1.681, 1.682 users.php, 1.163, 1.164 Message-ID: <20080224105551.792D710FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv23903/public_html Modified Files: lib-common.php users.php Log Message: Allow disabling the standard login and forcing users to use remote authentication instead (loosely based on a patch by Jessica Blank) Index: users.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/users.php,v retrieving revision 1.163 retrieving revision 1.164 diff -C2 -d -r1.163 -r1.164 *** users.php 20 Feb 2008 20:07:59 -0000 1.163 --- users.php 24 Feb 2008 10:55:49 -0000 1.164 *************** *** 626,631 **** if ($_CONF['user_login_method']['3rdparty'] && !$_CONF['usersubmission']) { /* Build select */ ! $select = ''; ! if ($_CONF['user_login_method']['standard']) { ! $select .= ''; ! } if (is_dir($_CONF['path_system'].'classes/authentication/')) { *************** *** 1041,1045 **** $uid = ''; if (!empty($loginname) && !empty($passwd) && empty($service)) { ! $status = SEC_authenticate($loginname, $passwd, $uid); } elseif (( $_CONF['usersubmission'] == 0) && $_CONF['user_login_method']['3rdparty'] && ($service != '')) { --- 1043,1051 ---- $uid = ''; if (!empty($loginname) && !empty($passwd) && empty($service)) { ! if (empty($service) && $_CONF['user_login_method']['standard']) { ! $status = SEC_authenticate($loginname, $passwd, $uid); ! } else { ! $status = -1; ! } } elseif (( $_CONF['usersubmission'] == 0) && $_CONF['user_login_method']['3rdparty'] && ($service != '')) { Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.681 retrieving revision 1.682 diff -C2 -d -r1.681 -r1.682 *** lib-common.php 24 Feb 2008 08:54:51 -0000 1.681 --- lib-common.php 24 Feb 2008 10:55:49 -0000 1.682 *************** *** 2358,2363 **** { // Build select ! $select = ''; ! if ($_CONF['user_login_method']['standard']) { ! $select .= ''; ! } if( is_dir( $_CONF['path_system'] . 'classes/authentication/' )) { From dhaun at qs1489.pair.com Sun Feb 24 10:41:53 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 15:41:53 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/links install.php, 1.22, 1.23 Message-ID: <20080224154153.63F5E10FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links In directory qs1489.pair.com:/tmp/cvs-serv37015/public_html/admin/plugins/links Modified Files: install.php Log Message: Don't add the Links plugin's topic_links / topic_categories block by default (and fixed their uninstall) Index: install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links/install.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** install.php 3 Feb 2008 19:11:50 -0000 1.22 --- install.php 24 Feb 2008 15:41:51 -0000 1.23 *************** *** 140,147 **** $L_SQL[] = "INSERT INTO {$_TABLES['links']} (lid, cid, url, description, title, hits, date, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('geeklog.net', 'geeklog-sites', 'http://www.geeklog.net/', 'Visit the Geeklog homepage for support, FAQs, updates, add-ons, and a great community.', 'Geeklog Project Homepage', 123, NOW(), 1, #group#, 3, 3, 2, 2);"; - $L_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_links', 'phpblock', 'Topic Links', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_links', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; - - $L_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_categories', 'phpblock', 'Topic Categories', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_categories', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; - foreach ($L_SQL as $sql) { $sql = str_replace('#group#', $admin_group_id, $sql); --- 140,143 ---- From dhaun at qs1489.pair.com Sun Feb 24 10:41:53 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 15:41:53 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mysql_1.4.1_to_1.5.0.php, 1.65, 1.66 Message-ID: <20080224154153.7154D10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv37015/sql/updates Modified Files: mysql_1.4.1_to_1.5.0.php Log Message: Don't add the Links plugin's topic_links / topic_categories block by default (and fixed their uninstall) Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** mysql_1.4.1_to_1.5.0.php 21 Feb 2008 19:52:53 -0000 1.65 --- mysql_1.4.1_to_1.5.0.php 24 Feb 2008 15:41:51 -0000 1.66 *************** *** 575,580 **** $P_SQL[] = "ALTER TABLE {$_TABLES['links']} CHANGE category cid varchar(32) NOT NULL"; $P_SQL[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('{$root}', 'root', 'Root', 'Website root', NULL, NOW(), NOW(), 5, 2, 3, 3, 2, 2)"; - $P_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_links', 'phpblock', 'Topic Links', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_links', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; - $P_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_categories', 'phpblock', 'Topic Categories', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_categories', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; $P_SQL[] = "UPDATE {$_TABLES['plugins']} SET pi_version = '2.0.0', pi_gl_version='1.5.0' WHERE pi_name='links'"; --- 575,578 ---- From dhaun at qs1489.pair.com Sun Feb 24 10:41:53 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 15:41:53 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mysql_1.4.1_to_1.5.0.php, 1.65, 1.66 Message-ID: <20080224154153.7154D10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv37015/sql/updates Modified Files: mysql_1.4.1_to_1.5.0.php Log Message: Don't add the Links plugin's topic_links / topic_categories block by default (and fixed their uninstall) Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** mysql_1.4.1_to_1.5.0.php 21 Feb 2008 19:52:53 -0000 1.65 --- mysql_1.4.1_to_1.5.0.php 24 Feb 2008 15:41:51 -0000 1.66 *************** *** 575,580 **** $P_SQL[] = "ALTER TABLE {$_TABLES['links']} CHANGE category cid varchar(32) NOT NULL"; $P_SQL[] = "INSERT INTO {$_TABLES['linkcategories']} (cid, pid, category, description, tid, created, modified, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('{$root}', 'root', 'Root', 'Website root', NULL, NOW(), NOW(), 5, 2, 3, 3, 2, 2)"; - $P_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_links', 'phpblock', 'Topic Links', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_links', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; - $P_SQL[] = "INSERT INTO {$_TABLES['blocks']} (is_enabled, name, type, title, tid, blockorder, content, allow_autotags, rdfurl, rdfupdated, rdflimit, onleft, phpblockfn, help, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon) VALUES (1, 'links_topic_categories', 'phpblock', 'Topic Categories', 'all', 0, '', 0, '', '0000-00-00 00:00:00', 0, 0, 'phpblock_topic_categories', '', 2, {$blockadmin_id}, 3, 3, 2, 2)"; $P_SQL[] = "UPDATE {$_TABLES['plugins']} SET pi_version = '2.0.0', pi_gl_version='1.5.0' WHERE pi_name='links'"; --- 575,578 ---- From dhaun at qs1489.pair.com Sun Feb 24 10:41:53 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 15:41:53 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/links functions.inc,1.104,1.105 Message-ID: <20080224154153.54F7B10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links In directory qs1489.pair.com:/tmp/cvs-serv37015/plugins/links Modified Files: functions.inc Log Message: Don't add the Links plugin's topic_links / topic_categories block by default (and fixed their uninstall) Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/functions.inc,v retrieving revision 1.104 retrieving revision 1.105 diff -C2 -d -r1.104 -r1.105 *** functions.inc 3 Feb 2008 19:11:50 -0000 1.104 --- functions.inc 24 Feb 2008 15:41:51 -0000 1.105 *************** *** 1353,1357 **** 'features' => array('links.edit', 'links.moderate', 'links.submit'), /* give the full name of the block, including 'phpblock_', etc */ ! 'php_blocks' => array('links_topic_categories', 'links_topic_links'), /* give all vars with their name */ 'vars'=> array() --- 1353,1357 ---- 'features' => array('links.edit', 'links.moderate', 'links.submit'), /* give the full name of the block, including 'phpblock_', etc */ ! 'php_blocks' => array('phpblock_topic_categories', 'phpblock_topic_links'), /* give all vars with their name */ 'vars'=> array() From dhaun at qs1489.pair.com Sun Feb 24 11:49:53 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 16:49:53 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.26, 1.27 Message-ID: <20080224164953.DA68610FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install In directory qs1489.pair.com:/tmp/cvs-serv39288/public_html/admin/install Modified Files: config-install.php Log Message: Fixed variable name: 'copyright' -> 'copyrightyear' Index: config-install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** config-install.php 10 Feb 2008 17:09:37 -0000 1.26 --- config-install.php 24 Feb 2008 16:49:51 -0000 1.27 *************** *** 52,56 **** $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('copyright','2007','text',0,0,NULL,1440,FALSE); $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); --- 52,56 ---- $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('copyrightyear','2008','text',0,0,NULL,1440,FALSE); $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); From dhaun at qs1489.pair.com Sun Feb 24 11:49:53 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 16:49:53 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.26, 1.27 Message-ID: <20080224164953.DA68610FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install In directory qs1489.pair.com:/tmp/cvs-serv39288/public_html/admin/install Modified Files: config-install.php Log Message: Fixed variable name: 'copyright' -> 'copyrightyear' Index: config-install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** config-install.php 10 Feb 2008 17:09:37 -0000 1.26 --- config-install.php 24 Feb 2008 16:49:51 -0000 1.27 *************** *** 52,56 **** $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('copyright','2007','text',0,0,NULL,1440,FALSE); $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); --- 52,56 ---- $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('copyrightyear','2008','text',0,0,NULL,1440,FALSE); $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); From dhaun at qs1489.pair.com Sun Feb 24 11:49:53 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 16:49:53 +0000 Subject: [geeklog-cvs] Geeklog-1.x/language english.php, 1.330, 1.331 english_utf-8.php, 1.114, 1.115 german.php, 1.184, 1.185 german_formal.php, 1.89, 1.90 german_formal_utf-8.php, 1.42, 1.43 german_utf-8.php, 1.73, 1.74 japanese.php, 1.39, 1.40 japanese_utf-8.php, 1.23, 1.24 Message-ID: <20080224164953.D7E0A10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/language In directory qs1489.pair.com:/tmp/cvs-serv39288/language Modified Files: english.php english_utf-8.php german.php german_formal.php german_formal_utf-8.php german_utf-8.php japanese.php japanese_utf-8.php Log Message: Fixed variable name: 'copyright' -> 'copyrightyear' Index: german.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/german.php,v retrieving revision 1.184 retrieving revision 1.185 diff -C2 -d -r1.184 -r1.185 *** german.php 27 Jan 2008 10:53:03 -0000 1.184 --- german.php 24 Feb 2008 16:49:51 -0000 1.185 *************** *** 1695,1699 **** 'rdf_language' => "RDF Language", 'syndication_max_headlines' => "Maximum Headlines", ! 'copyright' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", --- 1695,1699 ---- 'rdf_language' => "RDF Language", 'syndication_max_headlines' => "Maximum Headlines", ! 'copyrightyear' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", Index: japanese.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/japanese.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** japanese.php 27 Jan 2008 10:53:03 -0000 1.39 --- japanese.php 24 Feb 2008 16:49:51 -0000 1.40 *************** *** 1711,1715 **** 'rdf_language' => "RSS????", 'syndication_max_headlines' => "????????????????", ! 'copyright' => "????????????????", 'image_lib' => "??????????????", 'path_to_mogrify' => "Mogrify????", --- 1711,1715 ---- 'rdf_language' => "RSS????", 'syndication_max_headlines' => "????????????????", ! 'copyrightyear' => "????????????????", 'image_lib' => "??????????????", 'path_to_mogrify' => "Mogrify????", Index: japanese_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/japanese_utf-8.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** japanese_utf-8.php 27 Jan 2008 10:53:03 -0000 1.23 --- japanese_utf-8.php 24 Feb 2008 16:49:51 -0000 1.24 *************** *** 1711,1715 **** 'rdf_language' => "RSS??????", 'syndication_max_headlines' => "????????????????????????", ! 'copyright' => "????????????????????????", 'image_lib' => "?????????????????????", 'path_to_mogrify' => "Mogrify??????", --- 1711,1715 ---- 'rdf_language' => "RSS??????", 'syndication_max_headlines' => "????????????????????????", ! 'copyrightyear' => "????????????????????????", 'image_lib' => "?????????????????????", 'path_to_mogrify' => "Mogrify??????", Index: german_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/german_utf-8.php,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** german_utf-8.php 27 Jan 2008 10:53:03 -0000 1.73 --- german_utf-8.php 24 Feb 2008 16:49:51 -0000 1.74 *************** *** 1695,1699 **** 'rdf_language' => "RDF Language", 'syndication_max_headlines' => "Maximum Headlines", ! 'copyright' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", --- 1695,1699 ---- 'rdf_language' => "RDF Language", 'syndication_max_headlines' => "Maximum Headlines", ! 'copyrightyear' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", Index: german_formal.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/german_formal.php,v retrieving revision 1.89 retrieving revision 1.90 diff -C2 -d -r1.89 -r1.90 *** german_formal.php 27 Jan 2008 10:53:03 -0000 1.89 --- german_formal.php 24 Feb 2008 16:49:51 -0000 1.90 *************** *** 1701,1705 **** 'rdf_language' => "RDF Language", 'syndication_max_headlines' => "Maximum Headlines", ! 'copyright' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", --- 1701,1705 ---- 'rdf_language' => "RDF Language", 'syndication_max_headlines' => "Maximum Headlines", ! 'copyrightyear' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english_utf-8.php,v retrieving revision 1.114 retrieving revision 1.115 diff -C2 -d -r1.114 -r1.115 *** english_utf-8.php 17 Feb 2008 08:52:40 -0000 1.114 --- english_utf-8.php 24 Feb 2008 16:49:51 -0000 1.115 *************** *** 1721,1725 **** 'rdf_language' => "Feed Language", 'syndication_max_headlines' => 'Max. Number of Headlines (portal blocks)', ! 'copyright' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", --- 1721,1725 ---- 'rdf_language' => "Feed Language", 'syndication_max_headlines' => 'Max. Number of Headlines (portal blocks)', ! 'copyrightyear' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", Index: german_formal_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/german_formal_utf-8.php,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** german_formal_utf-8.php 27 Jan 2008 10:53:03 -0000 1.42 --- german_formal_utf-8.php 24 Feb 2008 16:49:51 -0000 1.43 *************** *** 1700,1704 **** 'rdf_language' => "RDF Language", 'syndication_max_headlines' => "Maximum Headlines", ! 'copyright' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", --- 1700,1704 ---- 'rdf_language' => "RDF Language", 'syndication_max_headlines' => "Maximum Headlines", ! 'copyrightyear' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english.php,v retrieving revision 1.330 retrieving revision 1.331 diff -C2 -d -r1.330 -r1.331 *** english.php 17 Feb 2008 08:52:40 -0000 1.330 --- english.php 24 Feb 2008 16:49:51 -0000 1.331 *************** *** 1721,1725 **** 'rdf_language' => "Feed Language", 'syndication_max_headlines' => 'Max. Number of Headlines (portal blocks)', ! 'copyright' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", --- 1721,1725 ---- 'rdf_language' => "Feed Language", 'syndication_max_headlines' => 'Max. Number of Headlines (portal blocks)', ! 'copyrightyear' => "Copyright Year", 'image_lib' => "Image Library", 'path_to_mogrify' => "Path to Mogrify", From dhaun at qs1489.pair.com Sun Feb 24 11:49:53 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 16:49:53 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mssql_1.4.1_to_1.5.0.php, 1.12, 1.13 mysql_1.4.1_to_1.5.0.php, 1.66, 1.67 Message-ID: <20080224164953.E6F9D10FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv39288/sql/updates Modified Files: mssql_1.4.1_to_1.5.0.php mysql_1.4.1_to_1.5.0.php Log Message: Fixed variable name: 'copyright' -> 'copyrightyear' Index: mssql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mssql_1.4.1_to_1.5.0.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** mssql_1.4.1_to_1.5.0.php 21 Feb 2008 19:52:53 -0000 1.12 --- mssql_1.4.1_to_1.5.0.php 24 Feb 2008 16:49:51 -0000 1.13 *************** *** 211,215 **** $c->add('rdf_language','en-gb','text',0,26,NULL,1420,TRUE); $c->add('syndication_max_headlines',0,'text',0,26,NULL,1430,TRUE); ! $c->add('copyright','2007','text',0,0,NULL,1440,FALSE); $c->add('image_lib','','select',5,27,10,1450,TRUE); $c->add('path_to_mogrify','','text',5,27,NULL,1460,FALSE); --- 211,215 ---- $c->add('rdf_language','en-gb','text',0,26,NULL,1420,TRUE); $c->add('syndication_max_headlines',0,'text',0,26,NULL,1430,TRUE); ! $c->add('copyrightyear','2008','text',0,0,NULL,1440,FALSE); $c->add('image_lib','','select',5,27,10,1450,TRUE); $c->add('path_to_mogrify','','text',5,27,NULL,1460,FALSE); Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** mysql_1.4.1_to_1.5.0.php 24 Feb 2008 15:41:51 -0000 1.66 --- mysql_1.4.1_to_1.5.0.php 24 Feb 2008 16:49:51 -0000 1.67 *************** *** 71,75 **** $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('copyright','2007','text',0,0,NULL,1440,FALSE); $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); --- 71,75 ---- $c->add('microsummary_short','GL: ','text',0,0,NULL,80,TRUE); $c->add('site_disabled_msg','Geeklog Site is down. Please come back soon.','text',0,0,NULL,510,TRUE); ! $c->add('copyrightyear','2008','text',0,0,NULL,1440,FALSE); $c->add('url_rewrite',FALSE,'select',0,0,1,1800,TRUE); From dhaun at qs1489.pair.com Sun Feb 24 12:07:10 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 17:07:10 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.28, 1.29 Message-ID: <20080224170710.4A0E310FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv40824/system/classes Modified Files: config.class.php Log Message: Re-enabled help link (for the core config only, for the moment) Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** config.class.php 17 Feb 2008 08:54:33 -0000 1.28 --- config.class.php 24 Feb 2008 17:07:08 -0000 1.29 *************** *** 466,470 **** foreach ($params as $name => $e) { $fs_contents .= ! $this->_UI_get_conf_element($name, $e['display_name'], $e['type'], --- 466,470 ---- foreach ($params as $name => $e) { $fs_contents .= ! $this->_UI_get_conf_element($grp, $name, $e['display_name'], $e['type'], *************** *** 534,539 **** } ! function _UI_get_conf_element($name, $display_name, $type, $val, ! $selectionArray = null , $deletable=0) { global $LANG_CONFIG; --- 534,539 ---- } ! function _UI_get_conf_element($group, $name, $display_name, $type, $val, ! $selectionArray = null , $deletable = 0) { global $LANG_CONFIG; *************** *** 562,568 **** if ($deletable) { $t->set_var('delete', $t->parse('output', 'delete-button')); ! } elseif (false) { // ??? } elseif ($this->ref == 'Core' ) { ! $t->set_var('unset_link', ! "(X)"); if (($a = strrchr($name, '[')) !== FALSE) { $o = substr($a, 1, -1); --- 562,568 ---- if ($deletable) { $t->set_var('delete', $t->parse('output', 'delete-button')); ! } else { ! //$t->set_var('unset_link', ! // "(X)"); if (($a = strrchr($name, '[')) !== FALSE) { $o = substr($a, 1, -1); *************** *** 576,582 **** $baseUrl = 'http://www.geeklog.net'; } ! $t->set_var('doc_link', ! '(?)'); } } --- 576,587 ---- $baseUrl = 'http://www.geeklog.net'; } ! if ($group == 'Core') { ! $descUrl = $baseUrl . '/docs/config.html#desc_' . $o; ! $t->set_var('doc_url', $descUrl); ! $t->set_var('doc_link', ! '(?)'); ! } else { ! // TBD: link to description of plugin option ! } } } *************** *** 626,630 **** $result = ""; foreach ($val as $valkey => $valval) { ! $result .= config::_UI_get_conf_element($name . '[' . $valkey . ']', $display_name . '[' . $valkey . ']', substr($type, 1), $valval, $selectionArray); --- 631,635 ---- $result = ""; foreach ($val as $valkey => $valval) { ! $result .= config::_UI_get_conf_element($group, $name . '[' . $valkey . ']', $display_name . '[' . $valkey . ']', substr($type, 1), $valval, $selectionArray); *************** *** 640,644 **** $result = ""; foreach ($val as $valkey => $valval) { ! $result .= config::_UI_get_conf_element($name . '[' . $valkey . ']', $valkey, substr($type, 1), $valval, $selectionArray, true); } --- 645,649 ---- $result = ""; foreach ($val as $valkey => $valval) { ! $result .= config::_UI_get_conf_element($group, $name . '[' . $valkey . ']', $valkey, substr($type, 1), $valval, $selectionArray, true); } From dhaun at qs1489.pair.com Sun Feb 24 14:43:55 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 19:43:55 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html usersettings.php, 1.170, 1.171 Message-ID: <20080224194355.BAB8510FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv46118/public_html Modified Files: usersettings.php Log Message: Ease restriction that email addresses have to be unique to make handling of remote / OpenID accounts easier Index: usersettings.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/usersettings.php,v retrieving revision 1.170 retrieving revision 1.171 diff -C2 -d -r1.170 -r1.171 *** usersettings.php 20 Feb 2008 20:07:59 -0000 1.170 --- usersettings.php 24 Feb 2008 19:43:53 -0000 1.171 *************** *** 724,728 **** * @param uid int user id of current user * @return bool true = exists, false = does not exist ! * */ function emailAddressExists ($email, $uid) --- 724,728 ---- * @param uid int user id of current user * @return bool true = exists, false = does not exist ! * @note Allows remote accounts to have duplicate email addresses */ function emailAddressExists ($email, $uid) *************** *** 730,741 **** global $_TABLES; ! $result = DB_query ("SELECT uid FROM {$_TABLES['users']} WHERE email = '{$email}'"); ! $numrows = DB_numRows ($result); ! for ($i = 0; $i < $numrows; $i++) { ! $A = DB_fetchArray ($result); ! if ($A['uid'] != $uid) { ! // email address is already in use for another account ! return true; ! } } --- 730,744 ---- global $_TABLES; ! $old_email = DB_getItem($_TABLES['users'], 'email', "uid = '$uid'"); ! if ($email == $old_email) { ! // email address didn't change so don't care ! return false; ! } ! ! $email = addslashes($email); ! $result = DB_query("SELECT uid FROM {$_TABLES['users']} WHERE email = '$email' AND uid <> '$uid' AND (remoteservice IS NULL OR remoteservice = '')"); ! if (DB_numRows($result) > 0) { ! // email address is already in use for another non-remote account ! return true; } From dhaun at qs1489.pair.com Sun Feb 24 14:43:55 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 19:43:55 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin user.php,1.200,1.201 Message-ID: <20080224194355.D0C0910FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv46118/public_html/admin Modified Files: user.php Log Message: Ease restriction that email addresses have to be unique to make handling of remote / OpenID accounts easier Index: user.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/user.php,v retrieving revision 1.200 retrieving revision 1.201 diff -C2 -d -r1.200 -r1.201 *** user.php 20 Feb 2008 20:07:58 -0000 1.200 --- user.php 24 Feb 2008 19:43:53 -0000 1.201 *************** *** 9,13 **** // | Geeklog user administration page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2007 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | --- 9,13 ---- // | Geeklog user administration page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | *************** *** 470,474 **** } else { $ucount = DB_getItem ($_TABLES['users'], 'COUNT(*)', ! "username = '$uname' AND uid <> $uid AND (remoteservice = '' OR remoteservice is null)"); } } --- 470,474 ---- } else { $ucount = DB_getItem ($_TABLES['users'], 'COUNT(*)', ! "username = '$uname' AND uid <> $uid AND (remoteservice = '' OR remoteservice IS NULL)"); } } *************** *** 478,492 **** } ! $emailaddr = addslashes ($email); ! if (empty ($uid)) { ! $ucount = DB_getItem ($_TABLES['users'], 'COUNT(*)', ! "email = '$emailaddr'"); } else { ! $ucount = DB_getItem ($_TABLES['users'], 'COUNT(*)', ! "email = '$emailaddr' AND uid <> $uid"); } if ($ucount > 0) { // Admin just changed a user's email to one that already exists ! return edituser ($uid, 56); } --- 478,500 ---- } ! $emailaddr = addslashes($email); ! $exclude_remote = " AND (remoteservice IS NULL OR remoteservice = '')"; ! if (empty($uid)) { ! $ucount = DB_getItem($_TABLES['users'], 'COUNT(*)', ! "email = '$emailaddr'" . $exclude_remote); } else { ! $old_email = DB_getItem($_TABLES['users'], 'email', "uid = '$uid'"); ! if ($old_email == $email) { ! // email address didn't change so don't care ! $ucount = 0; ! } else { ! $ucount = DB_getItem($_TABLES['users'], 'COUNT(*)', ! "email = '$emailaddr' AND uid <> $uid" ! . $exclude_remote); ! } } if ($ucount > 0) { // Admin just changed a user's email to one that already exists ! return edituser($uid, 56); } From dhaun at qs1489.pair.com Sun Feb 24 14:43:55 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 19:43:55 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history,1.607,1.608 Message-ID: <20080224194355.F23F010FE16@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv46118/public_html/docs Modified Files: history Log Message: Ease restriction that email addresses have to be unique to make handling of remote / OpenID accounts easier Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.607 retrieving revision 1.608 diff -C2 -d -r1.607 -r1.608 *** history 20 Feb 2008 20:27:25 -0000 1.607 --- history 24 Feb 2008 19:43:53 -0000 1.608 *************** *** 3,10 **** ??? ??, 2008 (1.5.0) ------------ - Bug: Email user form doesn't display correctly with " in subject when sending is failed due to incomplete fields. [Mike] ! - Bugs: Ensure that site_url, site_admin_url, layout_url and xhtml available to all ! templates. [Mike] - Support for [raw][/raw] tag in HTML post mode. All the benefits of code and pre, with none of the ugly styling. [Mike] --- 3,12 ---- ??? ??, 2008 (1.5.0) ------------ + - Ease restriction that email addresses have to be unique: Remote accounts can + have non-unique addresses, on-site accounts can't [Dirk] - Bug: Email user form doesn't display correctly with " in subject when sending is failed due to incomplete fields. [Mike] ! - Bugs: Ensure that site_url, site_admin_url, layout_url and xhtml available to ! all templates. [Mike] - Support for [raw][/raw] tag in HTML post mode. All the benefits of code and pre, with none of the ugly styling. [Mike] From dhaun at qs1489.pair.com Sun Feb 24 14:43:55 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 19:43:55 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin user.php,1.200,1.201 Message-ID: <20080224194355.D0C0910FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv46118/public_html/admin Modified Files: user.php Log Message: Ease restriction that email addresses have to be unique to make handling of remote / OpenID accounts easier Index: user.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/user.php,v retrieving revision 1.200 retrieving revision 1.201 diff -C2 -d -r1.200 -r1.201 *** user.php 20 Feb 2008 20:07:58 -0000 1.200 --- user.php 24 Feb 2008 19:43:53 -0000 1.201 *************** *** 9,13 **** // | Geeklog user administration page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2007 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | --- 9,13 ---- // | Geeklog user administration page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | *************** *** 470,474 **** } else { $ucount = DB_getItem ($_TABLES['users'], 'COUNT(*)', ! "username = '$uname' AND uid <> $uid AND (remoteservice = '' OR remoteservice is null)"); } } --- 470,474 ---- } else { $ucount = DB_getItem ($_TABLES['users'], 'COUNT(*)', ! "username = '$uname' AND uid <> $uid AND (remoteservice = '' OR remoteservice IS NULL)"); } } *************** *** 478,492 **** } ! $emailaddr = addslashes ($email); ! if (empty ($uid)) { ! $ucount = DB_getItem ($_TABLES['users'], 'COUNT(*)', ! "email = '$emailaddr'"); } else { ! $ucount = DB_getItem ($_TABLES['users'], 'COUNT(*)', ! "email = '$emailaddr' AND uid <> $uid"); } if ($ucount > 0) { // Admin just changed a user's email to one that already exists ! return edituser ($uid, 56); } --- 478,500 ---- } ! $emailaddr = addslashes($email); ! $exclude_remote = " AND (remoteservice IS NULL OR remoteservice = '')"; ! if (empty($uid)) { ! $ucount = DB_getItem($_TABLES['users'], 'COUNT(*)', ! "email = '$emailaddr'" . $exclude_remote); } else { ! $old_email = DB_getItem($_TABLES['users'], 'email', "uid = '$uid'"); ! if ($old_email == $email) { ! // email address didn't change so don't care ! $ucount = 0; ! } else { ! $ucount = DB_getItem($_TABLES['users'], 'COUNT(*)', ! "email = '$emailaddr' AND uid <> $uid" ! . $exclude_remote); ! } } if ($ucount > 0) { // Admin just changed a user's email to one that already exists ! return edituser($uid, 56); } From dhaun at qs1489.pair.com Sun Feb 24 16:22:44 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 24 Feb 2008 21:22:44 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin group.php,1.98,1.99 Message-ID: <20080224212244.8236E10FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv49917/public_html/admin Modified Files: group.php Log Message: Added a sanity check to prevent all groups from being deleted after a problem with multi-byte group names (reported by mystral_kk); needs more research ... Index: group.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/group.php,v retrieving revision 1.98 retrieving revision 1.99 diff -C2 -d -r1.98 -r1.99 *** group.php 25 Nov 2007 06:58:55 -0000 1.98 --- group.php 24 Feb 2008 21:22:42 -0000 1.99 *************** *** 3,7 **** /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.4 | // +---------------------------------------------------------------------------+ // | group.php | --- 3,7 ---- /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ ! // | Geeklog 1.5 | // +---------------------------------------------------------------------------+ // | group.php | *************** *** 9,13 **** // | Geeklog group administration page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2006 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | --- 9,13 ---- // | Geeklog group administration page. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | *************** *** 473,476 **** --- 473,486 ---- "$grp_id,'$grp_name','$grp_descr',$grp_gl_core"); $new_group = false; + } + + if (empty($grp_id) || ($grp_id < 1)) { + // "this shouldn't happen" + COM_errorLog("Internal error: invalid group id"); + $retval .= COM_siteHeader('menu', $LANG_ACCESS['groupeditor']); + $retval .= COM_showMessage(95); + $retval .= COM_siteFooter(); + + return $retval; } From mjervis at qs1489.pair.com Fri Feb 29 03:22:55 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 29 Feb 2008 08:22:55 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/links index.php, 1.55, 1.56 Message-ID: <20080229082255.0546210FE14@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links In directory qs1489.pair.com:/tmp/cvs-serv4301/public_html/admin/plugins/links Modified Files: index.php Log Message: Security change refinement + implementation for other issues. Index: index.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links/index.php,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** index.php 13 Jan 2008 11:56:09 -0000 1.55 --- index.php 29 Feb 2008 08:22:52 -0000 1.56 *************** *** 54,57 **** --- 54,58 ---- require_once '../../../lib-common.php'; require_once '../../auth.inc.php'; + require_once $_CONF['path_system'] . 'lib-security.php'; // Uncomment the lines below if you need to debug the HTTP variables being passed *************** *** 366,385 **** $validate = ''; ! if (isset($_GET['validate'])) { $menu_arr[] = array('url' => $_CONF['site_admin_url'] . '/plugins/links/index.php', 'text' => $LANG_LINKS_ADMIN[53]); ! $dovalidate_url = $_CONF['site_admin_url'] . '/plugins/links/index.php?validate=validate'; $dovalidate_text = $LANG_LINKS_ADMIN[58]; $form_arr['top'] = COM_createLink($dovalidate_text, $dovalidate_url); if ($_GET['validate'] == 'enabled') { $header_arr[] = array('text' => $LANG_LINKS_ADMIN[27], 'field' => 'beforevalidate', 'sort' => false); ! $validate = '?validate=enabled'; } else if ($_GET['validate'] == 'validate'){ $header_arr[] = array('text' => $LANG_LINKS_ADMIN[27], 'field' => 'dovalidate', 'sort' => false); ! $validate = '?validate=validate'; } $validate_help = $LANG_LINKS_ADMIN[59]; } else { ! $menu_arr[] = array('url' => $_CONF['site_admin_url'] . '/plugins/links/index.php?validate=enabled', 'text' => $LANG_LINKS_ADMIN[26]); $form_arr = array(); --- 367,388 ---- $validate = ''; ! $token = SEC_createToken(); ! if (isset($_GET['validate']) && SEC_checkToken()) { $menu_arr[] = array('url' => $_CONF['site_admin_url'] . '/plugins/links/index.php', 'text' => $LANG_LINKS_ADMIN[53]); ! $dovalidate_url = $_CONF['site_admin_url'] . '/plugins/links/index.php?validate=validate' ! . '&'.CSRF_TOKEN.'='.$token; $dovalidate_text = $LANG_LINKS_ADMIN[58]; $form_arr['top'] = COM_createLink($dovalidate_text, $dovalidate_url); if ($_GET['validate'] == 'enabled') { $header_arr[] = array('text' => $LANG_LINKS_ADMIN[27], 'field' => 'beforevalidate', 'sort' => false); ! $validate = '?validate=enabled&'.CSRF_TOKEN.'='.$token; } else if ($_GET['validate'] == 'validate'){ $header_arr[] = array('text' => $LANG_LINKS_ADMIN[27], 'field' => 'dovalidate', 'sort' => false); ! $validate = '?validate=validate&'.CSRF_TOKEN.'='.$token; } $validate_help = $LANG_LINKS_ADMIN[59]; } else { ! $menu_arr[] = array('url' => $_CONF['site_admin_url'] . '/plugins/links/index.php?validate=enabled&'.CSRF_TOKEN.'='.$token, 'text' => $LANG_LINKS_ADMIN[26]); $form_arr = array(); From mjervis at qs1489.pair.com Fri Feb 29 03:22:54 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 29 Feb 2008 08:22:54 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin database.php, 1.45, 1.46 Message-ID: <20080229082254.EBAF410FE12@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv4301/public_html/admin Modified Files: database.php Log Message: Security change refinement + implementation for other issues. Index: database.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/database.php,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** database.php 25 Nov 2007 06:58:55 -0000 1.45 --- database.php 29 Feb 2008 08:22:52 -0000 1.46 *************** *** 37,40 **** --- 37,41 ---- require_once '../lib-common.php'; require_once 'auth.inc.php'; + require_once $_CONF['path_system'] . 'lib-security.php'; /** *************** *** 112,116 **** $menu_arr = array( array('url' => $_CONF['site_admin_url'] ! . '/database.php?mode=backup', 'text' => $LANG_ADMIN['create_new']), array('url' => $_CONF['site_admin_url'], --- 113,117 ---- $menu_arr = array( array('url' => $_CONF['site_admin_url'] ! . '/database.php?mode=backup&'.CSRF_TOKEN.'='.SEC_createToken(), 'text' => $LANG_ADMIN['create_new']), array('url' => $_CONF['site_admin_url'], *************** *** 285,289 **** --- 286,292 ---- if ($mode == 'backup') { // Perform the backup if asked + if (SEC_checkToken()) { $display .= dobackup(); + } } else if ($mode == 'delete') { foreach ($_POST['delitem'] as $delfile) { From mjervis at qs1489.pair.com Fri Feb 29 03:22:55 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 29 Feb 2008 08:22:55 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-admin.php, 1.128, 1.129 lib-security.php, 1.64, 1.65 Message-ID: <20080229082255.1C8F910FE15@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv4301/system Modified Files: lib-admin.php lib-security.php Log Message: Security change refinement + implementation for other issues. Index: lib-security.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-security.php,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** lib-security.php 22 Feb 2008 08:22:42 -0000 1.64 --- lib-security.php 29 Feb 2008 08:22:53 -0000 1.65 *************** *** 74,77 **** --- 74,82 ---- define('USER_ACCOUNT_ACTIVE', 3); // active account + /* Constant for Security Token */ + if (!defined('CSRF_TOKEN')) { + define('CSRF_TOKEN', '_glsectoken'); + } + /** * Returns the groups a user belongs to *************** *** 1092,1099 **** $return = false; // Default to fail. ! if(array_key_exists('token', $_GET)) { ! $token = COM_applyFilter($_GET['token']); ! } else if(array_key_exists('token', $_POST)) { ! $token = COM_applyFilter($_POST['token']); } --- 1097,1104 ---- $return = false; // Default to fail. ! if(array_key_exists(CSRF_TOKEN, $_GET)) { ! $token = COM_applyFilter($_GET[CSRF_TOKEN]); ! } else if(array_key_exists(CSRF_TOKEN, $_POST)) { ! $token = COM_applyFilter($_POST[CSRF_TOKEN]); } Index: lib-admin.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-admin.php,v retrieving revision 1.128 retrieving revision 1.129 diff -C2 -d -r1.128 -r1.129 *** lib-admin.php 21 Feb 2008 19:52:53 -0000 1.128 --- lib-admin.php 29 Feb 2008 08:22:53 -0000 1.129 *************** *** 639,645 **** $retval.="\"\""" ."" ! ."\"{$LANG21[58]}\""" ! ."\"$moveTitleMsg\""" ! ."\"{$LANG21[57]}\""" .""; } --- 639,645 ---- $retval.="\"\""" ."" ! ."\"{$LANG21[58]}\""" ! ."\"$moveTitleMsg\""" ! ."\"{$LANG21[57]}\""" .""; }