[ 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/poll/templates/poll_template.php,v $ 14 | $Revision: 1.7 $ 15 | $Date: 2005/12/14 19:28:52 $ 16 | $Author: sweetas $ 17 | 18 +----------------------------------------------------------------------------+ 19 */ 20 21 if (!defined('e107_INIT')) { exit; } 22 23 /* ################################# */ 24 /* template for polls when user HASN'T voted ... */ 25 26 27 $POLL_NOTVOTED_START = " 28 <div style='text-align:center'> 29 <p> 30 <br /> 31 <b><i>{QUESTION}</i></b> 32 </p> 33 <hr /> 34 </div> 35 <p> 36 <br /> 37 "; 38 39 $POLL_NOTVOTED_LOOP = " 40 {OPTIONBUTTON}<b>{OPTION}</b> 41 <br /><br />"; 42 43 $POLL_NOTVOTED_END = " 44 </p> 45 <div style='text-align:center' class='smalltext'> 46 <p> 47 {SUBMITBUTTON} 48 <br /><br /> 49 {AUTHOR} 50 <br /> 51 {VOTE_TOTAL} {COMMENTS} 52 <br /> 53 {OLDPOLLS} 54 </p> 55 </div>"; 56 57 58 /* ################################# */ 59 /* template for polls when user HAS voted ... */ 60 61 $POLL_VOTED_START = " 62 <div style='text-align:center'> 63 <br /> 64 <b><i>{QUESTION}</i></b> 65 <hr /> 66 </div> 67 <br /> 68 "; 69 70 $POLL_VOTED_LOOP = " 71 <b>{OPTION}</b> 72 <br /><div class='spacer'>{BAR}</div><br /> 73 <span class='smalltext'>{VOTES} | {PERCENTAGE}</span> 74 <br /><br /> 75 "; 76 77 $POLL_VOTED_END = " 78 <div style='text-align:center' class='smalltext'> 79 {AUTHOR} 80 <br /> 81 {VOTE_TOTAL} {COMMENTS} 82 <br /> 83 {OLDPOLLS} 84 </div> 85 "; 86 87 88 /* ################################# */ 89 /* template for polls when user CANNOT vote ... */ 90 91 92 $POLL_DISALLOWED_START = " 93 <div style='text-align:center'> 94 <br /> 95 <b><i>{QUESTION}</i></b> 96 <hr /> 97 </div> 98 <br /> 99 "; 100 101 $POLL_DISALLOWED_LOOP = " 102 <b>{OPTION}</b> 103 <br /><br /> 104 "; 105 106 $POLL_DISALLOWED_END = " 107 <div style='text-align:center' class='smalltext'> 108 {DISALLOWMESSAGE}<br /><br /> 109 {VOTE_TOTAL} {COMMENTS} 110 <br /> 111 {OLDPOLLS} 112 </div> 113 "; 114 115 116 /* ################################# */ 117 /* template for forum polls when user HASN'T voted*/ 118 119 $POLL_FORUM_NOTVOTED_START = " 120 <div style='text-align:center; margin-left: auto; margin-right: auto;'> 121 <table class='fborder' style='width: 350px;'> 122 <tr> 123 <td class='forumheader' style='width: 100%; text-align: center;'> 124 <b><i>{QUESTION}</i></b> 125 </td> 126 </tr> 127 <tr> 128 <td class='forumheader3' style='width: 100%;'>"; 129 130 $POLL_FORUM_NOTVOTED_LOOP = " 131 {OPTIONBUTTON}<b>{OPTION}</b> 132 <br /><br />"; 133 134 $POLL_FORUM_NOTVOTED_END = " 135 </td> 136 </tr> 137 138 <tr> 139 <td class='forumheader' style='width: 100%;'> 140 <div style='text-align:center' class='smalltext'> 141 {SUBMITBUTTON} 142 </div> 143 </td> 144 </tr> 145 </table> 146 </div>"; 147 148 149 /* ################################# */ 150 /* template for forum polls when user HAS voted */ 151 152 $POLL_FORUM_VOTED_START = " 153 <div style='text-align:center; margin-left: auto; margin-right: auto;'> 154 <table class='fborder' style='width: 350px;'> 155 <tr> 156 <td class='forumheader' style='width: 100%; text-align: center;'> 157 <b><i>{QUESTION}</i></b> 158 </td> 159 </tr> 160 <tr> 161 <td class='forumheader3' style='width: 100%;'> 162 "; 163 164 $POLL_FORUM_VOTED_LOOP = " 165 <b>{OPTION}</b> 166 <br />{BAR}<br /> 167 <span class='smalltext'>{VOTES} | {PERCENTAGE}</span> 168 <br /><br /> 169 "; 170 171 $POLL_FORUM_VOTED_END = " 172 </td> 173 </tr> 174 175 <tr> 176 <td class='forumheader' style='width: 100%;'> 177 <div style='text-align:center' class='smalltext'> 178 {VOTE_TOTAL} 179 </div> 180 </td> 181 </tr> 182 </table> 183 </div> 184 "; 185 186 ?>
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 |