Project

General

Profile

« Previous | Next » 

Revision 1657

Added by Dietmar about 12 years ago

some validation fixes in backend

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
04 Apr-2012 Build 1657 Dietmar Woellbrink (Luisehahne)
15
! some validation fixes in backend
14 16
02 Apr-2012 Build 1656 Werner v.d.Decken(DarkViper)
15 17
# fixed filter to serve malformed/nested HTML also.
16 18
01 Apr-2012 Build 1655 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/admin/skel/themes/htt/settings.htt
2 2

  
3 3
<form name="settings" action="save.php" method="post">
4 4
<input type="hidden" name="advanced" value="{ADVANCED}" />
5
<input type="hidden" name="wbmailer_smtp_auth" id="wbmailer_smtp_auth" value="true"  />
5
<input type="hidden" name="wbmailer_smtp_auth" value="true"  />
6 6

  
7 7
{FTAN}
8 8

  
branches/2.8.x/wb/admin/skel/themes/htt/groups.htt
1 1
<!-- BEGIN main_block -->
2 2

  
3
<form name="groups" action="groups.php" method="post">
3
<form action="groups.php" method="post">
4 4
 {FTAN}
5 5
  <table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
6 6
	<tr style="background:#f0f0f0;">
branches/2.8.x/wb/admin/skel/themes/htt/users_form.htt
85 85
	<td>
86 86
		<input type="submit" name="submit" value="{SUBMIT_TITLE}" />
87 87
		<input type="reset" name="reset" value="{TEXT_RESET}" />
88
		<input type="button" style="width: 100px; margin-top: 5px;" onclick="javascript: window.location = 'index.php';" value="{TEXT_CANCEL}">
88
		<input type="button" style="width: 100px; margin-top: 5px;" onclick="javascript: window.location = 'index.php';" value="{TEXT_CANCEL}" />
89 89
	</td>
90 90
</tr>
91 91
</table>
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1656');
54
if(!defined('REVISION')) define('REVISION', '1657');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/modules/jsadmin/tool.php
98 98
  else
99 99
  {
100 100
  ?>
101
   <form id="jsadmin_form" name="store_settings" style="margin-top: 1em; display: true;" action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
101
<div  id="jsadmin_form"></div>
102
   <form name="store_settings" style="margin-top: 1em; display: true;" action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
102 103
	<?php echo $admin->getFTAN(); ?>
103
   <table cellpadding="4" cellspacing="0" border="0">
104
   <table summary="" cellpadding="4" cellspacing="0" border="0">
104 105
   <tr>
105 106
	     <td colspan="2"><?php echo $MOD_JSADMIN['TXT_HEADING_B']; ?>:</td>
106 107
   </tr>
branches/2.8.x/wb/modules/droplets/example/ShowWysiwyg.php
1 1
//:Display one defined WYSIWYG section
2
//:Use [[ShowSection?section=10]]
2
//:Use [[ShowWysiwyg?section=10]]
3 3
global $database;
4 4
	$content = '';
5 5
	$section = isset($section) ? intval($section) : 0;
branches/2.8.x/wb/modules/captcha_control/tool.php
147 147
?>
148 148
<form name="store_settings" action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
149 149
	<?php echo $admin->getFTAN(); ?>
150
	<table width="98%" cellspacing="0" border="0" cellpadding="5px" class="row_a">
150
	<table summary="" width="98%" cellspacing="0" border="0" cellpadding="5" class="row_a">
151 151
	<tr><td colspan="2"><strong><?php echo $MOD_CAPTCHA_CONTROL['CAPTCHA_CONF'];?>:</strong></td></tr>
152 152
	<tr>
153 153
		<td width="30%"><?php echo $MOD_CAPTCHA_CONTROL['CAPTCHA_TYPE'];?>:</td>
......
161 161
	</tr>
162 162
	<tr>
163 163
		<td>&nbsp;</td>
164
		<td align="left" width="150px">
164
		<td align="left" width="150">
165 165
            <img alt="captcha_example" id="captcha_example" src="<?php echo WB_URL.'/include/captcha/captchas/'.$captcha_type.'.png'?>" />
166 166
        </td>
167 167
	</tr>
branches/2.8.x/wb/modules/output_filter/tool.php
77 77
<form name="store_settings" action="<?php echo $_SERVER['REQUEST_URI'];?>" method="post">
78 78
	<?php echo $admin->getFTAN(); ?>
79 79
	<input type="hidden" name="action" value="save" />
80
	<table width="98%" cellspacing="0" cellpadding="5px" class="row_a">
80
	<table summary="" width="98%" cellspacing="0" cellpadding="5" class="row_a">
81 81
	<tr><td colspan="2"><strong><?php echo $MOD_MAIL_FILTER['BASIC_CONF'];?>:</strong></td></tr>
82 82
	<tr>
83 83
		<td width="35%"><?php echo $MOD_MAIL_FILTER['SYS_REL'];?>:</td>
84 84
		<td>
85 85
			<input type="radio" <?php echo ($data['sys_rel']=='1') ? 'checked="checked"' :'';?>
86
				name="sys_rel" value="1"><?php echo $MOD_MAIL_FILTER['ENABLED'];?>
86
				name="sys_rel" value="1" /><?php echo $MOD_MAIL_FILTER['ENABLED'];?>
87 87
			<input type="radio" <?php echo (($data['sys_rel'])=='0') ? 'checked="checked"' :'';?>
88
				name="sys_rel" value="0"><?php echo $MOD_MAIL_FILTER['DISABLED'];?>
88
				name="sys_rel" value="0" /><?php echo $MOD_MAIL_FILTER['DISABLED'];?>
89 89
		</td>
90 90
	</tr>
91 91
	<tr>
92 92
		<td width="35%"><?php echo $MOD_MAIL_FILTER['EMAIL_FILTER'];?>:</td>
93 93
		<td>
94 94
			<input type="radio" <?php echo ($data['email_filter']=='1') ?'checked="checked"' :'';?>
95
				name="email_filter" value="1"><?php echo $MOD_MAIL_FILTER['ENABLED'];?>
95
				name="email_filter" value="1" /><?php echo $MOD_MAIL_FILTER['ENABLED'];?>
96 96
			<input type="radio" <?php echo (($data['email_filter'])=='0') ?'checked="checked"' :'';?>
97
				name="email_filter" value="0"><?php echo $MOD_MAIL_FILTER['DISABLED'];?>
97
				name="email_filter" value="0" /><?php echo $MOD_MAIL_FILTER['DISABLED'];?>
98 98
		</td>
99 99
	</tr>
100 100
	<tr>
101 101
		<td><?php echo $MOD_MAIL_FILTER['MAILTO_FILTER'];?>:</td>
102 102
		<td>
103 103
			<input type="radio" <?php echo ($data['mailto_filter']=='1') ?'checked="checked"' :'';?>
104
				name="mailto_filter" value="1"><?php echo $MOD_MAIL_FILTER['ENABLED'];?>
104
				name="mailto_filter" value="1" /><?php echo $MOD_MAIL_FILTER['ENABLED'];?>
105 105
			<input type="radio" <?php echo (($data['mailto_filter'])=='0') ?'checked="checked"' :'';?>
106
				name="mailto_filter" value="0"><?php echo $MOD_MAIL_FILTER['DISABLED'];?>
106
				name="mailto_filter" value="0" /><?php echo $MOD_MAIL_FILTER['DISABLED'];?>
107 107
		</td>
108 108
	</tr>
109 109
	<tr><td colspan="2"><br /><strong><?php echo $MOD_MAIL_FILTER['REPLACEMENT_CONF'];?>:</strong></td></tr>
branches/2.8.x/wb/modules/output_filter/languages/NL.php
18 18

  
19 19
// Headings and text outputs
20 20
$MOD_MAIL_FILTER['HEADING']				= 'Beheersinstellingen: Output Filter';
21
$MOD_MAIL_FILTER['HOWTO']				= 'Hier kan je de uitvoer filteren met onderstaande opties.<p style="line-height:1.5em;"><strong>Tip: </strong>Mailto links kunnen gecodeerd worden door een Javascript functie. Om van deze optie gebruik te kunnen maken moet je de PHP code <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> in de &lt;head&gt; sectie van het index.php bestand van je template plaatsen. Zonder deze aanpassing zal enkel het @ teken in het mailto deel vervangen worden.</p>';
21
$MOD_MAIL_FILTER['HOWTO']				= 'Hier kan je de uitvoer filteren met onderstaande opties.<p style="line-height:1.5em;"><strong>Tip: </strong>Mailto links kunnen gecodeerd worden door een Javascript functie. Om van deze optie gebruik te kunnen maken moet je de PHP code <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> in de &lt;head&gt; sectie van het index.php bestand van je template plaatsen. Zonder deze aanpassing zal enkel het @ teken in het mailto deel vervangen worden.';
22 22
$MOD_MAIL_FILTER['WARNING']				= '';
23 23

  
24 24
// Text and captions of form elements
branches/2.8.x/wb/modules/output_filter/languages/NO.php
18 18

  
19 19
// Headings and text outputs
20 20
$MOD_MAIL_FILTER['HEADING']	= 'Valg: Filtrering av ut data';
21
$MOD_MAIL_FILTER['HOWTO']	= 'Du kan gj&oslash;re innstillinger for utdatafitreringen i valgene nedenfor.<p style="line-height:1.5em;"><strong>Tips: </strong>Mailto linker kan krypteres av en Javascript funksjon. For &aring; f&aring; benyttet denne funksjonen, m&aring; det legges til f&oslash;lgende PHP kode <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> inn i &lt;head&gt; seksjonen i index.php p&aring; design malen din. Uten denne modifikasjonen, vil kun @ karakterer i mailto linker bli erstattet.</p>';
21
$MOD_MAIL_FILTER['HOWTO']	= 'Du kan gj&oslash;re innstillinger for utdatafitreringen i valgene nedenfor.<p style="line-height:1.5em;"><strong>Tips: </strong>Mailto linker kan krypteres av en Javascript funksjon. For &aring; f&aring; benyttet denne funksjonen, m&aring; det legges til f&oslash;lgende PHP kode <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> inn i &lt;head&gt; seksjonen i index.php p&aring; design malen din. Uten denne modifikasjonen, vil kun @ karakterer i mailto linker bli erstattet.';
22 22
$MOD_MAIL_FILTER['WARNING']	= '';
23 23

  
24 24
// Text and captions of form elements
branches/2.8.x/wb/modules/output_filter/languages/EN.php
18 18

  
19 19
// Headings and text outputs
20 20
$MOD_MAIL_FILTER['HEADING']	= 'Options: Output Filter';
21
$MOD_MAIL_FILTER['HOWTO'] = 'You can configure the output filtering with the options below.<p style="line-height:1.5em;"><strong>Tip: </strong>Mailto links can be encrypted by a Javascript function. To make use of this option, one needs to add the PHP code <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> into the &lt;head&gt; section of the index.php of your template. Without this modification, only the @ character in the mailto part will be replaced.</p>';
21
$MOD_MAIL_FILTER['HOWTO'] = 'You can configure the output filtering with the options below.<p style="line-height:1.5em;"><strong>Tip: </strong>Mailto links can be encrypted by a Javascript function. To make use of this option, one needs to add the PHP code <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> into the &lt;head&gt; section of the index.php of your template. Without this modification, only the @ character in the mailto part will be replaced.';
22 22
$MOD_MAIL_FILTER['WARNING']	= '';
23 23

  
24 24
// Text and captions of form elements
branches/2.8.x/wb/modules/output_filter/languages/DA.php
18 18

  
19 19
// Headings and text outputs
20 20
$MOD_MAIL_FILTER['HEADING'] = 'Indstillinger: Output-filter';
21
$MOD_MAIL_FILTER['HOWTO'] = 'Du kan konfigurere output-filteret med indstillingerne nedenfor.<p style="line-height:1.5em;"><strong>Tip: </strong>Mailadresser kan krypteres vedhj&Atilde;&brvbar;lp af en  Javascript-funktion. For at g&Atilde;?re brug af denne indstilling, skal du tilf&Atilde;?je PHP-koden <code style="background:#FFA;color:#900;"><?php register_frontend_modfiles(js);?></code> til <head> sektionnen af  index.php i din template (layout-skabelon). Uden denne &Atilde;&brvbar;ndring vil kun @-tegnet i email-adressen blive erstattet.</p>';
21
$MOD_MAIL_FILTER['HOWTO'] = 'Du kan konfigurere output-filteret med indstillingerne nedenfor.<p style="line-height:1.5em;"><strong>Tip: </strong>Mailadresser kan krypteres vedhj&Atilde;&brvbar;lp af en  Javascript-funktion. For at g&Atilde;¸re brug af denne indstilling, skal du tilf&Atilde;¸je PHP-koden <code style="background:#FFA;color:#900;"><?php register_frontend_modfiles(js);?></code> til <head> sektionnen af  index.php i din template (layout-skabelon). Uden denne &Atilde;&brvbar;ndring vil kun @-tegnet i email-adressen blive erstattet.';
22 22
$MOD_MAIL_FILTER['WARNING']				= '';
23 23

  
24 24
// Text and captions of form elements
branches/2.8.x/wb/modules/output_filter/languages/RU.php
18 18

  
19 19
// Headings and text outputs
20 20
$MOD_MAIL_FILTER['HEADING']	= '&#1053;&#1072;&#1089;&#1090;&#1088;&#1086;&#1081;&#1082;&#1080;: Output Filter';
21
$MOD_MAIL_FILTER['HOWTO'] = '&#1042;&#1099; &#1084;&#1086;&#1078;&#1077;&#1090;&#1077; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1080;&#1090;&#1100; &#1092;&#1080;&#1083;&#1100;&#1090;&#1088;&#1072;&#1094;&#1080;&#1102;, &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1103; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1081;&#1082;&#1080; &#1085;&#1080;&#1078;&#1077;.<p style="line-height:1.5em;"><strong>&#1042;&#1072;&#1078;&#1085;&#1086;: </strong>Mailto &#1089;&#1089;&#1099;&#1083;&#1082;&#1080; &#1084;&#1086;&#1075;&#1091;&#1090; &#1073;&#1099;&#1090;&#1100; &#1089;&#1082;&#1088;&#1099;&#1090;&#1099; &#1086;&#1090; &#1089;&#1087;&#1072;&#1084;&#1077;&#1088;&#1086;&#1074; &#1089; &#1087;&#1086;&#1084;&#1086;&#1097;&#1100;&#1102; Javascript. &#1063;&#1090;&#1086;&#1073;&#1099; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; &#1101;&#1090;&#1091; &#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1086;&#1089;&#1090;&#1100;, &#1076;&#1086;&#1073;&#1072;&#1074;&#1100;&#1090;&#1077; &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1080;&#1081; PHP &#1082;&#1086;&#1076; <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> &#1074; &lt;head&gt; &#1089;&#1077;&#1082;&#1094;&#1080;&#1102; index.php &#1092;&#1072;&#1081;&#1083;&#1072; &#1074;&#1072;&#1096;&#1077;&#1075;&#1086; &#1096;&#1072;&#1073;&#1083;&#1086;&#1085;&#1072;. &#1048;&#1085;&#1072;&#1095;&#1077; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1089;&#1080;&#1084;&#1074;&#1086;&#1083; @ &#1073;&#1091;&#1076;&#1077;&#1090; &#1079;&#1072;&#1084;&#1077;&#1085;&#1077;&#1085; &#1074; mailto &#1089;&#1089;&#1099;&#1083;&#1082;&#1072;&#1093;.</p>';
21
$MOD_MAIL_FILTER['HOWTO'] = '&#1042;&#1099; &#1084;&#1086;&#1078;&#1077;&#1090;&#1077; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1080;&#1090;&#1100; &#1092;&#1080;&#1083;&#1100;&#1090;&#1088;&#1072;&#1094;&#1080;&#1102;, &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1103; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1081;&#1082;&#1080; &#1085;&#1080;&#1078;&#1077;.<p style="line-height:1.5em;"><strong>&#1042;&#1072;&#1078;&#1085;&#1086;: </strong>Mailto &#1089;&#1089;&#1099;&#1083;&#1082;&#1080; &#1084;&#1086;&#1075;&#1091;&#1090; &#1073;&#1099;&#1090;&#1100; &#1089;&#1082;&#1088;&#1099;&#1090;&#1099; &#1086;&#1090; &#1089;&#1087;&#1072;&#1084;&#1077;&#1088;&#1086;&#1074; &#1089; &#1087;&#1086;&#1084;&#1086;&#1097;&#1100;&#1102; Javascript. &#1063;&#1090;&#1086;&#1073;&#1099; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; &#1101;&#1090;&#1091; &#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1086;&#1089;&#1090;&#1100;, &#1076;&#1086;&#1073;&#1072;&#1074;&#1100;&#1090;&#1077; &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1080;&#1081; PHP &#1082;&#1086;&#1076; <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> &#1074; &lt;head&gt; &#1089;&#1077;&#1082;&#1094;&#1080;&#1102; index.php &#1092;&#1072;&#1081;&#1083;&#1072; &#1074;&#1072;&#1096;&#1077;&#1075;&#1086; &#1096;&#1072;&#1073;&#1083;&#1086;&#1085;&#1072;. &#1048;&#1085;&#1072;&#1095;&#1077; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1089;&#1080;&#1084;&#1074;&#1086;&#1083; @ &#1073;&#1091;&#1076;&#1077;&#1090; &#1079;&#1072;&#1084;&#1077;&#1085;&#1077;&#1085; &#1074; mailto &#1089;&#1089;&#1099;&#1083;&#1082;&#1072;&#1093;.';
22 22
$MOD_MAIL_FILTER['WARNING']	= '';
23 23

  
24 24
// Text and captions of form elements
branches/2.8.x/wb/modules/output_filter/languages/FR.php
21 21

  
22 22
// Headings and text outputs
23 23
$MOD_MAIL_FILTER['HEADING'] = 'Options: Output Filter';
24
$MOD_MAIL_FILTER['HOWTO'] = 'Vous pouvez configurer le filtrage des donn&eacute;es avant affichage gr&acirc;ce aux options ci-dessous.<p style="line-height:1.5em;"><strong>Conseil: </strong>Les liens Mailto peuvent &ecirc;tre crypt&eacute;s &agrave; l&apos;aide d&apos;une fonction Javascript. Pour utiliser cette fonctionnalit&eacute;, vous devez ajouter le code PHP <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(&apos;js&apos;);?&gt;</code> dans la partie &lt;head&gt; de index.php de votre fichier mod&egrave;le. Sans cette modification, seulement le caract&egrave;re @ sera remplac&eacute; dans le champ mailto.</p>';
24
$MOD_MAIL_FILTER['HOWTO'] = 'Vous pouvez configurer le filtrage des donn&eacute;es avant affichage gr&acirc;ce aux options ci-dessous.<p style="line-height:1.5em;"><strong>Conseil: </strong>Les liens Mailto peuvent &ecirc;tre crypt&eacute;s &agrave; l&apos;aide d&apos;une fonction Javascript. Pour utiliser cette fonctionnalit&eacute;, vous devez ajouter le code PHP <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(&apos;js&apos;);?&gt;</code> dans la partie &lt;head&gt; de index.php de votre fichier mod&egrave;le. Sans cette modification, seulement le caract&egrave;re @ sera remplac&eacute; dans le champ mailto.';
25 25
$MOD_MAIL_FILTER['WARNING'] = '';
26 26

  
27 27
// Text and captions of form elements
branches/2.8.x/wb/modules/output_filter/languages/DE.php
21 21

  
22 22
// Ueberschriften und Textausgaben
23 23
$MOD_MAIL_FILTER['HEADING']				= 'Optionen: Ausgabe Filterung';
24
$MOD_MAIL_FILTER['HOWTO']				= '&Uuml;ber nachfolgende Optionen kann die Ausgabefilterung konfiguriert werden.<p style="line-height:1.5em;"><strong>Tipp: </strong>Mailto Links k&ouml;nnen mit einer Javascript Routine verschl&uuml;sselt werden. Um diese Option zu aktivieren muss der PHP Befehl <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> im &lt;head&gt; Bereich der index.php Ihres Templates eingebunden werden. Ohne diese &Auml;nderungen wird nur das @ Zeichen im mailto: Teil ersetzt.</p>';
24
$MOD_MAIL_FILTER['HOWTO']				= '&Uuml;ber nachfolgende Optionen kann die Ausgabefilterung konfiguriert werden.<p style="line-height:1.5em;"><strong>Tipp: </strong>Mailto Links k&ouml;nnen mit einer Javascript Routine verschl&uuml;sselt werden. Um diese Option zu aktivieren muss der PHP Befehl <code style="background:#FFA;color:#900;">&lt;?php register_frontend_modfiles(\'js\');?&gt;</code> im &lt;head&gt; Bereich der index.php Ihres Templates eingebunden werden. Ohne diese &Auml;nderungen wird nur das @ Zeichen im mailto: Teil ersetzt.';
25 25
$MOD_MAIL_FILTER['WARNING']				= '';
26 26

  
27 27
// Text von Form Elementen

Also available in: Unified diff