Changeset 3156565
- Timestamp:
- 09/24/2024 01:23:12 AM (18 months ago)
- Location:
- xl-tab/trunk
- Files:
-
- 2 edited
-
inc/helper.php (modified) (1 diff)
-
widgets/tab1/view.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xl-tab/trunk/inc/helper.php
r2269808 r3156565 19 19 } 20 20 return $list; 21 } 22 23 static function only_alpha_num($string){ 24 if (!preg_match("/[^[:alnum:]_\/-]/",$string)) { 25 return $string; 26 } 21 27 } 22 28 -
xl-tab/trunk/widgets/tab1/view.php
r3156556 r3156565 1 1 <?php 2 use XLTab\xltab_helper; 2 3 $align = ' '.$settings['inpalign'].' '.$settings['scroll']; 3 4 switch ($settings['tmpl']) { … … 28 29 } 29 30 31 $tmpl = xltab_helper::only_alpha_num($settings['tmpl']); 32 30 33 ?> 31 34 32 <div class="xl-tab <?php echo esc_attr($settings['tmpl']).$align ;?>">35 <div class="xl-tab <?php echo $tmpl.$align ;?>"> 33 36 <ul class="tab-area"> 34 37 <?php echo $outtitle;?>
Note: See TracChangeset
for help on using the changeset viewer.