[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 /* 3 + ----------------------------------------------------------------------------+ 4 | e107 website system 5 | 6 | ©Steve Dunstan 2001-2002 7 | http://e107.org 8 | jalist@e107.org 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $Source: /cvsroot/e107/e107_0.7/e107_plugins/pm/pm_template.php,v $ 14 | $Revision: 1.13 $ 15 | $Date: 2006/10/30 14:01:47 $ 16 | $Author: e107coders $ 17 +----------------------------------------------------------------------------+ 18 */ 19 if (!defined('e107_INIT')) { exit; } 20 21 global $sc_style; 22 23 define("PM_READ_ICON", "<img src='".e_PLUGIN."/pm/images/read.png' style='height:16px; width:16px; border:0px' alt='".LAN_PM_111."' />"); 24 define("PM_UNREAD_ICON", "<img src='".e_PLUGIN."/pm/images/unread.png' style='height:16px; width:16px; border:0px' alt='".LAN_PM_27."' />"); 25 26 $sc_style['PM_ATTACHMENT_ICON']['pre'] = " "; 27 28 $sc_style['PM_ATTACHMENTS']['pre'] = "<br /><div style='vertical-align:bottom; text-align:left;'>"; 29 $sc_style['PM_ATTACHMENTS']['post'] = "</div>"; 30 31 $sc_style['PM_NEXTPREV']['pre'] = "<tr><td class='forumheader' colspan='6' style='text-align:left'> ".LAN_PM_59; 32 $sc_style['PM_NEXTPREV']['post'] = "</td></tr>"; 33 34 $sc_style['EMOTES']['pre'] = " 35 <tr> 36 <td class='forumheader3'>".LAN_PM_7.": </td> 37 <td class='forumheader3'> 38 "; 39 $sc_style['EMOTES']['post'] = "</td></tr>"; 40 41 $sc_style['ATTACHMENT']['pre'] = " 42 <tr> 43 <td class='forumheader3'>".LAN_PM_8.": </td> 44 <td class='forumheader3'> 45 "; 46 $sc_style['ATTACHMENT']['post'] = "</td></tr>"; 47 48 $sc_style['RECEIPT']['pre'] = " 49 <tr> 50 <td class='forumheader3'>".LAN_PM_9.": </td> 51 <td class='forumheader3'> 52 "; 53 $sc_style['RECEIPT']['post'] = "</td></tr>"; 54 55 $sc_style['PM_REPLY']['pre'] = "<tr> 56 <td class='forumheader' style='text-align:center' colspan='2'> 57 "; 58 59 $sc_style['PM_REPLY']['post'] = "</td> 60 </tr> 61 "; 62 63 $PM_SEND_PM = "<div style='text-align: center'> 64 <table style='width:95%' class='fborder'> 65 <tr> 66 <td colspan='2' class='fcaption'>".LAN_PM_1.": </td> 67 </tr> 68 <tr> 69 <td class='forumheader3' style='width: 30%'>".LAN_PM_2.": </td> 70 <td class='forumheader3' style='width: 70%; text-align:left'>{FORM_TOUSER}<br />{FORM_TOCLASS}</td> 71 </tr> 72 <tr> 73 <td class='forumheader3'>".LAN_PM_5.": </td> 74 <td class='forumheader3'>{FORM_SUBJECT}</td> 75 </tr> 76 <tr> 77 <td class='forumheader3'>".LAN_PM_6.": </td> 78 <td class='forumheader3'>{FORM_MESSAGE}</td> 79 </tr> 80 {EMOTES} 81 {ATTACHMENT} 82 {RECEIPT} 83 <tr> 84 <td class='forumheader' colspan='2' style='text-align:center;'>{PM_POST_BUTTON}</td> 85 </tr> 86 </table> 87 </div> 88 "; 89 90 $PM_INBOX_HEADER = " 91 <table class='fborder' style='width:95%'> 92 <tr> 93 <td class='fcaption' style='width:1%'> </td> 94 <td class='fcaption' style='width:1%'> </td> 95 <td class='fcaption' style='width:38%'>".LAN_PM_5."</td> 96 <td class='fcaption' style='width:22%'>".LAN_PM_31."</td> 97 <td class='fcaption' style='width:30%'>".LAN_PM_32."</td> 98 <td class='fcaption' style='width:8%'> </td> 99 </tr> 100 "; 101 102 $PM_INBOX_TABLE = " 103 <tr> 104 <td class='forumheader3'>{PM_SELECT}</td> 105 <td class='forumheader3'>{PM_READ_ICON}</td> 106 <td class='forumheader3'>{PM_SUBJECT=link}{PM_ATTACHMENT_ICON}</td> 107 <td class='forumheader3'>{PM_FROM=link}</td> 108 <td class='forumheader3'>{PM_DATE}</td> 109 <td class='forumheader3' style='text-align: center; white-space: nowrap'>{PM_DELETE=inbox} {PM_BLOCK_USER}</td> 110 </tr> 111 "; 112 113 $PM_INBOX_EMPTY = " 114 <tr> 115 <td colspan='6' class='forumheader'>".LAN_PM_34."</td> 116 </tr> 117 "; 118 119 $PM_INBOX_FOOTER = " 120 <tr> 121 <td class='forumheader' colspan='6' style='text-align:center'> 122 {DELETE_SELECTED} 123 </td> 124 </tr> 125 {PM_NEXTPREV=inbox} 126 </table> 127 "; 128 129 $PM_OUTBOX_HEADER = " 130 <table class='fborder' style='width:95%'> 131 <tr> 132 <td class='fcaption' style='width:1%'> </td> 133 <td class='fcaption' style='width:1%'> </td> 134 <td class='fcaption' style='width:38%'>".LAN_PM_5."</td> 135 <td class='fcaption' style='width:22%'>".LAN_PM_2."</td> 136 <td class='fcaption' style='width:30%'>".LAN_PM_33."</td> 137 <td class='fcaption' style='width:8%'> </td> 138 </tr> 139 "; 140 141 $PM_OUTBOX_TABLE = " 142 <tr> 143 <td class='forumheader3'>{PM_SELECT}</td> 144 <td class='forumheader3'>{PM_READ_ICON}</td> 145 <td class='forumheader3'>{PM_SUBJECT=link}{PM_ATTACHMENT_ICON}</td> 146 <td class='forumheader3'>{PM_TO=link}</td> 147 <td class='forumheader3'>{PM_DATE}</td> 148 <td class='forumheader3' style='text-align: center'>{PM_DELETE=outbox}</td> 149 </tr> 150 "; 151 152 $PM_OUTBOX_EMPTY = " 153 <tr> 154 <td colspan='6' class='forumheader'>".LAN_PM_34."</td> 155 </tr> 156 "; 157 158 $PM_OUTBOX_FOOTER = " 159 <tr> 160 <td class='forumheader' colspan='6' style='text-align:center'> 161 {DELETE_SELECTED} 162 </td> 163 </tr> 164 {PM_NEXTPREV=outbox} 165 </table> 166 "; 167 168 $PM_SHOW = 169 "<div style='text-align: center'> 170 <table class='fborder' style='width:95%'> 171 <tr> 172 <td class='fcaption' colspan='2'>{PM_SUBJECT}</td> 173 </tr> 174 <tr> 175 <td class='forumheader3' style='width:20%; vertical-align:top'> 176 {PM_FROM_TO} 177 <br /> 178 <br /> 179 <span class='smalltext'>".LAN_PM_29.":<br />{PM_DATE}</span> 180 <br /> 181 <br /> 182 <span class='smalltext'>".LAN_PM_30.":<br />{PM_READ}</span> 183 <br /> 184 <br /> 185 {PM_DELETE} 186 </td> 187 <td class='forumheader3' style='width:80%; vertical-align:top'>{PM_MESSAGE}<br /><br />{PM_ATTACHMENTS}</td> 188 </tr> 189 {PM_REPLY} 190 </table> 191 </div> 192 "; 193 194 ?>
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 |