Changeset 2092 in ExiteCMS


Ignore:
Timestamp:
12/05/08 20:23:35 (3 years ago)
Author:
WanWizard
Message:

ticket #58: added "search entire site" to the search module
added missing svn properties to several files

Location:
trunk
Files:
301 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/tools/language_pack_English.php

    r2090 r2092  
    34653465        $localestrings['src522'] = "To"; 
    34663466        $localestrings['src523'] = "From"; 
     3467        $localestrings['src524'] = "Entire site"; 
    34673468        load_localestrings($localestrings, LP_LOCALE, "main.search", $step); 
    34683469 
     
    37683769if (!defined('LP_COUNTRIES')) define('LP_COUNTRIES', "us|gb|ca|au|nz|in|za|ir|mt|hk|pr"); 
    37693770if (!defined('LP_VERSION')) define('LP_VERSION', "7.20"); 
    3770 if (!defined('LP_DATE')) define('LP_DATE', "1228396456"); 
     3771if (!defined('LP_DATE')) define('LP_DATE', "1228492311"); 
    37713772$lp_date = LP_DATE; 
    37723773 
  • trunk/administration/tools/language_pack_Nederlands.php

    r2090 r2092  
    34653465        $localestrings['src522'] = "Aan"; 
    34663466        $localestrings['src523'] = "Van"; 
     3467        $localestrings['src524'] = "De hele site"; 
    34673468        load_localestrings($localestrings, LP_LOCALE, "main.search", $step); 
    34683469 
     
    37683769if (!defined('LP_COUNTRIES')) define('LP_COUNTRIES', "nl|be|sr|aw|an"); 
    37693770if (!defined('LP_VERSION')) define('LP_VERSION', "7.20"); 
    3770 if (!defined('LP_DATE')) define('LP_DATE', "1228396459"); 
     3771if (!defined('LP_DATE')) define('LP_DATE', "1228492315"); 
    37713772$lp_date = LP_DATE; 
    37723773 
  • trunk/files/attachments/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/files/cache/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/files/downloads/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/files/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/files/locales/en.main.global.php

    • Property svn:keywords set to Date Revision Author Id
    r2087 r2092  
    33// locale       : English 
    44// locale name  : main.global 
    5 // generated on : Sat Nov 29 2008, 23:48:23 CET 
     5// generated on : Fri Dec 5 2008, 16:52:09 CET 
    66// translators  : ExiteCMS team,WanWizard 
    77// ---------------------------------------------------------- 
  • trunk/files/locales/en.main.setup.php

    • Property svn:keywords set to Date Revision Author Id
    r2087 r2092  
    33// locale       : English 
    44// locale name  : main.setup 
    5 // generated on : Sat Nov 29 2008, 23:42:01 CET 
     5// generated on : Thu Dec 4 2008, 15:56:51 CET 
    66// translators  : ExiteCMS team,WanWizard 
    77// ---------------------------------------------------------- 
  • trunk/files/locales/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/files/locales/nl.main.global.php

    • Property svn:keywords set to Date Revision Author Id
    r2089 r2092  
    11<?php 
    22// ---------------------------------------------------------- 
    3 // locale       : Nederlands 
     3// locale       : English 
    44// locale name  : main.global 
    5 // generated on : Wed Dec 3 2008, 16:48:23 CET 
     5// generated on : Thu Dec 4 2008, 15:56:55 CET 
    66// translators  : ExiteCMS team,WanWizard 
    77// ---------------------------------------------------------- 
  • trunk/files/locales/nl.main.setup.php

    • Property svn:keywords set to Date Revision Author Id
    r2087 r2092  
    33// locale       : English 
    44// locale name  : main.setup 
    5 // generated on : Sat Nov 29 2008, 23:41:57 CET 
     5// generated on : Thu Dec 4 2008, 15:56:55 CET 
    66// translators  : ExiteCMS team,WanWizard 
    77// ---------------------------------------------------------- 
  • trunk/files/pm_attachments/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/files/tplcache/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/advertising/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/albums/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/articles/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/avatars/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/download_cats/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/imagelist.js

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/news/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/news_cats/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/images/smiley/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/SWFUpload-2.1.0/fileprogress.js

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/SWFUpload-2.1.0/handlers.js

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/SWFUpload-2.1.0/swfupload.js

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/SWFUpload-2.1.0/swfupload.queue.js

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/SWFUpload-2.1.0/swfupload.swfobject.js

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/Config_File.class.php

    • Property svn:keywords set to Date Revision Author Id
    r2033 r2092  
    2626 */ 
    2727 
    28 /* $Id: Config_File.class.php 1935 2008-10-29 23:42:42Z WanWizard $ */ 
     28/* $Id$ */ 
    2929 
    3030/** 
  • trunk/includes/Smarty-2.6.20/Smarty.class.php

    • Property svn:keywords set to Date Revision Author Id
    r2033 r2092  
    3131 */ 
    3232 
    33 /* $Id: Smarty.class.php 1935 2008-10-29 23:42:42Z WanWizard $ */ 
     33/* $Id$ */ 
    3434 
    3535/** 
  • trunk/includes/Smarty-2.6.20/Smarty_Compiler.class.php

    • Property svn:keywords set to Date Revision Author Id
    r2033 r2092  
    2727 */ 
    2828 
    29 /* $Id: Smarty_Compiler.class.php 1935 2008-10-29 23:42:42Z WanWizard $ */ 
     29/* $Id$ */ 
    3030 
    3131/** 
  • trunk/includes/Smarty-2.6.20/debug.tpl

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.assemble_plugin_filepath.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.assign_smarty_interface.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.create_dir_structure.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.display_debug_console.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.get_include_path.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.get_microtime.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.get_php_resource.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.is_secure.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.is_trusted.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.load_plugins.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.load_resource_plugin.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.process_cached_inserts.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.process_compiled_include.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.read_cache_file.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.rm_auto.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.rmdir.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.run_insert_handler.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.smarty_include_php.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.write_cache_file.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.write_compiled_include.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.write_compiled_resource.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/internals/core.write_file.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/block.textformat.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/compiler.assign.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.assign_debug_info.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.config_load.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.counter.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.cycle.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.debug.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.eval.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.fetch.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.html_checkboxes.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.html_image.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.html_options.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.html_radios.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.html_select_date.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.html_select_time.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.html_table.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.mailto.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.math.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.popup.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/function.popup_init.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.capitalize.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.cat.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.count_characters.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.count_paragraphs.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.count_sentences.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.count_words.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.date_format.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.debug_print_var.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.default.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.escape.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.indent.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.lower.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.nl2br.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.regex_replace.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.replace.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.spacify.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.string_format.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.strip.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.strip_tags.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.truncate.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.upper.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/modifier.wordwrap.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/outputfilter.trimwhitespace.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/shared.escape_special_chars.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/Smarty-2.6.20/smarty-plugins/shared.make_timestamp.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/abap.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/actionscript.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/actionscript3.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/ada.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/apache.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/applescript.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/apt_sources.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/asm.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/asp.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/autoit.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/bash.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/basic4gl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/blitzbasic.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/bnf.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/boo.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/c.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/c_mac.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/caddcl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/cadlisp.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/cfdg.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/cfm.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/cil.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/cobol.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/cpp-qt.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/cpp.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/csharp.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/css.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/d.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/delphi.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/diff.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/div.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/dos.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/dot.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/eiffel.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/fortran.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/freebasic.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/genero.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/gettext.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/glsl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/gml.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/gnuplot.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/groovy.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/haskell.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/html4strict.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/idl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/ini.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/inno.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/io.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/java.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/java5.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/javascript.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/kixtart.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/klonec.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/klonecpp.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/latex.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/lisp.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/lotusformulas.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/lotusscript.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/lua.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/m68k.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/matlab.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/mirc.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/mpasm.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/mxml.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/mysql.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/nsis.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/objc.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/ocaml-brief.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/ocaml.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/oobas.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/oracle8.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/pascal.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/per.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/perl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/php-brief.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/php.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/pic16.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/plsql.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/povray.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/powershell.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/progress.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/python.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/qbasic.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/rails.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/reg.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/robots.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/ruby.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/sas.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/scala.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/scheme.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/sdlbasic.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/smalltalk.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/smarty.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/sql.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/tcl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/text.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/thinbasic.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/tsql.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/typoscript.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/vb.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/vbnet.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/verilog.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/vhdl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/visualfoxpro.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/winbatch.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/xml.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/xorg_conf.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/xpp.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/geshi-1.0.8/geshi/z80.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/hoteditor-4.2/show_it.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/fullpage/fullpage.htm

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/config/config.inc.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/config/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/interface/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/cs.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/da.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/de.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/en.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/es.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/fr.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/it.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/lang.class.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/nl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/pl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/pt_br.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/langs/sk.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/jscripts/tiny_mce-3.2/plugins/ibrowser/temp/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-br.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-ca.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-cz.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-de.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-dk.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-en.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-es.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-et.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-fa.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-fi.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-fo.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-fr.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-hu.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-it.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-ja.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-nl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-no.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-pl.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-ro.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-ru.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-se.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/language/phpmailer.lang-tr.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/pm_functions_include.php

    • Property bugtraq:logregex set to (?:ticket: *|#)(\d+) *(?:, *(\d+))*
    • Property bugtraq:url set to http://www.exitecms.org/trac/ticket/%BUGID%
  • trunk/includes/reports/templates/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/search/search.articles.php

    r2090 r2092  
    1818+---------------------------------------------------------------------*/ 
    1919if (eregi("search.articles.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    20  
    21 // array to store variables we want to use in the search template 
    22 $reportvars = array(); 
    2320 
    2421// make sure we have an action variable 
     
    154151        } 
    155152 
    156         // check if we have a rowstart value 
    157         if (!isset($rowstart)) $rowstart = 0; 
    158      
    159153        // check how many rows this would output 
    160154        $rptresult = mysql_query($sql.($limit?" LIMIT $limit":"")); 
    161         $variables['rows'] = dbrows($rptresult); 
    162         if ($variables['rows']) { 
    163             $variables['rowstart'] = $rowstart; 
    164             $variables['items_per_page'] = $settings['numofthreads']; 
     155        $rows = dbrows($rptresult); 
    165156 
    166             // now add a query limit, make sure not to overshoot the limit requested 
    167             if ($variables['rows']-$rowstart > $settings['numofthreads']) { 
    168                 $sql .= " LIMIT ".$rowstart.",".$settings['numofthreads']; 
    169             } else { 
    170                 $sql .= " LIMIT ".$rowstart.",".($variables['rows']-$rowstart); 
    171             } 
    172             $rptresult = dbquery($sql); 
     157        // are there any results? 
     158        if ($rows) { 
    173159 
    174             // get the results if any 
    175             if ($rptresult) { 
    176                 $reportvars['output'] = array(); 
    177                 while ($rptdata = dbarray($rptresult)) { 
    178                     $reportvars['output'][] = $rptdata; 
     160            // are we interested in these results? 
     161            if ($lines < $settings['numofthreads'] && $rowstart < $variables['rows'] + $rows) { 
     162 
     163                // add a query limit, we might not need all records 
     164                $sql .= " LIMIT ".(max($rowstart-$variables['rows'],0)).",".min($rows,($settings['numofthreads']-$lines)); 
     165 
     166                // launch the query 
     167                $rptresult = dbquery($sql); 
     168 
     169                // get the results if any 
     170                if ($rptresult) { 
     171                    while ($rptdata = dbarray($rptresult)) { 
     172                        $rptdata['_template'] = $data['template']; 
     173                        $reportvars['output'][] = $rptdata; 
     174                    } 
     175 
     176                    // get the score divider for this result set 
     177                    $divider = 0; 
     178                    foreach($reportvars['output'] as $key => $value) { 
     179                        $divider = max($divider, $value['score']); 
     180                    } 
     181 
     182                    // calculate the relevance for this result set 
     183                    foreach($reportvars['output'] as $key => $value) { 
     184                        $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
     185                    } 
    179186                } 
    180187 
    181                 // get the score divider for this result set 
    182                 $divider = 0; 
    183                 foreach($reportvars['output'] as $key => $value) { 
    184                     $divider = max($divider, $value['score']); 
    185                 } 
     188            } 
    186189 
    187                 // calculate the relevance for this result set 
    188                 foreach($reportvars['output'] as $key => $value) { 
    189                     $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
    190                 } 
    191             } 
     190            // add the amount of rows found to the total rows counter 
     191            $variables['rows'] += $rows; 
     192 
    192193        } 
     194 
    193195    } 
    194196} 
  • trunk/includes/search/search.downloads.php

    r2090 r2092  
    1919if (eregi("search.downloads.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    2020 
    21 // array to store variables we want to use in the search template 
    22 $reportvars = array(); 
     21// shared forum functions include 
     22require_once PATH_INCLUDES."forum_functions_include.php"; 
    2323 
    2424// make sure we have an action variable 
     
    135135        } 
    136136 
    137         // check if we have a rowstart value 
    138         if (!isset($rowstart)) $rowstart = 0; 
    139  
    140137        // check how many rows this would output 
    141138        $rptresult = mysql_query($sql.($limit?" LIMIT $limit":"")); 
    142         $variables['rows'] = dbrows($rptresult); 
    143         if ($variables['rows']) { 
    144             $variables['rowstart'] = $rowstart; 
    145             $variables['items_per_page'] = $settings['numofthreads']; 
     139        $rows = dbrows($rptresult); 
    146140 
    147             // now add a query limit, make sure not to overshoot the limit requested 
    148             if ($variables['rows']-$rowstart > $settings['numofthreads']) { 
    149                 $sql .= " LIMIT ".$rowstart.",".$settings['numofthreads']; 
    150             } else { 
    151                 $sql .= " LIMIT ".$rowstart.",".($variables['rows']-$rowstart); 
    152             } 
    153             $rptresult = dbquery($sql); 
     141        // are there any results? 
     142        if ($rows) { 
    154143 
    155             // get the results if any 
    156             if ($rptresult) { 
    157                 $reportvars['output'] = array(); 
    158                 while ($rptdata = dbarray($rptresult)) { 
    159                     $reportvars['output'][] = $rptdata; 
     144            // are we interested in these results? 
     145            if ($lines < $settings['numofthreads'] && $rowstart < $variables['rows'] + $rows) { 
     146 
     147                // add a query limit, we might not need all records 
     148                $sql .= " LIMIT ".(max($rowstart-$variables['rows'],0)).",".min($rows,($settings['numofthreads']-$lines)); 
     149 
     150                // launch the query 
     151                $rptresult = dbquery($sql); 
     152 
     153                // get the results if any 
     154                if ($rptresult) { 
     155                    while ($rptdata = dbarray($rptresult)) { 
     156                        $rptdata['_template'] = $data['template']; 
     157                        $rptdata['download_description'] = parsemessage(array(), $rptdata['download_description'], true, true); 
     158                        $reportvars['output'][] = $rptdata; 
     159                    } 
     160 
     161                    // get the score divider for this result set 
     162                    $divider = 0; 
     163                    foreach($reportvars['output'] as $key => $value) { 
     164                        $divider = max($divider, $value['score']); 
     165                    } 
     166 
     167                    // calculate the relevance for this result set 
     168                    foreach($reportvars['output'] as $key => $value) { 
     169                        $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
     170                    } 
    160171                } 
    161172 
    162                 // get the score divider for this result set 
    163                 $divider = 0; 
    164                 foreach($reportvars['output'] as $key => $value) { 
    165                     $divider = max($divider, $value['score']); 
    166                 } 
     173            } 
    167174 
    168                 // calculate the relevance for this result set 
    169                 foreach($reportvars['output'] as $key => $value) { 
    170                     $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
    171                 } 
    172             } 
     175            // add the amount of rows found to the total rows counter 
     176            $variables['rows'] += $rows; 
     177 
    173178        } 
     179 
    174180    } 
    175181} 
  • trunk/includes/search/search.forumattachments.php

    r2090 r2092  
    1818+---------------------------------------------------------------------*/ 
    1919if (eregi("search.forumattachments.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    20  
    21 // array to store variables we want to use in the search template 
    22 $reportvars = array(); 
    2320 
    2421// make sure we have an action variable 
     
    176173        } 
    177174 
    178         // check if we have a rowstart value 
    179         if (!isset($rowstart)) $rowstart = 0; 
    180  
    181175        // check how many rows this would output 
    182176        $rptresult = mysql_query($sql.($limit?" LIMIT $limit":"")); 
    183         $variables['rows'] = dbrows($rptresult); 
    184         if ($variables['rows']) { 
    185             $variables['rowstart'] = $rowstart; 
    186             $variables['items_per_page'] = $settings['numofthreads']; 
    187  
    188             // now add a query limit, make sure not to overshoot the limit requested 
    189             if ($variables['rows']-$rowstart > $settings['numofthreads']) { 
    190                 $sql .= " LIMIT ".$rowstart.",".$settings['numofthreads']; 
    191             } else { 
    192                 $sql .= " LIMIT ".$rowstart.",".($variables['rows']-$rowstart); 
    193             } 
    194             $rptresult = dbquery($sql); 
    195  
    196             // get the results if any 
    197             if ($rptresult) { 
    198                 $reportvars['output'] = array(); 
    199                 while ($rptdata = dbarray($rptresult)) { 
    200                     $reportvars['output'][] = $rptdata; 
     177        $rows = dbrows($rptresult); 
     178 
     179        // are there any results? 
     180        if ($rows) { 
     181 
     182            // are we interested in these results? 
     183            if ($lines < $settings['numofthreads'] && $rowstart < $variables['rows'] + $rows) { 
     184 
     185                // add a query limit, we might not need all records 
     186                $sql .= " LIMIT ".(max($rowstart-$variables['rows'],0)).",".min($rows,($settings['numofthreads']-$lines)); 
     187 
     188                // launch the query 
     189                $rptresult = dbquery($sql); 
     190 
     191                // get the results if any 
     192                if ($rptresult) { 
     193                    while ($rptdata = dbarray($rptresult)) { 
     194                        $rptdata['_template'] = $data['template']; 
     195                        $rptdata['download_description'] = parsemessage(array(), $rptdata['download_description'], true, true); 
     196                        $reportvars['output'][] = $rptdata; 
     197                    } 
     198 
     199                    // get the score divider for this result set 
     200                    $divider = 0; 
     201                    foreach($reportvars['output'] as $key => $value) { 
     202                        $divider = max($divider, $value['score']); 
     203                    } 
     204 
     205                    // calculate the relevance for this result set 
     206                    foreach($reportvars['output'] as $key => $value) { 
     207                        $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
     208                    } 
    201209                } 
    202210 
    203                 // get the score divider for this result set 
    204                 $divider = 0; 
    205                 foreach($reportvars['output'] as $key => $value) { 
    206                     $divider = max($divider, $value['score']); 
    207                 } 
    208  
    209                 // calculate the relevance for this result set 
    210                 foreach($reportvars['output'] as $key => $value) { 
    211                     $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
    212                 } 
    213             } 
    214         } 
     211            } 
     212 
     213            // add the amount of rows found to the total rows counter 
     214            $variables['rows'] += $rows; 
     215 
     216        } 
     217 
    215218    } 
    216219} 
  • trunk/includes/search/search.forumposts.php

    r2090 r2092  
    1818+---------------------------------------------------------------------*/ 
    1919if (eregi("search.forumposts.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    20  
    21 // array to store variables we want to use in the search template 
    22 $reportvars = array(); 
    2320 
    2421// make sure we have an action variable 
     
    199196        } 
    200197 
    201         // check if we have a rowstart value 
    202         if (!isset($rowstart)) $rowstart = 0; 
    203  
    204198        // check how many rows this would output 
    205199        $rptresult = mysql_query($sql.($limit?" LIMIT $limit":"")); 
    206         $variables['rows'] = dbrows($rptresult); 
    207         if ($variables['rows']) { 
    208             $variables['rowstart'] = $rowstart; 
    209             $variables['items_per_page'] = $settings['numofthreads']; 
    210  
    211             // now add a query limit, make sure not to overshoot the limit requested 
    212             if ($variables['rows']-$rowstart > $settings['numofthreads']) { 
    213                 $sql .= " LIMIT ".$rowstart.",".$settings['numofthreads']; 
    214             } else { 
    215                 $sql .= " LIMIT ".$rowstart.",".($variables['rows']-$rowstart); 
    216             } 
    217             $rptresult = dbquery($sql); 
    218  
    219             // get the results if any 
    220             if ($variables['rows']) { 
    221                 $reportvars['output'] = array(); 
    222                 while ($rptdata = dbarray($rptresult)) { 
    223                     $reportvars['output'][] = $rptdata; 
     200        $rows = dbrows($rptresult); 
     201 
     202        // are there any results? 
     203        if ($rows) { 
     204 
     205            // are we interested in these results? 
     206            if ($lines < $settings['numofthreads'] && $rowstart < $variables['rows'] + $rows) { 
     207 
     208                // add a query limit, we might not need all records 
     209                $sql .= " LIMIT ".(max($rowstart-$variables['rows'],0)).",".min($rows,($settings['numofthreads']-$lines)); 
     210 
     211                // launch the query 
     212                $rptresult = dbquery($sql); 
     213 
     214                // get the results if any 
     215                if ($rptresult) { 
     216                    while ($rptdata = dbarray($rptresult)) { 
     217                        $rptdata['_template'] = $data['template']; 
     218                        $reportvars['output'][] = $rptdata; 
     219                    } 
     220 
     221                    // get the score divider for this result set 
     222                    $divider = 0; 
     223                    foreach($reportvars['output'] as $key => $value) { 
     224                        $divider = max($divider, $value['score']); 
     225                    } 
     226 
     227                    // calculate the relevance for this result set 
     228                    foreach($reportvars['output'] as $key => $value) { 
     229                        $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
     230                    } 
    224231                } 
    225232 
    226                 // get the score divider for this result set 
    227                 $divider = 0; 
    228                 foreach($reportvars['output'] as $key => $value) { 
    229                     $divider = max($divider, $value['score']); 
    230                 } 
    231  
    232                 // calculate the relevance for this result set 
    233                 foreach($reportvars['output'] as $key => $value) { 
    234                     $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
    235                 } 
    236             } 
    237         } 
     233            } 
     234 
     235            // add the amount of rows found to the total rows counter 
     236            $variables['rows'] += $rows; 
     237 
     238        } 
     239 
    238240    } 
    239241} 
  • trunk/includes/search/search.members.php

    r2090 r2092  
    1919if (eregi("search.members.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    2020 
    21 // array to store variables we want to use in the search template 
    22 $reportvars = array(); 
    23  
    2421// make sure we have an action variable 
    2522if (isset($action)) { 
     
    2926        // add the possible  search filters ($data is defined in the calling script!) 
    3027        $data['search_filters' ] = ""; 
    31  
    3228 
    3329    } else { 
     
    118114        } 
    119115 
    120         // check if we have a rowstart value 
    121         if (!isset($rowstart)) $rowstart = 0; 
    122      
    123116        // check how many rows this would output 
    124117        $rptresult = mysql_query($sql.($limit?" LIMIT $limit":"")); 
    125         $variables['rows'] = dbrows($rptresult); 
    126         if ($variables['rows']) { 
    127             $variables['rowstart'] = $rowstart; 
    128             $variables['items_per_page'] = $settings['numofthreads']; 
     118        $rows = dbrows($rptresult); 
    129119 
    130             // now add a query limit, make sure not to overshoot the limit requested 
    131             if ($variables['rows']-$rowstart > $settings['numofthreads']) { 
    132                 $sql .= " LIMIT ".$rowstart.",".$settings['numofthreads']; 
    133             } else { 
    134                 $sql .= " LIMIT ".$rowstart.",".($variables['rows']-$rowstart); 
    135             } 
    136             $rptresult = dbquery($sql); 
     120        // are there any results? 
     121        if ($rows) { 
    137122 
    138             // get the results if any 
    139             if ($variables['rows']) { 
    140                 $reportvars['output'] = array(); 
    141                 while ($rptdata = dbarray($rptresult)) { 
    142                     $reportvars['output'][] = $rptdata; 
     123            // are we interested in these results? 
     124            if ($lines < $settings['numofthreads'] && $rowstart < $variables['rows'] + $rows) { 
     125 
     126                // add a query limit, we might not need all records 
     127                $sql .= " LIMIT ".(max($rowstart-$variables['rows'],0)).",".min($rows,($settings['numofthreads']-$lines)); 
     128 
     129                // launch the query 
     130                $rptresult = dbquery($sql); 
     131 
     132                // get the results if any 
     133                if ($rptresult) { 
     134                    while ($rptdata = dbarray($rptresult)) { 
     135                        $rptdata['_template'] = $data['template']; 
     136                        $rptdata['download_description'] = parsemessage(array(), $rptdata['download_description'], true, true); 
     137                        $reportvars['output'][] = $rptdata; 
     138                    } 
     139 
     140                    // get the score divider for this result set 
     141                    $divider = 0; 
     142                    foreach($reportvars['output'] as $key => $value) { 
     143                        $divider = max($divider, $value['score']); 
     144                    } 
     145 
     146                    // calculate the relevance for this result set 
     147                    foreach($reportvars['output'] as $key => $value) { 
     148                        $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
     149                    } 
    143150                } 
    144151 
    145                 // get the score divider for this result set 
    146                 $divider = 0; 
    147                 foreach($reportvars['output'] as $key => $value) { 
    148                     $divider = max($divider, $value['score']); 
    149                 } 
     152            } 
    150153 
    151                 // calculate the relevance for this result set 
    152                 foreach($reportvars['output'] as $key => $value) { 
    153                     $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
    154                 } 
    155             } 
     154            // add the amount of rows found to the total rows counter 
     155            $variables['rows'] += $rows; 
     156 
    156157        } 
     158 
    157159    } 
    158160} 
  • trunk/includes/search/search.news.php

    r2090 r2092  
    1818+---------------------------------------------------------------------*/ 
    1919if (eregi("search.news.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    20  
    21 // array to store variables we want to use in the search template 
    22 $reportvars = array(); 
    2320 
    2421// make sure we have an action variable 
     
    152149        } 
    153150 
    154         // check if we have a rowstart value 
    155         if (!isset($rowstart)) $rowstart = 0; 
    156      
    157151        // check how many rows this would output 
    158152        $rptresult = mysql_query($sql.($limit?" LIMIT $limit":"")); 
    159         $variables['rows'] = dbrows($rptresult); 
    160         if ($variables['rows']) { 
    161             $variables['rowstart'] = $rowstart; 
    162             $variables['items_per_page'] = $settings['numofthreads']; 
     153        $rows = dbrows($rptresult); 
    163154 
    164             // now add a query limit, make sure not to overshoot the limit requested 
    165             if ($variables['rows']-$rowstart > $settings['numofthreads']) { 
    166                 $sql .= " LIMIT ".$rowstart.",".$settings['numofthreads']; 
    167             } else { 
    168                 $sql .= " LIMIT ".$rowstart.",".($variables['rows']-$rowstart); 
    169             } 
    170             $rptresult = dbquery($sql); 
     155        // are there any results? 
     156        if ($rows) { 
    171157 
    172             // get the results if any 
    173             if ($variables['rows']) { 
    174                 $reportvars['output'] = array(); 
    175                 while ($rptdata = dbarray($rptresult)) { 
    176                     $reportvars['output'][] = $rptdata; 
     158            // are we interested in these results? 
     159            if ($lines < $settings['numofthreads'] && $rowstart < $variables['rows'] + $rows) { 
     160 
     161                // add a query limit, we might not need all records 
     162                $sql .= " LIMIT ".(max($rowstart-$variables['rows'],0)).",".min($rows,($settings['numofthreads']-$lines)); 
     163 
     164                // launch the query 
     165                $rptresult = dbquery($sql); 
     166 
     167                // get the results if any 
     168                if ($rptresult) { 
     169                    while ($rptdata = dbarray($rptresult)) { 
     170                        $rptdata['_template'] = $data['template']; 
     171                        $reportvars['output'][] = $rptdata; 
     172                    } 
     173 
     174                    // get the score divider for this result set 
     175                    $divider = 0; 
     176                    foreach($reportvars['output'] as $key => $value) { 
     177                        $divider = max($divider, $value['score']); 
     178                    } 
     179 
     180                    // calculate the relevance for this result set 
     181                    foreach($reportvars['output'] as $key => $value) { 
     182                        $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
     183                    } 
    177184                } 
    178185 
    179                 // get the score divider for this result set 
    180                 $divider = 0; 
    181                 foreach($reportvars['output'] as $key => $value) { 
    182                     $divider = max($divider, $value['score']); 
    183                 } 
     186            } 
    184187 
    185                 // calculate the relevance for this result set 
    186                 foreach($reportvars['output'] as $key => $value) { 
    187                     $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
    188                 } 
    189             } 
     188            // add the amount of rows found to the total rows counter 
     189            $variables['rows'] += $rows; 
     190 
    190191        } 
     192 
    191193    } 
    192194} 
  • trunk/includes/search/search.pm.php

    r2090 r2092  
    1818+---------------------------------------------------------------------*/ 
    1919if (eregi("search.forumposts.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    20  
    21 // array to store variables we want to use in the search template 
    22 $reportvars = array(); 
    2320 
    2421// make sure we have an action variable 
     
    133130        } 
    134131 
    135         // check if we have a rowstart value 
    136         if (!isset($rowstart)) $rowstart = 0; 
    137  
    138132        // check how many rows this would output 
    139133        $rptresult = mysql_query($sql.($limit?" LIMIT $limit":"")); 
    140         $variables['rows'] = dbrows($rptresult); 
    141         if ($variables['rows']) { 
    142             $variables['rowstart'] = $rowstart; 
    143             $variables['items_per_page'] = $settings['numofthreads']; 
    144  
    145             // now add a query limit, make sure not to overshoot the limit requested 
    146             if ($variables['rows']-$rowstart > $settings['numofthreads']) { 
    147                 $sql .= " LIMIT ".$rowstart.",".$settings['numofthreads']; 
    148             } else { 
    149                 $sql .= " LIMIT ".$rowstart.",".($variables['rows']-$rowstart); 
    150             } 
    151             $rptresult = dbquery($sql); 
    152  
    153             // get the results if any 
    154             if ($variables['rows']) { 
    155                 $pmfolders = array($locale['src519'], $locale['src520'], $locale['src521']); 
    156                 $reportvars['output'] = array(); 
    157                 while ($rptdata = dbarray($rptresult)) { 
    158                     $rptdata['folder'] = $pmfolders[$rptdata['pmindex_folder']]; 
    159                     // get the information for the recipient(s) 
    160                     $rptdata['recipients'] = array(); 
    161                     if ($rptdata['pmindex_folder'] == 0 || ($rptdata['pmindex_folder'] == 2 && $rptdata['pmindex_user_id'] != $rptdata['pmindex_from_id'])) { 
    162                         // incomming, get the sender info 
    163                         $result2 = dbquery("SELECT 0 as is_group, user_name AS name FROM ".$db_prefix."users WHERE user_id = '".$rptdata['pmindex_from_id']."'"); 
    164                         if ($data2 = dbarray($result2)) { 
    165                             $rptdata['recipients'][] = $data2; 
    166                         } 
    167                     } elseif ($rptdata['pmindex_folder'] == 1 || ($rptdata['pmindex_folder'] == 2 && $rptdata['pmindex_user_id'] == $rptdata['pmindex_from_id'])) { 
    168                         // outgoing, get the recepient info 
    169                         $recipients = explode(",", $rptdata['pm_recipients']); 
    170                         foreach ($recipients as $recipient) { 
    171                             if ($recipient < 0) { 
    172                                 // recipient is a user group 
    173                                 $result2 = dbquery("SELECT 1 as is_group, group_id AS id, group_name AS name, group_visible AS visible FROM ".$db_prefix."user_groups WHERE group_id = '".abs($recipient)."'"); 
    174                                 if ($data2 = dbarray($result2)) { 
    175                                     $data2['visible'] = $data2['visible'] & pow(2, 0); 
    176                                     $rptdata['recipients'][] = $data2; 
    177                                 } 
    178                             } else { 
    179                                 // recipient is a single member 
    180                                 $result2 = dbquery("SELECT 0 as is_group, user_id AS id, user_name AS name FROM ".$db_prefix."users WHERE user_id = '".$recipient."'"); 
    181                                 if ($data2 = dbarray($result2)) { 
    182                                     $data2['visible'] = iMEMBER; 
    183                                     $rptdata['recipients'][] = $data2; 
     134        $rows = dbrows($rptresult); 
     135 
     136        // are there any results? 
     137        if ($rows) { 
     138 
     139            // are we interested in these results? 
     140            if ($lines < $settings['numofthreads'] && $rowstart < $variables['rows'] + $rows) { 
     141 
     142                // add a query limit, we might not need all records 
     143                $sql .= " LIMIT ".(max($rowstart-$variables['rows'],0)).",".min($rows,($settings['numofthreads']-$lines)); 
     144 
     145                // launch the query 
     146                $rptresult = dbquery($sql); 
     147 
     148                // get the results if any 
     149                if ($rptresult) { 
     150                    $pmfolders = array($locale['src519'], $locale['src520'], $locale['src521']); 
     151                    while ($rptdata = dbarray($rptresult)) { 
     152                        $rptdata['folder'] = $pmfolders[$rptdata['pmindex_folder']]; 
     153                        // get the information for the recipient(s) 
     154                        $rptdata['recipients'] = array(); 
     155                        if ($rptdata['pmindex_folder'] == 0 || ($rptdata['pmindex_folder'] == 2 && $rptdata['pmindex_user_id'] != $rptdata['pmindex_from_id'])) { 
     156                            // incomming, get the sender info 
     157                            $result2 = dbquery("SELECT 0 as is_group, user_name AS name FROM ".$db_prefix."users WHERE user_id = '".$rptdata['pmindex_from_id']."'"); 
     158                            if ($data2 = dbarray($result2)) { 
     159                                $rptdata['recipients'][] = $data2; 
     160                            } 
     161                        } elseif ($rptdata['pmindex_folder'] == 1 || ($rptdata['pmindex_folder'] == 2 && $rptdata['pmindex_user_id'] == $rptdata['pmindex_from_id'])) { 
     162                            // outgoing, get the recepient info 
     163                            $recipients = explode(",", $rptdata['pm_recipients']); 
     164                            foreach ($recipients as $recipient) { 
     165                                if ($recipient < 0) { 
     166                                    // recipient is a user group 
     167                                    $result2 = dbquery("SELECT 1 as is_group, group_id AS id, group_name AS name, group_visible AS visible FROM ".$db_prefix."user_groups WHERE group_id = '".abs($recipient)."'"); 
     168                                    if ($data2 = dbarray($result2)) { 
     169                                        $data2['visible'] = $data2['visible'] & pow(2, 0); 
     170                                        $rptdata['recipients'][] = $data2; 
     171                                    } 
     172                                } else { 
     173                                    // recipient is a single member 
     174                                    $result2 = dbquery("SELECT 0 as is_group, user_id AS id, user_name AS name FROM ".$db_prefix."users WHERE user_id = '".$recipient."'"); 
     175                                    if ($data2 = dbarray($result2)) { 
     176                                        $data2['visible'] = iMEMBER; 
     177                                        $rptdata['recipients'][] = $data2; 
     178                                    } 
    184179                                } 
    185180                            } 
    186181                        } 
     182                        $rptdata['_template'] = $data['template']; 
     183                        $reportvars['output'][] = $rptdata; 
    187184                    } 
    188                     $reportvars['output'][] = $rptdata; 
     185 
     186                    // get the score divider for this result set 
     187                    $divider = 0; 
     188                    foreach($reportvars['output'] as $key => $value) { 
     189                        $divider = max($divider, $value['score']); 
     190                    } 
     191 
     192                    // calculate the relevance for this result set 
     193                    foreach($reportvars['output'] as $key => $value) { 
     194                        $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
     195                    } 
    189196                } 
    190197 
    191                 // get the score divider for this result set 
    192                 $divider = 0; 
    193                 foreach($reportvars['output'] as $key => $value) { 
    194                     $divider = max($divider, $value['score']); 
    195                 } 
    196  
    197                 // calculate the relevance for this result set 
    198                 foreach($reportvars['output'] as $key => $value) { 
    199                     $reportvars['output'][$key]['relevance'] = $value['score'] / $divider * 100; 
    200                 } 
    201             } 
    202 //          _debug($reportvars, true); 
    203         } 
     198            } 
     199 
     200            // add the amount of rows found to the total rows counter 
     201            $variables['rows'] += $rows; 
     202 
     203        } 
     204 
    204205    } 
    205206} 
  • trunk/includes/search/templates/index.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/search/templates/search.articles.tpl

    r1935 r2092  
    1919{***************************************************************************} 
    2020{if $action == "search"} 
    21     {section name=idx loop=$reportvars.output} 
    22         {if !$smarty.section.idx.first} 
    23             <br /><br /> 
    24         {/if} 
    25         {$reportvars.output[idx].relevance|string_format:"%u"}% - <a href='readarticle.php?article_id={$reportvars.output[idx].article_id}'>{$reportvars.output[idx].article_subject}</a> 
    26         <br /> 
    27         <span class='small'><font class='smallalt'>{$locale.040}</font> 
    28         {if iMEMBER} 
    29             <a href='profile.php?lookup={$reportvars.output[idx].user_id}'>{$reportvars.output[idx].user_name}</a> 
    30         {else} 
    31             {$reportvars.output[idx].user_name} 
    32         {/if} 
    33         <font class='smallalt'>{$locale.041}</font> {$reportvars.output[idx].article_datestamp|date_format:"longdate"}</span> 
    34     {/section} 
     21    <br /><br /> 
     22    {$output.relevance|string_format:"%u"}% - <a href='readarticle.php?article_id={$output.article_id}'>{$output.article_subject}</a> 
     23    <br /> 
     24    <span class='small'><font class='smallalt'>{$locale.040}</font> 
     25    {if iMEMBER} 
     26        <a href='profile.php?lookup={$output.user_id}'>{$output.user_name}</a> 
     27    {else} 
     28        {$output.user_name} 
     29    {/if} 
     30    <font class='smallalt'>{$locale.041}</font> {$output.article_datestamp|date_format:"longdate"}</span> 
    3531{else} 
    3632    <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id || $searches[id].search_order == $default_location}checked='checked'{/if}  onclick='javascript:show_filter("{$searches[id].search_filters}");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
  • trunk/includes/search/templates/search.downloads.tpl

    r2090 r2092  
    1919{***************************************************************************} 
    2020{if $action == "search"} 
    21     {section name=idx loop=$reportvars.output} 
    22         {if !$smarty.section.idx.first} 
    23             <br /><br /> 
    24         {/if} 
    25         <a href='downloads.php?cat_id={$v[idx].download_cat}&amp;download_id={$reportvars.output[idx].download_id}' target='_blank'>{$reportvars.output[idx].download_title}</a> - {$reportvars.output[idx].download_filesize} 
    26         {if $reportvars.output[idx].download_description} 
    27             &nbsp;&middot;&nbsp;{$reportvars.output[idx].download_description}<br /> 
    28         {/if} 
    29         <span class='small'><font class='smallalt'>{$locale.src433}</font> {$reportvars.output[idx].download_license}, 
    30         <font class='smallalt'>{$locale.src434}</font> {$reportvars.output[idx].download_os}, 
    31         <font class='smallalt'>{$locale.src435}</font> {$reportvars.output[idx].download_version} 
    32         <font class='smallalt'>{$locale.src436}</font>{$reportvars.output[idx].download_datestamp|date_format:"longdate"}, 
    33         <font class='smallalt'>{$locale.src437}</font> {$reportvars.output[idx].download_count}</span> 
    34     {/section} 
     21    <br /><br /> 
     22    <a href='downloads.php?cat_id={$output.download_cat}&amp;download_id={$output.download_id}' target='_blank'>{$output.download_title}</a> - {$output.download_filesize} 
     23    {if $output.download_description} 
     24        &nbsp;&middot;&nbsp;{$output.download_description}<br /> 
     25    {/if} 
     26    <span class='small'><font class='smallalt'>{$locale.src433}</font> {$output.download_license}, 
     27    <font class='smallalt'>{$locale.src434}</font> {$output.download_os}, 
     28    <font class='smallalt'>{$locale.src435}</font> {$output.download_version} 
     29    <font class='smallalt'>{$locale.src436}</font> {$output.download_datestamp|date_format:"longdate"}, 
     30    <font class='smallalt'>{$locale.src437}</font> {$output.download_count}</span> 
    3531{else} 
    3632    <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id || $searches[id].search_order == $default_location}checked='checked'{/if}  onclick='javascript:show_filter("{$searches[id].search_filters}");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
  • trunk/includes/search/templates/search.forumattachments.tpl

    r2090 r2092  
    1919{***************************************************************************} 
    2020{if $action == "search"} 
    21     {section name=idx loop=$reportvars.output} 
    22         {if !$smarty.section.idx.first} 
    23             <br /><br /> 
    24         {/if} 
    25         {$reportvars.output[idx].relevance|string_format:"%u"}% - <a href='/forum/viewthread.php?forum_id={$reportvars.output[idx].forum_id}&amp;thread_id={$reportvars.output[idx].thread_id}&amp;pid={$reportvars.output[idx].post_id}#post_{$reportvars.output[idx].post_id}'>{$reportvars.output[idx].post_subject}</a>, 
    26         {$locale.src441} {$reportvars.output[idx].attach_realname} 
    27         <br /> 
    28         <span class='small'><font class='smallalt'>{$locale.040}</font> 
    29         {if iMEMBER} 
    30             <a href='profile.php?lookup={$reportvars.output[idx].user_id}'>{$reportvars.output[idx].user_name}</a> 
    31         {else} 
    32             {$reportvars.output[idx].user_name} 
    33         {/if} 
    34         <font class='smallalt'>{$locale.436}</font> {$reportvars.output[idx].post_datestamp|date_format:"longdate"}</span> 
    35     {/section} 
     21    <br /><br /> 
     22    {$output.relevance|string_format:"%u"}% - <a href='/forum/viewthread.php?forum_id={$output.forum_id}&amp;thread_id={$output.thread_id}&amp;pid={$output.post_id}#post_{$output.post_id}'>{$output.post_subject}</a>, 
     23    {$locale.src441} {$output.attach_realname} 
     24    <br /> 
     25    <span class='small'><font class='smallalt'>{$locale.040}</font> 
     26    {if iMEMBER} 
     27        <a href='profile.php?lookup={$output.user_id}'>{$output.user_name}</a> 
     28    {else} 
     29        {$output.user_name} 
     30    {/if} 
     31    <font class='smallalt'>{$locale.436}</font> {$output.post_datestamp|date_format:"longdate"}</span> 
    3632{else} 
    3733    <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id || $searches[id].search_order == $default_location}checked='checked'{/if}  onclick='javascript:show_filter("{$searches[id].search_filters}");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
  • trunk/includes/search/templates/search.forumposts.tpl

    r2090 r2092  
    1919{***************************************************************************} 
    2020{if $action == "search"} 
    21     {section name=idx loop=$reportvars.output} 
    22         {if !$smarty.section.idx.first} 
    23             <br /><br /> 
    24         {/if} 
    25         {$reportvars.output[idx].relevance|string_format:"%u"}% - <a href='/forum/viewthread.php?forum_id={$reportvars.output[idx].forum_id}&amp;thread_id={$reportvars.output[idx].thread_id}&amp;pid={$reportvars.output[idx].post_id}#post_{$reportvars.output[idx].post_id}'>{$reportvars.output[idx].post_subject}</a> 
    26         <br /> 
    27         <span class='small'><font class='smallalt'>{$locale.040}</font> 
    28         {if iMEMBER} 
    29             <a href='profile.php?lookup={$reportvars.output[idx].user_id}'>{$reportvars.output[idx].user_name}</a> 
    30         {else} 
    31             {$reportvars.output[idx].user_name} 
    32         {/if} 
    33         <font class='smallalt'>{$locale.src436}</font> {$reportvars.output[idx].post_datestamp|date_format:"longdate"}</span> 
    34     {/section} 
     21    <br /><br /> 
     22    {$output.relevance|string_format:"%u"}% - <a href='/forum/viewthread.php?forum_id={$output.forum_id}&amp;thread_id={$output.thread_id}&amp;pid={$output.post_id}#post_{$output.post_id}'>{$output.post_subject}</a> 
     23    <br /> 
     24    <span class='small'><font class='smallalt'>{$locale.040}</font> 
     25    {if iMEMBER} 
     26        <a href='profile.php?lookup={$output.user_id}'>{$output.user_name}</a> 
     27    {else} 
     28        {$output.user_name} 
     29    {/if} 
     30    <font class='smallalt'>{$locale.src436}</font> {$output.post_datestamp|date_format:"longdate"}</span> 
    3531{else} 
    3632    <input type='radio' name='search_id' value='{$searches[id].search_id}.2' {if $search_id == $searches[id].search_id || $searches[id].search_order == $default_location}checked='checked'{/if}  onclick='javascript:show_filter("{$searches[id].search_filters}");'/> {$searches[id].search_title} {$locale.src517} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
  • trunk/includes/search/templates/search.members.tpl

    r2090 r2092  
    1919{***************************************************************************} 
    2020{if $action == "search"} 
    21     {section name=idx loop=$reportvars.output} 
    22         {if !$smarty.section.idx.first} 
    23             <br /><br /> 
    24         {/if} 
    25         <img src='{$smarty.const.THEME}images/bullet.gif' alt='' /> 
    26         {if iMEMBER} 
    27             <a href='profile.php?lookup={$reportvars.output[idx].user_id}'>{$reportvars.output[idx].user_name}</a> 
    28         {else} 
    29             {$reportvars.output[idx].user_name} 
    30         {/if} 
    31         <br />&nbsp; 
    32         <span class='small'><font class='smallalt'>{$locale.src438}</font> {$reportvars.output[idx].user_joined|date_format:"forumdate"}, 
    33         <font class='smallalt'>{$locale.src439}</font> {if $reportvars.output[idx].user_lastvisit}{$reportvars.output[idx].user_lastvisit|date_format:"forumdate"}{else}{$locale.src440}{/if}</span> 
    34     {/section} 
     21    <br /><br /> 
     22    <img src='{$smarty.const.THEME}images/bullet.gif' alt='' /> 
     23    {if iMEMBER} 
     24        <a href='profile.php?lookup={$output.user_id}'>{$output.user_name}</a> 
     25    {else} 
     26        {$output.user_name} 
     27    {/if} 
     28    <br />&nbsp; 
     29    <span class='small'><font class='smallalt'>{$locale.src438}</font> {$output.user_joined|date_format:"forumdate"}, 
     30    <font class='smallalt'>{$locale.src439}</font> {if $output.user_lastvisit}{$output.user_lastvisit|date_format:"forumdate"}{else}{$locale.src440}{/if}</span> 
    3531{else} 
    3632    <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id || $searches[id].search_order == $default_location}checked='checked'{/if}  onclick='javascript:show_filter("{$searches[id].search_filters}");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
  • trunk/includes/search/templates/search.news.tpl

    r1935 r2092  
    1919{***************************************************************************} 
    2020{if $action == "search"} 
    21     {section name=idx loop=$reportvars.output} 
    22         {if !$smarty.section.idx.first} 
    23             <br /><br /> 
    24         {/if} 
    25         {$reportvars.output[idx].relevance|string_format:"%u"}% - <a href='news.php?readmore={$reportvars.output[idx].news_id}'>{$reportvars.output[idx].news_subject}</a> 
    26         <br /> 
    27         <span class='small'><font class='smallalt'>{$locale.040}</font> 
    28         {if iMEMBER} 
    29             <a href='profile.php?lookup={$reportvars.output[idx].user_id}'>{$reportvars.output[idx].user_name}</a> 
    30         {else} 
    31             {$reportvars.output[idx].user_name} 
    32         {/if} 
    33         <font class='smallalt'>{$locale.041}</font> {$reportvars.output[idx].news_datestamp|date_format:"longdate"}</span> 
    34     {/section} 
     21    <br /><br /> 
     22    {$output.relevance|string_format:"%u"}% - <a href='news.php?readmore={$output.news_id}'>{$output.news_subject}</a> 
     23    <br /> 
     24    <span class='small'><font class='smallalt'>{$locale.040}</font> 
     25    {if iMEMBER} 
     26        <a href='profile.php?lookup={$output.user_id}'>{$output.user_name}</a> 
     27    {else} 
     28        {$output.user_name} 
     29    {/if} 
     30    <font class='smallalt'>{$locale.041}</font> {$output.news_datestamp|date_format:"longdate"}</span> 
    3531{else} 
    3632    <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id || $searches[id].search_order == $default_location}checked='checked'{/if}  onclick='javascript:show_filter("{$searches[id].search_filters}");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
  • trunk/includes/search/templates/search.pm.tpl

    r1935 r2092  
    1919{***************************************************************************} 
    2020{if $action == "search"} 
    21     {section name=idx loop=$reportvars.output} 
    22         {if !$smarty.section.idx.first} 
    23             <br /><br /> 
     21    <br /><br /> 
     22    {$output.relevance|string_format:"%u"}% - <a href='{$smarty.const.BASEDIR}pm.php?folder={$output.folder}&amp;action=view&amp;msg_id={$output.pmindex_id}#view_{$output.pmindex_id}'>{$output.pm_subject}</a> 
     23    <br /> 
     24    <span class='small'><font class='smallalt'>{if $output.pmindex_user_id == $output.pmindex_from_id}{$locale.src522}{else}{$locale.src523}{/if}:</font> 
     25    {section name=uid loop=$output.recipients} 
     26        {if $output.recipients[uid].visible} 
     27            {if $output.recipients[uid].is_group} 
     28                <a href='{$smarty.const.BASEDIR}profile.php?group_id={$output.recipients[uid].id}'><b>{$output.recipients[uid].name}</b></a>{if !$smarty.section.uid.last},{/if} 
     29            {else} 
     30                <a href='{$smarty.const.BASEDIR}profile.php?lookup={$output.recipients[uid].id}'>{$output.recipients[uid].name}</a>{if !$smarty.section.uid.last},{/if} 
     31            {/if} 
     32        {else} 
     33            {if $output.recipients[uid].is_group} 
     34                <b>{$output.recipients[uid].name}</b>{if !$smarty.section.uid.last},{/if} 
     35            {else} 
     36                {$output.recipients[uid].name}{if !$smarty.section.uid.last},{/if} 
     37            {/if} 
    2438        {/if} 
    25         {$reportvars.output[idx].relevance|string_format:"%u"}% - <a href='{$smarty.const.BASEDIR}pm.php?folder={$reportvars.output[idx].folder}&amp;action=view&amp;msg_id={$reportvars.output[idx].pmindex_id}#view_{$reportvars.output[idx].pmindex_id}'>{$reportvars.output[idx].pm_subject}</a> 
    26         <br /> 
    27         <span class='small'><font class='smallalt'>{if $reportvars.output[idx].pmindex_user_id == $reportvars.output[idx].pmindex_from_id}{$locale.src522}{else}{$locale.src523}{/if}:</font> 
    28         {section name=uid loop=$reportvars.output[idx].recipients} 
    29             {if $reportvars.output[idx].recipients[uid].visible} 
    30                 {if $reportvars.output[idx].recipients[uid].is_group} 
    31                     <a href='{$smarty.const.BASEDIR}profile.php?group_id={$reportvars.output[idx].recipients[uid].id}'><b>{$reportvars.output[idx].recipients[uid].name}</b></a>{if !$smarty.section.uid.last},{/if} 
    32                 {else} 
    33                     <a href='{$smarty.const.BASEDIR}profile.php?lookup={$reportvars.output[idx].recipients[uid].id}'>{$reportvars.output[idx].recipients[uid].name}</a>{if !$smarty.section.uid.last},{/if} 
    34                 {/if} 
    35             {else} 
    36                 {if $reportvars.output[idx].recipients[uid].is_group} 
    37                     <b>{$reportvars.output[idx].recipients[uid].name}</b>{if !$smarty.section.uid.last},{/if} 
    38                 {else} 
    39                     {$reportvars.output[idx].recipients[uid].name}{if !$smarty.section.uid.last},{/if} 
    40                 {/if} 
    41             {/if} 
    42         {/section} 
    43         <br /> 
    44         <font class='smallalt'>{$locale.src436}</font> {$reportvars.output[idx].pm_datestamp|date_format:"longdate"}</span> 
    4539    {/section} 
     40    <br /> 
     41    <font class='smallalt'>{$locale.src436}</font> {$output.pm_datestamp|date_format:"longdate"}</span> 
    4642{elseif iMEMBER} 
    4743    <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id || $searches[id].search_order == $default_location}checked='checked'{/if}  onclick='javascript:show_filter("{$searches[id].search_filters}");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
  • trunk/includes/secureimage-1.0.3/securimage.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/secureimage-1.0.3/securimage_play.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/secureimage-1.0.3/securimage_show.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/function.buttonlink.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/function.html_select_date.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/function.imagelink.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/function.locale_load.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/function.mailto.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/function.makepagenav.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/function.ssprintf.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/modifier.abs.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/modifier.date_format.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/modifier.escape.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/template-plugins/modifier.trimhtml.php

    • Property svn:keywords set to Date Revision Author Id
  • trunk/includes/templates/main.search.tpl

    r2090 r2092  
    5656                    {section name=id loop=$searches} 
    5757                        {include file=$searches[id].template} 
     58                        {if $smarty.section.id.last} 
     59                            <input type='radio' name='search_id' value='99999' onclick='javascript:show_filter("date,users,forums");'/> {$locale.src524} <span style='color:red;'>*</span><br /> 
     60                        {/if} 
    5861                    {sectionelse} 
    5962                        {$locale.src409} 
     
    195198            </td> 
    196199        </tr> 
    197         {if $message|default:"" != ""} 
    198         <tr> 
    199             <td align='left'> 
    200                 <span style='color:red;font-weight:bold;'>{$message}</span> 
    201             </td> 
    202         </tr> 
    203         {/if} 
    204200    </table> 
    205     {if $message|default:"" == ""} 
    206         <hr /> 
    207         {include file=$searches.0.template} 
    208     {/if} 
     201    {section name=id loop=$reportvars.output} 
     202        {include file=$reportvars.output[id]._template output=$reportvars.output[id]} 
     203    {sectionelse} 
     204        <div style='color:red;font-weight:bold;text-align:center;padding:10px;'>{$locale.src432}</div> 
     205    {/section} 
    209206    {include file="_closetable.tpl"} 
    210207    {if $rows > $items_per_page} 
  • trunk/search.php

    r2090 r2092  
    3636$content_filters = array(); 
    3737 
    38 if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0; 
    39 $variables['rowstart'] = $rowstart; 
     38$variables['items_per_page'] = $settings['numofthreads']; 
    4039 
    4140if (!isset($action)) $action = ""; 
     
    7271$searches = array(); 
    7372$searchindex = array(); 
    74 $result = dbquery("SELECT s.*, m.mod_folder FROM ".$db_prefix."search s LEFT JOIN ".$db_prefix."modules m ON s.search_mod_id = m.mod_id WHERE s.search_active = 1".($search_id?" AND s.search_id = '$search_id'":"")); 
     73 
     74// array to store variables we use in the search templates 
     75$reportvars = array(); 
     76$reportvars['output'] = array(); 
     77 
     78// variable initialisation 
     79if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 1; 
     80$variables['rowstart'] = $rowstart; 
     81 
     82$variables['rows'] = 0; 
     83$lines = 0; 
     84$result = dbquery("SELECT s.*, m.mod_folder FROM ".$db_prefix."search s LEFT JOIN ".$db_prefix."modules m ON s.search_mod_id = m.mod_id WHERE s.search_active = 1".(($search_id > 0 && $search_id < 99999)?" AND s.search_id = '$search_id'":"")); 
    7585while ($data = dbarray($result)) { 
    7686    if (checkgroup($data['search_visibility'])) { 
     
    93103                // do any preprocessing 
    94104                @include PATH_INCLUDES."search/search.".strtolower($data['search_name']).".php"; 
     105                $lines = count($reportvars['output']); 
    95106            } else { 
    96107                $data['mod_folder'] = "-"; 
     
    130141    $variables['default_filter'] = ""; 
    131142    foreach($variables['searches'] as $key => $search) { 
    132         if ($search['search_order'] < $variables['default_location']) { 
     143        if (isset($search['search_filters']) && $search['search_order'] < $variables['default_location']) { 
    133144            $variables['default_location'] = $search['search_order']; 
    134145            $variables['default_filter'] = $search['search_filters']; 
    135             if (!isset($search['search_filters'])) _debug($search, true); 
    136146        } 
    137147    } 
     
    149159} 
    150160 
     161// update the search title in case of a global search 
     162if ($search_id == 99999) { 
     163    $variables['searches'][0]['search_title'] = $locale['src524']; 
     164} 
     165 
    151166// define the search body panel variables 
    152167$template_panels[] = array('type' => 'body', 'name' => 'search', 'title' => $title, 'template' => 'main.search.tpl', 'locale' => $locales); 
  • trunk/themes/ExiteCMS/hoteditor/php.gif

    • Property svn:keywords set to Date Revision Author Id
  • trunk/themes/ExiteCMS/templates/templates/_close.tpl

    • Property svn:keywords set to Date Revision Author Id
    r2033 r2092  
    99{* http://gnu.org                                                          *} 
    1010{***************************************************************************} 
    11 {* $Id:: _close.tpl 1935 2008-10-29 23:42:42Z WanWizard                   $*} 
     11{* $Id::                                                                  $*} 
    1212{*-------------------------------------------------------------------------*} 
    13 {* Last modified by $Author:: WanWizard                                   $*} 
    14 {* Revision number $Rev:: 1935                                            $*} 
     13{* Last modified by $Author::                                             $*} 
     14{* Revision number $Rev::                                                 $*} 
    1515{***************************************************************************} 
    1616{*                                                                         *} 
  • trunk/themes/ExiteCMS/templates/templates/_closeside.tpl

    • Property svn:keywords set to Date Revision Author Id
    r2033 r2092  
    99{* http://gnu.org                                                          *} 
    1010{***************************************************************************} 
    11 {* $Id:: _closeside.tpl 1935 2008-10-29 23:42:42Z WanWizard               $*} 
     11{* $Id::                                                                  $*} 
    1212{*-------------------------------------------------------------------------*} 
    13 {* Last modified by $Author:: WanWizard                                   $*} 
    14 {* Revision number $Rev:: 1935                                            $*} 
     13{* Last modified by $Author::                                             $*} 
     14{* Revision number $Rev::                                                 $*} 
    1515{***************************************************************************} 
    1616{*                                                                         *} 
  • trunk/themes/ExiteCMS/templates/templates/_closeside_x.tpl

    • Property svn:keywords set to Date Revision Author Id
    r2033 r2092  
    99{* http://gnu.org                                                          *} 
    1010{***************************************************************************} 
    11 {* $Id:: _closeside_x.tpl 1935 2008-10-29 23:42:42Z WanWizard             $*} 
     11{* $Id::                                                                  $*} 
    1212{*-------------------------------------------------------------------------*} 
    13 {* Last modified by $Author:: WanWizard                                   $*}