Dotclear


Ignore:
Timestamp:
04/27/11 11:07:45 (14 years ago)
Author:
Kozlika
Branch:
userprefs
Message:

Accessibilité : formulaires Préférences et Authentification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/preferences.php

    r10 r11  
    254254'<div class="two-cols">'. 
    255255'<div class="col">'. 
    256 '<p><label for"user_name">'.__('Last Name:'). 
     256'<p><label for="user_name">'.__('Last Name:'). 
    257257form::field('user_name',20,255,html::escapeHTML($user_name),'',2).'</label></p>'. 
    258258 
     
    352352echo '<div class="col70">'; 
    353353echo '<fieldset id="my-favs"><legend>'.__('My favorites').'</legend>'; 
     354echo '<p>'.__('Modify numbers in fields to change favorites order.').'</p>'; 
    354355$count = 0; 
    355356foreach ($ws->dumpPrefs() as $k => $v) { 
     
    362363               echo '<li id="fu-'.$k.'">'. 
    363364                    '<img src="'.$fav['large-icon'].'" alt="" /> '. 
    364                     '<span>'.form::field(array('order['.$k.']'),2,3,$count).'</span>'. 
     365                    form::field(array('order['.$k.']'),2,3,$count,'position','',false,'title="position de '.$fav['title'].'"'). 
    365366                    '<label for="fuk-'.$k.'">'.form::checkbox(array('remove[]','fuk-'.$k),$k).$fav['title'].'</label>'. 
    366367                    '</li>'; 
     
    423424          $count++; 
    424425          echo '<li id="fa-'.$fav[0].'">'.'<label for="fak-'.$fav[0].'">'. 
    425                '<span class="minimal">'.form::checkbox(array('append[]','fak-'.$fav[0]),$k).'</span>'. 
     426               form::checkbox(array('append[]','fak-'.$fav[0]),$k). 
    426427               '<img src="'.$fav[3].'" alt="" /> '.'<span class="zoom"><img src="'.$fav[4].'" alt="" /></span>'.$fav[1]. 
    427428               '</label>'.'</li>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map