[ 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/trackback/admin_config.php,v $ 14 | $Revision: 1.3 $ 15 | $Date: 2006/10/24 13:44:55 $ 16 | $Author: mrpete $ 17 +----------------------------------------------------------------------------+ 18 */ 19 require_once ("../../class2.php"); 20 if (!getperms("P")) { 21 header("location:".e_BASE."index.php"); 22 exit ; 23 } 24 25 @include_once(e_PLUGIN."trackback/languages/".e_LANGUAGE.".php"); 26 @include_once(e_PLUGIN."trackback/languages/English.php"); 27 28 require_once(e_ADMIN."auth.php"); 29 30 if (isset($_POST['updatesettings'])) { 31 $pref['trackbackEnabled'] = $_POST['trackbackEnabled']; 32 $pref['trackbackString'] = $tp->toDB($_POST['trackbackString']); 33 save_prefs(); 34 $message = TRACKBACK_L4; 35 } 36 37 38 if (isset($message)) { 39 $ns->tablerender("", "<div style='text-align:center'><b>".$message."</b></div>"); 40 } 41 42 43 $text = " 44 <div style='text-align:center'> 45 <form method='post' action='".e_SELF."'> 46 <table style='".ADMIN_WIDTH."' class='fborder'> 47 <tr> 48 <td style='width:50%' class='forumheader3'>".TRACKBACK_L7."</td> 49 <td style='width:50%; text-align:right' class='forumheader3'> 50 <input type='radio' name='trackbackEnabled' value='1'".($pref['trackbackEnabled'] ? " checked='checked'" : "")." /> ".TRACKBACK_L5." 51 <input type='radio' name='trackbackEnabled' value='0'".(!$pref['trackbackEnabled'] ? " checked='checked'" : "")." /> ".TRACKBACK_L6." 52 </td> 53 </tr> 54 55 <tr> 56 <td style='width:50%' class='forumheader3'>".TRACKBACK_L8."</td> 57 <td style='width:50%; text-align:right' class='forumheader3'> 58 <input size='50' class='tbox' type='text' name='trackbackString' value='".$pref['trackbackString']."' /> 59 </td> 60 </tr> 61 62 <td colspan='2' style='text-align:center' class='forumheader'> 63 <input class='button' type='submit' name='updatesettings' value='".TRACKBACK_L9."' /> 64 </td> 65 </tr> 66 67 </table> 68 </form> 69 </div> 70 "; 71 72 73 74 $ns->tablerender(TRACKBACK_L10, $text); 75 76 require_once(e_ADMIN."footer.php"); 77 ?>
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 |