Changeset 1295 in ExiteCMS
- Timestamp:
- 02/20/08 23:47:36 (4 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 6 edited
-
administration/404pages.php (added)
-
administration/images/404pages.gif (modified) (previous)
-
administration/tools/language_pack_English.php (modified) (2 diffs)
-
administration/upgrade/rev01294.php (added)
-
files/locales/en.main.global.php (modified) (1 diff)
-
forum/viewthread.php (modified) (1 diff)
-
includes/core_functions.php (modified) (2 diffs)
-
includes/templates/admin.404pages.tpl (added)
-
includes/templates/admin.custom_pages.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/tools/language_pack_English.php
r1291 r1295 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['400'] = "Edit 404 Page"; 28 $localestrings['401'] = "404 page for the locale '%s' is updated"; 29 $localestrings['402'] = "Error saving the 404 Page"; 30 $localestrings['403'] = "Current 404 Pages"; 31 $localestrings['404'] = "Edit"; 32 $localestrings['405'] = "Page Content:"; 33 $localestrings['406'] = "Preview Page"; 34 $localestrings['407'] = "Save Page"; 35 load_localestrings($localestrings, LP_LOCALE, "admin.404pages", $step); 25 36 26 37 $localestrings = array(); … … 469 480 $localestrings['225'] = "User Groups"; 470 481 $localestrings['226'] = "Blogs"; 471 $localestrings['227'] = " x";482 $localestrings['227'] = "404 Pages"; 472 483 $localestrings['228'] = "Main Settings"; 473 484 $localestrings['229'] = "Time and Date Settings"; -
trunk/files/locales/en.main.global.php
r1291 r1295 3 3 // locale : English 4 4 // locale name : main.global 5 // generated on : Mon Feb 18 2008, 14:35:18CET5 // generated on : Wed Feb 20 2008, 23:43:29 CET 6 6 // translators : ExiteCMS team,WanWizard 7 7 // ---------------------------------------------------------- -
trunk/forum/viewthread.php
r1280 r1295 292 292 // country flag 293 293 if ($settings['forum_flags']) { 294 if ($settings['hide_webmaster'] && iSUPERADMIN) { 294 // swap flags if we're hiding the webmasters true country of origin 295 if ($settings['hide_webmaster'] && $post['user_level'] == 103) { 295 296 $data['cc_flag'] = GeoIP_Code2Flag($settings['country']); 296 297 } else { -
trunk/includes/core_functions.php
r1291 r1295 762 762 if ($difference < 60) { 763 763 // if difference is less than 60 seconds, seconds is a good interval of choice 764 $interval = " h";764 $interval = "s"; 765 765 } elseif ($difference >= 60 && $difference<60*60) { 766 766 // if difference is between 60 seconds and 60 minutes, minutes is a good interval … … 824 824 case "h": 825 825 $datediff = floor($difference / 60 / 60); 826 $difference = $difference - $datediff * 60 * 60; 826 827 $res .= sprintf("%02d:", $datediff); 827 828 828 829 case "n": 829 830 $datediff = floor($difference / 60); 831 $difference = $difference - $datediff * 60; 830 832 $res .= sprintf("%02d:", $datediff); 831 833 -
trunk/includes/templates/admin.custom_pages.tpl
r1140 r1295 21 21 <select name='page_id' class='textbox' style='width:250px;'> 22 22 {section name=id loop=$pages} 23 <option value='{$pages[id].page_id} {if $pages[id].selected} selected{/if}'>{$pages[id].page_title}</option>23 <option value='{$pages[id].page_id}'{if $pages[id].selected} selected='selected'{/if}>{$pages[id].page_title}</option> 24 24 {/section} 25 25 </select>
Note: See TracChangeset
for help on using the changeset viewer.
