| [ Index ] |
PHP Cross Reference of GlotPress |
[Summary view] [Print] [Text view]
1 <dl> 2 <dt><label for="project[name]"><?php _e('Name'); ?></label></dt> 3 <dd><input type="text" name="project[name]" value="<?php echo esc_html( $project->name ); ?>" id="project[name]"></dd> 4 5 <!-- TODO: make slug edit WordPress style --> 6 <dt><label for="project[slug]"><?php _e('Slug'); ?></label></dt> 7 <dd> 8 <input type="text" name="project[slug]" value="<?php echo esc_html( $project->slug ); ?>" id="project[slug]"> 9 <small><?php _e('If you leave the slug empty, it will be derived from the name.'); ?></small> 10 </dd> 11 12 <dt><label for="project[description]"><?php _e('Description'); ?></label> <span class="ternary">can include HTML</span></dt> 13 <dd><textarea name="project[description]" rows="4" cols="40" id="project[description]"><?php echo esc_html( $project->description ); ?></textarea></dd> 14 15 <dt><label for="project[source_url_template]"><?php _e('Source file URL'); ?></label></dt> 16 <dd> 17 <input type="text" value="<?php echo esc_html( $project->source_url_template ); ?>" name="project[source_url_template]" id="project[source_url_template]" style="width: 30em;" /> 18 <span class="ternary"><?php _e('Public URL to a source file in the project. You can use <code>%file%</code> and <code>%line%</code>. Ex. <code>http://trac.example.org/browser/%file%#L%line%</code>'); ?></span> 19 </dd> 20 21 <dt><label for="project[parent_project_id]"><?php _e('Parent Project'); ?></label></dt> 22 <dd><?php echo gp_projects_dropdown( 'project[parent_project_id]', $project->parent_project_id); ?></dd> 23 24 <dt><label for="project[active]"><?php _e('Active'); ?></label> <input type="checkbox" id="project[active]" name="project[active]" <?php gp_checked( $project->active ); ?> /></dt> 25 </dl> 26 27 <?php echo gp_js_focus_on( 'project[name]' ); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu May 24 03:59:35 2012 | Hosted by follow the white rabbit. |