[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 3 if (!defined('e107_INIT')) { exit; } 4 if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); } 5 /* 6 if (!defined('SEARCH_SHORTCODE_REF')) { 7 define('SEARCH_SHORTCODE_REF',""); 8 } 9 */ 10 11 12 if (!isset($SEARCH_SHORTCODE)) { 13 14 $SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='' maxlength='50' /> 15 <input class='button search' type='submit' name='s' value=\"".LAN_180."\" />"; 16 17 /* // Image Version Example 18 $SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='Default Value' maxlength='50' onclick=\"this.value=''\" /> 19 <input type='image' name='s' src='".e_PLUGIN_ABS."search_menu/images/search.png' value='".LAN_180."' style='width: 16px; height: 16px; border: 0px; vertical-align: middle' />"; 20 */ 21 } 22 23 24 25 26 if (!isset($SEARCH_TOP_TABLE)) { 27 $SEARCH_TOP_TABLE = "<div style='text-align: center'> 28 <form id='searchform' name='searchform' method='get' action='".e_SELF."'> 29 <table style='".USER_WIDTH."' class='fborder'><tr> 30 <td class='forumheader3' style='width: 40%'>".LAN_199."</td> 31 <td class='forumheader3' style='width: 60%; white-space: nowrap'> 32 {SEARCH_MAIN_SEARCHFIELD} {SEARCH_MAIN_SUBMIT} {ENHANCED_ICON} 33 </td> 34 </tr>"; 35 } 36 37 if (!isset($SEARCH_ENHANCED)) { 38 $SEARCH_ENHANCED = "<tr id='{ENHANCED_DISPLAY_ID}' {ENHANCED_DISPLAY}> 39 <td class='forumheader3' style='width: 40%; white-space: nowrap'>{ENHANCED_TEXT}</td> 40 <td class='forumheader3' style='width: 60%; white-space: nowrap'> 41 {ENHANCED_FIELD} 42 </td> 43 </tr>"; 44 } 45 46 if (!isset($SEARCH_CATS)) { 47 $SEARCH_CATS = "<tr> 48 <td style='width:30%' class='forumheader3'>".LAN_SEARCH_19."<br /> 49 {SEARCH_MAIN_CHECKALL} {SEARCH_MAIN_UNCHECKALL} 50 </td> 51 <td style='width:70%' class='forumheader3'> 52 {SEARCH_MAIN_CHECKBOXES}{SEARCH_DROPDOWN} {SEARCH_ADVANCED} 53 <br /> 54 </td> 55 </tr>"; 56 } 57 58 if (!isset($SEARCH_TYPE)) { 59 $SEARCH_TYPE = "<tr id='advanced_type' {SEARCH_TYPE_DISPLAY}> 60 <td style='width:30%' class='forumheader3'>".LAN_SEARCH_75.":</td> 61 <td style='width:70%' class='forumheader3'> 62 {SEARCH_TYPE_SEL} 63 <br /> 64 </td> 65 </tr>"; 66 } 67 68 if (!isset($SEARCH_ADV)) { 69 $SEARCH_ADV = "<tr> 70 <td class='forumheader3'> 71 {SEARCH_ADV_A} 72 </td> 73 <td class='forumheader3'> 74 {SEARCH_ADV_B} 75 </td> 76 </tr>"; 77 } 78 79 if (!isset($SEARCH_ADV_COMBO)) { 80 $SEARCH_ADV_COMBO = "<tr> 81 <td class='forumheader3' colspan='2'> 82 {SEARCH_ADV_TEXT} 83 </td> 84 </tr>"; 85 } 86 87 if (!isset($SEARCH_TABLE_MSG)) { 88 $SEARCH_TABLE_MSG = "<tr> 89 <td class='forumheader3' style='text-align: center' colspan='2'> 90 {SEARCH_MESSAGE} 91 </td> 92 </tr>"; 93 } 94 95 if (!isset($SEARCH_BOT_TABLE)) { 96 $SEARCH_BOT_TABLE = "<tr style='display: none !important; display: visible'> 97 <td style='display: none' colspan='2'></td> 98 </tr></table> 99 </form> 100 </div>"; 101 } 102 103 if (!isset($PRE_CHECKBOXES)) { 104 $PRE_CHECKBOXES = "<span style='white-space: nowrap; padding-bottom: 7px; padding-top: 7px'>"; /* string thats printed before each category checkbox */ 105 } 106 107 if (!isset($POST_CHECKBOXES)) { 108 $POST_CHECKBOXES = "</span>"; /* string thats printed after each category checkbox */ 109 } 110 111 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |