Changeset 1714 in ExiteCMS
- Timestamp:
- 08/28/08 18:20:38 (3 years ago)
- Location:
- branches/PLi-Fusion
- Files:
-
- 24 edited
- 6 copied
-
administration/modules.php (modified) (2 diffs)
-
administration/search.php (modified) (3 diffs)
-
administration/tools/language_pack_English.php (modified) (3 diffs)
-
administration/tools/language_pack_Nederlands.php (modified) (2 diffs)
-
administration/upgrade/rev01710.php (copied) (copied from trunk/administration/upgrade/rev01710.php)
-
administration/upgrade/rev01711.php (copied) (copied from trunk/administration/upgrade/rev01711.php)
-
files/locales/en.main.global.php (modified) (1 diff)
-
files/locales/nl.main.global.php (modified) (1 diff)
-
includes/core_functions.php (modified) (1 diff)
-
includes/reports/report.usercountries.php (copied) (copied from trunk/includes/reports/report.usercountries.php)
-
includes/reports/report.usersjoined.php (copied) (copied from trunk/includes/reports/report.usersjoined.php)
-
includes/reports/templates/report.usercountries.tpl (copied) (copied from trunk/includes/reports/templates/report.usercountries.tpl)
-
includes/reports/templates/report.usersjoined.tpl (copied) (copied from trunk/includes/reports/templates/report.usersjoined.tpl)
-
includes/search/search.articles.php (modified) (1 diff)
-
includes/search/search.downloads.php (modified) (1 diff)
-
includes/search/search.forumattachments.php (modified) (1 diff)
-
includes/search/search.forumposts.php (modified) (1 diff)
-
includes/search/search.members.php (modified) (1 diff)
-
includes/search/search.news.php (modified) (1 diff)
-
includes/search/templates/search.articles.tpl (modified) (1 diff)
-
includes/search/templates/search.downloads.tpl (modified) (1 diff)
-
includes/search/templates/search.forumattachments.tpl (modified) (1 diff)
-
includes/search/templates/search.forumposts.tpl (modified) (1 diff)
-
includes/search/templates/search.members.tpl (modified) (1 diff)
-
includes/search/templates/search.news.tpl (modified) (1 diff)
-
includes/templates/admin.search.tpl (modified) (4 diffs)
-
includes/templates/main.reports.tpl (modified) (1 diff)
-
includes/templates/main.search.tpl (modified) (1 diff)
-
reports.php (modified) (1 diff)
-
search.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/PLi-Fusion/administration/modules.php
r1666 r1714 211 211 $mod_search['title'] = isset($mod_search['title']) ? $mod_search['title'] : ("Search: ".$mod_search['name']); 212 212 $mod_search['version'] = isset($mod_search['version']) ? $mod_search['version'] : $mod_version; 213 // get the max searchorder 214 $result = dbquery("SELECT max(search_order) as max FROM ".$db_prefix."search"); 215 if ($result) { 216 $data = dbarray($result); 217 $max = $data['max'] + 1; 218 } else { 219 $max = 1; 220 } 213 221 // add it to the search table 214 $result = dbquery("INSERT INTO ".$db_prefix."search (search_mod_id, search_name, search_title, search_version, search_fulltext, search_visibility )215 VALUES ('".$id."', '".$mod_search['name']."', '".$mod_search['title']."', '".$mod_search['version']."', '".$mod_search['fulltext']."', '".$mod_search['visibility']."' )");222 $result = dbquery("INSERT INTO ".$db_prefix."search (search_mod_id, search_name, search_title, search_version, search_fulltext, search_visibility, search_order) 223 VALUES ('".$id."', '".$mod_search['name']."', '".$mod_search['title']."', '".$mod_search['version']."', '".$mod_search['fulltext']."', '".$mod_search['visibility']."', ".$max.")"); 216 224 } 217 225 } … … 543 551 $mod_search['title'] = isset($mod_search['title']) ? $mod_search['title'] : ("Search: ".$mod_search['name']); 544 552 $mod_search['version'] = isset($mod_search['version']) ? $mod_search['version'] : $mod_version; 553 // get the max searchorder 554 $result = dbquery("SELECT max(search_order) as max FROM ".$db_prefix."search"); 555 if ($result) { 556 $data = dbarray($result); 557 $max = $data['max'] + 1; 558 } else { 559 $max = 1; 560 } 545 561 // add it to the search table 546 $result = dbquery("INSERT INTO ".$db_prefix."search (search_mod_id, search_name, search_title, search_version, search_fulltext, search_visibility )547 VALUES ('".$id."', '".$mod_search['name']."', '".$mod_search['title']."', '".$mod_search['version']."', '".$mod_search['fulltext']."', '".$mod_search['visibility']."' )");562 $result = dbquery("INSERT INTO ".$db_prefix."search (search_mod_id, search_name, search_title, search_version, search_fulltext, search_visibility, search_order) 563 VALUES ('".$id."', '".$mod_search['name']."', '".$mod_search['title']."', '".$mod_search['version']."', '".$mod_search['fulltext']."', '".$mod_search['visibility']."', ".$max.")"); 548 564 } 549 565 } -
branches/PLi-Fusion/administration/search.php
r1666 r1714 98 98 $variables['usergroups'] = getusergroups(false); 99 99 } 100 100 101 // toggle the search status 101 102 if ($action == "setstatus") { … … 108 109 } 109 110 111 // swap the order of two records 112 if ($action == "swap") { 113 // check the parameters passed 114 $order1 = (isset($_GET['order1']) && isNum($_GET['order1'])) ? $_GET['order1'] : 0; 115 $order2 = (isset($_GET['order2']) && isNum($_GET['order2'])) ? $_GET['order2'] : 0; 116 if ($order1 != 0 && $order2 != 0 && $order1 != $order2) { 117 $result1 = dbquery("SELECT search_id FROM ".$db_prefix."search WHERE search_order = '".$order1."'"); 118 $result2 = dbquery("SELECT search_id FROM ".$db_prefix."search WHERE search_order = '".$order2."'"); 119 if ($result1 && $result2) { 120 // everything checks out, swap 'm! 121 $data = dbarray($result1); 122 $result = dbquery("UPDATE ".$db_prefix."search SET search_order = ".$order2." WHERE search_id = ".$data['search_id']); 123 $data = dbarray($result2); 124 $result = dbquery("UPDATE ".$db_prefix."search SET search_order = ".$order1." WHERE search_id = ".$data['search_id']); 125 } 126 } 127 // return to the overview screen 128 $action = ""; 129 } 130 110 131 // no action specified: show the search overview 111 132 if ($action == "") { 112 133 // generate the searches overview 113 $searches = array(); 114 $searchindex = array(); 115 $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"); 134 $variables['searches'] = array(); 135 $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 ORDER BY search_order"); 116 136 while ($data = dbarray($result)) { 117 137 // get the title for this search … … 132 152 $data['groupname'] = getgroupname($data['search_visibility']); 133 153 // store the search record 134 $searches[$data['search_id']] = $data; 135 $searchindex[] = $data['search_title']."_>_".$data['search_id']; 136 } 137 //make sure the modules are properly sorted 138 sort($searchindex); 139 $variables['search'] = array(); 140 foreach($searchindex as $index) { 141 $variables['searches'][] = $searches[substr(strstr($index,"_>_"),3)]; 154 $variables['searches'][] = $data; 142 155 } 143 156 // reload the locale for this module 144 157 locale_load("admin.search"); 158 } 159 160 // add the previous and next id's 161 foreach($variables['searches'] as $key => $value) { 162 $variables['searches'][$key]['order_down'] = isset($variables['searches'][$key+1]) ? $variables['searches'][$key+1]['search_order'] : 0; 163 $variables['searches'][$key]['order_up'] = isset($variables['searches'][$key-1]) ? $variables['searches'][$key-1]['search_order'] : 0; 145 164 } 146 165 -
branches/PLi-Fusion/administration/tools/language_pack_English.php
r1706 r1714 23 23 $localestrings['404page'] = "<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" align=\"center\"> <tbody><tr><td width=\"10\"> </td><td><div align=\"center\"><font size=\"6\"><span class=\"shoutboxname\"><br />404 - Page Not Found</span><br /></font></div><br /><br /><hr width=\"90%\" size=\"2\" /><br /><br /><div align=\"center\">We are sorry, but the document you requested cannot be found on this server.<br /></div><br /><div align=\"center\">Most likely, this is a result of yet another reorganization of this Website to reflect our constant evolution and ongoing development, coupled with a transition from an old server with lots of legacy files to a shiny new server.<br /></div><br /><div align=\"center\">But then again, it might just be a completely random event and the result of too many cosmic rays. Who knows?<br /></div><br /><br /><hr width=\"90%\" size=\"2\" /><br /><br /><div align=\"center\">Your best bet for finding what you seek is to start at our home page (<a href=\"/\">click here to jump to the home page</a>), check out our menu, or use the search menu option.<br /></div><br /><div align=\"center\">If that doesn't work, and you think it's a document that should be here, please send a PM to the webmaster and let us know about it (registered users only).</div></td><td width=\"10\"> </td></tr></tbody></table><br />"; 24 24 load_localestrings($localestrings, LP_LOCALE, "404page", $step); 25 26 $localestrings = array(); 27 $localestrings['mon001'] = "January"; 28 $localestrings['mon002'] = "February"; 29 $localestrings['mon003'] = "March"; 30 $localestrings['mon004'] = "April"; 31 $localestrings['mon005'] = "May"; 32 $localestrings['mon006'] = "June"; 33 $localestrings['mon007'] = "July"; 34 $localestrings['mon008'] = "August"; 35 $localestrings['mon009'] = "September"; 36 $localestrings['mon010'] = "October"; 37 $localestrings['mon011'] = "November"; 38 $localestrings['mon012'] = "December"; 39 load_localestrings($localestrings, LP_LOCALE, "months", $step); 25 40 26 41 $localestrings = array(); … … 938 953 $localestrings['423'] = "Search accessable for:"; 939 954 $localestrings['424'] = "Save"; 955 $localestrings['425'] = "Move up in priority"; 956 $localestrings['426'] = "Move down in priority"; 957 $localestrings['427'] = "Up"; 958 $localestrings['428'] = "Down"; 959 $localestrings['429'] = "Order"; 960 $localestrings['430'] = "The order in which the searches are listed here determines the default search location"; 940 961 load_localestrings($localestrings, LP_LOCALE, "admin.search", $step); 941 962 … … 3184 3205 $localestrings['rpt404'] = "Result for the requested report"; 3185 3206 $localestrings['rpt405'] = "Report List"; 3207 $localestrings['rpt500'] = "Registered users per country"; 3208 $localestrings['rpt501'] = "Show me"; 3209 $localestrings['rpt502'] = "the top"; 3210 $localestrings['rpt503'] = "all"; 3211 $localestrings['rpt504'] = "results in the report, and sort it"; 3212 $localestrings['rpt505'] = "descending"; 3213 $localestrings['rpt506'] = "ascending"; 3214 $localestrings['rpt507'] = "Country"; 3215 $localestrings['rpt508'] = "User Count"; 3216 $localestrings['rpt509'] = "New users joined per month"; 3217 $localestrings['rpt510'] = "Period of registration"; 3218 $localestrings['rpt511'] = "Unknown"; 3219 $localestrings['rpt950'] = "The report could not be generated:"; 3220 $localestrings['rpt951'] = "The requested report does not contain any data"; 3186 3221 load_localestrings($localestrings, LP_LOCALE, "main.reports", $step); 3187 3222 -
branches/PLi-Fusion/administration/tools/language_pack_Nederlands.php
r1706 r1714 938 938 $localestrings['423'] = "Zoekopdracht toegankelijk voor:"; 939 939 $localestrings['424'] = "Opslaan"; 940 $localestrings['425'] = "Prioriteit verhogen"; 941 $localestrings['426'] = "Prioriteit verlagen"; 942 $localestrings['427'] = "Omhoog"; 943 $localestrings['428'] = "Omlaag"; 944 $localestrings['429'] = "Volgorde"; 945 $localestrings['430'] = "De volgorde waarin de zoeklocaties zijn opgelijst bepaald de standaard geselecteerde zoek locatie"; 940 946 load_localestrings($localestrings, LP_LOCALE, "admin.search", $step); 941 947 … … 3184 3190 $localestrings['rpt404'] = "Resultaat voor het rapport"; 3185 3191 $localestrings['rpt405'] = "Rapportenlijst"; 3192 $localestrings['rpt500'] = "Geregistreerde gebruikers per land"; 3193 $localestrings['rpt501'] = "Toon mij"; 3194 $localestrings['rpt502'] = "de top"; 3195 $localestrings['rpt503'] = "alle"; 3196 $localestrings['rpt504'] = "resultaten in het rapport, en sorteer het"; 3197 $localestrings['rpt505'] = "aflopend"; 3198 $localestrings['rpt506'] = "oplopend"; 3199 $localestrings['rpt507'] = "Land"; 3200 $localestrings['rpt508'] = "Ledenaantal"; 3201 $localestrings['rpt509'] = "Aangemelde nieuwe leden per maand"; 3202 $localestrings['rpt510'] = "Registratie periode"; 3203 $localestrings['rpt511'] = "Onbekend"; 3204 $localestrings['rpt950'] = "Het rapport kon niet worden aangemaakt:"; 3205 $localestrings['rpt951'] = "Het gevraagde rapport bevat geen gegevens"; 3186 3206 load_localestrings($localestrings, LP_LOCALE, "main.reports", $step); 3207 3208 $localestrings = array(); 3209 $localestrings['mon001'] = "Januari"; 3210 $localestrings['mon002'] = "Februari"; 3211 $localestrings['mon003'] = "Maart"; 3212 $localestrings['mon004'] = "April"; 3213 $localestrings['mon005'] = "Mei"; 3214 $localestrings['mon006'] = "Juni"; 3215 $localestrings['mon007'] = "Juli"; 3216 $localestrings['mon008'] = "Augustus"; 3217 $localestrings['mon009'] = "September"; 3218 $localestrings['mon010'] = "Oktober"; 3219 $localestrings['mon011'] = "November"; 3220 $localestrings['mon012'] = "December"; 3221 load_localestrings($localestrings, LP_LOCALE, "months", $step); 3187 3222 3188 3223 $localestrings = array(); -
branches/PLi-Fusion/files/locales/en.main.global.php
r1706 r1714 3 3 // locale : English 4 4 // locale name : main.global 5 // generated on : Wed Aug 27 2008, 22:45:12 CEST 5 // generated on : Thu Aug 28 2008, 17:02:30 CEST 6 // translators : ExiteCMS team,WanWizard 6 7 // ---------------------------------------------------------- 7 8 $locale['001'] = "Navigation"; -
branches/PLi-Fusion/files/locales/nl.main.global.php
r1706 r1714 3 3 // locale : Nederlands 4 4 // locale name : main.global 5 // generated on : Wed Aug 27 2008, 22:46:13 CEST 5 // generated on : Thu Aug 28 2008, 14:10:34 CEST 6 // translators : ExiteCMS team,WanWizard 6 7 // ---------------------------------------------------------- 7 8 $locale['001'] = "Navigatie"; -
branches/PLi-Fusion/includes/core_functions.php
r1702 r1714 225 225 if (!iSUPERADMIN) { 226 226 // deny all non-webmasters access to the site 227 redirect( 'maintenance.php?reason='.$settings['maintenance']);227 redirect(BASEDIR.'maintenance.php?reason='.$settings['maintenance']); 228 228 } else { 229 229 // force webmasters to the upgrade module -
branches/PLi-Fusion/includes/search/search.articles.php
r1668 r1714 20 20 if ($action == "") { 21 21 22 // add the possible search filters ($data is defined in the calling script!) 23 $data['search_filters'] = "date,users"; 24 22 25 // get the list of all members 23 26 if (!isset($content_filters['users'])) { -
branches/PLi-Fusion/includes/search/search.downloads.php
r1668 r1714 20 20 if ($action == "") { 21 21 22 // no pre-processing required for this search 22 // add the possible search filters ($data is defined in the calling script!) 23 $data['search_filters' ] = "date"; 23 24 24 25 } else { -
branches/PLi-Fusion/includes/search/search.forumattachments.php
r1668 r1714 20 20 if ($action == "") { 21 21 22 // add the possible search filters ($data is defined in the calling script!) 23 $data['search_filters' ] = "date,users,forums"; 24 22 25 // get the list of all members 23 26 if (!isset($content_filters['forums'])) { -
branches/PLi-Fusion/includes/search/search.forumposts.php
r1668 r1714 19 19 20 20 if ($action == "") { 21 21 22 // add the possible search filters ($data is defined in the calling script!) 23 $data['search_filters' ] = "date,users,forums"; 24 22 25 // get the list of all members 23 26 if (!isset($content_filters['forums'])) { -
branches/PLi-Fusion/includes/search/search.members.php
r1668 r1714 20 20 if ($action == "") { 21 21 22 // no pre-processing required for this search 22 // add the possible search filters ($data is defined in the calling script!) 23 $data['search_filters' ] = ""; 24 23 25 24 26 } else { -
branches/PLi-Fusion/includes/search/search.news.php
r1668 r1714 20 20 if ($action == "") { 21 21 22 // add the possible search filters ($data is defined in the calling script!) 23 $data['search_filters' ] = "date,users"; 24 22 25 // get the list of all members 23 26 if (!isset($content_filters['users'])) { -
branches/PLi-Fusion/includes/search/templates/search.articles.tpl
r1666 r1714 31 31 {/section} 32 32 {else} 33 <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id }checked='checked'{/if} onclick='javascript:show_filter("date,users");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br />33 <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 /> 34 34 {/if} 35 35 {***************************************************************************} -
branches/PLi-Fusion/includes/search/templates/search.downloads.tpl
r1666 r1714 33 33 {/section} 34 34 {else} 35 <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id }checked='checked'{/if} onclick='javascript:show_filter("date");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br />35 <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 /> 36 36 {/if} 37 37 {***************************************************************************} -
branches/PLi-Fusion/includes/search/templates/search.forumattachments.tpl
r1666 r1714 32 32 {/section} 33 33 {else} 34 <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id }checked='checked'{/if} onclick='javascript:show_filter("date,users,forums");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br />34 <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 /> 35 35 {/if} 36 36 {***************************************************************************} -
branches/PLi-Fusion/includes/search/templates/search.forumposts.tpl
r1666 r1714 31 31 {/section} 32 32 {else} 33 <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id }checked='checked'{/if} onclick='javascript:show_filter("date,users,forums");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br />33 <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 /> 34 34 {/if} 35 35 {***************************************************************************} -
branches/PLi-Fusion/includes/search/templates/search.members.tpl
r1666 r1714 31 31 {/section} 32 32 {else} 33 <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id }checked='checked'{/if} onclick='javascript:show_filter("");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br />33 <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 /> 34 34 {/if} 35 35 {***************************************************************************} -
branches/PLi-Fusion/includes/search/templates/search.news.tpl
r1666 r1714 31 31 {/section} 32 32 {else} 33 <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id }checked='checked'{/if} onclick='javascript:show_filter("date,users");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br />33 <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 /> 34 34 {/if} 35 35 {***************************************************************************} -
branches/PLi-Fusion/includes/templates/admin.search.tpl
r1666 r1714 86 86 <b>{$locale.402}</b> 87 87 </td> 88 <td colspan='2' align='center' width='1%' class='tbl2' style='white-space:nowrap'> 89 <b>{$locale.429}</b> 90 </td> 88 91 <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 89 92 <b>{$locale.403}</b> … … 100 103 <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 101 104 {$searches[id].groupname} 105 </td> 106 <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 107 {$searches[id].search_order} 108 </td> 109 <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 110 {if $searches[id].order_up != 0} 111 {imagelink link=$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&action=swap&order1="|cat:$searches[id].search_order|cat:"&order2="|cat:$searches[id].order_up image="up.gif" alt="$locale.425 title=$locale.427} 112 {/if} 113 {if $searches[id].order_down != 0} 114 {imagelink link=$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&action=swap&order1="|cat:$searches[id].search_order|cat:"&order2="|cat:$searches[id].order_down image="down.gif" alt="$locale.426 title=$locale.428} 115 {/if} 102 116 </td> 103 117 <td align='left' width='1%' class='tbl1' style='white-space:nowrap'> … … 117 131 {sectionelse} 118 132 <tr> 119 <td align='center' colspan=' 3' class='tbl1'>133 <td align='center' colspan='5' class='tbl1'> 120 134 {$locale.408} 121 135 <br /><br /> … … 124 138 {/section} 125 139 <tr> 126 <td align='center' colspan='3' class='tbl1'> 140 <td align='center' colspan='5' class='tbl1'> 141 <span class='smallalt'>{$locale.430}</span> 142 </td> 143 </tr> 144 {* <tr> 145 <td align='center' colspan='5' class='tbl1'> 127 146 {buttonlink name=$locale.409 link=$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&action=add"} 128 147 </td> 129 148 </tr> 130 </table>149 *} </table> 131 150 {/if} 132 151 {include file="_closetable.tpl"} -
branches/PLi-Fusion/includes/templates/main.reports.tpl
r1666 r1714 49 49 <tr> 50 50 <td align='left'> 51 {$locale.rpt404}: <b>{$report _title}</b>51 {$locale.rpt404}: <b>{$reports.0.report_title}</b> 52 52 </td> 53 53 <td align='right'> -
branches/PLi-Fusion/includes/templates/main.search.tpl
r1666 r1714 151 151 } 152 152 } 153 {/literal} 154 show_filter("{$default_filter}"); 153 155 </script> 154 {/literal}155 156 {include file="_closetable.tpl"} 156 157 {include file="_opentable.tpl" name=$_name title=$locale.src428 state=$_state style=$_style} -
branches/PLi-Fusion/reports.php
r1666 r1714 3 3 | ExiteCMS Content Management System | 4 4 +----------------------------------------------------+ 5 | Copyright 200 7Harro "WanWizard" Verton, Exite BV |5 | Copyright 2008 Harro "WanWizard" Verton, Exite BV | 6 6 | for support, please visit http://exitecms.exite.eu | 7 7 +----------------------------------------------------+ -
branches/PLi-Fusion/search.php
r1666 r1714 103 103 } 104 104 105 // do we have a search location? if not, get the first search item 106 if (!$search_id && count($variables['searches'])) { 107 // $search_id = $variables['searches'][0]['search_id']; 105 // find the id of the default selection 106 if ($action == "") { 107 $variables['default_location'] = 9999999999; 108 $variables['default_filter'] = ""; 109 foreach($variables['searches'] as $key => $search) { 110 if ($search['search_order'] < $variables['default_location']) { 111 $variables['default_location'] = $search['search_order']; 112 $variables['default_filter'] = $search['search_filters']; 113 if (!isset($search['search_filters'])) _debug($search, true); 114 } 115 } 108 116 } 117 109 118 // store the selected search location 110 119 $variables['search_id'] = $search_id;
Note: See TracChangeset
for help on using the changeset viewer.
