Html->link( 'Ajouter un Animal', array('controller' => 'animaux', 'action' => 'add') ); ?>
Html->link("Pages",array('controller'=>'pages','action'=>'index')); ?>
html> par J'utilise donc la fonction replace : $(this).html($(this).html().replace(' ', ' ')); Je me demandais s'il était possible d'utiliser des expressions régulières, du style : $(this).html($(this
html' ]) .pipe(livereload()); }); gulp.task('css', function() { return gulp.src([ 'www/**/*.css' ]) .pipe(livereload()); }); gulp.task('php', function() { return gulp.src([ 'www/**/*.php' ]) .pipe(livereload()); }); gulp.task('reload', function() { livereload.listen(); gulp.watch('www/**/*.html', ['html']).on('change
Html->image("icons/add_message.png",array('alt'=>'Add Message','url' => array('controller' => 'story', 'action' => 'addmessage', $storyAuthor'stories']'id'])));?>
html .= ' '; }elseif($options['type'] == 'textarea'){ $html .= ' '.$value.' '; }elseif($options['type'] == 'checkbox'){ $html .= ' Mettre en ligne '; } $html .= ' '; return $html; } } ``` PostsController: ```
Html->script('tiny_mce/tiny_mce',array('inline'=>false)); ?> tinyMCE.init({ mode:'textareas', theme: 'advanced', plugins:'inlinepopups,paste,image', theme_advanced_buttons1:'bold,italic,underline,|,bullist
html.=' '; }elseif ($options['type']=='textarea') { $html.=' '.$this->controller->request->data->$name.' '; }elseif ($options['type']=='checkbox') { $html.=' '; } $html .=' '; return $html; } } ?>[/code] admin\_edit.php [code] # Editer Un Article
html = ob_get_contents(); ob_end_clean(); return MAIL::send($mail,$html,$object); } public static function send($mail,$html,$subject){ if (!preg_match("#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#", $mail