[ Index ] |
PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2012 Oliver Georgi <oliver@phpwcms.de> // All rights reserved. 6 7 This script is part of PHPWCMS. The PHPWCMS web content management system is 8 free software; you can redistribute it and/or modify it under the terms of 9 the GNU General Public License as published by the Free Software Foundation; 10 either version 2 of the License, or (at your option) any later version. 11 12 The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html 13 A copy is found in the textfile GPL.txt and important notices to the license 14 from the author is found in LICENSE.txt distributed with these scripts. 15 16 This script is distributed in the hope that it will be useful, but WITHOUT ANY 17 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 18 PARTICULAR PURPOSE. See the GNU General Public License for more details. 19 20 This copyright notice MUST APPEAR in all copies of the script! 21 *************************************************************************************/ 22 23 // ---------------------------------------------------------------- 24 // obligate check for phpwcms constants 25 if (!defined('PHPWCMS_ROOT')) { 26 die("You Cannot Access This Script Directly, Have a Nice Day."); 27 } 28 // ---------------------------------------------------------------- 29 30 31 // frontend login 32 33 34 if(!isset($content['felogin']['felogin_cookie_expire'])) { 35 $content['felogin']['felogin_cookie_expire'] = 2592000; 36 } 37 if(empty($content['felogin']['felogin_date_format'])) { 38 $content['felogin']['felogin_date_format'] = '%m/%d/%y'; 39 } 40 if(empty($content['felogin']['felogin_locale'])) { 41 $content['felogin']['felogin_locale'] = ''; 42 } 43 if(!isset($content['felogin']['felogin_validate_backenduser'])) { 44 $content['felogin']['felogin_validate_backenduser'] = 1; 45 } 46 if(!isset($content['felogin']['felogin_validate_userdetail'])) { 47 $content['felogin']['felogin_validate_userdetail'] = 1; 48 } 49 if(!isset($content['felogin']['felogin_profile_registration'])) { 50 $content['felogin']['felogin_profile_registration'] = 1; 51 } 52 if(!isset($content['felogin']['felogin_profile_manage'])) { 53 $content['felogin']['felogin_profile_manage'] = 1; 54 } 55 if(!isset($content['felogin']['felogin_reminder_subject'])) { 56 $content['felogin']['felogin_reminder_subject'] = ''; 57 } 58 if(!isset($content['felogin']['felogin_reminder_body'])) { 59 $content['felogin']['felogin_reminder_body'] = ''; 60 } 61 if(!isset($content['felogin']['felogin_profile_manage_redirect'])) { 62 $content['felogin']['felogin_profile_manage_redirect'] = ''; 63 } 64 65 66 ?> 67 <tr> 68 <td align="right" class="chatlist"><?php echo $BL['be_admin_struct_template'] ?>: </td> 69 <td><select name="template" id="template" class="f11b"> 70 <?php 71 72 // templates for frontend login 73 $tmpllist = get_tmpl_files(PHPWCMS_TEMPLATE.'inc_cntpart/felogin'); 74 if(is_array($tmpllist) && count($tmpllist)) { 75 foreach($tmpllist as $val) { 76 $selected_val = (isset($content['felogin_template']) && $val == $content['felogin_template']) ? ' selected="selected"' : ''; 77 $val = html_specialchars($val); 78 echo ' <option value="' . $val . '"' . $selected_val . '>' . $val . '</option>' . LF; 79 } 80 } 81 82 ?> 83 </select></td> 84 </tr> 85 86 <tr><td colspan="2" class="rowspacer7x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 87 88 <tr> 89 <td align="right" class="chatlist tdtop3"><?php echo $BL['be_settings'] ?>: </td> 90 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 91 <tr> 92 <td align="right" class="chatlist"><?php echo $BL['be_cookie_runtime'] ?>: </td> 93 <td><input name="cookie_expire" type="text" class="f11b width150" id="cookie_expire" size="10" maxlength="10" onkeyup="if(!parseInt(this.value*1))this.value='0';" value="<?php echo $content['felogin']['felogin_cookie_expire']; ?>" /></td> 94 <td class="f10"> <?php echo $BL['be_cnt_guestbook_seconds'] ?></td> 95 </tr> 96 <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="3" /></td></tr> 97 <tr> 98 <td align="right" class="chatlist"><?php echo $BL['be_date_format'] ?>: </td> 99 <td><input name="date_format" type="text" class="f11b width150" id="date_format" value="<?php echo $content['felogin']['felogin_date_format']; ?>" /></td> 100 <td> <a href="http://www.php.net/strftime" target="_blank" title="PHP strftime"><img src="img/famfamfam/icon_info.gif" alt="Info" border="0" align="absmiddle" /></a></td> 101 </tr> 102 <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="3" /></td></tr> 103 <tr> 104 <td align="right" class="chatlist"><?php echo $BL['be_locale'] ?>: </td> 105 <td><input name="locale" type="text" class="f11b width150" id="locale" value="<?php echo $content['felogin']['felogin_locale']; ?>" /></td> 106 <td> <a href="http://www.php.net/setlocale" target="_blank" title="PHP setlocale"><img src="img/famfamfam/icon_info.gif" alt="Info" border="0" align="absmiddle" /></a> (en, de_DE)</td> 107 </tr> 108 <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr> 109 110 <tr> 111 <td align="right" class="chatlist tdtop4"><?php echo $BL['be_check_login_against'] ?>: </td> 112 <td colspan="2" class="inlineCheckbox"><input type="checkbox" name="validate_userdetail" id="validate_userdetail" value="1"<?php echo is_checked(1, $content['felogin']['felogin_validate_userdetail']); ?> /> 113 <label for="validate_userdetail"><?php echo $BL['be_userprofile_db'] ?></label></td> 114 </tr> 115 <tr> 116 <td> </td> 117 <td colspan="2" class="inlineCheckbox"><input type="checkbox" name="validate_backenduser" id="validate_backenduser" value="1"<?php echo is_checked(1, $content['felogin']['felogin_validate_backenduser']); ?> /> 118 <label for="validate_backenduser"><?php echo $BL['be_backenduser_db']?></label></td> 119 </tr> 120 121 <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr> 122 123 <tr> 124 <td align="right" class="chatlist tdtop4 right"><?php echo $BL['be_check_feuser_profile'] ?>: </td> 125 <td colspan="2" class="inlineCheckbox"><input type="checkbox" name="profile_registration" id="profile_registration" value="1"<?php echo is_checked(1, $content['felogin']['felogin_profile_registration']); ?> /> 126 <label for="profile_registration"><?php echo $BL['be_check_feuser_registration'] ?></label></td> 127 </tr> 128 <tr> 129 <td align="right" class="chatlist"> </td> 130 <td colspan="2" class="inlineCheckbox"><input type="checkbox" name="profile_manage" id="profile_manage" value="1"<?php echo is_checked(1, $content['felogin']['felogin_profile_manage']); ?> /> 131 <label for="profile_manage"><?php echo $BL['be_check_feuser_manage'] ?></label></td> 132 </tr> 133 <tr> 134 <td align="right" class="chatlist"><?php //echo $BL['be_article_aredirect']: ?> </td> 135 <td><input name="profile_manage_redirect" type="text" class="f11b width150" id="profile_manage_redirect" size="10" value="<?php echo html_specialchars($content['felogin']['felogin_profile_manage_redirect']); ?>" /></td> 136 <td class="f10"> <?php 137 echo $BL['be_alias'], ', aid=ID', ', id=ID' ?></td> 138 </tr> 139 140 </table></td> 141 </tr> 142 143 <tr><td colspan="2" class="rowspacer7x0"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 144 145
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Jan 29 16:31:14 2012 | Cross-referenced by PHPXref 0.7.1 |