Changeset 1399:cdf556efc5ea
- Timestamp:
- 08/16/13 14:16:11 (10 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog.php
r1358 r1399 77 77 78 78 echo 79 '<form action="blog.php" method="post" id="blog-form" class="fieldset">'.79 '<form action="blog.php" method="post" id="blog-form">'. 80 80 81 81 $core->formNonce(). 82 '<p><label class="required" ><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:').''.83 form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</ label></p>'.82 '<p><label class="required" for="blog_id"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:').'</label> '. 83 form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</p>'. 84 84 '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p> '. 85 85 '<p class="form-note warn">'.__('Please note that changing your blog ID may require changes in your public index.php file.').'</p>'. 86 86 87 '<p><label class="required" ><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:').''.88 form::field('blog_name',30,255,html::escapeHTML($blog_name)).'</ label></p>'.87 '<p><label class="required" for="blog_name"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:').'</label> '. 88 form::field('blog_name',30,255,html::escapeHTML($blog_name)).'</p>'. 89 89 90 '<p><label class="required" ><abbr title="'.__('Required field').'">*</abbr> '.__('Blog URL:').''.91 form::field('blog_url',30,255,html::escapeHTML($blog_url)).'</ label></p>'.90 '<p><label class="required" for="blog_url"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog URL:').'</label> '. 91 form::field('blog_url',30,255,html::escapeHTML($blog_url)).'</p>'. 92 92 93 93 '<p class="area"><label for="blog_desc">'.__('Blog description:').'</label> '. -
admin/blog_del.php
r1358 r1399 69 69 '<form action="blog_del.php" method="post">'. 70 70 '<div>'.$core->formNonce().'</div>'. 71 '<p><label for="pwd">'.__('Your password:').' '.72 form::password('pwd',20,255).'</ label></p>'.71 '<p><label for="pwd">'.__('Your password:').'</label> '. 72 form::password('pwd',20,255).'</p>'. 73 73 '<p><input type="submit" class="delete" name="del" value="'.__('Delete this blog').'" />'. 74 74 form::hidden('blog_id',$blog_id).'</p>'. -
admin/blog_pref.php
r1358 r1399 309 309 { 310 310 echo 311 '<p><label for="blog_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:'). 312 form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</ label></p>'.311 '<p><label for="blog_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:').'</label>'. 312 form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</p>'. 313 313 '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p> '. 314 314 '<p class="form-note warn">'.__('Please note that changing your blog ID may require changes in your public index.php file.').'</p>'; … … 316 316 317 317 echo 318 '<p><label for="blog_name" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:'). 319 form::field('blog_name',30,255,html::escapeHTML($blog_name)).'</ label></p>';318 '<p><label for="blog_name" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:').'</label>'. 319 form::field('blog_name',30,255,html::escapeHTML($blog_name)).'</p>'; 320 320 321 321 if ($core->auth->isSuperAdmin()) 322 322 { 323 323 echo 324 '<p><label for="blog_url" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog URL:'). 325 form::field('blog_url',30,255,html::escapeHTML($blog_url)).'</ label></p>'.326 327 '<p><label for="url_scan">'.__('URL scan method:'). 328 form::combo('url_scan',$url_scan_combo,$blog_settings->system->url_scan).'</ label></p>'.329 330 '<p><label for="blog_status">'.__('Blog status:'). 331 form::combo('blog_status',$status_combo,$blog_status).'</ label></p>';324 '<p><label for="blog_url" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog URL:').'</label>'. 325 form::field('blog_url',30,255,html::escapeHTML($blog_url)).'</p>'. 326 327 '<p><label for="url_scan">'.__('URL scan method:').'</label>'. 328 form::combo('url_scan',$url_scan_combo,$blog_settings->system->url_scan).'</p>'. 329 330 '<p><label for="blog_status">'.__('Blog status:').'</label>'. 331 form::combo('blog_status',$status_combo,$blog_status).'</p>'; 332 332 } 333 333 … … 342 342 '<div class="two-cols">'. 343 343 '<div class="col">'. 344 '<p><label for="editor">'.__('Blog editor name:'). 344 '<p><label for="editor">'.__('Blog editor name:').'</label>'. 345 345 form::field('editor',30,255,html::escapeHTML($blog_settings->system->editor)). 346 '</ label></p>'.347 348 '<p><label for="lang">'.__('Default language:'). 346 '</p>'. 347 348 '<p><label for="lang">'.__('Default language:').'</label>'. 349 349 form::combo('lang',$lang_combo,$blog_settings->system->lang,'l10n'). 350 '</ label></p>'.351 352 '<p><label for="blog_timezone">'.__('Blog timezone:'). 350 '</p>'. 351 352 '<p><label for="blog_timezone">'.__('Blog timezone:').'</label>'. 353 353 form::combo('blog_timezone',dt::getZones(true,true),html::escapeHTML($blog_settings->system->blog_timezone)). 354 '</ label></p>'.355 356 '<p><label for="copyright_notice">'.__('Copyright notice:'). 354 '</p>'. 355 356 '<p><label for="copyright_notice">'.__('Copyright notice:').'</label>'. 357 357 form::field('copyright_notice',30,255,html::escapeHTML($blog_settings->system->copyright_notice)). 358 '</ label></p>'.359 '</div>'. 360 361 '<div class="col">'. 362 '<p><label for="post_url_format">'.__('New post URL format:'). 358 '</p>'. 359 '</div>'. 360 361 '<div class="col">'. 362 '<p><label for="post_url_format">'.__('New post URL format:').'</label>'. 363 363 form::combo('post_url_format',$post_url_combo,html::escapeHTML($blog_settings->system->post_url_format)). 364 '</ label></p>'.365 366 '<p><label for="note_title_tag">'.__('Note title HTML tag:'). 364 '</p>'. 365 366 '<p><label for="note_title_tag">'.__('Note title HTML tag:').'</label>'. 367 367 form::combo('note_title_tag',$note_title_tag_combo,$blog_settings->system->note_title_tag). 368 '</ label></p>'.369 370 '<p><label for="enable_xmlrpc" class="classic">'. 368 '</p>'. 369 370 '<p><label for="enable_xmlrpc" class="classic">'.'</label>'. 371 371 form::checkbox('enable_xmlrpc','1',$blog_settings->system->enable_xmlrpc). 372 __('Enable XML/RPC interface').'</ label></p>';372 __('Enable XML/RPC interface').'</p>'; 373 373 374 374 echo … … 442 442 '<div class="two-cols">'. 443 443 '<div class="col">'. 444 '<p><label for="date_format">'.__('Date format:'). 444 '<p><label for="date_format">'.__('Date format:').'</label>'. 445 445 form::field('date_format',30,255,html::escapeHTML($blog_settings->system->date_format)). 446 '</ label></p>'.447 448 '<p><label for="time_format">'.__('Time format:'). 446 '</p>'. 447 448 '<p><label for="time_format">'.__('Time format:').'</label>'. 449 449 form::field('time_format',30,255,html::escapeHTML($blog_settings->system->time_format)). 450 '</ label></p>'.450 '</p>'. 451 451 452 452 '<p><label for="use_smilies" class="classic">'. … … 500 500 501 501 '<h4>'.__('Default image insertion attributes').'</h4>'. 502 '<p><label for="media_img_default_size">'.__('Image size:'). 502 '<p><label for="media_img_default_size">'.__('Image size:').'</label>'. 503 503 form::combo('media_img_default_size',$img_default_size_combo, 504 504 (html::escapeHTML($blog_settings->system->media_img_default_size) != '' ? html::escapeHTML($blog_settings->system->media_img_default_size) : 'm')). 505 '</ label></p>'.506 '<p><label for="media_img_default_alignment">'.__('Image alignment'). 505 '</p>'. 506 '<p><label for="media_img_default_alignment">'.__('Image alignment').'</label>'. 507 507 form::combo('media_img_default_alignment',$img_default_alignment_combo,html::escapeHTML($blog_settings->system->media_img_default_alignment)). 508 '</ label></p>'.508 '</p>'. 509 509 '<p><label for="media_img_default_link" class="classic">'. 510 510 form::checkbox('media_img_default_link','1',$blog_settings->system->media_img_default_link). -
admin/blog_theme.php
r1358 r1399 307 307 '<fieldset>'. 308 308 '<legend>'.__('Upload a zip file').'</legend>'. 309 '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Theme zip file:').' '.310 '<input type="file" name="pkg_file" id="pkg_file" /></ label></p>'.311 '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '.312 form::password(array('your_pwd','your_pwd1'),20,255).'</ label></p>'.309 '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Theme zip file:').'</label> '. 310 '<input type="file" name="pkg_file" id="pkg_file" /></p>'. 311 '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 312 form::password(array('your_pwd','your_pwd1'),20,255).'</p>'. 313 313 '<input type="submit" name="upload_pkg" value="'.__('Upload theme').'" />'. 314 314 $core->formNonce(). … … 321 321 '<fieldset>'. 322 322 '<legend>'.__('Download a zip file').'</legend>'. 323 '<p class="field"><label for="pkg_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Theme zip file URL:').' '.324 form::field(array('pkg_url','pkg_url'),40,255).'</ label></p>'.325 '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '.326 form::password(array('your_pwd','your_pwd2'),20,255).'</ label></p>'.323 '<p class="field"><label for="pkg_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Theme zip file URL:').'</label> '. 324 form::field(array('pkg_url','pkg_url'),40,255).'</p>'. 325 '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 326 form::password(array('your_pwd','your_pwd2'),20,255).'</p>'. 327 327 '<input type="submit" name="fetch_pkg" value="'.__('Download theme').'" />'. 328 328 $core->formNonce(). -
admin/categories.php
r1358 r1399 147 147 148 148 '<form action="category.php" method="post">'. 149 '< fieldset><legend>'.__('Add a new category').'</legend>'.150 '<p><label class="required" for="cat_title"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '.151 form::field('cat_title',30,255).'</ label></p>'.152 '<p><label for="new_cat_parent">'.__('Parent:').' '.149 '<h3>'.__('Add a new category').'</h3>'. 150 '<p><label class="required" for="cat_title"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 151 form::field('cat_title',30,255).'</p>'. 152 '<p><label for="new_cat_parent">'.__('Parent:').'</label> '. 153 153 '<select id="new_cat_parent" name="new_cat_parent">'. 154 154 '<option value="0">'.__('Top level').'</option>'; … … 159 159 } 160 160 echo 161 '</select></label></p>'. 162 '<p><input type="submit" value="'.__('Create').'" /></p>'. 163 $core->formNonce(). 164 '</fieldset>'. 161 '</select></p>'. 162 '<p><input type="submit" value="'.__('Create').'" />'. 163 $core->formNonce().'</p>'. 165 164 '</form>'; 166 165 … … 187 186 188 187 echo 189 '<form action="categories.php" method="post" id="delete-category">'. 190 '<fieldset><legend>'.__('Remove a category').'</legend>'. 191 '<p><label for="del_cat">'.__('Choose a category to remove:').' '. 192 form::combo('del_cat',$cats).'</label></p> '. 193 '<p><label for="mov_cat">'.__('And choose the category which will receive its entries:').' '. 194 form::combo('mov_cat',$dest).'</label></p> '. 195 '<p><input type="submit" value="'.__('Delete').'" class="delete" /></p>'. 196 $core->formNonce(). 197 '</fieldset>'. 188 '<form action="categories.php" method="post" id="delete-category" class="border-top">'. 189 '<h3>'.__('Remove a category').'</h3>'. 190 '<p><label for="del_cat">'.__('Choose a category to remove:').'</label> '. 191 form::combo('del_cat',$cats).'</p> '. 192 '<p><label for="mov_cat">'.__('And choose the category which will receive its entries:').'</label> '. 193 form::combo('mov_cat',$dest).'</p> '. 194 '<p><input type="submit" value="'.__('Delete').'" class="delete" />'. 195 $core->formNonce().'</p>'. 198 196 '</form>'; 199 197 200 198 echo 201 '<form action="categories.php" method="post" id="reset-order" >'.202 '< fieldset><legend>'.__('Reorder categories').'</legend>'.199 '<form action="categories.php" method="post" id="reset-order" class="border-top">'. 200 '<h3>'.__('Reorder categories').'</h3>'. 203 201 '<p>'.__('This will relocate all categories on the top level').'</p> '. 204 '<p><input type="submit" value="'.__('Reorder').'" /> </p>'.202 '<p><input type="submit" value="'.__('Reorder').'" />'. 205 203 form::hidden(array('reset'),1). 206 $core->formNonce(). 207 '</fieldset>'. 204 $core->formNonce().'</p>'. 208 205 '</form>'; 209 206 } -
admin/category.php
r1358 r1399 181 181 echo 182 182 '<form action="category.php" method="post" id="category-form">'. 183 '< fieldset><legend>'.__('Category information').'</legend>'.184 '<p><label class="required" for="cat_title"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '.183 '<h3>'.__('Category information').'</h3>'. 184 '<p><label class="required" for="cat_title"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 185 185 form::field('cat_title',40,255,html::escapeHTML($cat_title)). 186 '</ label></p>';186 '</p>'; 187 187 if (!$cat_id) 188 188 { … … 202 202 echo 203 203 '<div class="lockable">'. 204 '<p><label for="cat_url">'.__('URL:').' '.form::field('cat_url',40,255,html::escapeHTML($cat_url)). 205 '</label></p>'. 204 '<p><label for="cat_url">'.__('URL:').'</label> ' 205 .form::field('cat_url',40,255,html::escapeHTML($cat_url)). 206 '</p>'. 206 207 '<p class="form-note warn" id="note-cat-url">'. 207 208 __('Warning: If you set the URL manually, it may conflict with another category.').'</p>'. … … 216 217 $core->formNonce(). 217 218 '</p>'. 218 '</fieldset>'.219 219 '</form>'; 220 220 … … 222 222 { 223 223 echo 224 '<h3 >'.__('Move this category').'</h3>'.224 '<h3 class="border-top">'.__('Move this category').'</h3>'. 225 225 '<div class="two-cols">'. 226 226 '<div class="col">'. … … 228 228 '<form action="category.php" method="post">'. 229 229 '<fieldset><legend>'.__('Category parent').'</legend>'. 230 '<p><label for="cat_parent" class="classic">'.__('Parent:').' '.231 form::combo('cat_parent',$allowed_parents,$cat_parent).'</ label></p>'.230 '<p><label for="cat_parent" class="classic">'.__('Parent:').'</label> '. 231 form::combo('cat_parent',$allowed_parents,$cat_parent).'</p>'. 232 232 '<p><input type="submit" accesskey="s" value="'.__('Save').'" />'. 233 233 form::hidden(array('id'),$cat_id).$core->formNonce().'</p>'. -
admin/comment.php
r1358 r1399 203 203 echo 204 204 '<form action="comment.php" method="post" id="comment-form">'. 205 '<p>'.__('IP address:').'<br /> '. 205 '<div class="fieldset">'. 206 '<h3>'.__('Information collected').'</h3>'. 207 '<p>'.__('IP address:').' '. 206 208 '<a href="comments.php?ip='.$comment_ip.'">'.$comment_ip.'</a></p>'. 207 209 208 '<p>'.__('Date:').' <br />'.210 '<p>'.__('Date:').' '. 209 211 dt::dt2str(__('%Y-%m-%d %H:%M'),$comment_dt).'</p>'. 210 211 '<p><label for="comment_author" class="required"><abbr title="'.__('Required field').'">*</abbr>'.__('Author:'). 212 '</div>'. 213 214 '<h3>'.__('Comment submitted').'</h3>'. 215 '<p><label for="comment_author" class="required"><abbr title="'.__('Required field').'">*</abbr>'.__('Author:').'</label>'. 212 216 form::field('comment_author',30,255,html::escapeHTML($comment_author)). 213 '</ label></p>'.214 215 '<p><label for="comment_email">'.__('Email:'). 217 '</p>'. 218 219 '<p><label for="comment_email">'.__('Email:').'</label>'. 216 220 form::field('comment_email',30,255,html::escapeHTML($comment_email)). 217 $comment_mailto.218 '</ label></p>'.219 220 '<p><label for="comment_site">'.__('Web site:'). 221 '<span>'.$comment_mailto.'</span>'. 222 '</p>'. 223 224 '<p><label for="comment_site">'.__('Web site:').'</label>'. 221 225 form::field('comment_site',30,255,html::escapeHTML($comment_site)). 222 '</ label></p>'.223 224 '<p><label for="comment_status">'.__('Status:'). 226 '</p>'. 227 228 '<p><label for="comment_status">'.__('Status:').'</label>'. 225 229 form::combo('comment_status',$status_combo,$comment_status,'','',!$can_publish). 226 '</ label></p>'.230 '</p>'. 227 231 228 232 # --BEHAVIOR-- adminAfterCommentDesc -
admin/index.php
r1379 r1399 325 325 '<form id="quick-entry" action="post.php" method="post">'. 326 326 '<fieldset><legend>'.__('New entry').'</legend>'. 327 '<p class="col"><label for="post_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:'). 327 '<p class="col"><label for="post_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'. 328 328 form::field('post_title',20,255,'','maximal'). 329 '</ label></p>'.329 '</p>'. 330 330 '<p class="area"><label class="required" '. 331 331 'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '. 332 332 form::textarea('post_content',50,7). 333 333 '</p>'. 334 '<p><label for="cat_id" class="classic">'.__('Category:').' '.335 form::combo('cat_id',$categories_combo).'</ label></p>'.334 '<p><label for="cat_id" class="classic">'.__('Category:').'</label> '. 335 form::combo('cat_id',$categories_combo).'</p>'. 336 336 '<p><input type="submit" value="'.__('Save').'" name="save" /> '. 337 337 ($core->auth->check('publish',$core->blog->id) -
admin/install/index.php
r1280 r1399 320 320 '<form action="index.php" method="post">'. 321 321 '<fieldset><legend>'.__('User information').'</legend>'. 322 '<p><label for="u_firstname">'.__('First Name:').' '.323 form::field('u_firstname',30,255,html::escapeHTML($u_firstname)).'</ label></p>'.324 '<p><label for="u_name">'.__('Last Name:').' '.325 form::field('u_name',30,255,html::escapeHTML($u_name)).'</ label></p>'.326 '<p><label for="u_email">'.__('Email:').' '.327 form::field('u_email',30,255,html::escapeHTML($u_email)).'</ label></p>'.322 '<p><label for="u_firstname">'.__('First Name:').'</label> '. 323 form::field('u_firstname',30,255,html::escapeHTML($u_firstname)).'</p>'. 324 '<p><label for="u_name">'.__('Last Name:').'</label> '. 325 form::field('u_name',30,255,html::escapeHTML($u_name)).'</p>'. 326 '<p><label for="u_email">'.__('Email:').'</label> '. 327 form::field('u_email',30,255,html::escapeHTML($u_email)).'</p>'. 328 328 '</fieldset>'. 329 329 330 330 '<fieldset><legend>'.__('Username and password').'</legend>'. 331 '<p><label for="u_login" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').' '.332 form::field('u_login',30,32,html::escapeHTML($u_login)).'</ label></p>'.333 '<p><label for="u_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Password:').' '.334 form::password('u_pwd',30,255).'</ label></p>'.335 '<p><label for="u_pwd2" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Confirm password:').' '.336 form::password('u_pwd2',30,255).'</ label></p>'.331 '<p><label for="u_login" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').'</label> '. 332 form::field('u_login',30,32,html::escapeHTML($u_login)).'</p>'. 333 '<p><label for="u_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Password:').'</label> '. 334 form::password('u_pwd',30,255).'</p>'. 335 '<p><label for="u_pwd2" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Confirm password:').'</label> '. 336 form::password('u_pwd2',30,255).'</p>'. 337 337 '</fieldset>'. 338 338 -
admin/install/wizard.php
r1179 r1399 178 178 179 179 '<form action="wizard.php" method="post">'. 180 '<p><label class="required" for="DBDRIVER"><abbr title="'.__('Required field').'">*</abbr> '.__('Database type:').' '.181 form::combo('DBDRIVER',array('MySQL'=>'mysql','PostgreSQL'=>'pgsql'),$DBDRIVER).'</ label></p>'.182 '<p><label for="DBHOST">'.__('Database Host Name:').' '.183 form::field('DBHOST',30,255,html::escapeHTML($DBHOST)).'</ label></p>'.184 '<p><label for="DBNAME">'.__('Database Name:').' '.185 form::field('DBNAME',30,255,html::escapeHTML($DBNAME)).'</ label></p>'.186 '<p><label for="DBUSER">'.__('Database User Name:').' '.187 form::field('DBUSER',30,255,html::escapeHTML($DBUSER)).'</ label></p>'.188 '<p><label for="DBPASSWORD">'.__('Database Password:').' '.189 form::password('DBPASSWORD',30,255).'</ label></p>'.190 '<p><label for="DBPREFIX" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Database Tables Prefix:').' '.191 form::field('DBPREFIX',30,255,html::escapeHTML($DBPREFIX)).'</ label></p>'.180 '<p><label class="required" for="DBDRIVER"><abbr title="'.__('Required field').'">*</abbr> '.__('Database type:').'</label> '. 181 form::combo('DBDRIVER',array('MySQL'=>'mysql','PostgreSQL'=>'pgsql'),$DBDRIVER).'</p>'. 182 '<p><label for="DBHOST">'.__('Database Host Name:').'</label> '. 183 form::field('DBHOST',30,255,html::escapeHTML($DBHOST)).'</p>'. 184 '<p><label for="DBNAME">'.__('Database Name:').'</label> '. 185 form::field('DBNAME',30,255,html::escapeHTML($DBNAME)).'</p>'. 186 '<p><label for="DBUSER">'.__('Database User Name:').'</label> '. 187 form::field('DBUSER',30,255,html::escapeHTML($DBUSER)).'</p>'. 188 '<p><label for="DBPASSWORD">'.__('Database Password:').'</label> '. 189 form::password('DBPASSWORD',30,255).'</p>'. 190 '<p><label for="DBPREFIX" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Database Tables Prefix:').'</label> '. 191 form::field('DBPREFIX',30,255,html::escapeHTML($DBPREFIX)).'</p>'. 192 192 193 193 '<p><input type="submit" value="'.__('Continue').'" /></p>'. -
admin/langs.php
r1358 r1399 227 227 '<p>'.sprintf(__('You can download and install a additional language directly from Dotclear.net. '. 228 228 'Proposed languages are based on your version: %s.'),'<strong>'.DC_VERSION.'</strong>').'</p>'. 229 '<p class="field"><label for="pkg_url" class="classic">'.__('Language:').' '.230 form::combo(array('pkg_url'),$dc_langs_combo).'</ label></p>'.231 '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '.232 form::password(array('your_pwd','your_pwd1'),20,255).'</ label></p>'.233 '< input type="submit" value="'.__('Install language').'" />'.229 '<p class="field"><label for="pkg_url" class="classic">'.__('Language:').'</label> '. 230 form::combo(array('pkg_url'),$dc_langs_combo).'</p>'. 231 '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 232 form::password(array('your_pwd','your_pwd1'),20,255).'</p>'. 233 '<p><input type="submit" value="'.__('Install language').'" />'. 234 234 $core->formNonce(). 235 '</ fieldset>'.235 '</p></fieldset>'. 236 236 '</form>'; 237 237 } … … 245 245 '<legend>'.__('Upload a zip file').'</legend>'. 246 246 '<p>'.__('You can install languages by uploading zip files.').'</p>'. 247 '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Language zip file:').' '.248 '<input type="file" id="pkg_file" name="pkg_file" /></ label></p>'.249 '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '.250 form::password(array('your_pwd','your_pwd2'),20,255).'</ label></p>'.251 '< input type="submit" name="upload_pkg" value="'.__('Upload language').'" />'.247 '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Language zip file:').'</label> '. 248 '<input type="file" id="pkg_file" name="pkg_file" /></p>'. 249 '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 250 form::password(array('your_pwd','your_pwd2'),20,255).'</p>'. 251 '<p><input type="submit" name="upload_pkg" value="'.__('Upload language').'" />'. 252 252 $core->formNonce(). 253 '</ fieldset>'.253 '</p></fieldset>'. 254 254 '</form>'; 255 255 } -
admin/media.php
r1358 r1399 317 317 echo 318 318 '<form action="media.php" method="get">'. 319 '<p><label for="file_sort" class="classic">'.__('Sort files:').' '.320 form::combo('file_sort',$sort_combo,$file_sort). '</label>'.319 '<p><label for="file_sort" class="classic">'.__('Sort files:').'</label> '. 320 form::combo('file_sort',$sort_combo,$file_sort). 321 321 form::hidden(array('popup'),$popup). 322 322 form::hidden(array('post_id'),$post_id). … … 399 399 '<legend>'.__('New directory').'</legend>'. 400 400 $core->formNonce(). 401 '<p><label for="newdir">'.__('Directory Name:'). 402 form::field(array('newdir','newdir'),35,255).'</ label></p>'.401 '<p><label for="newdir">'.__('Directory Name:').'</label>'. 402 form::field(array('newdir','newdir'),35,255).'</p>'. 403 403 '<p><input type="submit" value="'.__('Create').'" />'. 404 404 form::hidden(array('d'),html::escapeHTML($d)).'</p>'. -
admin/media_item.php
r1358 r1399 516 516 __('This will extract archive in current directory and will overwrite existing files or directory.').'</li>'. 517 517 '</ul>'. 518 '<p><label for="inflate_mode" class="classic">'.__('Extract mode:').' '.519 form::combo('inflate_mode',$inflate_combo,'new'). '</label> '.518 '<p><label for="inflate_mode" class="classic">'.__('Extract mode:').'</label> '. 519 form::combo('inflate_mode',$inflate_combo,'new'). 520 520 '<input type="submit" name="unzip" value="'.__('Extract').'" />'. 521 521 form::hidden(array('id'),$id). … … 527 527 '<form class="clear" action="'.html::escapeURL($page_url).'" method="post">'. 528 528 '<fieldset><legend>'.__('Change media properties').'</legend>'. 529 '<p><label for="media_file">'.__('File name:'). 530 form::field('media_file',30,255,html::escapeHTML($file->basename)).'</ label></p>'.531 '<p><label for="media_title">'.__('File title:'). 532 form::field('media_title',30,255,html::escapeHTML($file->media_title)).'</ label></p>'.533 '<p><label for="media_dt">'.__('File date:'). 534 form::field('media_dt',16,16,html::escapeHTML($file->media_dtstr)).'</ label></p>'.529 '<p><label for="media_file">'.__('File name:').'</label>'. 530 form::field('media_file',30,255,html::escapeHTML($file->basename)).'</p>'. 531 '<p><label for="media_title">'.__('File title:').'</label>'. 532 form::field('media_title',30,255,html::escapeHTML($file->media_title)).'</p>'. 533 '<p><label for="media_dt">'.__('File date:').'</label>'. 534 form::field('media_dt',16,16,html::escapeHTML($file->media_dtstr)).'</p>'. 535 535 '<p><label for="media_private" class="classic">'.form::checkbox('media_private',1,$file->media_priv).' '. 536 536 __('Private').'</label></p>'. 537 '<p><label for="media_path">'.__('New directory:'). 538 form::combo('media_path',$dirs_combo,dirname($file->relname)).'</ label></p>'.537 '<p><label for="media_path">'.__('New directory:').'</label>'. 538 form::combo('media_path',$dirs_combo,dirname($file->relname)).'</p>'. 539 539 '<p><input type="submit" accesskey="s" value="'.__('Save').'" />'. 540 540 form::hidden(array('id'),$id). -
admin/plugins.php
r1358 r1399 357 357 '<fieldset>'. 358 358 '<legend>'.__('Upload a zip file').'</legend>'. 359 '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file:').' '.360 '<input type="file" id="pkg_file" name="pkg_file" /></ label></p>'.361 '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '.362 form::password(array('your_pwd','your_pwd1'),20,255).'</ label></p>'.363 '< input type="submit" name="upload_pkg" value="'.__('Upload plugin').'" />'.359 '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file:').'</label> '. 360 '<input type="file" id="pkg_file" name="pkg_file" /></p>'. 361 '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 362 form::password(array('your_pwd','your_pwd1'),20,255).'</p>'. 363 '<p><input type="submit" name="upload_pkg" value="'.__('Upload plugin').'" />'. 364 364 $core->formNonce(). 365 '</ fieldset>'.365 '</p></fieldset>'. 366 366 '</form>'; 367 367 … … 371 371 '<fieldset>'. 372 372 '<legend>'.__('Download a zip file').'</legend>'. 373 '<p class="field"><label for="pkg_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file URL:').' '.374 form::field(array('pkg_url','pkg_url'),40,255).'</ label></p>'.375 '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '.376 form::password(array('your_pwd','your_pwd2'),20,255).'</ label></p>'.373 '<p class="field"><label for="pkg_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file URL:').'</label> '. 374 form::field(array('pkg_url','pkg_url'),40,255).'</p>'. 375 '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 376 form::password(array('your_pwd','your_pwd2'),20,255).'</p>'. 377 377 '<input type="submit" name="fetch_pkg" value="'.__('Download plugin').'" />'. 378 378 $core->formNonce(). -
admin/popup_link.php
r1179 r1399 40 40 echo 41 41 '<form id="link-insert-form" action="#" method="get">'. 42 '<p><label class="required" ><abbr title="'.__('Required field').'">*</abbr> '.__('Link URL:').''.43 form::field('href',35,512,html::escapeHTML($href)).'</ label></p>'.44 '<p><label >'.__('Link title:').''.45 form::field('title',35,512,html::escapeHTML($title)).'</ label></p>'.46 '<p><label >'.__('Link language:').''.42 '<p><label class="required" for="href"><abbr title="'.__('Required field').'">*</abbr> '.__('Link URL:').'</label> '. 43 form::field('href',35,512,html::escapeHTML($href)).'</p>'. 44 '<p><label for="title">'.__('Link title:').'</label> '. 45 form::field('title',35,512,html::escapeHTML($title)).'</p>'. 46 '<p><label for="hreflang">'.__('Link language:').'</label> '. 47 47 form::combo('hreflang',$lang_combo,$hreflang). 48 '</ label></p>'.48 '</p>'. 49 49 50 50 '</form>'. -
admin/popup_posts.php
r1179 r1399 53 53 54 54 echo '<form action="popup_posts.php" method="post">'. 55 '<p><label for"type" class="classic">'.__('Entry type:').' '.form::combo('type',$type_combo,$type).'</label></p>'.56 $core->formNonce(). 55 '<p><label for"type" class="classic">'.__('Entry type:').'</label> '.form::combo('type',$type_combo,$type).''. 56 $core->formNonce().'</p>'. 57 57 '<noscript><div><input type="submit" value="'.__('Ok').'" /></div></noscript>'. 58 58 '</form>'; 59 59 60 60 echo '<form action="popup_posts.php" method="get">'. 61 '<p><label for="q" class="classic">'.__('Search entry:').' '.form::field('q',30,255,html::escapeHTML($q)).'</label> '.62 ' <input type="submit" value="'.__('Search').'" /> </p>'.61 '<p><label for="q" class="classic">'.__('Search entry:').'</label> '.form::field('q',30,255,html::escapeHTML($q)). 62 ' <input type="submit" value="'.__('Search').'" />'. 63 63 form::hidden('type',html::escapeHTML($type)). 64 '</ form>';64 '</p></form>'; 65 65 66 66 try { -
admin/posts_actions.php
r1179 r1399 262 262 echo 263 263 '<form action="posts_actions.php" method="post">'. 264 '<p><label for="new_cat_id" class="classic">'.__('Category:').' '. 265 form::combo('new_cat_id',$categories_combo,''). 266 '</label> '; 264 '<p><label for="new_cat_id" class="classic">'.__('Category:').'</label> '. 265 form::combo('new_cat_id',$categories_combo,''); 267 266 268 267 echo … … 295 294 echo 296 295 '<form action="posts_actions.php" method="post">'. 297 '<p><label for="new_lang" class="classic">'.__('Entry lang:').' '. 298 form::combo('new_lang',$lang_combo,''). 299 '</label> '; 296 '<p><label for="new_lang" class="classic">'.__('Entry lang:').'</label> '. 297 form::combo('new_lang',$lang_combo,''); 300 298 301 299 echo … … 313 311 echo 314 312 '<form action="posts_actions.php" method="post">'. 315 '<p><label for="new_auth_id" class="classic">'.__('Author ID:').' '. 316 form::field('new_auth_id',20,255). 317 '</label> '; 313 '<p><label for="new_auth_id" class="classic">'.__('Author ID:').'</label> '. 314 form::field('new_auth_id',20,255); 318 315 319 316 echo -
admin/preferences.php
r1358 r1399 384 384 '<div class="two-cols">'. 385 385 '<div class="col">'. 386 '<p><label for="user_name">'.__('Last Name:'). 387 form::field('user_name',20,255,html::escapeHTML($user_name)).'</ label></p>'.388 389 '<p><label for="user_firstname">'.__('First Name:'). 390 form::field('user_firstname',20,255,html::escapeHTML($user_firstname)).'</ label></p>'.391 392 '<p><label for="user_displayname">'.__('Display name:'). 393 form::field('user_displayname',20,255,html::escapeHTML($user_displayname)).'</ label></p>'.394 395 '<p><label for="user_email">'.__('Email:'). 396 form::field('user_email',20,255,html::escapeHTML($user_email)).'</ label></p>'.397 398 '<p><label for="user_url">'.__('URL:'). 399 form::field('user_url',30,255,html::escapeHTML($user_url)).'</ label></p>'.386 '<p><label for="user_name">'.__('Last Name:').'</label>'. 387 form::field('user_name',20,255,html::escapeHTML($user_name)).'</p>'. 388 389 '<p><label for="user_firstname">'.__('First Name:').'</label>'. 390 form::field('user_firstname',20,255,html::escapeHTML($user_firstname)).'</p>'. 391 392 '<p><label for="user_displayname">'.__('Display name:').'</label>'. 393 form::field('user_displayname',20,255,html::escapeHTML($user_displayname)).'</p>'. 394 395 '<p><label for="user_email">'.__('Email:').'</label>'. 396 form::field('user_email',20,255,html::escapeHTML($user_email)).'</p>'. 397 398 '<p><label for="user_url">'.__('URL:').'</label>'. 399 form::field('user_url',30,255,html::escapeHTML($user_url)).'</p>'. 400 400 401 401 '</div>'. … … 403 403 '<div class="col">'. 404 404 405 '<p><label for="user_lang">'.__('User language:'). 406 form::combo('user_lang',$lang_combo,$user_lang,'l10n').'</ label></p>'.407 408 '<p><label for="user_tz">'.__('User timezone:'). 409 form::combo('user_tz',dt::getZones(true,true),$user_tz).'</ label></p>'.405 '<p><label for="user_lang">'.__('User language:').'</label>'. 406 form::combo('user_lang',$lang_combo,$user_lang,'l10n').'</p>'. 407 408 '<p><label for="user_tz">'.__('User timezone:').'</label>'. 409 form::combo('user_tz',dt::getZones(true,true),$user_tz).'</p>'. 410 410 411 411 '</div>'. … … 420 420 '<legend>'.__('Change your password').'</legend>'. 421 421 422 '<p><label for="new_pwd">'.__('New password:'). 423 form::password('new_pwd',20,255).'</ label></p>'.422 '<p><label for="new_pwd">'.__('New password:').'</label>'. 423 form::password('new_pwd',20,255).'</p>'. 424 424 425 '<p><label for="new_pwd_c">'.__('Confirm password:'). 426 form::password('new_pwd_c',20,255).'</ label></p>'.425 '<p><label for="new_pwd_c">'.__('Confirm password:').'</label>'. 426 form::password('new_pwd_c',20,255).'</p>'. 427 427 '</fieldset>'. 428 428 429 429 '<p>'.__('If you have changed this user email or password you must provide your current password to save these modifications.').'</p>'. 430 '<p><label for="cur_pwd">'.__('Your password:'). 431 form::password('cur_pwd',20,255).'</ label></p>';430 '<p><label for="cur_pwd">'.__('Your password:').'</label>'. 431 form::password('cur_pwd',20,255).'</p>'; 432 432 } 433 433 … … 447 447 '<fieldset><legend>'.__('My options').'</legend>'. 448 448 449 '<p><label for="user_post_format">'.__('Preferred format:'). 450 form::combo('user_post_format',$formaters_combo,$user_options['post_format']).'</ label></p>'.451 452 '<p><label for="user_post_status">'.__('Default entry status:'). 453 form::combo('user_post_status',$status_combo,$user_post_status).'</ label></p>'.454 455 '<p><label for="user_edit_size">'.__('Entry edit field height:'). 456 form::field('user_edit_size',5,4,(integer) $user_options['edit_size']).'</ label></p>'.449 '<p><label for="user_post_format">'.__('Preferred format:').'</label>'. 450 form::combo('user_post_format',$formaters_combo,$user_options['post_format']).'</p>'. 451 452 '<p><label for="user_post_status">'.__('Default entry status:').'</label>'. 453 form::combo('user_post_status',$status_combo,$user_post_status).'</p>'. 454 455 '<p><label for="user_edit_size">'.__('Entry edit field height:').'</label>'. 456 form::field('user_edit_size',5,4,(integer) $user_options['edit_size']).'</p>'. 457 457 458 458 '<p><label for="user_wysiwyg" class="classic">'. … … 470 470 if (count($iconsets_combo) > 1) { 471 471 echo 472 '<p><label for="user_ui_iconset">'.__('Iconset:'). 473 form::combo('user_ui_iconset',$iconsets_combo,$user_ui_iconset).'</ label></p>';472 '<p><label for="user_ui_iconset">'.__('Iconset:').'</label>'. 473 form::combo('user_ui_iconset',$iconsets_combo,$user_ui_iconset).'</p>'; 474 474 } else { 475 475 form::hidden('user_ui_iconset',''); -
admin/style/default.css
r1396 r1399 260 260 /* -------------------------------------------------------------- layout - onglets */ 261 261 .part-tabs ul { 262 padding: .5em 0 .3em 0; 263 margin-left: 1em; 262 padding: .5em 0 .3em 1.2rem; 264 263 border-bottom: 1px solid #ddd; 265 264 } … … 276 275 text-decoration: none; 277 276 color: #333; 278 background-color:#e deded;277 background-color:#eef; 279 278 } 280 279 .part-tabs li a:hover, .part-tabs li a:focus { … … 539 538 #entry-content { 540 539 margin-right: 19em; 541 margin-left: 1.2rem; 540 margin-left: 0; 541 } 542 .multi-part { 543 padding-left: 1.2rem; 542 544 } 543 545 #entry-content label { … … 980 982 } 981 983 .nav_prevnext a, a.back { 982 border: 1px solid # eee;984 border: 1px solid #ddd; 983 985 padding: .2rem 2rem; 984 986 border-radius: 1rem; 985 background-color: #ee f;987 background-color: #eee; 986 988 } 987 989 a.back:before { … … 1439 1441 input[type=submit].delete { 1440 1442 color: #c00; 1441 padding-bottom: . 1em;1443 padding-bottom: .2rem; 1442 1444 } 1443 1445 #entry-content .delete { -
admin/style/jsToolBar/jsToolBar.css
r1394 r1399 12 12 .jstEditor textarea { 13 13 width: 99%; 14 padding: 1rem 0 1rem1%;14 padding: 1rem 0 0 1%; 15 15 } 16 16 .jstHandle { -
admin/trackbacks.php
r1358 r1399 127 127 '<h3>'.__('Ping blogs').'</h3>'. 128 128 '<form action="trackbacks.php" id="trackback-form" method="post">'. 129 '<p><label for="tb_urls" class="area">'.__('URLs to ping:'). 129 '<p><label for="tb_urls" class="area">'.__('URLs to ping:').'</label>'. 130 130 form::textarea('tb_urls',60,5,$tb_urls). 131 '</ label></p>'.131 '</p>'. 132 132 133 '<p><label for="tb_excerpt" class="area">'.__('Send excerpt:'). 134 form::textarea('tb_excerpt',60,3,$tb_excerpt).'</ label></p>'.133 '<p><label for="tb_excerpt" class="area">'.__('Send excerpt:').'</label>'. 134 form::textarea('tb_excerpt',60,3,$tb_excerpt).'</p>'. 135 135 136 136 '<p>'.form::hidden('id',$id). -
admin/user.php
r1358 r1399 203 203 '<div class="two-cols">'. 204 204 '<div class="col">'. 205 '<p><label for="user_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').' '.205 '<p><label for="user_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').'</label> '. 206 206 form::field('user_id',20,255,html::escapeHTML($user_id)). 207 '</ label></p>'.207 '</p>'. 208 208 '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p>'. 209 209 210 210 '<p><label for="new_pwd" '.($user_id != '' ? '' : 'class="required"').'>'. 211 211 ($user_id != '' ? '' : '<abbr title="'.__('Required field').'">*</abbr> '). 212 ($user_id != '' ? __('New password:') : __('Password:')).' '.212 ($user_id != '' ? __('New password:') : __('Password:')).'</label> '. 213 213 form::password('new_pwd',20,255). 214 '</ label></p>'.214 '</p>'. 215 215 '<p class="form-note">'.__('Password must contain at least 6 characters.').'</p>'. 216 216 217 217 '<p><label for="new_pwd_c" '.($user_id != '' ? '' : 'class="required"').'>'. 218 ($user_id != '' ? '' : '<abbr title="'.__('Required field').'">*</abbr> ').__('Confirm password:').' '.218 ($user_id != '' ? '' : '<abbr title="'.__('Required field').'">*</abbr> ').__('Confirm password:').'</label> '. 219 219 form::password('new_pwd_c',20,255). 220 '</ label></p>'.221 222 '<p><label for="user_name">'.__('Last Name:').' '.220 '</p>'. 221 222 '<p><label for="user_name">'.__('Last Name:').'</label> '. 223 223 form::field('user_name',20,255,html::escapeHTML($user_name)). 224 '</ label></p>'.225 226 '<p><label for="user_firstname">'.__('First Name:').' '.224 '</p>'. 225 226 '<p><label for="user_firstname">'.__('First Name:').'</label> '. 227 227 form::field('user_firstname',20,255,html::escapeHTML($user_firstname)). 228 228 '</label></p>'. … … 230 230 '<p><label for="user_displayname">'.__('Display name:').' '. 231 231 form::field('user_displayname',20,255,html::escapeHTML($user_displayname)). 232 '</ label></p>'.233 234 '<p><label for="user_email">'.__('Email:').' '.232 '</p>'. 233 234 '<p><label for="user_email">'.__('Email:').'</label> '. 235 235 form::field('user_email',20,255,html::escapeHTML($user_email)). 236 '</ label></p>'.236 '</p>'. 237 237 '<p class="form-note">'.__('Mandatory for password recovering procedure.').'</p>'. 238 238 '</div>'. 239 239 240 240 '<div class="col">'. 241 '<p><label for="user_url">'.__('URL:').' '.241 '<p><label for="user_url">'.__('URL:').'</label> '. 242 242 form::field('user_url',30,255,html::escapeHTML($user_url)). 243 '</ label></p>'.244 '<p><label for="user_post_format">'.__('Preferred format:').' '.243 '</p>'. 244 '<p><label for="user_post_format">'.__('Preferred format:').'</label> '. 245 245 form::combo('user_post_format',$formaters_combo,$user_options['post_format']). 246 '</ label></p>'.247 248 '<p><label for="user_post_status">'.__('Default entry status:').' '.246 '</p>'. 247 248 '<p><label for="user_post_status">'.__('Default entry status:').'</label> '. 249 249 form::combo('user_post_status',$status_combo,$user_post_status). 250 '</ label></p>'.251 252 '<p><label for="user_edit_size">'.__('Entry edit field height:').' '.250 '</p>'. 251 252 '<p><label for="user_edit_size">'.__('Entry edit field height:').'</label> '. 253 253 form::field('user_edit_size',5,4,(integer) $user_options['edit_size']). 254 '</ label></p>'.255 256 '<p><label for="user_lang">'.__('User language:').' '.254 '</p>'. 255 256 '<p><label for="user_lang">'.__('User language:').'</label> '. 257 257 form::combo('user_lang',$lang_combo,$user_lang,'l10n'). 258 '</ label></p>'.259 260 '<p><label for="user_tz">'.__('User timezone:').' '.258 '</p>'. 259 260 '<p><label for="user_tz">'.__('User timezone:').'</label> '. 261 261 form::combo('user_tz',dt::getZones(true,true),$user_tz). 262 '</ label></p>';262 '</p>'; 263 263 264 264 if ($core->auth->allowPassChange()) { … … 283 283 echo 284 284 '<p><label for="your_pwd" '.($user_id != '' ? '' : 'class="required"').'>'. 285 ($user_id != '' ? '' : '<abbr title="'.__('Required field').'">*</abbr> ').__('Your password:'). 286 form::password('your_pwd',20,255).'</ label></p>'.285 ($user_id != '' ? '' : '<abbr title="'.__('Required field').'">*</abbr> ').__('Your password:').'</label>'. 286 form::password('your_pwd',20,255).'</p>'. 287 287 '<p class="clear"><input type="submit" name="save" accesskey="s" value="'.__('Save').'" />'. 288 288 ($user_id != '' ? '' : ' <input type="submit" name="saveplus" value="'.__('Save and create another').'" />'). -
admin/users_actions.php
r1358 r1399 285 285 echo 286 286 '<fieldset><legend>'.__('Validate permissions').'</legend>'. 287 '<p><label for="your_pwd">'.__('Your password:'). 288 form::password('your_pwd',20,255).'</ label></p>'.287 '<p><label for="your_pwd">'.__('Your password:').'</label>'. 288 form::password('your_pwd',20,255).'</p>'. 289 289 '</fieldset>'. 290 290 '<p><input type="submit" accesskey="s" value="'.__('Save').'" />'.
Note: See TracChangeset
for help on using the changeset viewer.