You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2008-03-14 20:41:55
|
Update of /cvsroot/mxbb/mx_news/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1852 Modified Files: admin_mx_news.php Log Message: Now virtual page compatible Lots of code cleanup Index: admin_mx_news.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/admin/admin_mx_news.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_mx_news.php 21 Feb 2008 22:50:41 -0000 1.3 --- admin_mx_news.php 14 Mar 2008 20:41:51 -0000 1.4 *************** *** 105,109 **** $actions = array( 'setting' => 'setting' ! ); // --- 105,109 ---- $actions = array( 'setting' => 'setting' ! ); // |
|
From: Jon O. <jon...@us...> - 2008-03-14 20:41:03
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1085 Modified Files: mx_functions_tools.php Log Message: removed text formatting in autogenerated comments Index: mx_functions_tools.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_tools.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** mx_functions_tools.php 29 Feb 2008 00:54:10 -0000 1.24 --- mx_functions_tools.php 14 Mar 2008 20:40:58 -0000 1.25 *************** *** 19,24 **** // if ((PORTAL_BACKEND !== 'phpbb3') && !function_exists('bbencode_second_pass')) ! { ! mx_page::load_file('bbcode'); } --- 19,24 ---- // if ((PORTAL_BACKEND !== 'phpbb3') && !function_exists('bbencode_second_pass')) ! { ! mx_page::load_file('bbcode'); } *************** *** 143,158 **** if ((PORTAL_BACKEND !== 'phpbb3') && !function_exists('bbencode_second_pass')) ! { ! mx_page::load_file('bbcode'); } // // BBCode if reqd ! // if (PORTAL_BACKEND == 'phpbb3') ! { /* if (!class_exists('bbcode')) ! { mx_page::load_file('bbcode'); } --- 143,158 ---- if ((PORTAL_BACKEND !== 'phpbb3') && !function_exists('bbencode_second_pass')) ! { ! mx_page::load_file('bbcode'); } // // BBCode if reqd ! // if (PORTAL_BACKEND == 'phpbb3') ! { /* if (!class_exists('bbcode')) ! { mx_page::load_file('bbcode'); } *************** *** 3682,3686 **** function u_post() { ! return mx_append_sid($this->u_post); } --- 3682,3688 ---- function u_post() { ! global $mx_request_vars; ! $more = $mx_request_vars->is_request('virtual') ? '&virtual=' . $mx_request_vars->request('virtual', MX_TYPE_INT, 0) : ''; ! return mx_append_sid($this->u_post . $more); } *************** *** 3693,3697 **** function u_edit($cid) { ! return mx_append_sid($this->u_edit . '&cid='.$cid ); } --- 3695,3701 ---- function u_edit($cid) { ! global $mx_request_vars; ! $more = $mx_request_vars->is_request('virtual') ? '&virtual=' . $mx_request_vars->request('virtual', MX_TYPE_INT, 0) : ''; ! return mx_append_sid($this->u_edit . '&cid='.$cid .$more); } *************** *** 3704,3708 **** function u_delete($cid) { ! return mx_append_sid($this->u_delete . '&cid='.$cid); } --- 3708,3714 ---- function u_delete($cid) { ! global $mx_request_vars; ! $more = $mx_request_vars->is_request('virtual') ? '&virtual=' . $mx_request_vars->request('virtual', MX_TYPE_INT, 0) : ''; ! return mx_append_sid($this->u_delete . '&cid='.$cid .$more); } *************** *** 3715,3719 **** function u_pagination($page_num) { ! return $this->u_pagination . $page_num; } --- 3721,3727 ---- function u_pagination($page_num) { ! global $mx_request_vars; ! $more = $mx_request_vars->is_request('virtual') ? '&virtual=' . $mx_request_vars->request('virtual', MX_TYPE_INT, 0) : ''; ! return $this->u_pagination . $page_num . $more; } *************** *** 3753,3756 **** --- 3761,3765 ---- $this->start = $mx_request_vars->get('start', MX_TYPE_INT, 0); $page_num = $mx_request_vars->get('page_num', MX_TYPE_INT, ''); + $virtual_id = $mx_request_vars->get('virtual', MX_TYPE_INT, 0); // *************** *** 3961,3964 **** --- 3970,3974 ---- $this->start = $mx_request_vars->get('start', MX_TYPE_INT, 0); $page_num = $mx_request_vars->get('page_num', MX_TYPE_INT, ''); + $virtual_id = $mx_request_vars->get('virtual', MX_TYPE_INT, 0); // |
|
From: Jon O. <jon...@us...> - 2008-03-14 20:39:30
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32384 Modified Files: mx_functions_core.php Log Message: Updated add_css_file() method Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** mx_functions_core.php 11 Mar 2008 20:39:36 -0000 1.86 --- mx_functions_core.php 14 Mar 2008 20:39:24 -0000 1.87 *************** *** 3386,3401 **** * @param string $path */ ! function add_css_file() { ! global $mx_block, $theme; ! $style_path = $theme['template_name'] . '/'; ! if ( file_exists($mx_block->module_root_path . 'templates/' . $style_path . $theme['head_stylesheet']) ) { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/' . $style_path . $theme['head_stylesheet']; } else { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/subSilver/' . $theme['head_stylesheet']; } } --- 3386,3415 ---- * @param string $path */ ! function add_css_file($filename = '') { ! global $mx_block, $theme, $mx_user; ! switch (PORTAL_BACKEND) { ! case 'internal': ! case 'phpbb2': ! $style_path = $theme['template_name']; ! break; ! case 'phpbb3': ! $style_path = $theme['style_name']; ! break; ! } ! ! if ( file_exists($mx_block->module_root_path . 'templates/' . $style_path.'/'.(!empty($filename) ? $filename : $theme['head_stylesheet']) )) ! { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/' . $style_path.'/'.(!empty($filename) ? $filename : $theme['head_stylesheet']); ! } ! else if ( file_exists($mx_block->module_root_path . 'templates/' . $mx_user->cloned_template_name.'/'.(!empty($filename) ? $filename : $mx_user->cloned_template_name)) ) ! { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/' . $mx_user->cloned_template_name.'/'.(!empty($filename) ? $filename : $mx_user->cloned_template_name); } else { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/'.$mx_user->default_template_name.'/'.(!empty($filename) ? $filename : $mx_user->default_template_name); } } |
|
From: Jon O. <jon...@us...> - 2008-03-14 19:25:06
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28448 Modified Files: mx_functions_style.php Log Message: Another fix, for block parameters Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** mx_functions_style.php 13 Mar 2008 20:50:56 -0000 1.66 --- mx_functions_style.php 14 Mar 2008 19:24:55 -0000 1.67 *************** *** 201,207 **** if (!empty($module_root_path)) { - $this->module_template_path = ''; $moduleDefault = !empty($mx_user->loaded_default_styles[$mx_block->module_root_path]) ? $mx_user->loaded_default_styles[$mx_block->module_root_path] : $mx_user->default_template_name; $fileSearch = array(); $fileSearch[] = $style_path; // First check current template --- 201,207 ---- if (!empty($module_root_path)) { $moduleDefault = !empty($mx_user->loaded_default_styles[$mx_block->module_root_path]) ? $mx_user->loaded_default_styles[$mx_block->module_root_path] : $mx_user->default_template_name; + $this->debug_paths .= '<br>Module'; $fileSearch = array(); $fileSearch[] = $style_path; // First check current template *************** *** 220,223 **** --- 220,224 ---- // Look at MX-Publisher-Root folder.........................................................................MX-Publisher-Root // + $this->debug_paths .= '<br>CORE'; $fileSearch = array(); $fileSearch[] = $style_path; // First check current template *************** *** 226,230 **** $fileSearch[] = './'; ! $temppath = $this->doFileSearch($fileSearch, $filename, $filename2, 'templates/'); if (!empty($this->module_template_path)) { --- 227,231 ---- $fileSearch[] = './'; ! $temppath = $this->doFileSearch($fileSearch, $filename, $filename2, 'templates/', $mx_root_path); if (!empty($this->module_template_path)) { *************** *** 235,238 **** --- 236,240 ---- // Look at Custom Root folder..............this is used my mx_mod installers too.......this does not use standard templates folders wich are set when the template was re-initialized and defined as custom var // + $this->debug_paths .= '<br>This'; $fileSearch = array(); $fileSearch[] = './'; *************** *** 241,245 **** $fileSearch[] = $mx_user->default_template_name; // Then check Default template ! $temppath = $this->doFileSearch($fileSearch, $filename, $filename2, $this->root); if (!empty($this->module_template_path)) { --- 243,247 ---- $fileSearch[] = $mx_user->default_template_name; // Then check Default template ! $temppath = $this->doFileSearch($fileSearch, $filename, $filename2, $this->root, $mx_root_path); if (!empty($this->module_template_path)) { *************** *** 257,260 **** --- 259,263 ---- case 'internal': case 'phpbb2': + $this->debug_paths .= '<br>phpbb2'; $fileSearch = array(); $fileSearch[] = $style_path; // First check current template *************** *** 274,277 **** --- 277,281 ---- // case 'phpbb3': + $this->debug_paths .= '<br>phpbb3'; $fileSearch = array(); $fileSearch[] = $style_path . '/' . 'theme'; // First check current template *************** *** 306,309 **** --- 310,314 ---- } + echo($this->debug_paths); die("Template->make_filename(): Error - file $filename does not exist. <br />Class-Root: $this->root <br />Module: $module_root_path <br />Current style: $style_path <br />Cloned style: $mx_user->cloned_template_name <br />Default style: $mx_user->default_template_name <br />Custom module default style: $moduleDefault"); } *************** *** 318,325 **** * @return unknown */ ! function doFileSearch($fileSearch, $filename, $filename2, $root, $module_root_path = '', $check_file2 = true) { - global $mx_root_path; - $this->module_template_path = ''; foreach ($fileSearch as $key => $path) --- 323,328 ---- * @return unknown */ ! function doFileSearch($fileSearch, $filename, $filename2, $root, $root_path = '', $check_file2 = true) { $this->module_template_path = ''; foreach ($fileSearch as $key => $path) *************** *** 327,341 **** if (!empty($path)) { ! if( file_exists($mx_root_path . $module_root_path . $root . $path . '/' . $filename) ) { ! $this->module_template_path = $mx_root_path . $root . $path . '/'; ! return $mx_root_path . $module_root_path . $root . $path . '/' . $filename; } if ($check_file2) { ! if( file_exists($mx_root_path . $module_root_path . $root . $path . '/' . $filename2) ) { ! $this->module_template_path = $mx_root_path . $root . $path . '/'; ! return $mx_root_path . $module_root_path . $root . $path . '/' . $filename2; } } --- 330,345 ---- if (!empty($path)) { ! $this->debug_paths .= '<br>' . $root_path . $root . $path . '/' . $filename; ! if( file_exists($root_path . $root . $path . '/' . $filename) ) { ! $this->module_template_path = $root . $path . '/'; ! return $root_path . $root . $path . '/' . $filename; } if ($check_file2) { ! if( file_exists($root_path . $root . $path . '/' . $filename2) ) { ! $this->module_template_path = $root . $path . '/'; ! return $root_path . $root . $path . '/' . $filename2; } } *************** *** 343,357 **** else if ($path == './') { ! if( file_exists($mx_root_path . $module_root_path . $root . $filename) ) { ! $this->module_template_path = $mx_root_path . $root; ! return $mx_root_path . $module_root_path . $root . $filename; } if ($check_file2) { ! if( file_exists($mx_root_path . $module_root_path . $root . $filename2) ) { ! $this->module_template_path = $mx_root_path . $root; ! return $mx_root_path . $module_root_path . $root . $filename2; } } --- 347,361 ---- else if ($path == './') { ! if( file_exists($root_path . $root . $filename) ) { ! $this->module_template_path = $root; ! return $root_path . $root . $filename; } if ($check_file2) { ! if( file_exists($root_path . $root . $filename2) ) { ! $this->module_template_path = $root; ! return $root_path . $root . $filename2; } } |
|
From: OryNider <ory...@us...> - 2008-03-14 14:24:39
|
Update of /cvsroot/mxbb/mx_smartor/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14976/templates/_core Added Files: mx_smartor.cfg mx_smartor.css Removed Files: _core.cfg Log Message: i fogot to commit this somehow --- NEW FILE: mx_smartor.cfg --- <?php /** * * @package mxBB Portal Module - mx_smartor * @version $Id: mx_smartor.cfg,v 1.1 2008/03/14 14:24:31 orynider Exp $ * @copyright (c) 2002-2006 mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // *** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: mx_smartor.cfg,v 1.1 2008/03/14 14:24:31 orynider Exp $ // // Please note that to enable support of different languages // the ". LANG ." place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // if( !defined('MX_TEMPLATE_CONFIG')) { define(MX_TEMPLATE_CONFIG, TRUE); } $mx_template_config = true; $mx_template_name = '_core'; // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- // if ( empty($current_template_path) ) { $current_template_path = "templates/". $mx_template_name; } $mx_template_images = PORTAL_URL . $current_template_path . "/images"; $current_module_images = PORTAL_URL . $module_root_path . "templates/". $mx_template_name ."/images"; $current_template_phpbb_images = PHPBB_URL . "templates/". $mx_template_name ."/images"; // phpBB graphics template // ------------------------------------------------------------------------- // (Re)Define images // ------------------------------------------------------------------------- // Rss Feed Site Images - BEGIN $mx_images['logo_url'] = "$mx_template_images/logo.gif"; // Mighty Gorgon - Full Album Pack - BEGIN $mx_images['icon_left_arrow3'] = "$current_module_images/icon_left_arrow3.gif"; $mx_images['icon_right_arrow3'] = "$current_module_images/icon_right_arrow3.gif"; $mx_images['no_thumbnail'] = "$current_module_images/nothumbnail.jpg"; $mx_images['spacer'] = "$current_module_images/spacer.gif"; $mx_images['mini_new_pictures'] = "$current_template_phpbb_images/icon_minipost_new.gif"; $mx_images['mini_all_pic_view_mode'] = "$current_module_images/icon_mini_showall.gif"; $mx_images['icon_album'] = "$current_module_images/{LANG}/icon_album.gif"; $mx_images['manage_pic'] = "$current_module_images/{LANG}/manage_pic.gif"; $mx_images['upload_pic'] = "$current_module_images/{LANG}/upload_pic.gif"; $mx_images['jupload_pic']= "$current_module_images/{LANG}/jupload_pic.gif"; $mx_images['download_pic'] = "$current_module_images/{LANG}/download.gif"; $mx_images['download_all_pic'] = "$current_module_images/{LANG}/download_all.gif"; $mx_images['all_pic_view_mode'] = "$current_module_images/{LANG}/simple_view.gif"; $mx_images['normal_pic_view_mode'] = "$current_module_images/{LANG}/normal_view.gif"; $mx_images['show_all_pics'] = "$current_module_images/{LANG}/show_all_pics.gif"; $mx_images['show_all_ratings'] = "$current_module_images/{LANG}/show_all_ratings.gif"; $mx_images['show_all_comments'] = "$current_module_images/{LANG}/show_all_comments.gif"; $mx_images['orange_dot'] = "$current_module_images/orange_dot.png"; $mx_images['blue_dot'] = "$current_module_images/blue_dot.png"; $mx_images['green_dot'] = "$current_module_images/green_dot.png"; $mx_images['yellow_dot'] = "$current_module_images/yellow_dot.png"; $mx_images['icon_dot'] = "$current_module_images/icon_dot.gif"; $mx_images['default_avatar'] = "$current_module_images/default_avatar.png"; $mx_images['guest_avatar'] = "$current_module_images/{LANG}/guest_avatar.png"; // Use standard phpBB graphics // $mx_images['icon_quote'] = "$current_template_phpbb_images/{LANG}/icon_quote.gif"; $mx_images['icon_edit'] = "$current_template_phpbb_images/{LANG}/icon_edit.gif"; $mx_images['icon_search'] = "$current_template_phpbb_images/{LANG}/icon_search.gif"; $mx_images['icon_profile'] = "$current_template_phpbb_images/{LANG}/icon_profile.gif"; $mx_images['icon_pm'] = "$current_template_phpbb_images/{LANG}/icon_pm.gif"; $mx_images['icon_email'] = "$current_template_phpbb_images/{LANG}/icon_email.gif"; $mx_images['icon_delpost'] = "$current_template_phpbb_images/icon_delete.gif"; $mx_images['icon_ip'] = "$current_template_phpbb_images/{LANG}/icon_ip.gif"; $mx_images['icon_www'] = "$current_template_phpbb_images/{LANG}/icon_www.gif"; $mx_images['icon_icq'] = "$current_template_phpbb_images/{LANG}/icon_icq_add.gif"; $mx_images['icon_aim'] = "$current_template_phpbb_images/{LANG}/icon_aim.gif"; $mx_images['icon_yim'] = "$current_template_phpbb_images/{LANG}/icon_yim.gif"; $mx_images['icon_msnm'] = "$current_template_phpbb_images/{LANG}/icon_msnm.gif"; $mx_images['icon_minipost'] = "$current_template_phpbb_images/icon_minipost.gif"; $mx_images['icon_gotopost'] = "$current_template_phpbb_images/icon_minipost.gif"; $mx_images['icon_minipost_new'] = "$current_template_phpbb_images/icon_minipost_new.gif"; $mx_images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; $mx_images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; $mx_images['forum'] = "$current_template_phpbb_images/folder_big.gif"; $mx_images['forum_new'] = "$current_template_phpbb_images/folder_new_big.gif"; $mx_images['forum_locked'] = "$current_template_phpbb_images/folder_locked_big.gif"; $mx_images['folder'] = "$current_template_phpbb_images/folder.gif"; $mx_images['folder_new'] = "$current_template_phpbb_images/folder_new.gif"; $mx_images['folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; $mx_images['folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; $mx_images['folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; $mx_images['folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; $mx_images['folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; $mx_images['folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; $mx_images['folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; $mx_images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; // // Last Message and Anouncement block compatibility // $images['folder'] = "$current_template_phpbb_images/folder.gif"; $images['folder_new'] = "$current_template_phpbb_images/folder_new.gif"; $images['folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; $images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; $images['folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; $images['folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; $images['folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; $images['folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; $images['folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; $images['folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; $images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; $images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; // // 2.8.0 Gold Anouncement block compatibility // $images['mx_folder'] = "$current_template_phpbb_images/folder.gif"; $images['mx_folder_new'] = "$current_template_phpbb_images/folder_new.gif"; $images['mx_folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; $images['mx_folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; $images['mx_folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; $images['mx_folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; $images['mx_folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; $images['mx_folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; $images['mx_folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; $images['mx_folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; $images['mx_icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; $images['mx_icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; // // Define common theme colors (if not present in db) // $theme['body_bgcolor'] = ( ($theme['body_bgcolor']) ? $theme['body_bgcolor'] : 'FFFFFF' ); $theme['body_text'] = ( ($theme['body_text']) ? $theme['body_text'] : '383B3F' ); $theme['body_link'] = ( ($theme['body_link']) ? $theme['body_link'] : '006699' ); $theme['body_vlink'] = ( ($theme['body_vlink']) ? $theme['body_vlink'] : '006699' ); $theme['body_alink'] = ( ($theme['body_alink']) ? $theme['body_alink'] : '006699' ); $theme['body_hlink'] = ( ($theme['body_hlink']) ? $theme['body_hlink'] : 'f3a625' ); $theme['tr_color1'] = ( ($theme['tr_color1']) ? $theme['tr_color1'] : 'F7EEEE' ); // row1 $theme['tr_color2'] = ( ($theme['tr_color2']) ? $theme['tr_color2'] : 'FBF4F4' ); // row2 $theme['tr_color3'] = ( ($theme['tr_color3']) ? $theme['tr_color3'] : 'f1f1f1' ); // row3 $theme['th_color1'] = ( ($theme['th_color1']) ? $theme['th_color1'] : 'FFA34F' ); // bodyline border color $theme['th_color2'] = ( ($theme['th_color2']) ? $theme['th_color2'] : '333333' ); // forumline border color $theme['th_color3'] = ( ($theme['th_color3']) ? $theme['th_color3'] : 'd1d7dc' ); // boxes border color $theme['td_color1'] = ( ($theme['td_color1']) ? $theme['td_color1'] : 'F7EEEE' ); // code/quote boxes background $theme['td_color2'] = ( ($theme['td_color2']) ? $theme['td_color2'] : 'FBF4F4' ); // post box background $theme['fontface1'] = ( ($theme['fontface1']) ? $theme['fontface1'] : 'Verdana,Arial,Helvetica,sans-serif'); $theme['fontcolor1'] = ( ($theme['fontcolor1']) ? $theme['fontcolor1'] : '383B3F' ); // Main font color $theme['fontcolor2'] = ( ($theme['fontcolor2']) ? $theme['fontcolor2'] : '726363' ); ?> --- _core.cfg DELETED --- --- NEW FILE: mx_smartor.css --- /* Full Album Pack - BEGIN*/ /* Thumbs Frame & Shadow - BEGIN */ .picframe{ display: block; background-color: #FFFFFF; border: 1px solid #555555; padding: 2px 6px 2px 6px; position: relative; bottom: 2px; right: 2px; } .picshadow{ background-color: #888888; color: inherit; margin-left: 4px; margin-top: 4px; } /* Thumbs Frame & Shadow - END */ /* Pic LightBox Preview - BEGIN */ #loader_container { text-align: center; position: absolute; top: 40%; width: 100%; } #loader { font-family: "Trebuchet MS", Verdana, Tahoma, Helvetica, sans; font-size: 10px; color: #000000; background-color: #FFFFFF; padding: 10px 0 16px 0; margin: 0 auto; display: block; width: 135px; border: 1px solid #777777; text-align: left; z-index: 255; } #progress { height: 5px; font-size: 1px; width: 10px; position: relative; top: 1px; left: 10px; background-color: #999999; } #loader_bg { background-color: #EEEEEE; position: relative; top: 8px; left: 8px; height: 7px; width: 113px; font-size: 1px } .border_preview{ font-family: "Trebuchet MS", Verdana, Tahoma, Helvetica, sans; font-size: 16px; color: #444444; padding: 10px 10px 10px 10px; z-index: 100; position: absolute; background: #FFFFFF; border: 2px dotted #336699; } .preview_temp_load { vertical-align: middle; text-align: center; padding: 10px; } .preview_temp_load img{ vertical-align: middle; text-align: center; } /* Pic LightBox Preview - END */ /* ACP - BEGIN */ .forumline_left { background-color: #F8F8F8; border-bottom: 2px #224488 solid; border-left: 2px #224488 solid; } .tab_links, a.tab_links:hover, a.tab_links:link, a.tab_links:active, a.tab_links:visited { font-size: 11px; color: #FF7722; text-decoration: none; } .tab_links_unsel, a.tab_links_unsel:hover, a.tab_links_unsel:link, a.tab_links_unsel:active, a.tab_links_unsel:visited { font-size: 11px; color: #333333; text-decoration: none; } a.tab_links:hover, a.tab_links_unsel:hover { color: #FFFFAA; text-decoration: underline; } .tab_headers, th.tab_headers { color: #FF7722; font-size: 11px; font-weight : bold; padding-left: 4px; padding-right: 8px; border: #003366; border-style: solid; border-width: 1px 1px 0px 1px; background-color: #006699; } .tab_headers_unsel, th.tab_headers_unsel { color: #333333; font-size: 11px; font-weight : bold; padding-left: 4px; padding-right: 8px; border: #336699; border-style: solid; border-width: 1px 1px 0px 1px; background-color: #6699AA; } .tab_border { background-color: #888888; border: 1px; } .filler, th.filler { background-color:#6699AA; background-image:none; } /* ACP - END */ /* MooShow - BEGIN */ /* mooShow 0.01 beta CSS Document */ .mooshow a img { border: none; outline: none; -moz-outline: none; } .mooshow_outerContainer{ position: relative; background-color: #FFFFFF; color: inherit; width: 20px; height: 1px; margin: 0 auto; display: table; } .dropShadowBorder { border-top: 1px solid #FFFFFF; border-right: 1px solid #CCCCCC; border-left: 1px solid #FFFFFF; border-bottom: 1px solid #CCCCCC; } .mooshow { position: inherit; display: none; } .mooshow_loading{ position: absolute; top: 0; left: 0; display: none; /* text-align: center; vertical-align: middle; */ } .mooshow_copyright{ position: absolute; top: 15px; right: 10px; color: #CCCCCC; font-size:9px; } .mooshow_extras{ margin: 0 auto; text-align: left; color:#666666; background-color: inherit; } .mooshow_topNav{ padding-top: 5px; padding-bottom: 15px; text-align: left; font-size: 8px; background-color: inherit; color:#CCCCCC; line-height: 170%; width: 100%; } .mooshow_captions{ background-color: #FFFFFF; color:#999999; margin: 0 auto; text-align: left; line-height:140%; height: 35px; width: 100%; } .mooshow_contentContainer{ background-color:#666666; color: inherit; position: relative; text-align: center; line-height: 0.0; } .mooshow_overlayNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; margin: 0 auto; } .mooshow_prevLink, .mooshow_nextLink{ width: 30%; height: 100%; background: transparent url(../../images/fap/fap_blank.gif) no-repeat; /* Trick IE into showing hover */ outline:none; } .mooshow_prevLink { left: 0; float: left; outline: none; -moz-outline: none;} .mooshow_nextLink { right: 0; float: right; outline: none; -moz-outline: none;} .mooshow_prevLink:hover, .mooshow_prevLink:visited:hover { background: url(../../images/fap/fap_prev.gif) left 100% no-repeat; } .mooshow_nextLink:hover, .mooshow_nextLink:visited:hover { background: url(../../images/fap/fap_next.gif) right 100% no-repeat; } .mooshow_IPTC{ position: absolute; top: 0px; left: 0px; height: auto; background-color: #000; color: #CCCCCC; font-size: 9px; line-height: 140%; text-align: left; filter: alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8; display: none; } .mooshow_IPTCbutton{ position: absolute; top: 0; left: 0; } .mooshow_IPTC_left{ float: left; text-align: right; width: 18%; } .mooshow_IPTC_right{ float: right; text-align: left; width: 80%; } /* MooShow - END */ /* Full Album Pack - END*/ |
Update of /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver/images/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14976/phpbb2/templates/subSilver/images/lang_english Added Files: download.gif download_all.gif guest_avatar.png icon_album.gif index.htm jupload_pic.gif manage_pic.gif normal_view.gif show_all_comments.gif show_all_pics.gif show_all_ratings.gif showall.gif simple_view.gif upload_pic.gif upload_pic_2.gif Log Message: i fogot to commit this somehow --- NEW FILE: show_all_ratings.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: normal_view.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: manage_pic.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: guest_avatar.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: show_all_comments.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: upload_pic_2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: download_all.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jupload_pic.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: download.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: simple_view.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: show_all_pics.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_album.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: showall.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: upload_pic.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
Update of /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14976/phpbb2/templates/subSilver/images Added Files: Thumbs.db blue_dot.png default_avatar.png green_dot.png icon_dot.gif icon_left_arrow.gif icon_left_arrow2.gif icon_left_arrow3.gif icon_mini_album.gif icon_mini_album_13x13.gif icon_mini_showall.gif icon_minipost_new.gif icon_right_arrow.gif icon_right_arrow2.gif icon_right_arrow3.gif index.htm nothumbnail.jpg orange_dot.png spacer.gif yellow_dot.png Log Message: i fogot to commit this somehow --- NEW FILE: icon_left_arrow.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: icon_mini_album_13x13.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Thumbs.db --- (This appears to be a binary file; contents omitted.) --- NEW FILE: yellow_dot.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nothumbnail.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_mini_album.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_right_arrow2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_left_arrow3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_mini_showall.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: green_dot.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: blue_dot.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_right_arrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: orange_dot.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: default_avatar.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_left_arrow2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_right_arrow3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: icon_minipost_new.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14976/phpbb2/templates/subSilver/admin Added Files: album_admin_body_ext.tpl album_admin_otf.tpl album_auth_body.tpl album_cat_body.tpl album_cat_body_debug.tpl album_cat_delete_body.tpl album_cat_new_body.tpl album_cat_select_body.tpl album_clown_sp_body.tpl album_config_body.tpl album_config_clearcache_body.tpl album_config_personal_body.tpl album_personal_body.tpl album_personal_cat_body.tpl album_personal_cat_delete_body.tpl album_personal_cat_new_body.tpl index.htm Log Message: i fogot to commit this somehow --- NEW FILE: album_personal_cat_new_body.tpl --- <script language="JavaScript" type="text/javascript"> <!-- function checkCategoryID() { if ({CATEGORY_ID} == document.acp.cat_parent_id.value && {CATEGORY_ID} != {ROOT_CATEGORY_ID}) { alert("{L_NO_SELF_REFERING}"); return false; } else { switch (document.acp.cat_parent_id.value) { case '{ALBUM_ROOT_CATEGORY}': case '{ALBUM_PUBLIC_GALLERY}': case '{ALBUM_USERS_GALLERY}': case '{ALBUM_JUMPBOX_SEPERATOR}': alert("{L_NO_VALID_CAT_SELECTED}"); return false; default: } } } // --> </script> <form name="acp" action="{S_ALBUM_ACTION}" method="post" onSubmit="return checkCategoryID()"> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td class="nav" width="100%"> <span class="nav"> <a href="{U_PORTAL}" class="nav">{L_HOME}</a> {NAV_SEP} <a href="{U_INDEX}" class="nav">{L_INDEX}</a> {NAV_SEP} <a href="{U_ALBUM}" class="nav">{L_ALBUM}</a> {NAV_SEP} <a href="{U_PERSONAL_ALBUM}" class="nav">{L_PERSONAL_ALBUM}</a> {NAV_SEP} <a href="{U_PERSONAL_CAT_ADMIN}" class="nav">{L_PERSONAL_CAT_ADMIN}</a> </span> </td> </tr> </table> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th colspan="2" class="thHead">{L_PERSONAL_CAT_ADMIN}</th> </tr> <tr> <td class="row1" colspan="2"><br /> <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead" height="25" nowrap="nowrap" colspan="2">{L_PANEL_TITLE}</th> </tr> <tr> <td class="row1" width="20%"><span class="gen">{L_CAT_TITLE}:</span></td> <td class="row2"><input {READ_ONLY} name="cat_title" type="text" class="post" size="35" value="{S_CAT_TITLE}" /></td> </tr> <tr> <td valign="top" nowrap="nowrap" class="row1"><span class="gen">{L_CAT_DESC}: </span></td> <td class="row2"><textarea {READ_ONLY} name="cat_desc" class="post" cols="50" rows="5">{S_CAT_DESC}</textarea></td> </tr> <!-- Album Hierarchy - START --> <tr> <td valign="top" nowrap="nowrap" class="row1"><span class="gen">{L_CAT_PARENT_TITLE}: </span></td> <td class="row2"><select {DISABLED} name="cat_parent_id">{S_CAT_PARENT_OPTIONS}</select></td> </tr> <!-- Album Hierarchy - STOP --> <tr> <th class="thHead" height="25" nowrap="nowrap" colspan="2">{L_CAT_PERMISSIONS}</th> </tr> <tr> <td class="row1"><span class="gen">{L_VIEW_LEVEL}:</span></td> <td class="row2"><select name="cat_view_level"><option {VIEW_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {VIEW_REG} value="{S_USER}">{L_REG}</option><option {VIEW_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option> <!-- BEGIN acp --> <option {VIEW_MOD} value="{S_MOD}">{L_MOD}</option><option {VIEW_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select> <!-- END acp --> </td> </tr> <tr> <td class="row1"><span class="gen">{L_UPLOAD_LEVEL}:</span></td> <td class="row2"><select name="cat_upload_level"><option {UPLOAD_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {UPLOAD_REG} value="{S_USER}">{L_REG}</option><option {UPLOAD_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option> <!-- BEGIN acp --> <option {UPLOAD_MOD} value="{S_MOD}">{L_MOD}</option><option {UPLOAD_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select> <!-- END acp --> </td> </tr> <tr> <td class="row1"><span class="gen">{L_RATE_LEVEL}:</span></td> <td class="row2"><select name="cat_rate_level"><option {RATE_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {RATE_REG} value="{S_USER}">{L_REG}</option><option {RATE_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option> <!-- BEGIN acp --> <option {RATE_MOD} value="{S_MOD}">{L_MOD}</option><option {RATE_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select> <!-- END acp --> </td> </tr> <tr> <td class="row1"><span class="gen">{L_COMMENT_LEVEL}:</span></td> <td class="row2"><span class="gen"><select name="cat_comment_level"><option {COMMENT_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {COMMENT_REG} value="{S_USER}">{L_REG}</option><option {COMMENT_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option> <!-- BEGIN acp --> <option {COMMENT_MOD} value="{S_MOD}">{L_MOD}</option><option {COMMENT_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></span> <!-- END acp --> </td> </tr> <!-- BEGIN acp --> <tr> <td class="row1"><span class="gen">{L_EDIT_LEVEL}:</span></td> <td class="row2"><select name="cat_edit_level"><option {EDIT_REG} value="{S_USER}">{L_REG}</option><option {EDIT_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option> <option {EDIT_MOD} value="{S_MOD}">{L_MOD}</option><option {EDIT_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> <td class="row1"><span class="gen">{L_DELETE_LEVEL}:</span></td> <td class="row2"><select name="cat_delete_level"><option {DELETE_REG} value="{S_USER}">{L_REG}</option><option {DELETE_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {DELETE_MOD} value="{S_MOD}">{L_MOD}</option><option {DELETE_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> <td class="row1"><span class="gen">{L_PICS_APPROVAL}:</span></td> <td class="row2"><select name="cat_approval"><option {APPROVAL_DISABLED} value="{S_USER}">{L_DISABLED}</option><option {APPROVAL_MOD} value="{S_MOD}">{L_MOD}</option><option {APPROVAL_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <!-- END acp --> <tr> <td class="catBottom" align="center" height="28" colspan="2"><input type="hidden" value="{S_MODE}" name="mode" /><input name="submit" type="submit" value="{L_PANEL_TITLE}" class="liteoption" /></td> </tr> </table> </td> </tr> </table> </form> <br /> --- NEW FILE: album_cat_body_debug.tpl --- <h1>{L_ALBUM_CAT_TITLE}</h1> <p>{L_ALBUM_CAT_EXPLAIN}</p> <form method="post" action="{S_ALBUM_ACTION}"> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td><span class="nav"><a href="{S_ALBUM_ACTION}" class="nav">{L_ALBUM_INDEX}</a></span></td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thLeft" colspan="{HEADER_INC_SPAN}" width="75%%">{L_ALBUM_TITLE} '{HEADER_INC_SPAN}'</th> <th class="thRight" colspan="3" width="25%">{L_ALBUM_ACTION} '3'</th> </tr> <!-- BEGIN catrow --> <!-- BEGIN cathead --> <tr> <!-- BEGIN inc --> <td class="row2" rowspan="{catrow.cathead.inc.ROWSPAN}" width="46"> '{catrow.cathead.inc.ROWSPAN}'</td> <!-- END inc --> <td class="{catrow.cathead.CLASS_CATLEFT}" colspan="{catrow.cathead.INC_SPAN}" {catrow.cathead.WIDTH}>'{catrow.cathead.INC_SPAN}':'{catrow.cathead.WIDTH}'<span class="cattitle"><b><a href="{catrow.cathead.U_VIEWCAT}" class="cattitle">{catrow.cathead.CAT_TITLE}</a></b></span></td> <td class="{catrow.cathead.CLASS_CATMIDDLE}" align="center" valign="middle">'1'<span class="gen"><a href="{catrow.cathead.U_CAT_EDIT}" class="gen">{L_EDIT}</a></span></td> <td class="{catrow.cathead.CLASS_CATMIDDLE}" align="center" valign="middle">'1'<span class="gen"><a href="{catrow.cathead.U_CAT_DELETE}" class="gen">{L_DELETE}</a></span></td> <td class="{catrow.cathead.CLASS_CATMIDDLE}" align="center" valign="middle" nowrap="nowrap">'1'<span class="gen"><a href="{catrow.cathead.U_CAT_MOVE_UP}" class="gen">{L_MOVE_UP}</a> <a href="{catrow.cathead.U_CAT_MOVE_DOWN}" class="gen">{L_MOVE_DOWN}</a></span></td> </tr> <!-- END cathead --> <!-- BEGIN cattitle --> <tr> <td class="row3" colspan="{catrow.cattitle.INC_SPAN_ALL}">'{catrow.cattitle.INC_SPAN_ALL}'<span class="gensmall">{catrow.cattitle.CAT_DESCRIPTION}</span></td> </tr> <!-- END cattitle --> <!-- BEGIN catfoot --> <tr> <!-- BEGIN inc --> <td class="row2" width="46"> </td> <!-- END inc --> <td colspan="{catrow.catfoot.INC_SPAN_ALL}" class="row2" nowrap="nowrap">'{catrow.catfoot.INC_SPAN_ALL}' <input class="post" type="text" name="{catrow.catfoot.S_ADD_NAME}" /> <input type="submit" class="liteoption" name="{catrow.catfoot.S_ADD_CAT_SUBMIT}" value="{L_CREATE_CATEGORY}" /> </td> </tr> <tr> <!-- BEGIN inc --> <td class="row2" width="46"> </td> <!-- END inc --> <td colspan="{catrow.catfoot.INC_SPAN_ALL}" height="1" class="spaceRow">'{catrow.catfoot.INC_SPAN_ALL}' </td> </tr> <!-- END catfoot --> <!-- END catrow --> <!-- BEGIN switch_board_footer --> <tr> <td colspan="{INC_SPAN_ALL}" class="catBottom">'{INC_SPAN_ALL}' <input class="post" type="text" name="name[0]" /> <input type="submit" class="liteoption" name="addcategory[0]" value="{L_CREATE_CATEGORY}" /> </td> </tr> <!-- END switch_board_footer --> </table> <input type="hidden" value="new" name="mode" /> </form> --- NEW FILE: album_personal_cat_body.tpl --- <!-- Album Hierarchy - START --> <form method="post" name="acp" action="{S_ALBUM_ACTION}"> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td class="nav" width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> {ALBUM_NAVIGATION_ARROW} <a href="{U_ALBUM}" class="nav">{L_ALBUM}</a> {ALBUM_NAVIGATION_ARROW} <a href="{U_PERSONAL_ALBUM}" class="nav">{L_PERSONAL_ALBUM}</a> {ALBUM_NAVIGATION_ARROW} <a href="{U_PERSONAL_CAT_ADMIN}" class="nav">{L_PERSONAL_CAT_ADMIN}</a></span></td> </tr> </table> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th colspan="2" class="thHead">{L_PERSONAL_CAT_ADMIN}</th> </tr> <tr> <td class="row1" colspan="2"><br /> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thLeft" colspan="{HEADER_INC_SPAN}" width="75%%">{L_ALBUM_TITLE}</th> <th class="thRight" colspan="3" width="25%">{L_ALBUM_ACTION}</th> </tr> <!-- BEGIN catrow --> <!-- BEGIN cathead --> <tr> <!-- BEGIN inc --> <td class="row2" rowspan="{catrow.cathead.inc.ROWSPAN}" width="46"> </td> <!-- END inc --> <td class="{catrow.cathead.CLASS_CATLEFT}" colspan="{catrow.cathead.INC_SPAN}" {catrow.cathead.WIDTH}><span class="cattitle"><b><a href="{catrow.cathead.U_VIEWCAT}" class="cattitle">{catrow.cathead.CAT_TITLE}</a></b></span></td> <td class="{catrow.cathead.CLASS_CATMIDDLE}" align="center" valign="middle"><span class="gen"><a href="{catrow.cathead.U_CAT_EDIT}" class="gen">{catrow.cathead.L_EDIT}</a></span></td> <td class="{catrow.cathead.CLASS_CATMIDDLE}" align="center" valign="middle"><span class="gen"><a href="{catrow.cathead.U_CAT_DELETE}" class="gen">{catrow.cathead.L_DELETE}</a></span></td> <td class="{catrow.cathead.CLASS_CATMIDDLE}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{catrow.cathead.U_CAT_MOVE_UP}" class="gen">{catrow.cathead.L_MOVE_UP}</a> <a href="{catrow.cathead.U_CAT_MOVE_DOWN}" class="gen">{catrow.cathead.L_MOVE_DOWN}</a></span></td> </tr> <!-- END cathead --> <!-- BEGIN cattitle --> <tr> <td class="row3" colspan="{catrow.cattitle.INC_SPAN_ALL}"><span class="gensmall">{catrow.cattitle.CAT_DESCRIPTION}</span></td> </tr> <!-- END cattitle --> <!-- BEGIN catfoot --> <tr> <!-- BEGIN inc --> <td class="row2" width="46"> </td> <!-- END inc --> <td colspan="{catrow.catfoot.INC_SPAN_ALL}" class="row2" nowrap="nowrap"> <input class="post" type="text" name="{catrow.catfoot.S_ADD_NAME}" /> <input type="submit" {DISABLE_CREATION} class="liteoption" name="{catrow.catfoot.S_ADD_CAT_SUBMIT}" value="{L_CREATE_CATEGORY}" /> </td> </tr> <tr> <!-- BEGIN inc --> <td class="row2" width="46"> </td> <!-- END inc --> <td colspan="{catrow.catfoot.INC_SPAN_ALL}" height="1" class="spaceRow"> </td> </tr> <!-- END catfoot --> <!-- END catrow --> <!-- BEGIN switch_board_footer --> <tr> <td colspan="{INC_SPAN_ALL}" class="catBottom"> <input class="post" type="text" name="name[0]" /> <input type="submit" {DISABLE_CREATION} class="liteoption" name="addcategory[0]" value="{L_CREATE_CATEGORY}" /> </td> </tr> <!-- END switch_board_footer --> </table> </td> </tr> </table> <input type="hidden" value="new" name="mode" /> </form> <!-- Album Hierarchy - STOP --> --- NEW FILE: album_config_clearcache_body.tpl --- <tr> <td class="row1" align="center" valign="top"> <table class="forumline" width="80%" align="center" cellpadding="1" cellspacing="1"> <tr> <th class="thHead" height="25" valign="middle">{MESSAGE_TITLE}</th> </tr> <tr> <td class="row1" align="center"><form action="{S_CONFIRM_ACTION}" method="post"><span class="gen"><br />{CLEARCACHE_TEXT}<br /><br />{S_HIDDEN_FIELDS}<input type="submit" name="confirm" value="{L_YES}" class="mainoption" /> <input type="submit" name="cancel" value="{L_NO}" class="liteoption" /></span></form></td> </tr> </table> </td> </tr> --- NEW FILE: album_cat_delete_body.tpl --- <h1>{L_CAT_DELETE}</h1> <p>{L_CAT_DELETE_EXPLAIN}</p> <form action="{S_ALBUM_ACTION}" method="post"> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th colspan="2" class="thHead">{L_CAT_DELETE}</th> </tr> <tr> <td class="row1"><span class="gen">{L_CAT_TITLE}</span></td> <td class="row1"><span class="genmed">{S_CAT_TITLE}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_MOVE_CONTENTS}</span></td> <td class="row1">{S_SELECT_TO}</td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="hidden" name="mode" value="delete" /><input type="submit" name="submit" value="{L_MOVE_DELETE}" class="mainoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: album_auth_body.tpl --- <h1>{L_ALBUM_AUTH_TITLE}</h1> <p>{L_ALBUM_AUTH_EXPLAIN}</p> <form action="{S_ALBUM_ACTION}" method="post"> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" height="25" nowrap="nowrap">{L_GROUPS}</th> <th class="thTop" nowrap="nowrap">{L_VIEW}</th> <th class="thTop" nowrap="nowrap">{L_UPLOAD}</th> <th class="thTop" nowrap="nowrap">{L_RATE}</th> <th class="thTop" nowrap="nowrap">{L_COMMENT}</th> <th class="thTop" nowrap="nowrap">{L_EDIT}</th> <th class="thTop" nowrap="nowrap">{L_DELETE}</th> <th class="thCornerR" nowrap="nowrap">{L_IS_MODERATOR}</th> </tr> <!-- BEGIN grouprow --> <tr> <td class="row1" align="center" height="28"><span class="gen">{grouprow.GROUP_NAME}</span></td> <td class="row2" align="center"> <input name="view[]" type="checkbox" {grouprow.VIEW_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="upload[]" type="checkbox" {grouprow.UPLOAD_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="rate[]" type="checkbox" {grouprow.RATE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="comment[]" type="checkbox" {grouprow.COMMENT_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="edit[]" type="checkbox" {grouprow.EDIT_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="delete[]" type="checkbox" {grouprow.DELETE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="moderator[]" type="checkbox" {grouprow.MODERATOR_CHECKED} value="{grouprow.GROUP_ID}" /> </td> </tr> <!-- END grouprow --> <tr> <td class="cat" height="25" align="center" colspan="8"><input type="reset" value="{L_RESET}" class="liteoption" /> <input name="submit" type="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: album_config_personal_body.tpl --- <h1>{L_ALBUM_PERSONAL_CONFIG}</h1> <p>{L_ALBUM_PERSONAL_CONFIG_EXPLAIN}</p> <form action="{S_ALBUM_PERSONAL_CONFIG_ACTION}" method="post"> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_SHOW_ALL_PICS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_SHOW_ALL_PICS_ENABLED} name="show_all_in_personal_gallery" value="1" />{L_YES} <input onchange="setChange();" type="radio" {PERSONAL_SHOW_ALL_PICS_DISABLED} name="show_all_in_personal_gallery" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_SHOW_SUBCATS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_SHOW_SUBCATS_ENABLED} name="personal_show_subcats_in_index" value="1" />{L_YES} <input onchange="setChange();" type="radio" {PERSONAL_SHOW_SUBCATS_DISABLED} name="personal_show_subcats_in_index" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_GALLERY}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_GALLERY_USER} name="personal_gallery" value="{S_USER}" />{L_REG} <input onchange="setChange();" type="radio" {PERSONAL_GALLERY_PRIVATE} name="personal_gallery" value="{S_PRIVATE}" />{L_PRIVATE} <input onchange="setChange();" type="radio" {PERSONAL_GALLERY_ADMIN} name="personal_gallery" value="{S_ADMIN}" />{L_ADMIN}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_ALBUM_PERSONAL_MODERATOR}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_MOD_ENABLED} name="personal_allow_gallery_mod" value="1" />{L_YES} <input onchange="setChange();" type="radio" {PERSONAL_MOD_DISABLED} name="personal_allow_gallery_mod" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_ALBUM_PERSONAL_PICS_APPROVAL}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_PICS_APPROVAL_DISABLED} name="personal_pics_approval" value="{S_USER}" />{L_NO} <input onchange="setChange();" type="radio" {PERSONAL_PICS_APPROVAL_MOD} name="personal_pics_approval" value="{S_MOD}" />{L_MOD} <input onchange="setChange();" type="radio" {PERSONAL_PICS_APPROVAL_ADMIN} name="personal_pics_approval" value="{S_ADMIN}" />{L_ADMIN} </span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_GALLERY_VIEW}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_GALLERY_VIEW_ALL} name="personal_gallery_view" value="{S_GUEST}" />{L_GUEST} <input onchange="setChange();" type="radio" {PERSONAL_GALLERY_VIEW_REG} name="personal_gallery_view" value="{S_USER}" />{L_REG} <input onchange="setChange();" type="radio" {PERSONAL_GALLERY_VIEW_PRIVATE} name="personal_gallery_view" value="{S_PRIVATE}" />{L_PRIVATE}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_GALLERY_LIMIT}</span></td> <td class="row2"><input onchange="setChange();" class="post" type="text" maxlength="5" size="5" name="personal_gallery_limit" value="{PERSONAL_GALLERY_LIMIT}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_SUB_GALLERY_LIMIT}</span></td> <td class="row2"><input onchange="setChange();" class="post" type="text" maxlength="5" size="5" name="personal_sub_category_limit" value="{PERSONAL_SUB_GALLERY_LIMIT}" /></td> </tr> <!-- <tr> <td class="row1"><span class="genmed">{L_PERSONAL_ALLOW_SUB_CATEGORY}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_SUBCAT_ENABLED} name="personal_allow_sub_categories" value="1" />{L_YES} <input onchange="setChange();" type="radio" {PERSONAL_SUBCAT_DISABLED} name="personal_allow_sub_categories" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_SHOW_RECENT_IN_SUBCATS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_SHOW_RECENT_IN_SUBCATS_ENABLED} name="personal_show_recent_in_subcats" value="1" />{L_YES} <input onchange="setChange();" type="radio" {PERSONAL_SHOW_RECENT_IN_SUBCATS_DISABLED} name="personal_show_recent_in_subcats" value="0" />{L_NO}</span></td> </tr> --> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_SHOW_RECENT_INSTEAD_OF_NOPICS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_SHOW_RECENT_INSTEAD_OF_NOPICS_ENABLED} name="personal_show_recent_instead_of_nopics" value="1" />{L_YES} <input onchange="setChange();" type="radio" {PERSONAL_SHOW_RECENT_INSTEAD_OF_NOPICS_DISABLED} name="personal_show_recent_instead_of_nopics" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_ALLOW_AVATARS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {PERSONAL_ALLOW_AVATARS_ENABLED} name="personal_allow_avatar_gallery" value="1" />{L_YES} <input onchange="setChange();" type="radio" {PERSONAL_ALLOW_AVATARS_DISABLED} name="personal_allow_avatar_gallery" value="0" />{L_NO}</span></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table></form> <br clear="all" /> --- NEW FILE: album_admin_body_ext.tpl --- <table width="100%" align="center" cellspacing="1" cellpadding="2" border="0"> <tr> <td class="nav"> <span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>{NAV_SEP} <a href="{U_MX_ALBUM}" class="nav">{L_ALBUM}</a> </span> </td> <td align="right"> </td> </tr> </table> <h1>{L_ALBUM_TITLE}</h1> <p>{L_ALBUM_EXPLAIN}</p> <form action="{S_FORUM_ACTION}" method="post"> <table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_DEFAULT_PAGES_TITLE}<br /><span class="gensmall">{L_DEFAULT_PAGES_TITLE_EXPLAIN}</span></th> </tr> <tr> <td class="row1" width="50%">{L_ALBUM_INTEGRATION_ENABLED}<br /><span class="gensmall">{L_ALBUM_INTEGRATION_ENABLED_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="enable_integration" value="1" {ALBUM_INTEGRATION_ENABLED_YES} /><span class="gensmall">{L_ALBUM_INTEGRATION_ENABLED_YES} <input type="radio" name="enable_integration" value="0" {PHPBB_INTEGRATION_ENABLED_NO} /><span class="gensmall">{L_ALBUM_INTEGRATION_ENABLED_NO}</span></td> </tr> <tr> <td class="row1" width="50%">{L_ALBUM_INDEX}<br /><span class="gensmall">{L_ALBUM_EXPLAIN}</span></td> <td class="row2" width="50%">{ALBUM_INDEX}</td> </tr> <tr> <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table> </form> --- NEW FILE: album_admin_otf.tpl --- <!-- BEGIN mooshow --> {JS_INCLUDE} <!-- END mooshow --> <table width="98%" align="center" cellspacing="1" cellpadding="2" border="0"> <tr> <td class="nav"> <span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>{NAV_SEP} <a href="{U_MX_ALBUM}" class="nav">{L_ALBUM}</a> </span> </td> <td align="right"> </td> </tr> </table> <form action="{S_ACTION}" method="post"> <table class="forumline" width="98%" align="center" cellspacing="1" cellpadding="2" border="0"> <tr><th class="thHead" colspan="{S_COLSPAN}" height="25" valign="middle">{L_PIC_GALLERY}</th></tr> <tr> <td class="catBottom" align="center" valign="middle" colspan="{S_COLSPAN}" height="28"> <span class="genmed"> {L_CATEGORY}: {S_CATEGORY_SELECT} <input type="submit" class="liteoption" value="{L_GO}" name="pic_gallery" /> </span> </td> </tr> <!-- BEGIN mooshow --> <tr> <td class="row1" align="center" valign="middle" colspan="{S_COLSPAN}"> <div id="{SELECTED_CAT_REG}" class="mooshow"> this.speed=300; this.fadeSpeed=500; this.topNav='yes'; this.overlayNav='yes'; this.dropShadow='yes'; this.captions='yes'; this.border=20; this.copyright='yes'; this.IPTCinfo='yes' </div> </td> </tr> <!-- END mooshow --> <!-- BEGIN pic_row --> <tr> <!-- BEGIN pic_column --> <td class="row1" align="center" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';"> <table><tr><td><div class="picshadow"><div class="picframe"> <a href="{pic_row.pic_column.PIC_IMAGE}"><img src="{pic_row.pic_column.PIC_THUMB}" alt="{pic_row.pic_column.PIC_NAME}" title="{pic_row.pic_column.PIC_NAME}" border="0" /></a> </div></div></td></tr></table> <br /> <span class="genmed"><a href="javascript:void(0);" onClick="window.open('{pic_row.pic_column.PIC_IMAGE}','','scrollbars=yes,resizable=no,width=804,height=610')"><b>{pic_row.pic_column.PIC_NAME}</b></a></span> </td> <!-- END pic_column --> </tr> <tr> <!-- BEGIN pic_option_column --> <!-- <td class="row2" align="center"><input type="radio" name="pic_select" value="{pic_row.pic_option_column.S_OPTIONS_PIC}" /></td> --> <!-- END pic_option_column --> </tr> <!-- END pic_row --> <tr> <td class="catBottom" colspan="{S_COLSPAN}" align="center" height="28"> </td> </tr> </table> <!-- BEGIN upload_allowed --> <br /> <br /> <table class="forumline" width="98%" align="center" cellspacing="1" cellpadding="2" border="0"> <tr><th class="thHead" height="25" valign="middle">{L_UPLOAD_PICS}</th></tr> <tr> <td class="row1" align="center"> <span class="genmed"> {SELECT_CAT} <input type="submit" class="liteoption" value="{L_GO}" name="pic_upload" /> </span> </td> </tr> </table> <!-- END upload_allowed --> </form> <br /> <!-- You must keep my copyright notice visible with its original content --> {ALBUM_COPYRIGHT} --- NEW FILE: album_cat_new_body.tpl --- <h1>{L_ALBUM_CAT_TITLE}</h1> <p>{L_ALBUM_CAT_EXPLAIN}</p> <form action="{S_ALBUM_ACTION}" method="post"> <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead" height="25" nowrap="nowrap" colspan="2">{L_PANEL_TITLE}</th> </tr> <tr> <td class="row1" width="20%"><span class="gen">{L_CAT_TITLE}:</span></td> <td class="row2"><input name="cat_title" type="text" class="post" size="35" value="{S_CAT_TITLE}" /></td> </tr> <tr> <td valign="top" nowrap="nowrap" class="row1"><span class="gen">{L_CAT_DESC}: </span></td> <td class="row2"><textarea name="cat_desc" class="post" cols="50" rows="5">{S_CAT_DESC}</textarea></td> </tr> <tr> <td class="row1" width="20%"> <span class="gen">{L_WATERMARK}:</span><br /> <span class="gensmall">{L_WATERMARK_EXPLAIN}</span> </td> <td class="row2"><input name="cat_wm" type="text" class="post" size="35" value="{S_CAT_WM}" /></td> </tr> <tr> <td valign="top" nowrap="nowrap" class="row1"><span class="gen">{L_CAT_PARENT_TITLE}: </span></td> <td class="row2"><select name="cat_parent_id">{S_CAT_PARENT_OPTIONS}</select></td> </tr> <tr> <th class="thHead" height="25" nowrap="nowrap" colspan="2">{L_CAT_PERMISSIONS}</th> </tr> <tr> <td class="row1"><span class="gen">{L_VIEW_LEVEL}:</span></td> <td class="row2"><select name="cat_view_level"><option {VIEW_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {VIEW_REG} value="{S_USER}">{L_REG}</option><option {VIEW_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {VIEW_MOD} value="{S_MOD}">{L_MOD}</option><option {VIEW_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> <td class="row1"><span class="gen">{L_UPLOAD_LEVEL}:</span></td> <td class="row2"><select name="cat_upload_level"><option {UPLOAD_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {UPLOAD_REG} value="{S_USER}">{L_REG}</option><option {UPLOAD_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {UPLOAD_MOD} value="{S_MOD}">{L_MOD}</option><option {UPLOAD_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> <td class="row1"><span class="gen">{L_RATE_LEVEL}:</span></td> <td class="row2"><select name="cat_rate_level"><option {RATE_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {RATE_REG} value="{S_USER}">{L_REG}</option><option {RATE_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {RATE_MOD} value="{S_MOD}">{L_MOD}</option><option {RATE_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> <td class="row1"><span class="gen">{L_COMMENT_LEVEL}:</span></td> <td class="row2"><span class="gen"><select name="cat_comment_level"><option {COMMENT_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {COMMENT_REG} value="{S_USER}">{L_REG}</option><option {COMMENT_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {COMMENT_MOD} value="{S_MOD}">{L_MOD}</option><option {COMMENT_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></span></td> </tr> <tr> <td class="row1"><span class="gen">{L_EDIT_LEVEL}:</span></td> <td class="row2"><select name="cat_edit_level"><option {EDIT_REG} value="{S_USER}">{L_REG}</option><option {EDIT_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {EDIT_MOD} value="{S_MOD}">{L_MOD}</option><option {EDIT_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> <td class="row1"><span class="gen">{L_DELETE_LEVEL}:</span></td> <td class="row2"><select name="cat_delete_level"><option {DELETE_REG} value="{S_USER}">{L_REG}</option><option {DELETE_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {DELETE_MOD} value="{S_MOD}">{L_MOD}</option><option {DELETE_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> <td class="row1"><span class="gen">{L_PICS_APPROVAL}:</span></td> <td class="row2"><select name="cat_approval"><option {APPROVAL_DISABLED} value="{S_USER}">{L_DISABLED}</option><option {APPROVAL_MOD} value="{S_MOD}">{L_MOD}</option><option {APPROVAL_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> <td class="catBottom" align="center" height="28" colspan="2"><input type="hidden" value="{S_MODE}" name="mode" /><input name="submit" type="submit" value="{L_PANEL_TITLE}" class="liteoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: album_personal_cat_delete_body.tpl --- <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td class="nav" width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> {ALBUM_NAVIGATION_ARROW} <a href="{U_ALBUM}" class="nav">{L_ALBUM}</a> {ALBUM_NAVIGATION_ARROW} <a href="{U_PERSONAL_ALBUM}" class="nav">{L_PERSONAL_ALBUM}</a> {ALBUM_NAVIGATION_ARROW} <a href="{U_PERSONAL_CAT_ADMIN}" class="nav">{L_PERSONAL_CAT_ADMIN}</a></span></td> </tr> </table> <form action="{S_ALBUM_ACTION}" method="post"> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th colspan="2" class="thHead">{L_PERSONAL_CAT_ADMIN}</th> </tr> <tr> <td class="row1" colspan="2"><br /> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center" width="100%"> <tr> <th colspan="2" class="thHead">{L_CAT_DELETE}</th> </tr> <tr> <td class="row1" width="25%"><span class="gen">{L_CAT_TITLE}</span></td> <td class="row1"><span class="genmed">{S_CAT_TITLE}</span></td> </tr> <tr> <td class="row1" width="25%"><span class="genmed">{L_MOVE_CONTENTS}</span></td> <td class="row1">{S_SELECT_TO}</td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="hidden" name="mode" value="delete" /><input type="submit" name="submit" value="{L_MOVE_DELETE}" class="mainoption" /></td> </tr> </table> </td> </tr> </table> </form> <br /> --- NEW FILE: album_cat_select_body.tpl --- <h1>{L_ALBUM_AUTH_TITLE}</h1> <p>{L_ALBUM_AUTH_EXPLAIN}</p> <form action="{S_ALBUM_ACTION}" method="post"> <table width="50%" align="center" cellpadding="3" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead" colspan="2" height="28">{L_SELECT_CAT}</th> </tr> <tr> <td class="row1" height="25"><select name="cat_id">{CAT_SELECT_TITLE}</select></td> <td class="row1" width="100%" align="center"><input name="submit" type="submit" value="{L_LOOK_UP_CAT}" class="liteoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: album_config_body.tpl --- <h1>{L_ALBUM_CONFIG}</h1> <p>{L_ALBUM_CONFIG_EXPLAIN}</p> <form action="{S_ALBUM_CONFIG_ACTION}" method="post"> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead" colspan="2">{L_ALBUM_CONFIG}</th> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_PERSONAL_GALLERY_LINK}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_SHOW_PERSONAL_GALLERY_LINK_ENABLED} name="show_personal_gallery_link" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_SHOW_PERSONAL_GALLERY_LINK_DISABLED} name="show_personal_gallery_link" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INDEX_SHOW_SUBCATS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_SHOW_SUBCATS_ENABLED} name="show_index_subcats" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_SHOW_SUBCATS_DISABLED} name="show_index_subcats" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INDEX_LINEBREAK_SUBCATS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_LINEBREAK_ENABLED} name="line_break_subcats" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_LINEBREAK_DISABLED} name="line_break_subcats" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INDEX_THUMB}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_THUMB_ENABLED} name="show_index_thumb" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_THUMB_DISABLED} name="show_index_thumb" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INDEX_TOTAL_PICS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_TOTAL_PICS_ENABLED} name="show_index_total_pics" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_TOTAL_PICS_DISABLED} name="show_index_total_pics" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INDEX_TOTAL_COMMENTS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_TOTAL_COMMENTS_ENABLED} name="show_index_total_comments" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_TOTAL_COMMENTS_DISABLED} name="show_index_total_comments" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INDEX_LAST_COMMENT}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_LAST_COMMENT_ENABLED} name="show_index_last_comment" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_LAST_COMMENT_DISABLED} name="show_index_last_comment" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INDEX_LAST_PIC}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_LAST_PIC_ENABLED} name="show_index_last_pic" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_LAST_PIC_DISABLED} name="show_index_last_pic" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INDEX_COMMENTS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_COMMENTS_ENABLED} name="show_index_comments" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_COMMENTS_DISABLED} name="show_index_comments" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INDEX_PICS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_PICS_ENABLED} name="show_index_pics" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_PICS_DISABLED} name="show_index_pics" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_NEW_PIC_CHECK_INTERVAL}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="text" class="post" maxlength="4" size="4" name="new_pic_check_interval" value="{NEW_PIC_CHECK_INTERVAL}" /> {L_NEW_PIC_CHECK_INTERVAL_DESC}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_NEW_PIC_CHECK_INTERVAL_LV}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_LAST_PIC_LV_ENABLED} name="show_index_last_pic_lv" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_LAST_PIC_LV_DISABLED} name="show_index_last_pic_lv" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_ENABLE_SUPERCELLS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INDEX_SUPERCELLS_ENABLED} name="index_enable_supercells" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INDEX_SUPERCELLS_DISABLED} name="index_enable_supercells" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_OTF_LINK}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_OTF_LINK_ENABLED} name="show_otf_link" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_OTF_LINK_DISABLED} name="show_otf_link" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_ALL_PICS_LINK}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_ALL_PICS_LINK_ENABLED} name="show_all_pics_link" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_ALL_PICS_LINK_DISABLED} name="show_all_pics_link" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_PERSONAL_GALLERIES_LINK}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_PERSONAL_GALLERIES_LINK_ENABLED} name="show_personal_galleries_link" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_PERSONAL_GALLERIES_LINK_DISABLED} name="show_personal_galleries_link" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_LAST_COMMENTS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_LAST_COMMENTS_ENABLED} name="show_last_comments" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_LAST_COMMENTS_DISABLED} name="show_last_comments" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1" width="45%"><span class="genmed">{L_MAX_PICS}</span></td> <td class="row2"><input class="post" type="text" maxlength="9" size="9" name="max_pics" value="{MAX_PICS}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_USER_PICS_LIMIT}</span></td> <td class="row2"><input class="post" type="text" maxlength="12" size="5" name="user_pics_limit" value="{USER_PICS_LIMIT}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_MOD_PICS_LIMIT}</span></td> <td class="row2"><input class="post" type="text" maxlength="12" size="5" name="mod_pics_limit" value="{MOD_PICS_LIMIT}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_MAX_FILE_SIZE}</span></td> <td class="row2"><input class="post" type="text" maxlength="12" size="12" name="max_file_size" value="{MAX_FILE_SIZE}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_MAX_FILE_SIZE_RESAMPLING}</span></td> <td class="row2"><input onchange="setChange();" class="post" type="text" maxlength="12" size="12" name="max_file_size_resampling" value="{MAX_FILE_SIZE_RESAMPLING}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_DYNAMIC_PIC_RESAMPLING}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {DYNAMIC_PIC_RESAMPLING_ENABLED} name="dynamic_pic_resampling" value="1" />{L_YES} <input onchange="setChange();" type="radio" {DYNAMIC_PIC_RESAMPLING_DISABLED} name="dynamic_pic_resampling" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_MAX_WIDTH}</span></td> <td class="row2"><input class="post" type="text" maxlength="9" size="9" name="max_width" value="{MAX_WIDTH}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_MAX_HEIGHT}</span></td> <td class="row2"><input class="post" type="text" maxlength="9" size="9" name="max_height" value="{MAX_HEIGHT}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_MAX_FILES_TO_UPLOAD}</span></td> <td class="row2"><input class="post" type="text" maxlength="2" size="2" name="max_files_to_upload" value="{MAX_FILES_TO_UPLOAD}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PIC_DESC_MAX_LENGTH}</span></td> <td class="row2"><input class="post" type="text" size="6" name="desc_length" value="{PIC_DESC_MAX_LENGTH}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PROPERCASE_TITLE}</span></td> <td class="row2"><span class="genmed"><input type="radio" {PROPERCASE_TITLE_ENABLED} name="propercase_pic_title" value="1" />{L_YES} <input type="radio" {PROPERCASE_TITLE_DISABLED} name="propercase_pic_title" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"> <span class="genmed">{L_SET_MEMORY}</span><br /> <span class="gensmall">{L_SET_MEMORY_EXPLAIN}</span> </td> <td class="row2"><input onchange="setChange();" class="post" type="text" name="set_memory" value="{SET_MEMORY}" size="3" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_GD_VERSION}</span></td> <td class="row2"><span class="genmed"><input type="radio" {NO_GD} name="gd_version" value="0" />{L_MANUAL_THUMBNAIL} <input type="radio" {GD_V1} name="gd_version" value="1" />GD1 <input type="radio" {GD_V2} name="gd_version" value="2" />GD2</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_JPG_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {JPG_ENABLED} name="jpg_allowed" value="1" />{L_YES} <input type="radio" {JPG_DISABLED} name="jpg_allowed" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PNG_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {PNG_ENABLED} name="png_allowed" value="1" />{L_YES} <input type="radio" {PNG_DISABLED} name="png_allowed" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_GIF_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {GIF_ENABLED} name="gif_allowed" value="1" />{L_YES} <input type="radio" {GIF_DISABLED} name="gif_allowed" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_DOWNLOAD}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_DOWNLOAD_ALWAYS} name="show_download" value="2" />{L_ALWAYS} <input onchange="setChange();" type="radio" {SHOW_DOWNLOAD_ENABLED} name="show_download" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_DOWNLOAD_DISABLED} name="show_download" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_SLIDESHOW}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_SLIDESHOW_ENABLED} name="show_slideshow" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_SLIDESHOW_DISABLED} name="show_slideshow" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_SLIDESHOW_SCRIPT}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SLIDESHOW_SCRIPT_ENABLED} name="slideshow_script" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SLIDESHOW_SCRIPT_DISABLED} name="slideshow_script" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_PICS_NAV}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_PICS_NAV_ENABLED} name="show_pics_nav" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_PICS_NAV_DISABLED} name="show_pics_nav" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_INVERT_NAV_ARROWS}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {INVERT_NAV_ARROWS_ENABLED} name="invert_nav_arrows" value="1" />{L_YES} <input onchange="setChange();" type="radio" {INVERT_NAV_ARROWS_DISABLED} name="invert_nav_arrows" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_INLINE_COPYRIGHT}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_INLINE_COPYRIGHT_ENABLED} name="show_inline_copyright" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_INLINE_COPYRIGHT_DISABLED} name="show_inline_copyright" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_ENABLE_NUFFIMAGE}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {NUFFIMAGE_ENABLED} name="enable_nuffimage" value="1" />{L_YES} <input onchange="setChange();" type="radio" {NUFFIMAGE_DISABLED} name="enable_nuffimage" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_ENABLE_SEPIA_BW}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SEPIABW_ENABLED} name="enable_sepia_bw" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SEPIABW_DISABLED} name="enable_sepia_bw" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_EXIF}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_EXIF_ENABLED} name="show_exif" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_EXIF_DISABLED} name="show_exif" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_ENABLE_BBCODE}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {BBCODE_ENABLED} name="album_bbcode" value="1" />{L_YES} <input onchange="setChange();" type="radio" {BBCODE_DISABLED} name="album_bbcode" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_HOTLINK_PREVENT}</span></td> <td class="row2"><span class="genmed"><input type="radio" {HOTLINK_PREVENT_ENABLED} name="hotlink_prevent" value="1" />{L_YES} <input type="radio" {HOTLINK_PREVENT_DISABLED} name="hotlink_prevent" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_HOTLINK_ALLOWED}</span></td> <td class="row2"><input class="post" type="text" size="40" name="hotlink_allowed" value="{HOTLINK_ALLOWED}" /></td> </tr> <tr> <th class="thHead" colspan="2">{L_THUMBNAIL_SETTINGS}</th> </tr> <tr> <td class="row1"><span class="genmed">{L_THUMBNAIL_CACHE}</span></td> <td class="row2"><span class="genmed"><input type="radio" {THUMBNAIL_CACHE_ENABLED} name="thumbnail_cache" value="1" />{L_YES} <input type="radio" {THUMBNAIL_CACHE_DISABLED} name="thumbnail_cache" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_THUMBNAIL_SIZE}</span></td> <td class="row2"><input class="post" type="text" maxlength="4" size="4" name="thumbnail_size" value="{THUMBNAIL_SIZE}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_THUMBNAIL_QUALITY}</span></td> <td class="row2"><input class="post" type="text" maxlength="3" size="3" name="thumbnail_quality" value="{THUMBNAIL_QUALITY}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_ROWS_PER_PAGE}</span></td> <td class="row2"><input class="post" type="text" maxlength="2" size="2" name="rows_per_page" value="{ROWS_PER_PAGE}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_COLS_PER_PAGE}</span></td> <td class="row2"><input class="post" type="text" maxlength="2" size="2" name="cols_per_page" value="{COLS_PER_PAGE}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_DEFAULT_SORT_METHOD}</span></td> <td class="row2"> <select name="sort_method"> <option {SORT_TIME} value='pic_time'>{L_TIME}</option> <option {SORT_PIC_TITLE} value='pic_title'>{L_PIC_TITLE}</option> <option {SORT_USERNAME} value='username'>{L_USERNAME}</option> <option {SORT_VIEW} value='pic_view_count'>{L_VIEW}</option> <option {SORT_RATING} value='rating'>{L_RATING}</option> <option {SORT_COMMENTS} value='comments'>{L_COMMENTS}</option> <option {SORT_NEW_COMMENT} value='new_comment'>{L_NEW_COMMENT}</option> </select> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_DEFAULT_SORT_ORDER}</span></td> <td class="row2"> <select name="sort_order"> <option {SORT_ASC} value='ASC'>{L_ASC}</option> <option {SORT_DESC} value='DESC'>{L_DESC}</option> </select> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_FULLPIC_POPUP}</span></td> <td class="row2"><span class="genmed"><input type="radio" {FULLPIC_POPUP_ENABLED} name="fullpic_popup" value="1" />{L_YES} <input type="radio" {FULLPIC_POPUP_DISABLED} name="fullpic_popup" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_IMG_NO_GD}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_IMG_NO_GD_ENABLED} name="show_img_no_gd" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_IMG_NO_GD_DISABLED} name="show_img_no_gd" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_GIF_MID_THUMB}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_GIF_MID_THUMB_ENABLED} name="show_gif_mid_thumb" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_GIF_MID_THUMB_DISABLED} name="show_gif_mid_thumb" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SHOW_PIC_SIZE}</span></td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_PIC_SIZE_ENABLED} name="show_pic_size_on_thumb" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_PIC_SIZE_DISABLED} name="show_pic_size_on_thumb" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1"> <span class="genmed">{L_LB_PREVIEW}</span><br /> <span class="gensmall">{L_LB_PREVIEW_EXPLAIN}</span><br /> </td> <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {LB_PREVIEW_ENABLED} name="lb_preview" value="1" />{L_YES} <input onchange="setChange();" type="radio" {LB_PREVIEW_DISABLED} name="lb_preview" value="0" />{L_NO}</span></td> </tr> <tr> <th class="thHead" colspan="2">{L_EXTRA_SETTINGS}</th> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_GALLERY}</span></td> <td class="row2"><span class="genmed"><input type="radio" {PERSONAL_GALLERY_USER} name="personal_gallery" value="{S_USER}" />{L_REG} <input type="radio" {PERSONAL_GALLERY_PRIVATE} name="personal_gallery" value="{S_PRIVATE}" />{L_PRIVATE} <input type="radio" {PERSONAL_GALLERY_ADMIN} name="personal_gallery" value="{S_ADMIN}" />{L_ADMIN}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_GALLERY_LIMIT}</span></td> <td class="row2"><input class="post" type="text" maxlength="5" size="5" name="personal_gallery_limit" value="{PERSONAL_GALLERY_LIMIT}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_PERSONAL_GALLERY_VIEW}</span></td> <td class="row2"><span class="genmed"><input type="radio" {PERSONAL_GALLERY_VIEW_ALL} name="personal_gallery_view" value="{S_GUEST}" />{L_GUEST} <input type="radio" {PERSONAL_GALLERY_VIEW_REG} name="personal_gallery_view" value="{S_USER}" />{L_REG} <input type="radio" {PERSONAL_GALLERY_VIEW_PRIVATE} name="personal_gallery_view" value="{S_PRIVATE}" />{L_PRIVATE}</span></td> </tr> <!-- <tr> <td class="row1"><span class="genmed">{L_RATE_SYSTEM}</span></td> <td class="row2"><span class="genmed"><input type="radio" {RATE_ENABLED} name="rate" value="1" />{L_YES} <input type="radio" {RATE_DISABLED} name="rate" value="0" />{L_NO}</span></td> </tr> --> <tr> <td class="row1"><span class="genmed">{L_RATE_SCALE}</span></td> <td class="row2"><input class="post" type="text" name="rate_scale" value="{RATE_SCALE}" size="3" /></td> </tr> <!-- <tr> <td class="row1"><span class="genmed">{L_COMMENT_SYSTEM}</span></td> <td class="row2"><span class="genmed"><input type="radio" {COMMENT_ENABLED} name="comment" value="1" />{L_YES} <input type="radio" {COMMENT_DISABLED} name="comment" value="0" />{L_NO}</span></td> </tr> --> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table></form> <br clear="all" /> --- NEW FILE: album_cat_body.tpl --- <h1>{L_ALBUM_CAT_TITLE}</h1> <p>{L_ALBUM_CAT_EXPLAIN}</p> <form method="post" action="{S_ALBUM_ACTION}"> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td><span class="nav"><a href="{S_ALBUM_ACTION}" class="nav">{L_ALBUM_INDEX}</a></span></td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thLeft" colspan="{HEADER_INC_SPAN}" width="75%">{L_ALBUM_TITLE}</th> <th class="thRight" colspan="3" width="25%">{L_ALBUM_ACTION}</th> </tr> <!-- BEGIN catrow --> <!-- BEGIN cathead --> <tr> <!-- BEGIN inc --> <td class="row2" rowspan="{catrow.cathead.inc.ROWSPAN}" width="46"> </td> <!-- END inc --> <td class="{catrow.cathead.CLASS_CATLEFT}" colspan="{catrow.cathead.INC_SPAN}" {catrow.cathead.WIDTH}><span class="cattitle"><b><a href="{catrow.cathead.U_VIEWCAT}" class="cattitle">{catrow.cathead.CAT_TITLE}</a></b></span></td> <td class="{catrow.cathead.CLASS_CATMIDDLE}" align="center" valign="middle"><span class="gen"><a href="{catrow.cathead.U_CAT_EDIT}" class="gen">{catrow.cathead.L_EDIT}</a></span></td> <td class="{catrow.cathead.CLASS_CATMIDDLE}" align="center" valign="middle"><span class="gen"><a href="{catrow.cathead.U_CAT_DELETE}" class="gen">{catrow.cathead.L_DELETE}</a></span></td> <td class="{catrow.cathead.CLASS_CATMIDDLE}" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{catrow.cathead.U_CAT_MOVE_UP}" class="gen">{catrow.cathead.L_MOVE_UP}</a> <a href="{catrow.cathead.U_CAT_MOVE_DOWN}" class="gen">{catrow.cathead.L_MOVE_DOWN}</a></span></td> </tr> <!-- END cathead --> <!-- BEGIN cattitle --> <tr> <td class="row3" colspan="{catrow.cattitle.INC_SPAN_ALL}"><span class="gensmall">{catrow.cattitle.CAT_DESCRIPTION}</span></td> </tr> <!-- END cattitle --> <!-- BEGIN catfoot --> <tr> <!-- BEGIN inc --> <td class="row2" width="46"> </td> <!-- END inc --> <td colspan="{catrow.catfoot.INC_SPAN_ALL}" class="row2" nowrap="nowrap"> <input class="post" type="text" name="{catrow.catfoot.S_ADD_NAME}" /> <input type="submit" {DISABLE_CREATION} class="liteoption" name="{catrow.catfoot.S_ADD_CAT_SUBMIT}" value="{L_CREATE_CATEGORY}" /> </td> </tr> <tr> <!-- BEGIN inc --> <td class="row2" width="46"> </td> <!-- END inc --> <td colspan="{catrow.catfoot.INC_SPAN_ALL}" height="1" class="spaceRow"> </td> </tr> <!-- END catfoot --> <!-- END catrow --> <!-- BEGIN switch_board_footer --> <tr> <td colspan="{INC_SPAN_ALL}" class="catBottom"> <input class="post" type="text" name="name[0]" /> <input type="submit" {DISABLE_CREATION} class="liteoption" name="addcategory[0]" value="{L_CREATE_CATEGORY}" /> </td> </tr> <!-- END switch_board_footer --> </table> <input type="hidden" value="new" name="mode" /> </form> --- NEW FILE: album_personal_body.tpl --- <h1>{L_ALBUM_PERSONAL_TITLE}</h1> <p>{L_ALBUM_PERSONAL_EXPLAIN}</p> <form action="{S_ALBUM_ACTION}" method="post"> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead" height="25" colspan="2">{L_GROUP_CONTROL}</th> </tr> <!-- BEGIN creation_grouprow --> <tr> <td class="row1" align="center" height="28"><span class="gen">{creation_grouprow.GROUP_NAME}</span></td> <td class="row2" align="center"><input name="private[]" type="checkbox" {creation_grouprow.PRIVATE_CHECKED} value="{creation_grouprow.GROUP_ID}" /></td> </tr> <!-- END creation_grouprow --> <tr> <td class="catHead" height="25" align="center" nowrap="nowrap" colspan="2"><input type="reset" value="{L_RESET}" class="liteoption" /> <input name="submit" type="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table> <p>{L_ALBUM_AUTH_EXPLAIN}</p> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" height="25" nowrap="nowrap">{L_GROUPS}</th> <th class="thTop" nowrap="nowrap">{L_VIEW}</th> <th class="thTop" nowrap="nowrap">{L_UPLOAD}</th> <th class="thTop" nowrap="nowrap">{L_RATE}</th> <th class="thTop" nowrap="nowrap">{L_COMMENT}</th> <th class="thTop" nowrap="nowrap">{L_EDIT}</th> <th class="thTop" nowrap="nowrap">{L_DELETE}</th> <th class="thCornerR" nowrap="nowrap">{L_IS_MODERATOR}</th> </tr> <!-- BEGIN grouprow --> <tr> <td class="row1" align="center" height="28"><span class="gen">{grouprow.GROUP_NAME}</span></td> <td class="row2" align="center"><input name="view[]" type="checkbox" {grouprow.VIEW_CHECKED} value="{grouprow.GROUP_ID}" /></td> <td class="row2" align="center"><input name="upload[]" type="checkbox" {grouprow.UPLOAD_CHECKED} value="{grouprow.GROUP_ID}" /></td> <td class="row2" align="center"><input name="rate[]" type="checkbox" {grouprow.RATE_CHECKED} value="{grouprow.GROUP_ID}" /></td> <td class="row2" align="center"><input name="comment[]" type="checkbox" {grouprow.COMMENT_CHECKED} value="{grouprow.GROUP_ID}" /></td> <td class="row2" align="center"><input name="edit[]" type="checkbox" {grouprow.EDIT_CHECKED} value="{grouprow.GROUP_ID}" /></td> <td class="row2" align="center"><input name="delete[]" type="checkbox" {grouprow.DELETE_CHECKED} value="{grouprow.GROUP_ID}" /></td> <td class="row2" align="center"><input name="moderator[]" type="checkbox" {grouprow.MODERATOR_CHECKED} value="{grouprow.GROUP_ID}" /></td> </tr> <!-- END grouprow --> <tr> <td class="catBottom" height="25" align="center" colspan... [truncated message content] |
|
From: OryNider <ory...@us...> - 2008-03-14 14:23:40
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14976/phpbb2 Added Files: album_db_install.php album_db_uninstall.php Log Message: i fogot to commit this somehow --- NEW FILE: album_db_uninstall.php --- <?php /** * * @package phpBB2 Mod - FAP * @version $Id: album_db_uninstall.php,v 1.1 2008/03/14 14:23:33 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); define( 'IN_PHPBB', true ); $phpbb_root_path = $module_root_path = './'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; include($phpbb_root_path . 'common.' . $phpEx); include($mx_mod_path . "includes/functions_required.$phpEx"); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './'; @define('IN_PORTAL', true); include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } else { @define('IN_PORTAL', true); include_once($mx_root_path . "includes/mx_constants.$phpEx"); include_once($mx_root_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require($mx_mod_path . "includes/functions_core.$phpEx"); require($mx_mod_path . "includes/functions_styles.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_KB', -502 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // Get mxBB config settings // //$portal_config = $mx_cache->obtain_mxbb_config(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // Page selector // $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); $is_block = false; // // instatiate the mx_user class // $mx_user = new mx_user(); if (file_exists("./modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); init_userprefs($userdata); $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if (!$userdata['user_level'] == ADMIN) { die('Only admins may run this script!!!'); } } else if (@file_exists("./mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); $user->setup(); // // End session management // $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if ($userdata['user_type'] != USER_FOUNDER) { die('Only admins may run this script!!!'); } } else { die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); } } else // --------------------------------------------------------------------------------- mxBB Module MODE { define( 'MXBB_MODULE', true ); if ( !function_exists( 'read_block_config' ) ) { define( 'IN_PORTAL', true ); $mx_root_path = './../../'; $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); // End session management define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); } else { if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings (default mode) // $title = !empty( $mx_block->block_info['block_title'] ) ? $mx_block->block_info['block_title'] : $lang['KB_title']; $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } $is_block = true; global $images; } define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx ) ); } // // Check if mx_common Mod is prezent // if (!file_exists($mx_mod_path . "includes/functions_admincp.$phpEx")) { die('mx mod is not uploaded!!!'); } else { require($mx_mod_path . "includes/functions_admincp.$phpEx"); } $page_title = 'Uninstalling Album Mod'; include($phpbb_root_path . 'includes/page_header.'.$phpEx); $sql = array( "DROP TABLE ".$mx_table_prefix."smartor_album ", "DROP TABLE ".$mx_table_prefix."smartor_album_rate ", "DROP TABLE ".$mx_table_prefix."smartor_album_comment ", "DROP TABLE ".$mx_table_prefix."smartor_album_cat ", "DROP TABLE ".$mx_table_prefix."smartor_album_config ", "DROP TABLE ".$mx_table_prefix."smartor_album_sp_config " ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Mod Installation/Upgrading/Uninstalling Information - mod specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?> --- NEW FILE: album_db_install.php --- <?php /** * * @package phpBB Mod - FAP * @version $Id: album_db_install.php,v 1.1 2008/03/14 14:23:32 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); define( 'IN_PHPBB', true ); $phpbb_root_path = $module_root_path = './'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; include($phpbb_root_path . 'common.' . $phpEx); include($mx_mod_path . "includes/functions_required.$phpEx"); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './'; @define('IN_PORTAL', true); include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } else { @define('IN_PORTAL', true); include_once($mx_root_path . "includes/mx_constants.$phpEx"); include_once($mx_root_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require($mx_mod_path . "includes/functions_core.$phpEx"); require($mx_mod_path . "includes/functions_styles.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_KB', -502 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // Get mxBB config settings // //$portal_config = $mx_cache->obtain_mxbb_config(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // Page selector // $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); $is_block = false; // // instatiate the mx_user class // $mx_user = new mx_user(); if (file_exists("./modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); init_userprefs($userdata); $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if (!$userdata['user_level'] == ADMIN) { die('Only admins may run this script!!!'); } } else if (@file_exists("./mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); $user->setup(); // // End session management // $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if ($userdata['user_type'] != USER_FOUNDER) { die('Only admins may run this script!!!'); } } else { die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); } } else // --------------------------------------------------------------------------------- mxBB Module MODE { define( 'MXBB_MODULE', true ); if ( !function_exists( 'read_block_config' ) ) { define( 'IN_PORTAL', true ); $mx_root_path = './../../'; $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); // End session management define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); } else { if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings (default mode) // $title = !empty( $mx_block->block_info['block_title'] ) ? $mx_block->block_info['block_title'] : $lang['KB_title']; $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } $is_block = true; global $images; } define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx ) ); } // // Check if mx_common Mod is prezent // if (!file_exists($mx_mod_path . "includes/functions_admincp.$phpEx")) { die('mx mod is not uploaded!!!'); } else { require($mx_mod_path . "includes/functions_admincp.$phpEx"); } // // Check if mx_common Mod is prezent // if ( !file_exists( $mx_mod_path . 'includes/' . 'functions_admincp.' . $phpEx ) ) { die('mx_mod folder is not uploaded!!!'); } else { include_once( $mx_mod_path . 'includes/' . 'functions_admincp.' . $phpEx ); include_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); } $page_title = 'Installing/Upgrading Album Mod'; include($phpbb_root_path . 'includes/page_header.'.$phpEx); // If upgrading from old album mod if( $result = $db->sql_query("SELECT config_name from ".$table_prefix."album_config")) { $message = "<b>Upgrading!...to use Clown SP...from old mx album </b><br/><br/>"; $sql = array(); $sql[] = "RENAME TABLE ".$table_prefix."album TO ".$table_prefix."smartor_album"; $sql[] = "RENAME TABLE ".$table_prefix."album_rate TO ".$table_prefix."smartor_album_rate"; $sql[] = "RENAME TABLE ".$table_prefix."album_comment TO ".$table_prefix."smartor_album_comment"; $sql[] = "RENAME TABLE ".$table_prefix."album_cat TO ".$table_prefix."smartor_album_cat"; $sql[] = "RENAME TABLE ".$table_prefix."album_config TO ".$table_prefix."smartor_album_config"; $sql[] = "CREATE TABLE ".$table_prefix."smartor_album_sp_config ( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name) ) TYPE=MyISAM"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_late', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('rate_type', '2')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_high', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_mostv', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_rand', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('img_rows', '2')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('img_cols', '3')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('use_watermark', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('wut_users', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_watermark_at', '3')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('hon_rate_times', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('hon_rate_sep', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('hon_rate_where', '')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('hon_rate_users', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('midthumb_use', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('midthumb_height', '500')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('midthumb_width', '500')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('midthumb_cache', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('jaime_lettering', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('fap_version', '1.4.1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_thumb', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_total_pics', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_total_comments', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_comments', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_last_comment', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_last_pic', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_pics', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_recent_in_subcats', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_recent_instead_of_nopics', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('line_break_subcats', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_subcats', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_allow_gallery_mod', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_allow_sub_categories', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_sub_category_limit', '-1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_show_subcats_in_index', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_show_recent_in_subcats', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_show_recent_instead_of_nopics', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_personal_gallery_link', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_category_sorting', 'cat_order')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_category_sorting_direction', 'ASC')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_debug_mode', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_all_in_personal_gallery', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('new_pic_check_interval', '1M')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('index_enable_supercells', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('email_notification', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_download', '2')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_slideshow', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_pic_size_on_thumb', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_files_to_upload', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_pregenerated_fields', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('dynamic_fields', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('pregenerate_fields', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('propercase_pic_title', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_last_pic_lv', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_pics_approval', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_img_no_gd', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('dynamic_pic_resampling', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_file_size_resampling', '1024000')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('switch_nuffload', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('path_to_bin', './modules/mx_smartor/cgi-bin/')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('perl_uploader', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_progress_bar', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('close_on_finish', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_pause', '5')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('simple_format', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('multiple_uploads', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_uploads', '5')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('zip_uploads', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_pic', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_width', '600')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_height', '600')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_quality', '70')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_pics_nav', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_inline_copyright', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_nuffimage', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_sepia_bw', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_allow_avatar_gallery', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_gif_mid_thumb', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('slideshow_script', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_exif', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_bbcode', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('quick_thumbs', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('set_memory', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('lb_preview', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('use_old_pics_gen', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_last_comments', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_mooshow', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_integration', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('override_default_pages', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('index', '5')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('invert_nav_arrows', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_otf_link', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_all_pics_link', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_personal_galleries_link', '1')"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_rate ADD rate_hon_point TINYINT(3) DEFAULT '0' NOT NULL"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_cat ADD cat_wm TEXT AFTER cat_desc"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_cat ADD cat_parent MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER cat_approval"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_cat ADD cat_user_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER cat_parent"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_comment ADD comment_cat_id int(11) NOT NULL default '0' AFTER comment_pic_id"; $n = 0; $message .= "<b>OK...</b><br /><br />"; while($sql[$n]) { $message .= ($mods[$n-1] != $mods[$n]) ? '<p><b><font size=3>'.$mods[$n].'</font></b><br />' : ''; if(!$result = $db->sql_query($sql[$n])) { $message .= '<b><font color=#FF0000>[Error or Already added]</font></b> line: '.($n+1).' , '.$sql[$n].'<br />'; } else { $message .='<b><font color=#0000fF>[Added/Updated]</font></b> line: '.($n+1).' , '.$sql[$n].'<br />'; } $n++; } } // // If fresh install // elseif(!$result = $db->sql_query("SELECT config_name from ".$table_prefix."smartor_album_sp_config")) { $message = "<b>This is a fresh install!</b><br/><br/>"; $sql = array(); $sql[] = "CREATE TABLE ".$table_prefix."smartor_album ( pic_id int(11) UNSIGNED NOT NULL auto_increment, pic_filename varchar(255) NOT NULL, pic_thumbnail varchar(255), pic_title varchar(255) NOT NULL, pic_desc text, pic_user_id mediumint(8) NOT NULL, pic_username varchar(32), pic_user_ip char(8) NOT NULL DEFAULT '0', pic_time int(11) UNSIGNED NOT NULL, pic_cat_id mediumint(8) UNSIGNED NOT NULL DEFAULT '1', pic_view_count int(11) UNSIGNED NOT NULL DEFAULT '0', pic_lock tinyint(3) NOT NULL DEFAULT '0', pic_approval tinyint(3) NOT NULL DEFAULT '1', PRIMARY KEY (pic_id), KEY pic_cat_id (pic_cat_id), KEY pic_user_id (pic_user_id), KEY pic_time (pic_time) ) TYPE=MyISAM"; $sql[] = "CREATE TABLE ".$table_prefix."smartor_album_rate ( rate_pic_id int(11) UNSIGNED NOT NULL, rate_user_id mediumint(8) NOT NULL, rate_user_ip char(8) NOT NULL, rate_point tinyint(3) UNSIGNED NOT NULL, KEY rate_pic_id (rate_pic_id), KEY rate_user_id (rate_user_id), KEY rate_user_ip (rate_user_ip), KEY rate_point (rate_point) ) TYPE=MyISAM"; $sql[] = "CREATE TABLE ".$table_prefix."smartor_album_comment ( comment_id int(11) UNSIGNED NOT NULL auto_increment, comment_pic_id int(11) UNSIGNED NOT NULL, comment_cat_id int(11) NOT NULL default '0', comment_user_id mediumint(8) NOT NULL, comment_username varchar(32), comment_user_ip char(8) NOT NULL, comment_time int(11) UNSIGNED NOT NULL, comment_text TEXT, comment_edit_time int(11) UNSIGNED, comment_edit_count smallint(5) UNSIGNED NOT NULL DEFAULT '0', comment_edit_user_id mediumint(8), PRIMARY KEY(comment_id), KEY comment_pic_id (comment_pic_id), KEY comment_user_id (comment_user_id), KEY comment_user_ip (comment_user_ip), KEY comment_time (comment_time) ) TYPE=MyISAM"; $sql[] = "CREATE TABLE ".$table_prefix."smartor_album_cat ( cat_id mediumint(8) UNSIGNED NOT NULL auto_increment, cat_title varchar(255) NOT NULL, cat_desc text, cat_wm text, cat_order mediumint(8) NOT NULL, cat_view_level tinyint(3) NOT NULL DEFAULT '-1', cat_upload_level tinyint(3) NOT NULL DEFAULT '0', cat_rate_level tinyint(3) NOT NULL DEFAULT '0', cat_comment_level tinyint(3) NOT NULL DEFAULT '0', cat_edit_level tinyint(3) NOT NULL DEFAULT '0', cat_delete_level tinyint(3) NOT NULL DEFAULT '2', cat_view_groups varchar(255), cat_upload_groups varchar(255), cat_rate_groups varchar(255), cat_comment_groups varchar(255), cat_edit_groups varchar(255), cat_delete_groups varchar(255), cat_moderator_groups varchar(255), cat_approval tinyint(3) NOT NULL DEFAULT '0', cat_parent mediumint(8) unsigned default '0', cat_user_id mediumint(8) unsigned default '0', PRIMARY KEY (cat_id), KEY cat_order (cat_order) ) TYPE=MyISAM"; $sql[] = "CREATE TABLE ".$table_prefix."smartor_album_config ( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name) ) TYPE=MyISAM"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_pics', '1024')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('user_pics_limit', '50')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('mod_pics_limit', '250')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_file_size', '128000')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_width', '1024')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_height', '768')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('rows_per_page', '3')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('cols_per_page', '4')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('fullpic_popup', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('thumbnail_quality', '50')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('thumbnail_size', '150')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('thumbnail_cache', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('sort_method', 'pic_time')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('sort_order', 'DESC')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('jpg_allowed', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('png_allowed', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('gif_allowed', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('desc_length', '512')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('hotlink_prevent', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('hotlink_allowed', 'smartor.is-root.com')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_gallery', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_gallery_private', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_gallery_limit', '10')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_gallery_view', '-1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('rate', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('rate_scale', '10')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('comment', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('gd_version', '2')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_version', '.0.54')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('fap_version', '1.4.1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_thumb', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_total_pics', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_total_comments', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_comments', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_last_comment', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_last_pic', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_pics', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_recent_in_subcats', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_recent_instead_of_nopics', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('line_break_subcats', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_subcats', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_allow_gallery_mod', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_allow_sub_categories', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_sub_category_limit', '-1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_show_subcats_in_index', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_show_recent_in_subcats', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_show_recent_instead_of_nopics', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_personal_gallery_link', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_category_sorting', 'cat_order')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_category_sorting_direction', 'ASC')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_debug_mode', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_all_in_personal_gallery', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('new_pic_check_interval', '1M')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('index_enable_supercells', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('email_notification', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_download', '2')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_slideshow', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_pic_size_on_thumb', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_files_to_upload', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_pregenerated_fields', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('dynamic_fields', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('pregenerate_fields', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('propercase_pic_title', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_last_pic_lv', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_pics_approval', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_img_no_gd', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('dynamic_pic_resampling', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_file_size_resampling', '1024000')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('switch_nuffload', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('path_to_bin', './modules/mx_smartor/cgi-bin/')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('perl_uploader', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_progress_bar', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('close_on_finish', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_pause', '5')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('simple_format', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('multiple_uploads', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_uploads', '5')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('zip_uploads', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_pic', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_width', '600')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_height', '600')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_quality', '70')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_pics_nav', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_inline_copyright', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_nuffimage', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_sepia_bw', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_allow_avatar_gallery', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_gif_mid_thumb', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('slideshow_script', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_exif', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_bbcode', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('quick_thumbs', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('set_memory', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('lb_preview', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('use_old_pics_gen', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_last_comments', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_mooshow', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_integration', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('override_default_pages', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('index', '5')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('invert_nav_arrows', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_otf_link', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_all_pics_link', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_personal_galleries_link', '1')"; $sql[] = "CREATE TABLE ".$table_prefix."smartor_album_sp_config ( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name) ) TYPE=MyISAM"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_late', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('rate_type', '2')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_high', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_mostv', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_rand', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('img_rows', '2')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('img_cols', '3')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('use_watermark', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('wut_users', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_watermark_at', '3')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('hon_rate_times', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('hon_rate_sep', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('hon_rate_where', '')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('hon_rate_users', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('midthumb_use', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('midthumb_height', '500')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('midthumb_width', '500')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('midthumb_cache', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('jaime_lettering', '0')"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_rate ADD rate_hon_point TINYINT(3) DEFAULT '0' NOT NULL"; $message .= mx_do_install_upgrade( $sql ); } else { // // Upgrade checks // $upgrade_2000 = 0; $upgrade_2001 = 0; // // validate before 2.00 // $result = $db->sql_query( "SELECT config_value from " . $table_prefix . "smartor_album_config WHERE config_name = 'enable_integration'" ); if ( $db->sql_numrows( $result ) == 0 ) { $upgrade_2000 = 1; } $result = $db->sql_query( "SELECT config_value from " . $table_prefix . "smartor_album_config WHERE config_name = 'show_otf_link'" ); if ( $db->sql_numrows( $result ) == 0 ) { $upgrade_2001 = 1; } $message = "<b>Upgrading!</b><br/><br/>"; if ( $upgrade_2000 == 1 ) { $message .= "<b>Upgrading to v. 2.00 Beta 1...</b><br/><br/>"; $sql[] = "UPDATE ". $table_prefix ."smartor_album_config SET config_value = '0.54' WHERE config_name = 'album_version'"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_cat ADD cat_wm TEXT AFTER cat_desc"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_cat ADD cat_parent MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER cat_approval"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_cat ADD cat_user_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER cat_parent"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('fap_version', '1.4.0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_thumb', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_total_pics', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_total_comments', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_comments', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_last_comment', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_last_pic', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_pics', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_recent_in_subcats', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_recent_instead_of_nopics', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('line_break_subcats', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_subcats', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_allow_gallery_mod', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_allow_sub_categories', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_sub_category_limit', '-1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_show_subcats_in_index', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_show_recent_in_subcats', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_show_recent_instead_of_nopics', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_personal_gallery_link', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_category_sorting', 'cat_order')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_category_sorting_direction', 'ASC')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_debug_mode', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_all_in_personal_gallery', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('new_pic_check_interval', '1M')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('index_enable_supercells', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('email_notification', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_download', '2')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_slideshow', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_pic_size_on_thumb', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_files_to_upload', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_pregenerated_fields', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('dynamic_fields', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('pregenerate_fields', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('propercase_pic_title', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_index_last_pic_lv', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_pics_approval', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_img_no_gd', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('dynamic_pic_resampling', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_file_size_resampling', '1024000')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('switch_nuffload', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('path_to_bin', './modules/mx_smartor/cgi-bin/')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('perl_uploader', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_progress_bar', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('close_on_finish', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_pause', '5')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('simple_format', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('multiple_uploads', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('max_uploads', '5')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('zip_uploads', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_pic', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_width', '600')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_height', '600')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('resize_quality', '70')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_pics_nav', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_inline_copyright', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_nuffimage', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_sepia_bw', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('personal_allow_avatar_gallery', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_gif_mid_thumb', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('slideshow_script', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_exif', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('album_bbcode', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('quick_thumbs', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('set_memory', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('lb_preview', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('use_old_pics_gen', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_last_comments', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_mooshow', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('enable_integration', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('override_default_pages', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('index', '5')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_sp_config VALUES ('disp_mostv', '1')"; } if ( $upgrade_2001 == 1 ) { $message .= "<b>Upgrading to v. 2.00 Beta 2...</b><br/><br/>"; $sql[] = "UPDATE ". $table_prefix ."smartor_album_config SET config_value = '1.4.1' WHERE config_name = 'fap_version'"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('invert_nav_arrows', '0')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_otf_link', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_all_pics_link', '1')"; $sql[] = "INSERT INTO ".$table_prefix."smartor_album_config VALUES ('show_personal_galleries_link', '1')"; $sql[] = "ALTER TABLE ".$table_prefix."smartor_album_comment ADD comment_cat_id int(11) NOT NULL default '0' AFTER comment_pic_id"; } else { $message .= "<b>Nothing to upgrade...</b><br/><br/>"; } $sql[] = "UPDATE " . $table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Mod Installation/Upgrading/Uninstalling Information - mod specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?> |
|
From: OryNider <ory...@us...> - 2008-03-14 14:23:40
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2/templates In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14976/phpbb2/templates Added Files: index.htm Log Message: i fogot to commit this somehow --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-03-14 14:23:36
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14976/phpbb2/admin Added Files: admin_album_auth.php admin_album_cat.php admin_album_cfg.php admin_album_clearcache.php admin_album_clown_SP.php admin_album_config_personal.php admin_album_otf.php admin_album_personal.php Log Message: i fogot to commit this somehow --- NEW FILE: admin_album_config_personal.php --- <?php /** * * @package Mx-Publisher Module - mx_smartor * @version $Id: admin_album_config_personal.php,v 1.1 2008/03/14 14:23:31 orynider Exp $ * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define('MXBB_MODULE', false); define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; require_once($mx_mod_path . "includes/functions_required.$phpEx"); @define('IN_PORTAL', true); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './../'; include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require_once($mx_mod_path . "includes/functions_core.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_MUSIC', -506 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // instatiate the mx_user class // //$mx_user = new mx_user(); // // Left Pane Paths // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; if (file_exists($phpbb_root_path."modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; } else if (@file_exists($phpbb_root_path."mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; } } else { define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', true ); // // Main paths // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; $setmodules_admin_path = 'modules/mx_smartor/admin/'; define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); } if( !empty($setmodules) ) { $filename = basename(__FILE__); $module['Smartor_Album']['Album_Personal_Settings'] = $setmodules_admin_path . $filename; return; } // // Let's set the root dir for phpBB // $album_root_path = $module_root_path . 'album_mod/'; require($mx_root_path . 'admin/pagestart.' . $phpEx); if ( !MXBB_MODULE ) { require_once($mx_mod_path . "includes/functions_styles.$phpEx"); $mx_user = new mx_user(); // instatiate the mx_user class // // Define basic constants // $mx_user->page_id = 1; $mx_user->user_ip = $user_ip; $mx_user->_init_userprefs(); } require($module_root_path . 'album_mod/includes/album_constants.'.$phpEx); // ********************************************************************** // Read language definition // ********************************************************************** if ( !file_exists($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx")) { include($album_root_path . "language/lang_english/lang_admin.$phpEx"); } else { include($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx"); } // // Pull all config data // $sql = "SELECT * FROM " . ALBUM_CONFIG_TABLE; if(!$result = $db->sql_query($sql)) { mx_message_die(CRITICAL_ERROR, "Could not query Album config information", "", __LINE__, __FILE__, $sql); } else { while( $row = $db->sql_fetchrow($result) ) { $config_name = $row['config_name']; $config_value = $row['config_value']; $default_config[$config_name] = $config_value; $new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name]; if( isset($HTTP_POST_VARS['submit']) ) { $sql = "UPDATE " . ALBUM_CONFIG_TABLE . " SET config_value = '" . str_replace("\'", "''", $new[$config_name]) . "' WHERE config_name = '$config_name'"; if( !$db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, "Failed to update Album configuration for $config_name", "", __LINE__, __FILE__, $sql); } } } if( isset($HTTP_POST_VARS['submit']) ) { $message = $lang['Album_config_updated'] . "<br /><br />" . sprintf($lang['Click_return_album_config'], "<a href=\"" . mx_append_sid("admin_album_config_personal.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); } } $template->set_filenames(array( "body" => 'admin/album_config_personal_body.tpl') ); $template->assign_vars(array( 'L_ALBUM_PERSONAL_CONFIG' => $lang['Album_Personal_Settings'], 'L_ALBUM_PERSONAL_CONFIG_EXPLAIN' => $lang['Album_Personal_Settings_Explain'], 'S_ALBUM_PERSONAL_CONFIG_ACTION' => mx_append_sid('admin_album_config_personal.'.$phpEx), 'PERSONAL_GALLERY_LIMIT' => $new['personal_gallery_limit'], 'PERSONAL_GALLERY_USER' => ($new['personal_gallery'] == ALBUM_USER) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_PRIVATE' => ($new['personal_gallery'] == ALBUM_PRIVATE) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_ADMIN' => ($new['personal_gallery'] == ALBUM_ADMIN) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_VIEW_ALL' => ($new['personal_gallery_view'] == ALBUM_GUEST) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_VIEW_REG' => ($new['personal_gallery_view'] == ALBUM_USER) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_VIEW_PRIVATE' => ($new['personal_gallery_view'] == ALBUM_PRIVATE) ? 'checked="checked"' : '', 'PERSONAL_PICS_APPROVAL_DISABLED' => ($new['personal_pics_approval'] == ALBUM_USER) ? 'checked="checked"' : '', 'PERSONAL_PICS_APPROVAL_MOD' => ($new['personal_pics_approval'] == ALBUM_MOD) ? 'checked="checked"' : '', 'PERSONAL_PICS_APPROVAL_ADMIN' => ($new['personal_pics_approval'] == ALBUM_ADMIN) ? 'checked="checked"' : '', 'PERSONAL_SHOW_RECENT_IN_SUBCATS_ENABLED' => ($new['personal_show_recent_in_subcats'] == 1) ? 'checked="checked"' : '', 'PERSONAL_SHOW_RECENT_IN_SUBCATS_DISABLED' => ($new['personal_show_recent_in_subcats'] == 0) ? 'checked="checked"' : '', 'PERSONAL_SHOW_RECENT_INSTEAD_OF_NOPICS_ENABLED' => ($new['personal_show_recent_instead_of_nopics'] == 1) ? 'checked="checked"' : '', 'PERSONAL_SHOW_RECENT_INSTEAD_OF_NOPICS_DISABLED' => ($new['personal_show_recent_instead_of_nopics'] == 0) ? 'checked="checked"' : '', 'PERSONAL_MOD_ENABLED' => ($new['personal_allow_gallery_mod'] == 1) ? 'checked="checked"' : '', 'PERSONAL_MOD_DISABLED' => ($new['personal_allow_gallery_mod'] == 0) ? 'checked="checked"' : '', 'PERSONAL_SUBCAT_ENABLED' => ($new['personal_allow_sub_categories'] == 1) ? 'checked="checked"' : '', 'PERSONAL_SUBCAT_DISABLED' => ($new['personal_allow_sub_categories'] == 0) ? 'checked="checked"' : '', 'PERSONAL_SUB_GALLERY_LIMIT' => $new['personal_sub_category_limit'], 'PERSONAL_SHOW_SUBCATS_ENABLED' => ($new['personal_show_subcats_in_index'] == 1) ? 'checked="checked"' : '', 'PERSONAL_SHOW_SUBCATS_DISABLED' => ($new['personal_show_subcats_in_index'] == 0) ? 'checked="checked"' : '', 'PERSONAL_SHOW_ALL_PICS_ENABLED' => ($new['show_all_in_personal_gallery'] == 1) ? 'checked="checked"' : '', 'PERSONAL_SHOW_ALL_PICS_DISABLED' => ($new['show_all_in_personal_gallery'] == 0) ? 'checked="checked"' : '', 'PERSONAL_ALLOW_AVATARS_ENABLED' => ($new['personal_allow_avatar_gallery'] == 1) ? 'checked="checked"' : '', 'PERSONAL_ALLOW_AVATARS_DISABLED' => ($new['personal_allow_avatar_gallery'] == 0) ? 'checked="checked"' : '', 'S_GUEST' => ALBUM_GUEST, 'S_USER' => ALBUM_USER, 'S_PRIVATE' => ALBUM_PRIVATE, 'S_MOD' => ALBUM_MOD, 'S_ADMIN' => ALBUM_ADMIN, //--- Language setup --- 'L_GUEST' => $lang['Forum_ALL'], 'L_REG' => $lang['Forum_REG'], 'L_PRIVATE' => $lang['Forum_PRIVATE'], 'L_MOD' => $lang['Forum_MOD'], 'L_ADMIN' => $lang['Forum_ADMIN'], 'L_PERSONAL_GALLERY' => $lang['Personal_gallery'], 'L_PERSONAL_GALLERY_LIMIT' => $lang['Personal_gallery_limit'], 'L_PERSONAL_GALLERY_VIEW' => $lang['Personal_gallery_view'], 'L_ALBUM_PERSONAL_PICS_APPROVAL' => $lang['Personal_Gallery_Approval'], 'L_ALBUM_PERSONAL_MODERATOR' => $lang['Personal_Gallery_MOD'], 'L_PERSONAL_SUB_GALLERY_LIMIT' => $lang['Personal_Sub_Cat_Limit'], 'L_PERSONAL_ALLOW_SUB_CATEGORY' => $lang['User_Can_Create_Personal_SubCats'], 'L_PERSONAL_SHOW_SUBCATS' => $lang['Show_Personal_Sub_Cats'], 'L_PERSONAL_SHOW_RECENT_IN_SUBCATS' => $lang['Show_Recent_In_Personal_Subcats'], 'L_PERSONAL_SHOW_RECENT_INSTEAD_OF_NOPICS' => $lang['Show_Recent_Instead_of_Personal_NoPics'], 'L_ALBUM_DEBUG_MODE' => $lang['Album_debug_mode'], 'L_PERSONAL_SHOW_ALL_PICS' => $lang['Enable_Show_All_Pics'], 'L_PERSONAL_ALLOW_AVATARS' => $lang['Allow_Album_Avatars'], 'L_DISABLED' => $lang['Disabled'], 'L_ENABLED' => $lang['Enabled'], 'L_YES' => $lang['Yes'], 'L_NO' => $lang['No'], 'L_ALWAYS' => $lang['SP_Always'], 'L_SUBMIT' => $lang['Submit'], 'L_RESET' => $lang['Reset']) ); $template->pparse("body"); include($mx_root_path . 'admin/page_footer_admin.'.$phpEx); ?> --- NEW FILE: admin_album_cfg.php --- <?php /** * * @package Mx-Publisher Module - mx_smartor * @version $Id: admin_album_cfg.php,v 1.1 2008/03/14 14:23:29 orynider Exp $ * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define('MXBB_MODULE', false); define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; require_once($mx_mod_path . "includes/functions_required.$phpEx"); @define('IN_PORTAL', true); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './../'; include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require_once($mx_mod_path . "includes/functions_core.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_MUSIC', -506 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // instatiate the mx_user class // //$mx_user = new mx_user(); // // Left Pane Paths // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; if (file_exists($phpbb_root_path."modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; } else if (@file_exists($phpbb_root_path."mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; } } else { define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', true ); // // Main paths // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; $setmodules_admin_path = 'modules/mx_smartor/admin/'; define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); } if( !empty($setmodules) ) { $filename = basename(__FILE__); $module['Smartor_Album']['Configuration std'] = $setmodules_admin_path . $filename; return; } // // Let's set the root dir for phpBB // $album_root_path = $module_root_path . 'album_mod/'; require($mx_root_path . 'admin/pagestart.' . $phpEx); if ( !MXBB_MODULE ) { require_once($mx_mod_path . "includes/functions_styles.$phpEx"); $mx_user = new mx_user(); // instatiate the mx_user class // // Define basic constants // $mx_user->page_id = 1; $mx_user->user_ip = $user_ip; $mx_user->_init_userprefs(); } require($module_root_path . 'album_mod/includes/album_constants.'.$phpEx); // ********************************************************************** // Read language definition // ********************************************************************** if ( !file_exists($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx")) { include($album_root_path . "language/lang_english/lang_admin.$phpEx"); } else { include($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx"); } if ( !file_exists($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_main.$phpEx")) { include($album_root_path . "language/lang_english/lang_main.$phpEx"); } else { include($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_main.$phpEx"); } // // Pull all config data // $sql = "SELECT * FROM " . ALBUM_CONFIG_TABLE; if(!$result = $db->sql_query($sql)) { mx_message_die(CRITICAL_ERROR, "Could not query Album config information", "", __LINE__, __FILE__, $sql); } else { while( $row = $db->sql_fetchrow($result) ) { $config_name = $row['config_name']; $config_value = $row['config_value']; $default_config[$config_name] = $config_value; $new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name]; if( isset($HTTP_POST_VARS['submit']) ) { $sql = "UPDATE " . ALBUM_CONFIG_TABLE . " SET config_value = '" . str_replace("\'", "''", $new[$config_name]) . "' WHERE config_name = '$config_name'"; if( !$db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, "Failed to update Album configuration for $config_name", "", __LINE__, __FILE__, $sql); } $default_config[$config_name] = $new[$config_name]; $mx_cache->put('album_config', $default_config); } } if( isset($HTTP_POST_VARS['submit']) ) { $message = $lang['Album_config_updated'] . "<br /><br />" . sprintf($lang['Click_return_album_config'], "<a href=\"" . mx_append_sid("admin_album_cfg.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); } } $template->set_filenames(array( "body" => "admin/album_config_body.tpl") ); $template->assign_vars(array( 'L_ALBUM_CONFIG' => $lang['Album_config'], 'L_ALBUM_CONFIG_EXPLAIN' => $lang['Album_config_explain'], 'S_ALBUM_CONFIG_ACTION' => mx_append_sid('admin_album_cfg.'.$phpEx), // Index 'INDEX_SHOW_SUBCATS_ENABLED' => ($new['show_index_subcats'] == 1) ? 'checked="checked"' : '', 'INDEX_SHOW_SUBCATS_DISABLED' => ($new['show_index_subcats'] == 0) ? 'checked="checked"' : '', 'INDEX_THUMB_ENABLED' => ($new['show_index_thumb'] == 1) ? 'checked="checked"' : '', 'INDEX_THUMB_DISABLED' => ($new['show_index_thumb'] == 0) ? 'checked="checked"' : '', 'INDEX_TOTAL_PICS_ENABLED' => ($new['show_index_total_pics'] == 1) ? 'checked="checked"' : '', 'INDEX_TOTAL_PICS_DISABLED' => ($new['show_index_total_pics'] == 0) ? 'checked="checked"' : '', 'INDEX_TOTAL_COMMENTS_ENABLED' => ($new['show_index_total_comments'] == 1) ? 'checked="checked"' : '', 'INDEX_TOTAL_COMMENTS_DISABLED' => ($new['show_index_total_comments'] == 0) ? 'checked="checked"' : '', 'INDEX_PICS_ENABLED' => ($new['show_index_pics'] == 1) ? 'checked="checked"' : '', 'INDEX_PICS_DISABLED' => ($new['show_index_pics'] == 0) ? 'checked="checked"' : '', 'INDEX_COMMENTS_ENABLED' => ($new['show_index_comments'] == 1) ? 'checked="checked"' : '', 'INDEX_COMMENTS_DISABLED' => ($new['show_index_comments'] == 0) ? 'checked="checked"' : '', 'INDEX_LAST_COMMENT_ENABLED' => ($new['show_index_last_comment'] == 1) ? 'checked="checked"' : '', 'INDEX_LAST_COMMENT_DISABLED' => ($new['show_index_last_comment'] == 0) ? 'checked="checked"' : '', 'INDEX_LAST_PIC_ENABLED' => ($new['show_index_last_pic'] == 1) ? 'checked="checked"' : '', 'INDEX_LAST_PIC_DISABLED' => ($new['show_index_last_pic'] == 0) ? 'checked="checked"' : '', 'INDEX_LAST_PIC_LV_ENABLED' => ($new['show_index_last_pic_lv'] == 1) ? 'checked="checked"' : '', 'INDEX_LAST_PIC_LV_DISABLED' => ($new['show_index_last_pic_lv'] == 0) ? 'checked="checked"' : '', 'INDEX_LINEBREAK_ENABLED' => ($new['line_break_subcats'] == 1) ? 'checked="checked"' : '', 'INDEX_LINEBREAK_DISABLED' => ($new['line_break_subcats'] == 0) ? 'checked="checked"' : '', 'INDEX_SHOW_PERSONAL_GALLERY_LINK_ENABLED' => ($new['show_personal_gallery_link'] == 1) ? 'checked="checked"' : '', 'INDEX_SHOW_PERSONAL_GALLERY_LINK_DISABLED' => ($new['show_personal_gallery_link'] == 0) ? 'checked="checked"' : '', 'NEW_PIC_CHECK_INTERVAL' => $new['new_pic_check_interval'], 'INDEX_SUPERCELLS_ENABLED' => ($new['index_enable_supercells'] == 1) ? 'checked="checked"' : '', 'INDEX_SUPERCELLS_DISABLED' => ($new['index_enable_supercells'] == 0) ? 'checked="checked"' : '', 'L_INDEX_SHOW_SUBCATS' => $lang['Show_Index_Subcats'], 'L_INDEX_THUMB' => $lang['Show_Index_Thumb'], 'L_INDEX_TOTAL_PICS' => $lang['Show_Index_Total_Pics'], 'L_INDEX_TOTAL_COMMENTS' => $lang['Show_Index_Total_Comments'], 'L_INDEX_PICS' => $lang['Show_Index_Pics'], 'L_INDEX_COMMENTS' => $lang['Show_Index_Comments'], 'L_INDEX_LAST_COMMENT' => $lang['Show_Index_Last_Comment'], 'L_INDEX_LAST_PIC' => $lang['Show_Index_Last_Pic'], 'L_INDEX_LINEBREAK_SUBCATS' => $lang['Line_Break_Subcats'], 'L_SHOW_PERSONAL_GALLERY_LINK' => $lang['Show_Personal_Gallery_Link'], 'L_NEW_PIC_CHECK_INTERVAL' => $lang['New_Pic_Check_Interval'], 'L_NEW_PIC_CHECK_INTERVAL_DESC' => $lang['New_Pic_Check_Interval_Desc'], 'L_NEW_PIC_CHECK_INTERVAL_LV' => $lang['New_Pic_Check_Interval_LV'], 'L_ENABLE_SUPERCELLS' => $lang['Enable_Index_Supercells'], // Display OTF Link 'L_SHOW_OTF_LINK' => $lang['Show_OTF_Link'], 'SHOW_OTF_LINK_ENABLED' => ($new['show_otf_link'] == 1) ? 'checked="checked"' : '', 'SHOW_OTF_LINK_DISABLED' => ($new['show_otf_link'] == 0) ? 'checked="checked"' : '', // Display All Pics Link 'L_SHOW_ALL_PICS_LINK' => $lang['Show_AllPics_Link'], 'SHOW_ALL_PICS_LINK_ENABLED' => ($new['show_all_pics_link'] == 1) ? 'checked="checked"' : '', 'SHOW_ALL_PICS_LINK_DISABLED' => ($new['show_all_pics_link'] == 0) ? 'checked="checked"' : '', // Display PG Link 'L_SHOW_PERSONAL_GALLERIES_LINK' => $lang['Show_PG_Link'], 'SHOW_PERSONAL_GALLERIES_LINK_ENABLED' => ($new['show_personal_galleries_link'] == 1) ? 'checked="checked"' : '', 'SHOW_PERSONAL_GALLERIES_LINK_DISABLED' => ($new['show_personal_galleries_link'] == 0) ? 'checked="checked"' : '', // Display All Pics Link 'L_SHOW_LAST_COMMENTS' => $lang['Show_Last_Comments'], 'SHOW_LAST_COMMENTS_ENABLED' => ($new['show_last_comments'] == 1) ? 'checked="checked"' : '', 'SHOW_LAST_COMMENTS_DISABLED' => ($new['show_last_comments'] == 0) ? 'checked="checked"' : '', 'MAX_PICS' => $new['max_pics'], 'MAX_FILE_SIZE' => $new['max_file_size'], 'MAX_FILE_SIZE_RESAMPLING' => $new['max_file_size_resampling'], 'MAX_WIDTH' => $new['max_width'], 'MAX_HEIGHT' => $new['max_height'], 'MAX_FILES_TO_UPLOAD' => $new['max_files_to_upload'], 'MAX_PREGENERATED_FIELDS' => $new['max_pregenerated_fields'], 'ROWS_PER_PAGE' => $new['rows_per_page'], 'COLS_PER_PAGE' => $new['cols_per_page'], 'THUMBNAIL_QUALITY' => $new['thumbnail_quality'], 'THUMBNAIL_SIZE' => $new['thumbnail_size'], 'PERSONAL_GALLERY_LIMIT' => $new['personal_gallery_limit'], 'USER_PICS_LIMIT' => $new['user_pics_limit'], 'MOD_PICS_LIMIT' => $new['mod_pics_limit'], 'SET_MEMORY' => $new['set_memory'], 'DYNAMIC_PIC_RESAMPLING_ENABLED' => ($new['dynamic_pic_resampling'] == 1) ? 'checked="checked"' : '', 'DYNAMIC_PIC_RESAMPLING_DISABLED' => ($new['dynamic_pic_resampling'] == 0) ? 'checked="checked"' : '', 'THUMBNAIL_CACHE_ENABLED' => ($new['thumbnail_cache'] == 1) ? 'checked="checked"' : '', 'THUMBNAIL_CACHE_DISABLED' => ($new['thumbnail_cache'] == 0) ? 'checked="checked"' : '', 'JPG_ENABLED' => ($new['jpg_allowed'] == 1) ? 'checked="checked"' : '', 'JPG_DISABLED' => ($new['jpg_allowed'] == 0) ? 'checked="checked"' : '', 'PNG_ENABLED' => ($new['png_allowed'] == 1) ? 'checked="checked"' : '', 'PNG_DISABLED' => ($new['png_allowed'] == 0) ? 'checked="checked"' : '', 'GIF_ENABLED' => ($new['gif_allowed'] == 1) ? 'checked="checked"' : '', 'GIF_DISABLED' => ($new['gif_allowed'] == 0) ? 'checked="checked"' : '', 'PIC_DESC_MAX_LENGTH' => $new['desc_length'], 'HOTLINK_PREVENT_ENABLED' => ($new['hotlink_prevent'] == 1) ? 'checked="checked"' : '', 'HOTLINK_PREVENT_DISABLED' => ($new['hotlink_prevent'] == 0) ? 'checked="checked"' : '', 'HOTLINK_ALLOWED' => $new['hotlink_allowed'], 'PERSONAL_GALLERY_USER' => ($new['personal_gallery'] == ALBUM_USER) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_PRIVATE' => ($new['personal_gallery'] == ALBUM_PRIVATE) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_ADMIN' => ($new['personal_gallery'] == ALBUM_ADMIN) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_VIEW_ALL' => ($new['personal_gallery_view'] == ALBUM_GUEST) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_VIEW_REG' => ($new['personal_gallery_view'] == ALBUM_USER) ? 'checked="checked"' : '', 'PERSONAL_GALLERY_VIEW_PRIVATE' => ($new['personal_gallery_view'] == ALBUM_PRIVATE) ? 'checked="checked"' : '', // 'RATE_ENABLED' => ($new['rate'] == 1) ? 'checked="checked"' : '', // 'RATE_DISABLED' => ($new['rate'] == 0) ? 'checked="checked"' : '', 'RATE_SCALE' => $new['rate_scale'], // 'COMMENT_ENABLED' => ($new['comment'] == 1) ? 'checked="checked"' : '', // 'COMMENT_DISABLED' => ($new['comment'] == 0) ? 'checked="checked"' : '', 'PROPERCASE_TITLE_ENABLED' => ($new['propercase_pic_title'] == 1) ? 'checked="checked"' : '', 'PROPERCASE_TITLE_DISABLED' => ($new['propercase_pic_title'] == 0) ? 'checked="checked"' : '', 'SHOW_DOWNLOAD_ALWAYS' => ($new['show_download'] == 2) ? 'checked="checked"' : '', 'SHOW_DOWNLOAD_ENABLED' => ($new['show_download'] == 1) ? 'checked="checked"' : '', 'SHOW_DOWNLOAD_DISABLED' => ($new['show_download'] == 0) ? 'checked="checked"' : '', 'NO_GD' => ($new['gd_version'] == 0) ? 'checked="checked"' : '', 'GD_V1' => ($new['gd_version'] == 1) ? 'checked="checked"' : '', 'GD_V2' => ($new['gd_version'] == 2) ? 'checked="checked"' : '', 'SORT_TIME' => ($new['sort_method'] == 'pic_time') ? 'selected="selected"' : '', 'SORT_PIC_TITLE' => ($new['sort_method'] == 'pic_title') ? 'selected="selected"' : '', 'SORT_USERNAME' => ($new['sort_method'] == 'pic_user_id') ? 'selected="selected"' : '', 'SORT_VIEW' => ($new['sort_method'] == 'pic_view_count') ? 'selected="selected"' : '', 'SORT_RATING' => ($new['sort_method'] == 'rating') ? 'selected="selected"' : '', 'SORT_COMMENTS' => ($new['sort_method'] == 'comments') ? 'selected="selected"' : '', 'SORT_NEW_COMMENT' => ($new['sort_method'] == 'new_comment') ? 'selected="selected"' : '', 'SORT_ASC' => ($new['sort_order'] == 'ASC') ? 'selected="selected"' : '', 'SORT_DESC' => ($new['sort_order'] == 'DESC') ? 'selected="selected"' : '', 'FULLPIC_POPUP_ENABLED' => ($new['fullpic_popup'] == 1) ? 'checked="checked"' : '', 'FULLPIC_POPUP_DISABLED' => ($new['fullpic_popup'] == 0) ? 'checked="checked"' : '', // Added for Gold Begin 'SHOW_IMG_NO_GD_ENABLED' => ($new['show_img_no_gd'] == 1) ? 'checked="checked"' : '', 'SHOW_IMG_NO_GD_DISABLED' => ($new['show_img_no_gd'] == 0) ? 'checked="checked"' : '', 'SHOW_GIF_MID_THUMB_ENABLED' => ($new['show_gif_mid_thumb'] == 1) ? 'checked="checked"' : '', 'SHOW_GIF_MID_THUMB_DISABLED' => ($new['show_gif_mid_thumb'] == 0) ? 'checked="checked"' : '', 'SHOW_PIC_SIZE_ENABLED' => ($new['show_pic_size_on_thumb'] == 1) ? 'checked="checked"' : '', 'SHOW_PIC_SIZE_DISABLED' => ($new['show_pic_size_on_thumb'] == 0) ? 'checked="checked"' : '', 'LB_PREVIEW_ENABLED' => ($new['lb_preview'] == 1) ? 'checked="checked"' : '', 'LB_PREVIEW_DISABLED' => ($new['lb_preview'] == 0) ? 'checked="checked"' : '', // Added for Gold End 'SHOW_SLIDESHOW_ENABLED' => ($new['show_slideshow'] == 1) ? 'checked="checked"' : '', 'SHOW_SLIDESHOW_DISABLED' => ($new['show_slideshow'] == 0) ? 'checked="checked"' : '', 'SLIDESHOW_SCRIPT_ENABLED' => ($new['slideshow_script'] == 1) ? 'checked="checked"' : '', 'SLIDESHOW_SCRIPT_DISABLED' => ($new['slideshow_script'] == 0) ? 'checked="checked"' : '', 'SHOW_PICS_NAV_ENABLED' => ($new['show_pics_nav'] == 1) ? 'checked="checked"' : '', 'SHOW_PICS_NAV_DISABLED' => ($new['show_pics_nav'] == 0) ? 'checked="checked"' : '', // Invert Nav Arrows 'INVERT_NAV_ARROWS_ENABLED' => ($new['invert_nav_arrows'] == 1) ? 'checked="checked"' : '', 'INVERT_NAV_ARROWS_DISABLED' => ($new['invert_nav_arrows'] == 0) ? 'checked="checked"' : '', 'SHOW_INLINE_COPYRIGHT_ENABLED' => ($new['show_inline_copyright'] == 1) ? 'checked="checked"' : '', 'SHOW_INLINE_COPYRIGHT_DISABLED' => ($new['show_inline_copyright'] == 0) ? 'checked="checked"' : '', 'NUFFIMAGE_ENABLED' => ($new['enable_nuffimage'] == 1) ? 'checked="checked"' : '', 'NUFFIMAGE_DISABLED' => ($new['enable_nuffimage'] == 0) ? 'checked="checked"' : '', 'SEPIABW_ENABLED' => ($new['enable_sepia_bw'] == 1) ? 'checked="checked"' : '', 'SEPIABW_DISABLED' => ($new['enable_sepia_bw'] == 0) ? 'checked="checked"' : '', 'SHOW_EXIF_ENABLED' => ($new['show_exif'] == 1) ? 'checked="checked"' : '', 'SHOW_EXIF_DISABLED' => ($new['show_exif'] == 0) ? 'checked="checked"' : '', 'BBCODE_ENABLED' => ($new['album_bbcode'] == 1) ? 'checked="checked"' : '', 'BBCODE_DISABLED' => ($new['album_bbcode'] == 0) ? 'checked="checked"' : '', 'S_GUEST' => ALBUM_GUEST, 'S_USER' => ALBUM_USER, 'S_PRIVATE' => ALBUM_PRIVATE, 'S_MOD' => ALBUM_MOD, 'S_ADMIN' => ALBUM_ADMIN, //--- Language Setup 'L_MAX_PICS' => $lang['Max_pics'], 'L_MAX_FILE_SIZE' => $lang['Max_file_size'], 'L_MAX_FILE_SIZE_RESAMPLING' => $lang['Max_file_size_resampling'], 'L_MAX_WIDTH' => $lang['Max_width'], 'L_MAX_HEIGHT' => $lang['Max_height'], 'L_MAX_FILES_TO_UPLOAD' => $lang['Max_Files_To_Upload'], 'L_DYNAMIC_PIC_RESAMPLING' => $lang['Pic_Resampling'], 'L_ALBUM_UPLOAD_SETTINGS' => $lang['Album_upload_settings'], 'L_MAX_PREGENERATED_FIELDS' => $lang['Max_pregenerated_fields'], 'L_PROPERCASE_TITLE' => $lang['Propercase_pic_title'], 'L_USER_PICS_LIMIT' => $lang['User_pics_limit'], 'L_MOD_PICS_LIMIT' => $lang['Moderator_pics_limit'], 'L_ROWS_PER_PAGE' => $lang['Rows_per_page'], 'L_COLS_PER_PAGE' => $lang['Cols_per_page'], 'L_MANUAL_THUMBNAIL' => $lang['Manual_thumbnail'], 'L_THUMBNAIL_QUALITY' => $lang['Thumbnail_quality'], 'L_THUMBNAIL_SIZE' => $lang['Thumbnail_size'], 'L_THUMBNAIL_CACHE' => $lang['Thumbnail_cache'], 'L_JPG_ALLOWED' => $lang['JPG_allowed'], 'L_PNG_ALLOWED' => $lang['PNG_allowed'], 'L_GIF_ALLOWED' => $lang['GIF_allowed'], 'L_PIC_DESC_MAX_LENGTH' => $lang['Pic_Desc_Max_Length'], 'L_HOTLINK_PREVENT' => $lang['Hotlink_prevent'], 'L_HOTLINK_ALLOWED' => $lang['Hotlink_allowed'], 'L_PERSONAL_GALLERY' => $lang['Personal_gallery'], 'L_PERSONAL_GALLERY_LIMIT' => $lang['Personal_gallery_limit'], 'L_PERSONAL_GALLERY_VIEW' => $lang['Personal_gallery_view'], 'L_RATE_SYSTEM' => $lang['Rate_system'], 'L_RATE_SCALE' => $lang['Rate_Scale'], 'L_COMMENT_SYSTEM' => $lang['Comment_system'], 'L_SHOW_DOWNLOAD' => $lang['Show_Download'], 'L_GD_VERSION' => $lang['GD_version'], 'L_THUMBNAIL_SETTINGS' => $lang['Thumbnail_Settings'], 'L_EXTRA_SETTINGS' => $lang['Extra_Settings'], 'L_DEFAULT_SORT_METHOD' => $lang['Default_Sort_Method'], 'L_TIME' => $lang['Time'], 'L_PIC_TITLE' => $lang['Pic_Title'], 'L_USERNAME' => $lang['Sort_Username'], 'L_VIEW' => $lang['View'], 'L_RATING' => $lang['Rating'], 'L_COMMENTS' => $lang['Comments'], 'L_NEW_COMMENT' => $lang['New_Comment'], 'L_DEFAULT_SORT_ORDER' => $lang['Default_Sort_Order'], 'L_ASC' => $lang['Sort_Ascending'], 'L_DESC' => $lang['Sort_Descending'], 'L_FULLPIC_POPUP' => $lang['Fullpic_Popup'], 'L_GUEST' => $lang['Forum_ALL'], 'L_REG' => $lang['Forum_REG'], 'L_PRIVATE' => $lang['Forum_PRIVATE'], 'L_MOD' => $lang['Forum_MOD'], 'L_ADMIN' => $lang['Forum_ADMIN'], // Added for Gold Begin 'L_SHOW_IMG_NO_GD' => $lang['Show_IMG_No_GD'], 'L_SHOW_GIF_MID_THUMB' => $lang['Show_GIF_MidThumb'], 'L_SHOW_PIC_SIZE' => $lang['Show_Pic_Size'], 'L_LB_PREVIEW' => $lang['LB_Preview'], 'L_LB_PREVIEW_EXPLAIN' => $lang['LB_Preview_Explain'], // Added for Gold End 'L_SHOW_SLIDESHOW' => $lang['Show_Slideshow'], 'L_SHOW_SLIDESHOW_SCRIPT' => $lang['Show_Slideshow_Script'], 'L_SHOW_PICS_NAV' => $lang['Show_Pics_Nav'], 'L_INVERT_NAV_ARROWS' => $lang['Invert_Nav_Arrows'], 'L_SHOW_INLINE_COPYRIGHT' => $lang['Show_Inline_Copyright'], 'L_ENABLE_NUFFIMAGE' => $lang['Enable_Nuffimage'], 'L_ENABLE_SEPIA_BW' => $lang['Enable_Sepia_BW'], 'L_SHOW_EXIF' => $lang['Show_EXIF_Info'], 'L_ENABLE_BBCODE' => $lang['Enable_BBCode'], 'L_ALBUM_DEBUG_MODE' => $lang['Album_debug_mode'], 'L_SET_MEMORY' => $lang['Set_Memory'], 'L_SET_MEMORY_EXPLAIN' => $lang['Set_Memory_Explain'], 'L_DISABLED' => $lang['Disabled'], 'L_ENABLED' => $lang['Enabled'], 'L_YES' => $lang['Yes'], 'L_NO' => $lang['No'], 'L_ALWAYS' => $lang['SP_Always'], 'L_SUBMIT' => $lang['Submit'], 'L_RESET' => $lang['Reset']) ); $template->pparse("body"); include($mx_root_path . 'admin/page_footer_admin.'.$phpEx); /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ?> --- NEW FILE: admin_album_auth.php --- <?php /** * * @package Mx-Publisher Module - mx_smartor * @version $Id: admin_album_auth.php,v 1.1 2008/03/14 14:23:27 orynider Exp $ * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define('MXBB_MODULE', false); define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; require_once($mx_mod_path . "includes/functions_required.$phpEx"); @define('IN_PORTAL', true); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './../'; include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require_once($mx_mod_path . "includes/functions_core.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_MUSIC', -506 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // instatiate the mx_user class // //$mx_user = new mx_user(); // // Left Pane Paths // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; if (file_exists($phpbb_root_path."modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; } else if (@file_exists($phpbb_root_path."mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; } } else { define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', true ); // // Main paths // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; $setmodules_admin_path = 'modules/mx_smartor/admin/'; define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); } if( !empty($setmodules) ) { $filename = basename(__FILE__); $module['Smartor_Album']['Permissions'] = $setmodules_admin_path . $filename; return; } // // Let's set the root dir for phpBB // $album_root_path = $module_root_path . 'album_mod/'; require($mx_root_path . 'admin/pagestart.' . $phpEx); if ( !MXBB_MODULE ) { require_once($mx_mod_path . "includes/functions_styles.$phpEx"); $mx_user = new mx_user(); // instatiate the mx_user class // // Define basic constants // $mx_user->page_id = 1; $mx_user->user_ip = $user_ip; $mx_user->_init_userprefs(); } require($module_root_path . 'album_mod/album_common.'.$phpEx); // ********************************************************************** // Read language definition // ********************************************************************** if ( !file_exists($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx")) { include($album_root_path . "language/lang_english/lang_admin.$phpEx"); } else { include($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx"); } $album_user_id = ALBUM_PUBLIC_GALLERY; if ( !isset( $HTTP_POST_VARS['submit'] ) ) { /* // Build the category selector $sql = "SELECT cat_id, cat_title, cat_order FROM ". ALBUM_CAT_TABLE ." ORDER BY cat_order ASC"; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'Could not get Category list', '', __LINE__, __FILE__, $sql); } while( $row = $db->sql_fetchrow($result) ) { $catrows[] = $row; } for ($i = 0; $i < count($catrows); $i++) { $template->assign_block_vars('catrow', array( 'CAT_ID' => $catrows[$i]['cat_id'], 'CAT_TITLE' => $catrows[$i]['cat_title']) ); } */ album_read_tree(); $s_album_cat_list = album_get_tree_option( ALBUM_ROOT_CATEGORY, ALBUM_AUTH_VIEW, ALBUM_SELECTBOX_INCLUDE_ALL | ALBUM_SELECTBOX_INCLUDE_ROOT ); // --- Album Category Hierarchy : end $template->set_filenames( array( 'body' => 'admin/album_cat_select_body.tpl' ) ); $template->assign_vars( array( 'L_ALBUM_AUTH_TITLE' => $lang['Album_Auth_Title'], 'L_ALBUM_AUTH_EXPLAIN' => $lang['Album_Auth_Explain'], 'L_SELECT_CAT' => $lang['Select_a_Category'], 'S_ALBUM_ACTION' => mx_append_sid( "admin_album_auth.$phpEx" ), 'L_LOOK_UP_CAT' => $lang['Look_up_Category'], // --- Album Category Hierarchy : begin // --- version : 1.1.0 'CAT_SELECT_TITLE' => $s_album_cat_list ) // --- Album Category Hierarchy : end ); $template->pparse( 'body' ); include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); } else { if ( !isset( $HTTP_GET_VARS['cat_id'] ) ) { $cat_id = intval( $HTTP_POST_VARS['cat_id'] ); $template->set_filenames( array( 'body' => 'admin/album_auth_body.tpl' ) ); $template->assign_vars( array( 'L_ALBUM_AUTH_TITLE' => $lang['Album_Auth_Title'], 'L_ALBUM_AUTH_EXPLAIN' => $lang['Album_Auth_Explain'], 'L_SUBMIT' => $lang['Submit'], 'L_RESET' => $lang['Reset'], 'L_GROUPS' => $lang['Usergroups'], 'L_VIEW' => $lang['View'], 'L_UPLOAD' => $lang['Upload'], 'L_RATE' => $lang['Rate'], 'L_COMMENT' => $lang['Comment'], 'L_EDIT' => $lang['Edit'], 'L_DELETE' => $lang['Delete'], 'L_IS_MODERATOR' => $lang['Is_Moderator'], 'S_ALBUM_ACTION' => mx_append_sid( "admin_album_auth.$phpEx?cat_id=$cat_id" ), )); // // Get the list of phpBB usergroups // $sql = "SELECT group_id, group_name FROM " . GROUPS_TABLE . " WHERE group_single_user <> " . true . " ORDER BY group_name ASC"; if ( !( $result = $db->sql_query( $sql ) ) ) { mx_message_die( GENERAL_ERROR, 'Could not get group list', '', __LINE__, __FILE__, $sql ); } while ( $row = $db->sql_fetchrow( $result ) ) { $groupdata[] = $row; } // // Get info of this cat // $sql = "SELECT cat_id, cat_title, cat_view_groups, cat_upload_groups, cat_rate_groups, cat_comment_groups, cat_edit_groups, cat_delete_groups, cat_moderator_groups FROM " . ALBUM_CAT_TABLE . " WHERE cat_id = '$cat_id'"; if ( !$result = $db->sql_query( $sql ) ) { mx_message_die( GENERAL_ERROR, 'Could not get Category information', '', __LINE__, __FILE__, $sql ); } $thiscat = $db->sql_fetchrow( $result ); $view_groups = @explode( ',', $thiscat['cat_view_groups'] ); $upload_groups = @explode( ',', $thiscat['cat_upload_groups'] ); $rate_groups = @explode( ',', $thiscat['cat_rate_groups'] ); $comment_groups = @explode( ',', $thiscat['cat_comment_groups'] ); $edit_groups = @explode( ',', $thiscat['cat_edit_groups'] ); $delete_groups = @explode( ',', $thiscat['cat_delete_groups'] ); $moderator_groups = @explode( ',', $thiscat['cat_moderator_groups'] ); for ( $i = 0; $i < count( $groupdata ); $i++ ) { $template->assign_block_vars( 'grouprow', array( 'GROUP_ID' => $groupdata[$i]['group_id'], 'GROUP_NAME' => $groupdata[$i]['group_name'], 'VIEW_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $view_groups ) ) ? 'checked="checked"' : '', 'UPLOAD_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $upload_groups ) ) ? 'checked="checked"' : '', 'RATE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $rate_groups ) ) ? 'checked="checked"' : '', 'COMMENT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $comment_groups ) ) ? 'checked="checked"' : '', 'EDIT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $edit_groups ) ) ? 'checked="checked"' : '', 'DELETE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $delete_groups ) ) ? 'checked="checked"' : '', 'MODERATOR_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $moderator_groups ) ) ? 'checked="checked"' : '' ) ); } $template->pparse( 'body' ); include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); } else { $cat_id = intval( $HTTP_GET_VARS['cat_id'] ); $view_groups = @implode( ',', $HTTP_POST_VARS['view'] ); $upload_groups = @implode( ',', $HTTP_POST_VARS['upload'] ); $rate_groups = @implode( ',', $HTTP_POST_VARS['rate'] ); $comment_groups = @implode( ',', $HTTP_POST_VARS['comment'] ); $edit_groups = @implode( ',', $HTTP_POST_VARS['edit'] ); $delete_groups = @implode( ',', $HTTP_POST_VARS['delete'] ); $moderator_groups = @implode( ',', $HTTP_POST_VARS['moderator'] ); $sql = "UPDATE " . ALBUM_CAT_TABLE . " SET cat_view_groups = '$view_groups', cat_upload_groups = '$upload_groups', cat_rate_groups = '$rate_groups', cat_comment_groups = '$comment_groups', cat_edit_groups = '$edit_groups', cat_delete_groups = '$delete_groups', cat_moderator_groups = '$moderator_groups' WHERE cat_id = '$cat_id'"; if ( !$result = $db->sql_query( $sql ) ) { mx_message_die( GENERAL_ERROR, 'Could not update Album config table', '', __LINE__, __FILE__, $sql ); } // okay, return a message... $message = $lang['Album_Auth_successfully'] . '<br /><br />' . sprintf( $lang['Click_return_album_auth'], '<a href="' . mx_append_sid( "admin_album_auth.$phpEx" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } } ?> --- NEW FILE: admin_album_clearcache.php --- <?php /** * * @package Mx-Publisher Module - mx_smartor * @version $Id: admin_album_clearcache.php,v 1.1 2008/03/14 14:23:30 orynider Exp $ * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define('MXBB_MODULE', false); define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; require_once($mx_mod_path . "includes/functions_required.$phpEx"); @define('IN_PORTAL', true); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './../'; include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require_once($mx_mod_path . "includes/functions_core.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_MUSIC', -506 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // instatiate the mx_user class // //$mx_user = new mx_user(); // // Left Pane Paths // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; if (file_exists($phpbb_root_path."modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; } else if (@file_exists($phpbb_root_path."mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; } } else { define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', true ); // // Main paths // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; $setmodules_admin_path = 'modules/mx_smartor/admin/'; define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); } if( !empty($setmodules) ) { $filename = basename(__FILE__); $module['Smartor_Album']['Clear_Cache'] = $setmodules_admin_path . $filename; return; } // // Let's set the root dir for phpBB // $album_root_path = $module_root_path . 'album_mod/'; require($mx_root_path . 'admin/pagestart.' . $phpEx); if ( !MXBB_MODULE ) { require_once($mx_mod_path . "includes/functions_styles.$phpEx"); $mx_user = new mx_user(); // instatiate the mx_user class // // Define basic constants // $mx_user->page_id = 1; $mx_user->user_ip = $user_ip; $mx_user->_init_userprefs(); } require($module_root_path . 'album_mod/includes/album_constants.'.$phpEx); // ********************************************************************** // Read language definition // ********************************************************************** if ( !file_exists($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx")) { include($album_root_path . "language/lang_english/lang_admin.$phpEx"); } else { include($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx"); } if( !isset($HTTP_POST_VARS['confirm']) ) { // // Start output of page // $template->set_filenames(array( 'body' => 'admin/album_config_clearcache_body.tpl') ); $template->assign_vars(array( 'MESSAGE_TITLE' => $lang['Confirm'], 'CLEARCACHE_TEXT' => $lang['Album_clear_cache_confirm'], 'L_NO' => $lang['No'], 'L_YES' => $lang['Yes'], 'S_CONFIRM_ACTION' => mx_append_sid("admin_album_clearcache.$phpEx"), ) ); // // Generate the page // $template->pparse('body'); include($mx_root_path . 'admin/page_footer_admin.'.$phpEx); } else { $cache_dir = @opendir('../' . ALBUM_CACHE_PATH); while( $cache_file = @readdir($cache_dir) ) { if( preg_match('/(\.gif$|\.png$|\.jpg|\.jpeg)$/is', $cache_file) ) { @unlink('../' . ALBUM_CACHE_PATH . $cache_file); } } @closedir($cache_dir); mx_message_die(GENERAL_MESSAGE, $lang['Thumbnail_cache_cleared_successfully']); } /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ?> --- NEW FILE: admin_album_cat.php --- <?php /*************************************************************************** * admin_album_cat.php * ------------------- * begin : Monday, February 03, 2003 * copyright : (C) 2003 Smartor * email : sma...@ho... * * $Id: admin_album_cat.php,v 1.1 2008/03/14 14:23:28 orynider Exp $ * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define('MXBB_MODULE', false); define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; require_once($mx_mod_path . "includes/functions_required.$phpEx"); @define('IN_PORTAL', true); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './../'; include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require_once($mx_mod_path . "includes/functions_core.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_MUSIC', -506 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // instatiate the mx_user class // //$mx_user = new mx_user(); // // Left Pane Paths // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; if (file_exists($phpbb_root_path."modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; } else if (@file_exists($phpbb_root_path."mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; } } else { define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', true ); // // Main paths // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; $setmodules_admin_path = 'modules/mx_smartor/admin/'; define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); } if( !empty($setmodules) ) { $filename = basename(__FILE__); $module['Smartor_Album']['Categories'] = $setmodules_admin_path . $filename; return; } // // Let's set the root dir for phpBB // $album_root_path = $module_root_path . 'album_mod/'; require($mx_root_path . 'admin/pagestart.' . $phpEx); if ( !MXBB_MODULE ) { require_once($mx_mod_path . "includes/functions_styles.$phpEx"); $mx_user = new mx_user(); // instatiate the mx_user class // // Define basic constants // $mx_user->page_id = 1; $mx_user->user_ip = $user_ip; $mx_user->_init_userprefs(); } require($module_root_path . 'album_mod/album_common.'.$phpEx); // ********************************************************************** // Read language definition // ********************************************************************** if ( !file_exists($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx")) { include($album_root_path . "language/lang_english/lang_admin.$phpEx"); } else { include($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx"); } if ( !file_exists($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_main.$phpEx")) { include($album_root_path . "language/lang_english/lang_main.$phpEx"); } else { include($album_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_main.$phpEx"); } $album_user_id = ALBUM_PUBLIC_GALLERY; function showResultMessage($in_message) { global $lang, $album_user_id, $phpEx; $message = $in_message . "<br /><br />" . sprintf($lang['Click_return_album_category'], "<a href=\"" . mx_append_sid("admin_album_cat.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("../admin/index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); } if( !isset($HTTP_POST_VARS['mode']) ) { if( !isset($HTTP_GET_VARS['action']) ) { album_read_tree(); /* if we still get layout issues then replace the template file with this $acp_prefix . 'album_cat_body_debug.tpl', BUT ONLY FOR DEBUGGING PURPOSE, and send me a screenshot of it then go back to this template file $acp_prefix . 'album_cat_body.tpl'. */ $template->set_filenames(array('body' => 'admin/album_cat_body.tpl')); $template->assign_vars(array( 'S_ALBUM_ACTION' => mx_append_sid("admin_album_cat.$phpEx"), 'L_CREATE_CATEGORY' => $lang['Create_category'], 'L_ALBUM_INDEX' => $lang['Album_Categories_Title'] ) ); // get the values of level selected if (!empty($cat_id)) { $parent = $cat_id; } if (!isset($album_cat_tree['keys'][$parent])) { $parent = ALBUM_ROOT_CATEGORY; } // display the tree album_display_admin_index($parent); $template->pparse('body'); include($mx_root_path . 'admin/page_footer_admin.'.$phpEx); } else { if( $HTTP_GET_VARS['action'] == 'edit' ) { $cat_id = intval($HTTP_GET_VARS['cat_id']); $sql = "SELECT cat.*, cat2.cat_title AS cat_parent_title, cat2.cat_id AS cat_parent_id FROM ". ALBUM_CAT_TABLE ." AS cat LEFT OUTER JOIN ". ALBUM_CAT_TABLE ." AS cat2 ON cat2.cat_id = cat.cat_parent WHERE cat.cat_id = '$cat_id'"; if(!$result = $db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Could not query Album Categories information', '', __LINE__, __FILE__, $sql); } if( $db->sql_numrows($result) == 0 ) { mx_message_die(GENERAL_ERROR, 'The requested category is not existed'); } $catrow = $db->sql_fetchrow($result); album_read_tree(); $s_album_cat_list = album_get_tree_option($catrow['cat_parent_id'], ALBUM_AUTH_VIEW, ALBUM_SELECTBOX_INCLUDE_ALL | ALBUM_SELECTBOX_INCLUDE_ROOT); $template->set_filenames(array('body' => 'admin/album_cat_new_body.tpl')); $template->assign_block_vars('acp', array( 'L_ALBUM_CAT_TITLE' => $lang['Album_Categories_Title'], 'L_ALBUM_CAT_EXPLAIN' => $lang['Album_Categories_Explain'] ) ); $template->assign_vars(array( 'S_ALBUM_ACTION' => mx_append_sid("admin_album_cat.$phpEx?cat_id=$cat_id"), 'L_CAT_TITLE' => $lang['Category_Title'], 'L_CAT_DESC' => $lang['Category_Desc'], 'L_CAT_PARENT_TITLE' => $lang['Parent_Category'], 'L_CAT_PERMISSIONS' => $lang['Category_Permissions'], 'L_VIEW_LEVEL' => $lang['View_level'], 'L_UPLOAD_LEVEL' => $lang['Upload_level'], 'L_RATE_LEVEL' => $lang['Rate_level'], 'L_COMMENT_LEVEL' => $lang['Comment_level'], 'L_EDIT_LEVEL' => $lang['Edit_level'], 'L_DELETE_LEVEL' => $lang['Delete_level'], 'L_PICS_APPROVAL' => $lang['Pics_Approval'], 'L_GUEST' => $lang['Forum_ALL'], 'L_REG' => $lang['Forum_REG'], 'L_PRIVATE' => $lang['Forum_PRIVATE'], 'L_MOD' => $lang['Forum_MOD'], 'L_ADMIN' => $lang['Forum_ADMIN'], 'L_DISABLED' => $lang['Disabled'], 'L_WATERMARK' => $lang['Watermark'], 'L_WATERMARK_EXPLAIN' => $lang['Watermark_explain'], 'S_CAT_TITLE' => stripslashes($catrow['cat_title']), 'S_CAT_DESC' => stripslashes($catrow['cat_desc']), 'S_CAT_WM' => $catrow['cat_wm'], 'S_CAT_PARENT_OPTIONS' => $s_album_cat_list, 'VIEW_GUEST' => ($catrow['cat_view_level'] == ALBUM_GUEST) ? 'selected="selected"' : '', 'VIEW_REG' => ($catrow['cat_view_level'] == ALBUM_USER) ? 'selected="selected"' : '', 'VIEW_PRIVATE' => ($catrow['cat_view_level'] == ALBUM_PRIVATE) ? 'selected="selected"' : '', 'VIEW_MOD' => ($catrow['cat_view_level'] == ALBUM_MOD) ? 'selected="selected"' : '', 'VIEW_ADMIN' => ($catrow['cat_view_level'] == ALBUM_ADMIN) ? 'selected="selected"' : '', 'UPLOAD_GUEST' => ($catrow['cat_upload_level'] == ALBUM_GUEST) ? 'selected="selected"' : '', 'UPLOAD_REG' => ($catrow['cat_upload_level'] == ALBUM_USER) ? 'selected="selected"' : '', 'UPLOAD_PRIVATE' => ($catrow['cat_upload_level'] == ALBUM_PRIVATE) ? 'selected="selected"' : '', 'UPLOAD_MOD' => ($catrow['cat_upload_level'] == ALBUM_MOD) ? 'selected="selected"' : '', 'UPLOAD_ADMIN' => ($catrow['cat_upload_level'] == ALBUM_ADMIN) ? 'selected="selected"' : '', 'RATE_GUEST' => ($catrow['cat_rate_level'] == ALBUM_GUEST) ? 'selected="selected"' : '', 'RATE_REG' => ($catrow['cat_rate_level'] == ALBUM_USER) ? 'selected="selected"' : '', 'RATE_PRIVATE' => ($catrow['cat_rate_level'] == ALBUM_PRIVATE) ? 'selected="selected"' : '', 'RATE_MOD' => ($catrow['cat_rate_level'] == ALBUM_MOD) ? 'selected="selected"' : '', 'RATE_ADMIN' => ($catrow['cat_rate_level'] == ALBUM_ADMIN) ? 'selected="selected"' : '', 'COMMENT_GUEST' => ($catrow['cat_comment_level'] == ALBUM_GUEST) ? 'selected="selected"' : '', 'COMMENT_REG' => ($catrow['cat_comment_level'] == ALBUM_USER) ? 'selected="selected"' : '', 'COMMENT_PRIVATE' => ($catrow['cat_comment_level'] == ALBUM_PRIVATE) ? 'selected="selected"' : '', 'COMMENT_MOD' => ($catrow['cat_comment_level'] == ALBUM_MOD) ? 'selected="selected"' : '', 'COMMENT_ADMIN' => ($catrow['cat_comment_level'] == ALBUM_ADMIN) ? 'selected="selected"' : '', 'EDIT_REG' => ($catrow['cat_edit_level'] == ALBUM_USER) ? 'selected="selected"' : '', 'EDIT_PRIVATE' => ($catrow['cat_edit_level'] == ALBUM_PRIVATE) ? 'selected="selected"' : '', 'EDIT_MOD' => ($catrow['cat_edit_level'] == ALBUM_MOD) ? 'selected="selected"' : '', 'EDIT_ADMIN' => ($catrow['cat_edit_level'] == ALBUM_ADMIN) ? 'selected="selected"' : '', 'DELETE_REG' => ($catrow['cat_delete_level'] == ALBUM_USER) ? 'selected="selected"' : '', 'DELETE_PRIVATE' => ($catrow['cat_delete_level'] == ALBUM_PRIVATE) ? 'selected="selected"' : '', 'DELETE_MOD' => ($catrow['cat_delete_level'] == ALBUM_MOD) ? 'selected="selected"' : '', 'DELETE_ADMIN' => ($catrow['cat_delete_level'] == ALBUM_ADMIN) ? 'selected="selected"' : '', 'APPROVAL_DISABLED' => ($catrow['cat_approval'] == ALBUM_USER) ? 'selected="selected"' : '', 'APPROVAL_MOD' => ($catrow['cat_approval'] == ALBUM_MOD) ? 'selected="selected"' : '', 'APPROVAL_ADMIN' => ($catrow['cat_approval'] == ALBUM_ADMIN) ? 'selected="selected"' : '', 'S_MODE' => 'edit', 'S_GUEST' => ALBUM_GUEST, 'S_USER' => ALBUM_USER, 'S_PRIVATE' => ALBUM_PRIVATE, 'S_MOD' => ALBUM_MOD, 'S_ADMIN' => ALBUM_ADMIN, 'L_PANEL_TITLE' => $lang['Edit_Category'] ) ); $template->pparse('body'); include($mx_root_path . 'admin/page_footer_admin.'.$phpEx); } elseif( $HTTP_GET_VARS['action'] == 'delete' ) { $cat_id = intval($HTTP_GET_VARS['cat_id']); $sql = "SELECT cat_id, cat_title, cat_order FROM ". ALBUM_CAT_TABLE ." ORDER BY cat_order ASC"; if(!$result = $db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Could not query Album Categories information', '', __LINE__, __FILE__, $sql); } $cat_found = false; while( $row = $db->sql_fetchrow($result) ) { if( $row['cat_id'] == $cat_id ) { $thiscat = $row; $cat_found = true; } else { $catrow[] = $row; } } if( $cat_found == false ) { mx_message_die(GENERAL_ERROR, 'The requested category is not existed'); } album_read_tree(); $select_to = '<select name="target">'; $select_to .= album_get_tree_option($catrow['cat_parent_id'], ALBUM_AUTH_VIEW, ALBUM_SELECTBOX_ALL); $select_to .= '</select>'; $template->set_filenames(array('body' => 'admin/album_cat_delete_body.tpl')); $template->assign_vars(array( 'S_ALBUM_ACTION' => mx_append_sid("admin_album_cat.$phpEx?cat_id=$cat_id"), 'L_CAT_DELETE' => $lang['Delete_Category'], 'L_CAT_DELETE_EXPLAIN' => $lang['Delete_Category_Explain'], 'L_CAT_TITLE' => $lang['Category_Title'], 'S_CAT_TITLE' => stripslashes($thiscat['cat_title']), 'L_MOVE_CONTENTS' => $lang['Move_contents'], 'L_MOVE_DELETE' => $lang['Move_and_Delete'], 'S_SELECT_TO' => $select_to ) ); $template->pparse('body'); include($mx_root_path . 'admin/page_footer_admin.'.$phpEx); } elseif( $HTTP_GET_VARS['action'] == 'move' ) { $cat_id = intval($HTTP_GET_VARS['cat_id']); $move = intval($HTTP_GET_VARS['move']); album_move_tree($cat_id, $move); // Return a message... showResultMessage($lang['Category_changed_order']); } } } else { if( $HTTP_POST_VARS['mode'] == 'new' ) { if ( is_array($HTTP_POST_VARS['addcategory'])) { list($cat_id) = each($HTTP_POST_VARS['addcategory']); $cat_title = stripslashes($HTTP_POST_VARS['name'][$cat_id]); $cat_parent = $cat_id; $cat_id = -1; } if( !isset($HTTP_POST_VARS['cat_title']) ) { album_read_tree(); $s_album_cat_list = album_get_tree_option($cat_parent, ALBUM_AUTH_VIEW, ALBUM_SELECTBOX_INCLUDE_ALL); $template->set_filenames(array('body' => 'admin/album_cat_new_body.tpl')); $template->assign_vars(array( 'L_ALBUM_CAT_TITLE' => $lang['Album_Categories_Title'], 'L_ALBUM_CAT_EXPLAIN' => $lang['Album_Categories_Explain'], 'S_ALBUM_ACTION' => mx_append_sid("admin_album_cat.$phpEx"), 'L_CAT_TITLE' => $lang['Category_Title'], 'L_CAT_DESC' => $lang['Category_Desc'], 'L_CAT_PARENT_TITLE' => $lang['Parent_Category'], 'L_CAT_PERMISSIONS' => $lang['Category_Permissions'], 'L_VIEW_LEVEL' => $lang['View_level'], 'L_UPLOAD_LEVEL' => $lang['Upload_level'], 'L_RATE_LEVEL' => $lang['Rate_level'], 'L_COMMENT_LEVEL' => $lang['Comment_level'], 'L_EDIT_LEVEL' => $lang['Edit_level'], 'L_DELETE_LEVEL' => $lang['Delete_level'], 'L_PICS_APPROVAL' => $lang['Pics_Approval'], 'L_GUEST' => $lang['Forum_ALL'], 'L_REG' => $lang['Forum_REG'], 'L_PRIVATE' => $lang['Forum_PRIVATE'], 'L_MOD' => $lang['Forum_MOD'], 'L_ADMIN' => $lang['Forum_ADMIN'], 'L_DISABLED' => $lang['Disabled'], 'L_WATERMARK' => $lang['Watermark'], 'L_WATERMARK_EXPLAIN' => $lang['Watermark_explain'], 'S_CAT_TITLE' => stripslashes($cat_title), 'S_CAT_PARENT_OPTIONS' => $s_album_cat_list, 'VIEW_GUEST' => 'selected="selected"', 'UPLOAD_REG' => 'selected="selected"', 'RATE_REG' => 'selected="selected"', 'COMMENT_REG' => 'selected="selected"', 'EDIT_REG' => 'selected="selected"', 'DELETE_MOD' => 'selected="selected"', 'APPROVAL_DISABLED' => 'selected="selected"', 'S_MODE' => 'new', 'S_GUEST' => ALBUM_GUEST, 'S_USER' => ALBUM_USER, 'S_PRIVATE' => ALBUM_PRIVATE, 'S_MOD' => ALBUM_MOD, 'S_ADMIN' => ALBUM_ADMIN, 'L_PANEL_TITLE' => $lang['Create_category'] ) ); $template->pparse('body'); include($mx_root_path . 'admin/page_footer_admin.'.$phpEx); } else { if( !get_magic_quotes_gpc() ) { $cat_title = addslashes(htmlspecialchars(trim($HTTP_POST_VARS['cat_title']))); $cat_desc = addslashes(trim($HTTP_POST_VARS['cat_desc'])); } else { $cat_title = htmlspecialchars(trim($HTTP_POST_VARS['cat_title'])); $cat_desc = trim($HTTP_POST_VARS['cat_desc']); } $cat_wm = trim($HTTP_POST_VARS['cat_wm']); $view_level = intval($HTTP_POST_VARS['cat_view_level']); $upload_level = intva... [truncated message content] |
|
From: OryNider <ory...@us...> - 2008-03-14 14:23:33
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14976/album_mod/language/lang_english Added Files: index.htm lang_admin.php lang_main.php Log Message: i fogot to commit this somehow --- NEW FILE: lang_main.php --- <?php /** * * @package mxBB Portal Module - mx_smartor * @version $Id: lang_main.php,v 1.1 2008/03/14 14:23:26 orynider Exp $ * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // The format of this file is: // // ---> $lang["message"] = "text"; // // Specify your language character encoding... [optional] // // setlocale(LC_ALL, "en"); // // Album Index // $lang['Photo_Album'] = 'Photo Album'; $lang['Pics'] = 'Pics'; $lang['Last_Pic'] = 'Last Pic'; $lang['Public_Categories'] = 'Public Categories'; $lang['No_Pics'] = 'No Pics'; $lang['Users_Personal_Galleries'] = 'Users Personal Galleries'; $lang['Your_Personal_Gallery'] = 'Your Personal Gallery'; $lang['Recent_Public_Pics'] = 'Recent Public Pics'; $lang['Toprated_Public_Pics'] = 'Highest Rated Pictures'; $lang['Random_Public_Pics'] = 'Random Pictures'; $lang['Most_Public_Pics'] = 'Most Viewed Pictures'; $lang['View'] = 'View'; // Category View $lang['Category_not_exist'] = 'This category does not exist'; $lang['Upload_Pic'] = 'Upload Pic'; $lang['JUpload_Pic'] = 'Upload Multiple Pictures with Jupload'; $lang['Upload_Pics'] = 'Upload Pics'; $lang['Pic_Title'] = 'Pic Title'; $lang['View'] = 'View'; $lang['Pic_Poster'] = 'Poster'; $lang['Pic_Image'] = 'Image'; $lang['Album_upload_can'] = 'You <b>can</b> upload new pics in this category'; $lang['Album_upload_cannot'] = 'You <b>cannot</b> upload new pics in this category'; $lang['Album_rate_can'] = 'You <b>can</b> rate pics in this category'; $lang['Album_rate_cannot'] = 'You <b>cannot</b> rate pics in this category'; $lang['Album_comment_can'] = 'You <b>can</b> post comments to pics in this category'; $lang['Album_comment_cannot'] = 'You <b>cannot</b> post comments to pics in this category'; $lang['Album_edit_can'] = 'You <b>can</b> edit your pics and comments in this category'; $lang['Album_edit_cannot'] = 'You <b>cannot</b> edit your pics and comments in this category'; $lang['Album_delete_can'] = 'You <b>can</b> delete your pics and comments in this category'; $lang['Album_delete_cannot'] = 'You <b>cannot</b> delete your pics and comments in this category'; $lang['Album_moderate_can'] = 'You <b>can</b> %smoderate%s this category'; $lang['Edit_pic'] = 'Edit'; $lang['Delete_pic'] = 'Delete'; $lang['Rating'] = 'Rating'; $lang['Comments'] = 'Comments'; $lang['New_Comment'] = 'New Comment'; $lang['Not_rated'] = '<i>not rated</i>'; $lang['Select_initial'] = 'Select:'; // // Upload // $lang['Pic_Desc'] = 'Pic Description'; $lang['Plain_text_only'] = 'Plain text only'; $lang['Max_length'] = 'Max length (bytes)'; $lang['Upload_pic_from_machine'] = 'Upload a pic from your machine'; $lang['Upload_to_Category'] = 'Upload to Category'; $lang['Upload_thumbnail_from_machine'] = 'Upload its thumbnail from your machine (must be the same type with your pic)'; $lang['Upload_thumbnail'] = 'Upload a thumbnail image'; $lang['Upload_thumbnail_explain'] = 'It must be of the same file type as your picture'; $lang['Thumbnail_size'] = 'Thumbnail size (pixel)'; $lang['Filetype_and_thumbtype_do_not_match'] = 'Your pic and your thumbnail must be the same type'; $lang['Add_File'] = 'Add File'; $lang['Upload_no_title'] = 'You must enter a title for your pic'; $lang['Upload_no_file'] = 'You must enter your path and your filename'; $lang['Desc_too_long'] = 'Your description is too long'; $lang['Rotation'] = 'Rotate (Anti-Clockwise) - Degrees'; $lang['Max_file_size'] = 'Maximum file size (bytes)'; $lang['Max_width'] = 'Maximum image width before recompression (pixel)'; $lang['Max_height'] = 'Maximum image height before recompression (pixel)'; $lang['JPG_allowed'] = 'Allowed to upload JPG files'; $lang['PNG_allowed'] = 'Allowed to upload PNG files'; $lang['GIF_allowed'] = 'Allowed to upload GIF files'; $lang['Album_reached_quota'] = 'This category has reached the quota of pics. Now you cannot upload any more. Please contact the administrators for more information'; $lang['User_reached_pics_quota'] = 'You have reached your quota of pics. Now you cannot upload any more. Please contact the administrators for more information'; $lang['Bad_upload_file_size'] = 'Your uploaded file is too large or corrupted'; $lang['Not_allowed_file_type'] = 'Your file type is not allowed'; $lang['Upload_image_size_too_big'] = 'Your image dimension size is too large'; $lang['Upload_thumbnail_size_too_big'] = 'Your thumbnail dimension size is too large'; $lang['Missed_pic_title'] = 'You must enter your pic title'; $lang['Album_upload_successful'] = 'Your pic has been uploaded successfully'; $lang['Album_upload_need_approval'] = 'Your pic has been uploaded successfully.<br /><br />But the feature Pic Approval has been enabled so your pic must be approved by a administrator or a moderator before posting'; $lang['Click_return_category'] = 'Click %shere%s to return to the category'; $lang['Click_return_album_index'] = 'Click %shere%s to return to the Album Index'; // View Pic $lang['Pic_ID'] = 'ID'; $lang['Pic_Details'] = 'Image Details'; $lang['Pic_Size'] = 'Size'; $lang['Pic_Type'] = 'Image Type'; $lang['Pic_BBCode'] = 'BBCode'; $lang['Pic_not_exist'] = 'This pic does not exist'; $lang['Click_enlarge'] = 'Click on image to view larger image'; $lang['Prev_Pic'] = 'View Previous Picture'; $lang['Next_Pic'] = 'View Next Picture'; $lang['Slideshow'] = 'Slide Show'; $lang['Slideshow_Delay'] = 'Slide Show Delay'; $lang['Slideshow_On'] = 'Slide Show'; $lang['Slideshow_Off'] = 'Stop Slide Show'; $lang['Pics_Nav'] = 'Pictures Navigation'; $lang['Pics_Nav_Next'] = 'Next Pictures'; $lang['Pics_Nav_Prev'] = 'Previous Pictures'; // Edit Pic $lang['Edit_Pic_Info'] = 'Edit Pic Information'; $lang['Pics_updated_successfully'] = 'Your pic information has been updated successfully'; // Delete Pic $lang['Album_delete_confirm'] = 'Are you sure to delete these pic(s)?'; $lang['Pics_deleted_successfully'] = 'These pic(s) have been deleted successfully'; // // ModCP // $lang['Approval'] = 'Approval'; $lang['Approve'] = 'Approve'; $lang['Unapprove'] = 'Unapprove'; $lang['Status'] = 'Status'; $lang['Locked'] = 'Locked'; $lang['Not_approved'] = 'Not approved'; $lang['Approved'] = 'Approved'; $lang['Move_to_Category'] = 'Move to Category'; $lang['Pics_moved_successfully'] = 'Your pic(s) have been moved successfully'; $lang['Pics_locked_successfully'] = 'Your pic(s) have been locked successfully'; $lang['Pics_unlocked_successfully'] = 'Your pic(s) have been unlocked successfully'; $lang['Pics_approved_successfully'] = 'Your pic(s) have been approved successfully'; $lang['Pics_unapproved_successfully'] = 'Your pic(s) have been unapproved successfully'; // // Rate // $lang['Current_Rating'] = 'Current Rating'; $lang['Please_Rate_It'] = 'Please Rate It'; $lang['Already_rated'] = 'You have already rated this pic'; $lang['Album_rate_successfully'] = 'Your pic has been rated successfully'; // // Comment // $lang['Comment_no_text'] = 'Please enter your comment'; $lang['Comment_too_long'] = 'Your comment is too long'; $lang['Comment_delete_confirm'] = 'Are you sure to delete this comment?'; $lang['Pic_Locked'] = 'Sorry, this pic was locked. So you cannot post comment for this pic anymore'; // // Personal Gallery // $lang['Personal_Gallery_Explain'] = 'You can view the personal galleries of other members by clicking on the link in their profiles'; $lang['Personal_gallery_not_created'] = 'The personal gallery of %s is empty or has not been created'; $lang['Not_allowed_to_create_personal_gallery'] = 'Sorry, the administrators of this board donot allowed you to create your personal gallery'; $lang['Click_return_personal_gallery'] = 'Click %shere%s to return to the personal gallery'; // added $lang['Album'] = 'Album Index'; $lang['Personal_Gallery_Of_User'] = 'Personal Gallery of %s'; $lang['Post_your_comment'] = 'Post your comment'; $lang['Not_Authorised'] = 'You are not authorized for this page, or you are not logged in as required.'; $lang['Nav_Separator'] = ' » '; $lang['Rss_Feed'] = 'RSS Feed'; $lang['Album_Search'] = 'Searching the Album'; $lang['Pic_Name'] = 'Picture Name'; $lang['Description'] = 'Description'; $lang['Search_Contents'] = ' that contains: '; $lang['Search_Found'] = 'Search found '; $lang['Search_Matches'] = 'Matches:'; // The picture list of a member (album_memberlist.php) $lang['Pic_Cat'] = 'Category'; $lang['Picture_List_Of_User'] = 'All Pictures by %s'; $lang['Member_Picture_List_Explain'] = 'You can view the complete list of picture contributed by other members by clicking on the link in their profiles'; $lang['Comment_List_Of_User'] = 'All Comments by %s'; $lang['Rating_List_Of_User'] = 'All Ratings by %s'; $lang['Show_All_Pictures_Of_user'] = 'Show All Pictures by %s'; $lang['Show_All_Comments_Of_user'] = 'Show All Comments by %s'; $lang['Show_All_Ratings_Of_user'] = 'Show All Ratings by %s'; // Album Nuffload $lang['time_elapsed'] = 'Time Elapsed'; $lang['time_remaining'] = 'Time Remaining'; $lang['upload_in_progress'] = 'Upload In Progress'; $lang['please_wait'] = 'Please Wait...'; $lang['uploaded'] = 'Uploaded %multi_id% of %multi_max% images.'; $lang['no_file_received'] = 'No image file received'; $lang['no_thumbnail_file_received'] = 'No thumbnail file received'; $lang['file_too_big'] = 'Image file size too big'; $lang['thumbnail_too_big'] = 'Thumbnail file size too big'; $lang['image_res_too_high'] = 'Image resolution too high'; $lang['add_field'] = 'Add file upload field'; $lang['remove_field'] = 'Remove file upload field'; $lang['ZIP_allowed'] = 'Allowed to upload ZIP files'; // Album Hierarchy Index Table $lang['Last_Comment'] = 'Last Comment'; $lang['Last_Comments'] = 'Last Comments'; $lang['No_Comment_Info'] = 'No Comments'; $lang['No_Pictures_In_Cat']= 'No Pictures In Category'; $lang['Total_Pics'] = 'Total Pics'; $lang['Total_Comments'] = 'Total Comments'; $lang['Last_Index_Thumbnail'] = 'Last Pic'; $lang['One_Sub_Total_Pics'] = '%d Pic'; $lang['Multiple_Sub_Total_Pics'] = '%d Pics'; $lang['Album_sub_categories'] = 'Sub Categories'; $lang['No_Public_Galleries'] = 'No Public Galleries'; $lang['One_new_picture'] = '%d new picture'; $lang['Multiple_new_pictures'] = '%d new pictures'; // The pictures list $lang['All_Picture_List_Of_User'] = 'All Pictures'; $lang['All_Comment_List_Of_User'] = 'All Comments'; $lang['All_Rating_List_Of_User'] = 'All Ratings'; $lang['All_Show_All_Pictures_Of_user'] = 'Show All Pictures'; $lang['All_Show_All_Comments_Of_user'] = 'Show All Comments'; $lang['All_Show_All_Ratings_Of_user'] = 'Show All Ratings'; $lang['Not_commented'] = '<i>Not Commented</i>'; // Nuff's Stuff $lang['Nuff_Click'] = 'Click here to apply Special Effects'; $lang['Nuff_UnClick'] = 'Click here for normal visualization'; $lang['Nuff_Title'] = 'Special Effects'; $lang['Nuff_Explain'] ='Using this page you can apply multiple effects to the pictures.<br />Remember that this is a <i><b>very heavy operation on server CPU load</b></i>, so please do not abuse it. Some effects will automatically resize the output image so to not charge too much server CPU.'; $lang['Nuff_Normal'] = 'Normal Image'; $lang['Nuff_Normal_Explain'] = 'No effects applied'; $lang['Nuff_BW'] = 'Black & White'; $lang['Nuff_BW_Explain'] = 'This effect will transform the image into Black and White'; $lang['Nuff_Sepia'] = 'Sepia Tone'; $lang['Nuff_Sepia_Explain'] = 'This effect will apply sepia toning to the picture'; $lang['Nuff_Flip'] = 'Flip'; $lang['Nuff_Flip_Explain'] = 'Using this function you can flip the image'; $lang['Nuff_Mirror'] = 'Mirror'; $lang['Nuff_Mirror_Explain'] = 'Using this function you can mirror the image'; $lang['Nuff_Flip_H'] = 'Horizontal'; $lang['Nuff_Flip_V'] = 'Vertical'; $lang['Nuff_Rotate'] = 'Picture Rotation (Anti Clockwise)'; $lang['Nuff_Rotate_Explain'] = 'Rotates the images anti clockwise'; $lang['Nuff_Resize'] = 'Resize'; $lang['Nuff_Resize_Explain'] = 'This function is for image resizing'; $lang['Nuff_Resize_W'] = 'Width'; $lang['Nuff_Resize_H'] = 'Height'; $lang['Nuff_Resize_No_Resize'] = 'No Resize'; $lang['Nuff_Watermark'] = 'Watermark'; $lang['Nuff_Watermark_Explain'] = 'Apply a watermark to the image'; $lang['Nuff_Recompress'] = 'Recompress'; $lang['Nuff_Recompress_Explain'] = 'This function can recompress the image'; $lang['Nuff_Alpha'] = 'Alpha'; $lang['Nuff_Alpha_Explain'] = 'This effect will overlay an alpha channel to the image'; $lang['Nuff_Blur'] = 'Blur'; $lang['Nuff_Blur_Explain'] = 'This effect will apply a blur filter to the image'; $lang['Nuff_Pixelate'] = 'Pixelate'; $lang['Nuff_Pixelate_Explain'] = 'This effect will apply a pixelate filter to the image'; $lang['Nuff_Scatter'] = 'Scatter'; $lang['Nuff_Scatter_Explain'] = 'This effect will apply a scatter filter to the image'; $lang['Nuff_Infrared'] = 'Infrared'; $lang['Nuff_Infrared_Explain'] = 'This effect will apply an infrared filter to the image'; $lang['Nuff_Tint'] = 'Tint'; $lang['Nuff_Tint_Explain'] = 'This effect will apply a red tint to the image'; $lang['Nuff_Interlace'] = 'Interlace (Horizontal Lines)'; $lang['Nuff_Interlace_Explain'] = 'This effect will overlay an interlace channel to the image'; $lang['Nuff_Screen'] = 'Screen (Hor Ver Lines)'; $lang['Nuff_Screen_Explain'] = 'This effect will overlay a screen channel to the image'; $lang['Nuff_Stereogram'] = 'Stereogram'; $lang['Nuff_Stereogram_Explain'] = 'This effect will convert the image to a stereogram (BW 16 bit required)'; $lang['Pic_Gallery'] = 'OTF Gallery'; $lang['Album_otf'] = 'OTF Gallery'; $lang['Select_Pic'] = 'Select Pic'; $lang['Select_Category'] = 'Select Category'; // Personal Album Hierarchy Index Table $lang['Personal_Categories'] = 'Personal Gallery'; $lang['Create_Personal_Categories'] = 'Create Personal Gallery'; $lang['Personal_Cat_Admin'] = 'Personal Gallery Category Admin'; $lang['Recent_Personal_Pics'] = 'Recent Pictures From the Personal Gallery of %s'; // Access language strings $lang['Album_Can_Manage_Categories'] = 'You <b>can</b> %smanage%s the categories in the gallery'; $lang['No_Personal_Category_admin'] = 'You are not allowed to manage your personal gallery categories'; // // Welcome // $lang['Welcome'] = "Welcome"; $lang['Welcome_User'] = "Welcome, %s !"; $lang['Search_at'] = "Search at"; $lang['Advanced_search'] = "Advanced Search"; $lang['Search_unread'] = "View unread posts"; $lang['Search_self_topics'] = "Topics you've started"; $lang['Search_self_posts'] = "View all your posts"; $lang['Posts_since_last_visit'] = "Posts since last visit"; $lang['View_latest'] = "View latest"; $lang['Total_Personal_Pics'] = "You have <b>%d</b> personal pictures."; // // That's all Folks! // ------------------------------------------------- ?> --- NEW FILE: lang_admin.php --- <?php /** * * @package mxBB Portal Module - mx_smartor * @version $Id: lang_admin.php,v 1.1 2008/03/14 14:23:25 orynider Exp $ * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // The format of this file is: // // ---> $lang["message"] = "text"; // // Specify your language character encoding... [optional] // // setlocale(LC_ALL, "en"); // // Configuration // $lang['Album_config'] = 'Album Configuration'; $lang['Album_config_explain'] = 'You can change the general settings of your Photo Album here'; $lang['Album_config_updated'] = 'Album Configuration has been updated successfully'; $lang['Click_return_album_config'] = 'Click %sHere%s to return to the Album Configuration'; $lang['Max_pics'] = 'Maximum pics for each Category (-1 = unlimited)'; $lang['User_pics_limit'] = 'Pics limit per category for each user (-1 = unlimited)'; $lang['Moderator_pics_limit'] = 'Pics limit per category for each moderator (-1 = unlimited)'; $lang['Pics_Approval'] = 'Pics Approval'; $lang['Rows_per_page'] = 'Number of rows on thumbnail page (in categories)'; $lang['Cols_per_page'] = 'Number of columns on thumbnail page (in categories)'; $lang['Thumbnail_quality'] = 'Thumbnail quality (1-100)'; $lang['Thumbnail_cache'] = 'Thumbnail cache'; $lang['Manual_thumbnail'] = 'Manual thumbnail'; $lang['GD_version'] = 'Optimize for the version of GD'; $lang['Pic_Desc_Max_Length'] = 'Pic Description/Comment Max Length (bytes)'; $lang['Hotlink_prevent'] = 'Hotlink Prevention'; $lang['Hotlink_allowed'] = 'Allowed domains for hotlink (separated by a comma)'; $lang['Personal_gallery'] = 'Allowed to create personal gallery for users'; $lang['Personal_gallery_limit'] = 'Pics limit for each personal gallery (-1 = unlimited)'; $lang['Personal_gallery_view'] = 'Who can view personal galleries'; $lang['Rate_system'] = 'Enable rate system'; $lang['Rate_Scale'] =' Rating Scale'; $lang['Comment_system'] = 'Enable comment system'; $lang['Thumbnail_Settings'] = 'Thumbnail Settings'; $lang['Extra_Settings'] = 'Extra Settings'; $lang['Default_Sort_Method'] = 'Default Sort Method'; $lang['Default_Sort_Order'] = 'Default Sort Order'; $lang['Fullpic_Popup'] = 'View full pic as a popup'; $lang['Show_Download'] = 'Show DOWNLOAD button (which enables the downloading of pictures in ZIP format) only to those who have UPLOAD permissions in the Album (if you choose ALWAYS the button will be always available even if the users has no UPLOAD permissions)'; $lang['Show_Slideshow'] = 'Enable Slideshow feature'; $lang['Show_Slideshow_Script'] = 'Enable transition effects for Slideshow'; $lang['Show_Pic_Size'] = 'Show the pic size on thumbnail'; $lang['Show_IMG_No_GD'] = 'Show GIF thumbnails without using GD libraries (full images are loaded and then just shown resized).'; $lang['Show_GIF_MidThumb'] = 'Show full GIF images if Mid Thumb is enabled.'; $lang['Show_Pics_Nav'] = 'Show Picture Navigation Box in Show Page'; $lang['Invert_Nav_Arrows'] = 'Invert the Arrows link in Showpage (right arrow = more recent)'; $lang['Show_Inline_Copyright'] = 'Show Copyrights Info on a single line'; $lang['Enable_Nuffimage'] = 'Enable Pictures Special Effects page based on Nuffmon Images Class'; $lang['Enable_Sepia_BW'] = 'Enable Sepia and B&W in Special Effects page (disable this function if you want no to load server\'s CPU)'; $lang['Show_EXIF_Info'] = 'Show picture EXIF informations'; $lang['Enable_BBCode'] = 'Enable BBCode'; $lang['Set_Memory'] = 'Set a memory limit via PHP (MB)'; $lang['Set_Memory_Explain'] = 'This feature may be used to increase memory limit in PHP (this setting must be allowed by your hosting): you can try to increase memory when your images are not loaded correctly. To avoid higher memory limits the max value is forced to be 16MB.'; $lang['LB_Preview'] = 'Enable LightBox Preview'; $lang['LB_Preview_Explain'] = 'This feature will show a LightBox with picture preview when moving the mouse over a thumbnail.'; $lang['Album_config_notice'] = 'If you change the current Photo Album settings and then select another tab, you will be prompted to save your changes.<br />The system will <b>not save</b> the changes for you automatically.'; $lang['Save_sucessfully_confimation'] = '%s was saved successfully'; $lang['Show_Recent_In_Subcats'] = 'Show recent pictures in sub categories'; $lang['Show_Recent_Instead_of_NoPics'] = 'Show recent pictures instead of no picture message'; $lang['Show_Last_Comments'] = 'Display last comments block on album index and categories'; $lang['Album_Index_Settings'] = 'Album Index'; $lang['Show_Index_Subcats'] = 'Show sub categories in index table'; $lang['Show_Index_Thumb'] = 'Show category thumbnails in index table'; $lang['Show_Index_Pics'] = 'Show the number of pictures in current category in index table'; $lang['Show_Index_Comments'] = 'Show the number of comments in current category in index table'; $lang['Show_Index_Total_Pics'] = 'Show the number of total pictures for current categories and all it\'s sub categories in index table'; $lang['Show_Index_Total_Comments'] = 'Show the number of total comments for current categories and all it\'s sub categories in index table'; $lang['Show_Index_Last_Comment'] = 'Show last comments for current categories and all it\'s sub categories in index table'; $lang['Show_Index_Last_Pic'] = 'Show last picture info for current categories and all it\'s sub categories in index table'; $lang['Line_Break_Subcats'] = 'Show each sub cat on a new line'; $lang['Show_Personal_Gallery_Link'] = 'Show Personal Gallery and Users Personal Gallery link in Sub Categories'; $lang['Album_Personal_Auth_Explain'] = 'Here you can choose which usergroup(s) can be the moderators for <b>all</b> personal album categories or just has the private access to them'; $lang['Album_debug_mode'] = 'Enable the hierarchy debug mode.<br /><span class="gensmall">This will generate a lot of extra output on the page and also some header warnings, which are all ok.<br />This option should <b>only</b> be used when having problems.</span>'; $lang['New_Pic_Check_Interval'] = 'The time to use to see if a picture is new or not.<br /><span class="gensmall"><b>Format</b> : <number><type> Where type is either h, d, w or m (hour, day, week or month)<br /> e.g. 12H = 12 hours and 12D = 12 days and 12W = 12 weeks and 12M = 12 months<br />If no type is specified the system will use <b>days</b></span>'; $lang['New_Pic_Check_Interval_Desc'] = '<span class="gensmall">H = HOURS, D = DAYS, W = WEEKS, M = MONTHS</span>'; $lang['New_Pic_Check_Interval_LV'] = 'Enabling this option the new pics counter is based on users last visit time.'; $lang['Enable_Show_All_Pics'] = 'Enable toggling of personal gallery view mode (all pictures or only selected category).<br /> When set to <b>no</b>, only selected category is shown.'; $lang['Enable_Index_Supercells'] = 'Enable super cells in the index table. <br /><span class="gensmall">This will enable the mouseover effects on the columns, also knows as the supercell effect.</span>'; $lang['Show_OTF_Link'] = 'Show "Album OTF" link on Album Index'; $lang['Show_AllPics_Link'] = 'Show "All Pics" link on Album Index'; $lang['Show_PG_Link'] = 'Show "Personal Galleries" link on Album Index'; // Personal Gallery Page $lang['Personal_Galleries'] = 'Personal Galleries'; $lang['Album_personal_gallery_title'] = 'Personal Gallery'; $lang['Album_personal_gallery_explain'] = 'On this page, you can choose which usergroups have right to create and view personal galleries. These settings only affect when you set "PRIVATE" for "Allowed to create personal gallery for users" or "Who can view personal galleries" in Album Configuration screen'; $lang['Album_personal_successfully'] = 'The setting has been updated successfully'; $lang['Click_return_album_personal'] = 'Click %sHere%s to return to the Personal Gallery Settings'; $lang['Allow_Album_Avatars'] = 'Allow users to use own posted images in Album as Avatar'; // Personal Gallery FAP $lang['Album_Personal_Settings'] = 'Personal Galleries'; $lang['Album_Personal_Settings_Explain'] = 'You can change the settings of your Personal Galleries here'; $lang['Show_Personal_Sub_Cats'] = 'Show personal sub categories in index table'; $lang['Personal_Gallery_Approval'] = 'Personal gallery pics approval'; $lang['Personal_Gallery_MOD'] = 'Personal gallery can be moderated by owner'; $lang['Personal_Sub_Cat_Limit'] = 'Maximum number of sub categories (-1 = unlimited)'; $lang['User_Can_Create_Personal_SubCats'] = 'Users can create sub categories in own personal gallery'; $lang['Click_return_personal_gallery_index'] = 'Click %shere%s to return to the personal gallery index'; $lang['Show_Recent_In_Personal_Subcats'] = 'Show recent pictures in personal sub categories'; $lang['Show_Recent_Instead_of_Personal_NoPics'] = 'Show recent pictures instead of no picture message in personal gallery'; // // Categories // $lang['Album_Categories_Title'] = 'Album Categories Control'; $lang['Album_Categories_Explain'] = 'On this screen you can manage your categories: create, alter, delete, sort, etc.'; $lang['Category_Permissions'] = 'Category Permissions'; $lang['Category_Title'] = 'Category Title'; $lang['Category_Desc'] = 'Category Description'; $lang['View_level'] = 'View Level'; $lang['Upload_level'] = 'Upload Level'; $lang['Rate_level'] = 'Rate Level'; $lang['Comment_level'] = 'Comment Level'; $lang['Edit_level'] = ' Edit Level'; $lang['Delete_level'] = 'Delete Level'; $lang['New_category_created'] = 'New category has been created successfully'; $lang['Click_return_album_category'] = 'Click %sHere%s to return to the Album Categories Manager'; $lang['Category_updated'] = 'This category has been updated successfully'; $lang['Delete_Category'] = 'Delete Category'; $lang['Delete_Category_Explain'] = 'The form below will allow you to delete a category and decide where you want to put pics it contained'; $lang['Delete_all_pics'] = 'Delete all pics'; $lang['Category_deleted'] = 'This category has been deleted successfully'; $lang['Category_changed_order'] = 'This category has been changed order successfully'; $lang['Watermark'] = 'WaterMark'; $lang['Watermark_explain'] = 'You can specify the watermark file to be used in this category. Insert the watermark file path respect to your phpBB root (i.e.: <b>modules/mx_smartor/album_mod/mark_fap.png</b>). The watermark will be applied only if Watermark feature is on.'; $lang['Personal_Root_Gallery'] = 'Personal Gallery Root Category'; $lang['Parent_Category'] = 'Parent Category (for this category)'; $lang['Child_Category_Moved'] = 'Selected category had child categories. The child categories got moved to the <B>%s</B> category.'; $lang['No_Self_Refering_Cat'] = 'You cannot set a category\'s parent to itself'; $lang['Can_Not_Change_Main_Parent'] = 'You cannot change to parent of the main category of your personal gallery'; // // Permissions // $lang['Album_Auth_Title'] = 'Album Permissions'; $lang['Album_Auth_Explain'] = 'Here you can choose which usergroup(s) can be the moderators for each album category or just has the private access'; $lang['Select_a_Category'] = 'Select a Category'; $lang['Look_up_Category'] = 'Look up Category'; $lang['Album_Auth_successfully'] = 'Auth has been updated successfully'; $lang['Click_return_album_auth'] = 'Click %sHere%s to return to the Album Permissions'; $lang['Upload'] = 'Upload'; $lang['Rate'] = 'Rate'; $lang['Comment'] = 'Comment'; // // Clear Cache // $lang['Clear_Cache'] = 'Clear Cache'; $lang['Album_clear_cache_confirm'] = 'If you use the Thumbnail Cache feature you must clear your thumbnail cache after changing your thumbnail settings in Album Configuration to make them re-generated.<br /><br /> Do you want to clear them now?'; $lang['Thumbnail_cache_cleared_successfully'] = '<br />Your thumbnail cache has been cleared successfully<br /> '; // CLowN $lang['SP_Album_config'] = 'ADV CLowN SP Configuration'; $lang['SP_Album_config_explain'] = 'Here you can configure some options for the Album Service Pack'; $lang['SP_Album_sp_general'] = 'General Config'; $lang['SP_Album_sp_watermark'] = 'WaterMark Config'; $lang['SP_Album_sp_hotornot'] = 'Hot or Not Config'; $lang['SP_Rate_type'] = 'Select how do you want picture rating to be displayed'; $lang['SP_Rate_type_0'] = 'Images only'; $lang['SP_Rate_type_1'] = 'Numbers only'; $lang['SP_Rate_type_2'] = 'Numbers and Images'; $lang['SP_Display_latest'] = 'Display latest submited pictures block'; $lang['SP_Display_highest'] = 'Display highest rated pictures block'; $lang['SP_Display_most_viewed'] = 'Display most viewed pictures block'; $lang['SP_Display_random'] = 'Display random pictures block'; $lang['SP_Pic_row'] = 'Number of rows on thumbnail page (in index)'; $lang['SP_Pic_col'] = 'Number of columns on thumbnail page (in index)'; $lang['SP_Midthumb_use'] = 'Use mid-thumbnail'; $lang['SP_Midthumb_cache'] = 'Enable caching of mid-thumbnail'; $lang['SP_Midthumb_high'] = 'Height of mid-thumbnail (pixel)'; $lang['SP_Midthumb_width'] = 'Width of mid-thumbnail (pixel)'; $lang['SP_Watermark'] = 'Use WaterMark'; $lang['SP_Watermark_users'] = 'Show WaterMark for all users, if \'No\' only display to unregistered users'; $lang['SP_Watermark_placent'] = 'WaterMark position on the picture'; $lang['SP_Hon_already_rated'] = 'Unlimited rating on Hot or Not page'; $lang['SP_Hon_sep_rating'] = 'Store Hot or Not rating in a separate table'; $lang['SP_Hon_where'] = 'Display pictures on hot or not from what categories? (leave blank to use pictures from all of the categories, if more then one category, separate by commas)'; $lang['SP_Hon_users'] = 'Can unregistered users rate'; $lang['SP_jaime_lettering'] = 'Show alphabetic navigation index within a category (Jaime Lettering)'; $lang['SP_Always'] = 'Always'; // Multiple Uploads Admin configuration $lang['Upload_Settings'] = 'Upload'; $lang['Max_Files_To_Upload'] = 'Maximum number of files user can upload at a time'; $lang['Album_upload_settings'] = 'Album Upload Settings'; $lang['Max_pregenerated_fields'] = 'Maximum number of fields to pre-generate'; $lang['Dynamic_field_generation'] = 'Enable dynamic adding of upload fields'; $lang['Pre_generate_fields'] = 'Pre generate the upload fields'; $lang['Propercase_pic_title'] = 'Propercase picture title e.g. <i>\'This Is A Picture Title\'</i><br />Setting it to \'NO\' will result in this <i>\'This is a picture title\'</i>'; $lang['Pic_Resampling'] = 'Enabling this option, each image will be resized on the fly if needed (to keep image properties respecting the album settings in ACP).'; $lang['Max_file_size_resampling'] = 'Maximum file size before resampling (bytes)'; $lang['display_most_posts'] = "Display most posts"; $lang['display_random_posts'] = "Display random posts"; $lang['display_top_ranked'] = "Display top ranked"; $lang['display_latest_posts'] = "Display latest posts"; $lang['num_of_cols'] = "Num of cols"; $lang['num_of_rows'] = "Num of rows"; $lang['album_config_updated'] = 'Mx Smartor Configuration Updated Successfully.'; $lang['Click_return_album_config'] = 'Click %sHere%s to return to mx_smartor Configuration'; $lang['index'] = 'Mx Smartor Album Index'; $lang['mx_album_admin'] = 'mxBB Smartor Integration'; $lang['mx_album_admin_explain'] = 'Here, you can do album index and mxBB page mappings.'; $lang['default_pages_title'] = 'mxBB and Smartor integration'; $lang['default_pages_title_explain'] = ''; $lang['default_pages_more_title'] = 'More mappings...'; $lang['default_pages_more_title_explain'] = ''; $lang['integration_enabled'] = 'Activate the Integration?'; $lang['integration_enabled_explain'] = 'When the Smartor module integration is activated, all mx_smartor URLs will be directed to mxBB pages. If deactivated, album.php will operate "as usual"'; $lang['integration_enabled_yes'] = 'Activate'; $lang['integration_enabled_no'] = 'Do not integrate album.php'; $lang['override'] = 'Associate album.php and mxBB pages'; $lang['override_explain'] = 'All mx_smartor urls are redirected to mxBB pages following these settings.'; $lang['override_yes'] = 'Use Block Settings'; $lang['override_no'] = 'Use fixed mappings (see below)'; // Welcome block $lang['Welcome_Msg'] = "<b>Welcome Message:</b>"; $lang['Welcome_Msginfo'] = "This message will be visible for all users."; $lang['Register_Msg'] = "<b>Register Message:</b>"; $lang['Register_Msginfo'] = "This message will only be visible for anonymous users to encourage them to register.<br />Tip: Use <b>%s</b> twice to enclose the string you want as a link to register."; $lang['Vertical_Layout'] = "<b>Vertical Layout:</b>"; $lang['Vertical_Layoutinfo'] = "Select if you wish to display this block with a <b>Vertical</b> or <b>Horizontal</b> layout."; $lang['View_JumpTo'] = "<b>View JumpTo:</b>"; $lang['View_JumpToinfo'] = "Select if you wish to display a <b>JumpToForum</b> box.<br /><u>Note:</u> Disable this feature if you use <b>Vertical layout</b>. Probably, it will make your block wider than the page column where you place this block. But, it could be useful, if you select <b>Horizontal layout</b>."; $lang['Default_Avatar'] = "<b>Default Avatar:</b>"; $lang['Default_Avatarinfo'] = "Image to be used as default welcome avatar. Will be shown when logged in user has no avatar.<br /><u>Note:</u> Relative path for this image is \"modules/mx_tinies/avatars\"."; $lang['View_PostCount'] = "<b>View Post Count:</b>"; $lang['View_PostCountinfo'] = "Specify if you wish to display the post count next to <u>View posts since last visit</u> and <u>View unread posts</u> links, shown when a user is logged in."; // // That's all Folks! // ------------------------------------------------- ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-03-14 14:23:29
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/language In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14976/album_mod/language Added Files: index.htm Log Message: i fogot to commit this somehow --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-03-14 14:21:27
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver/images/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14158/lang_english Log Message: Directory /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver/images/lang_english added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-14 14:20:59
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13710/images Log Message: Directory /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver/images added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-14 14:20:56
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13710/admin Log Message: Directory /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver/admin added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-14 14:20:47
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13679/subSilver Log Message: Directory /cvsroot/mxbb/mx_smartor/phpbb2/templates/subSilver added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-14 14:20:20
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13583/admin Log Message: Directory /cvsroot/mxbb/mx_smartor/phpbb2/admin added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-14 14:20:20
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2/templates In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13583/templates Log Message: Directory /cvsroot/mxbb/mx_smartor/phpbb2/templates added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-14 14:19:59
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13135/lang_english Log Message: Directory /cvsroot/mxbb/mx_smartor/album_mod/language/lang_english added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-14 14:19:46
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/language In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13114/language Log Message: Directory /cvsroot/mxbb/mx_smartor/album_mod/language added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-14 14:19:35
|
Update of /cvsroot/mxbb/mx_smartor/phpbb2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13083/phpbb2 Log Message: Directory /cvsroot/mxbb/mx_smartor/phpbb2 added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-14 14:13:48
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9364 Modified Files: album_constants.php Log Message: fix Index: album_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_constants.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** album_constants.php 14 Mar 2008 12:35:51 -0000 1.5 --- album_constants.php 14 Mar 2008 14:13:41 -0000 1.6 *************** *** 38,42 **** // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE ! // ------------------------------------------------------------------------- if (!MXBB_MODULE) { --- 38,49 ---- // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE ! // ! // Extend page with additional header or footer data ! // Examples: ! // $mx_page->add_css_file(); // Include style dependent *.css file, eg module_path/template_path/template/theme.css ! // $mx_page->add_js_file( 'includes/js.js' ); // Relative to module_root ! // $mx_page->add_header_text( 'header text' ); ! // $mx_page->add_footer_text( 'includes/test.txt', true ); // Relative to module_root ! // Note: Included text from file (last example), will evaluate $theme and $mx_block->info variables. if (!MXBB_MODULE) { *************** *** 57,69 **** if (is_object($mx_page)) { - // ------------------------------------------------------------------------- - // Extend User Style with module lang and images - // Usage: $mx_user->extend(LANG, IMAGES) - // Switches: - // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE - // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE - // ------------------------------------------------------------------------- $mx_user->extend(MX_LANG_ALL, MX_IMAGES); } } --- 64,72 ---- if (is_object($mx_page)) { $mx_user->extend(MX_LANG_ALL, MX_IMAGES); } + + $mx_page->add_css_file('mx_smartor.css'); // Include style dependent *.css file, eg module_path/template_path/template/theme.css + $mx_page->add_js_file($module_root_path . 'album_mod/fap_loader.js'); // Relative to module_root } |
|
From: OryNider <ory...@us...> - 2008-03-14 13:33:28
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17971 Modified Files: functions_core.php Log Message: $module_root_path Index: functions_core.php =================================================================== RCS file: /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/functions_core.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions_core.php 10 Mar 2008 06:02:26 -0000 1.1 --- functions_core.php 14 Mar 2008 13:33:21 -0000 1.2 *************** *** 2716,2729 **** function add_css_file() { ! global $mx_block, $theme; $style_path = $theme['template_name'] . '/'; ! if ( file_exists($mx_block->module_root_path . 'templates/' . $style_path . $theme['head_stylesheet']) ) { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/' . $style_path . $theme['head_stylesheet']; } else { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/subSilver/' . $theme['head_stylesheet']; } } --- 2716,2729 ---- function add_css_file() { ! global $mx_block, $theme, $module_root_path; $style_path = $theme['template_name'] . '/'; ! if ( file_exists($module_root_path . 'templates/' . $style_path . $theme['head_stylesheet']) ) { ! $this->mxbb_css_addup[] = $module_root_path . 'templates/' . $style_path . $theme['head_stylesheet']; } else { ! $this->mxbb_css_addup[] = $module_root_path . 'templates/subSilver/' . $theme['head_stylesheet']; } } *************** *** 2739,2743 **** function add_js_file($path = '') { ! $this->mxbb_js_addup[] = $mx_block->module_root_path . $path; } --- 2739,2744 ---- function add_js_file($path = '') { ! global $module_root_path; ! $this->mxbb_js_addup[] = $module_root_path . $path; } *************** *** 2754,2764 **** { // Provide these variables to be evaluated in the file ! global $mx_block, $theme; if ($read_file) { ! if (file_exists($mx_block->module_root_path . $text)) { ! $data = file_get_contents($mx_block->module_root_path . $text); foreach ($theme as $key => $value) --- 2755,2765 ---- { // Provide these variables to be evaluated in the file ! global $mx_block, $theme, $module_root_path; if ($read_file) { ! if (file_exists($module_root_path . $text)) { ! $data = file_get_contents($module_root_path . $text); foreach ($theme as $key => $value) *************** *** 2771,2775 **** else { ! echo('Warning: Your module is trying to load a file ('.$mx_block->module_root_path . $text .') that doesn\'t exist)'); } } --- 2772,2776 ---- else { ! echo('Warning: Your module is trying to load a file ('.$module_root_path . $text .') that doesn\'t exist)'); } } *************** *** 2792,2802 **** { // Provide these variables to be evaluated in the file ! global $mx_block, $theme; if ($read_file) { ! if (file_exists($mx_block->module_root_path . $text)) { ! $data = file_get_contents($mx_block->module_root_path . $text); foreach ($theme as $key => $value) --- 2793,2803 ---- { // Provide these variables to be evaluated in the file ! global $mx_block, $theme, $module_root_path; if ($read_file) { ! if (file_exists($module_root_path . $text)) { ! $data = file_get_contents($module_root_path . $text); foreach ($theme as $key => $value) *************** *** 2814,2818 **** else { ! echo('Warning: Your module is trying to load a file ('.$mx_block->module_root_path . $text .') that doesn\'t exist)'); } } --- 2815,2819 ---- else { ! echo('Warning: Your module is trying to load a file ('.$module_root_path . $text .') that doesn\'t exist)'); } } |
|
From: OryNider <ory...@us...> - 2008-03-14 12:38:31
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5080 Modified Files: Tag: core28x album_constants.php Log Message: some @ since this constans should be defined in core too Index: album_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_constants.php,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** album_constants.php 13 Mar 2008 08:33:12 -0000 1.1.2.5 --- album_constants.php 14 Mar 2008 12:36:50 -0000 1.1.2.6 *************** *** 52,56 **** if (!$_GET['print']) // Do not "fix" with reuest wrapper!! { ! //$mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x (uncomment this in next version) } --- 52,56 ---- if (!$_GET['print']) // Do not "fix" with reuest wrapper!! { ! $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x } *************** *** 76,83 **** !defined('ALBUM_SP_CONFIG_TABLE') ? define('ALBUM_SP_CONFIG_TABLE', $mx_table_prefix.'smartor_album_sp_config') : false; ! define('PAGE_ALBUM', -50); // for Session Handling ! define('PAGE_ALBUM_PERSONAL', -51); ! define('PAGE_ALBUM_PICTURE', -52); ! define('PAGE_ALBUM_SEARCH', -53); define('PERSONAL_GALLERY', 0); // pic_cat_id <- do NOT change this value --- 76,83 ---- !defined('ALBUM_SP_CONFIG_TABLE') ? define('ALBUM_SP_CONFIG_TABLE', $mx_table_prefix.'smartor_album_sp_config') : false; ! @define('PAGE_ALBUM', -50); // for Session Handling ! @define('PAGE_ALBUM_PERSONAL', -51); ! @define('PAGE_ALBUM_PICTURE', -52); ! @define('PAGE_ALBUM_SEARCH', -53); define('PERSONAL_GALLERY', 0); // pic_cat_id <- do NOT change this value |