Changeset 3240:9d9ac74a3d59
- Timestamp:
- 04/16/16 10:35:36 (9 years ago)
- Branch:
- default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
locales/fr/plugins.po
r3151 r3240 413 413 msgstr "Titre (optionnel)" 414 414 415 msgid "Placeholder (HTML5 only, optional):" 416 msgstr "Texte indicatif (HTML5 seulement, optionnel) :" 417 415 418 msgid "All categories" 416 419 msgstr "Toutes les catégories" -
plugins/widgets/_default_widgets.php
r2778 r3240 20 20 $__widgets->create('search',__('Search engine'),array('defaultWidgets','search'),null,'Search engine form'); 21 21 $__widgets->search->setting('title',__('Title (optional)').' :',__('Search')); 22 $__widgets->search->setting('placeholder',__('Placeholder (HTML5 only, optional):'),''); 22 23 $__widgets->search->setting('homeonly',__('Display on:'),0,'combo', 23 24 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); -
plugins/widgets/_widgets_functions.php
r3030 r3240 36 36 '<form action="'.$core->blog->url.'" method="get" role="search">'. 37 37 '<fieldset>'. 38 '<p><input type="text" size="10" maxlength="255" id="q" name="q" value="'.$value.'" /> '. 38 '<p><input type="text" size="10" maxlength="255" id="q" name="q" value="'.$value.'" '. 39 ($w->placeholder ? 'placeholder="'.html::escapeHTML($w->placeholder).'"' : '').'/> '. 39 40 '<input type="submit" class="submit" value="ok" /></p>'. 40 41 '</fieldset>'.
Note: See TracChangeset
for help on using the changeset viewer.