Changeset 850 for trunk/bp-xprofile/bp-xprofile-admin.php
- Timestamp:
- 01/15/2009 11:18:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-admin.php
r732 r850 74 74 <th scope="col" colspan="<?php if ( $groups[$i]->can_delete ) { ?>3<?php } else { ?>5<?php } ?>"><?php echo $groups[$i]->name; ?></th> 75 75 <?php if ( $groups[$i]->can_delete ) { ?> 76 <th scope="col" width="5%"><a class="edit" href="admin.php?page=xprofile_settings&mode=edit_group&group_id=<?php echo $groups[$i]->id; ?>"> Edit</a></th>77 <th scope="col" width="5%"><a class="delete" href="admin.php?page=xprofile_settings&mode=delete_group&group_id=<?php echo $groups[$i]->id; ?>"> Delete</a></th>76 <th scope="col" width="5%"><a class="edit" href="admin.php?page=xprofile_settings&mode=edit_group&group_id=<?php echo $groups[$i]->id; ?>"><?php _e( 'Edit', 'buddypress' ) ?></a></th> 77 <th scope="col" width="5%"><a class="delete" href="admin.php?page=xprofile_settings&mode=delete_group&group_id=<?php echo $groups[$i]->id; ?>"><?php _e( 'Delete', 'buddypress' ) ?></a></th> 78 78 <?php } ?> 79 79 </tr> … … 81 81 <tbody id="the-list"> 82 82 <tr class="header nodrag"> 83 <td> Field Name</td>84 <td width="14%"> Field Type</td>85 <td width="6%"> Required?</td>86 <td colspan="2" width="10%" style="text-align:center;"> Action</td>83 <td><?php _e( 'Field Name', 'buddypress' ) ?></td> 84 <td width="14%"><?php _e( 'Field Type', 'buddypress' ) ?></td> 85 <td width="6%"><?php _e( 'Required?', 'buddypress' ) ?></td> 86 <td colspan="2" width="10%" style="text-align:center;"><?php _e( 'Action', 'buddypress' ) ?></td> 87 87 </tr> 88 88 … … 97 97 <td><?php echo $field->type; ?></td> 98 98 <td style="text-align:center;"><?php if ( $field->is_required ) { echo '<img src="' . $bp['profile']['image_base'] . '/tick.gif" alt="Yes" />'; } else { ?>--<?php } ?></td> 99 <td style="text-align:center;"><?php if ( !$field->can_delete ) { ?><strike> Edit</strike><?php } else { ?><a class="edit" href="admin.php?page=xprofile_settings&group_id=<?php echo $groups[$i]->id; ?>&field_id=<?php echo $field->id; ?>&mode=edit_field">Edit</a><?php } ?></td>100 <td style="text-align:center;"><?php if ( !$field->can_delete ) { ?><strike> Delete</strike><?php } else { ?><a class="delete" href="admin.php?page=xprofile_settings&field_id=<?php echo $field->id; ?>&mode=delete_field">Delete</a><?php } ?></td>99 <td style="text-align:center;"><?php if ( !$field->can_delete ) { ?><strike><?php _e( 'Edit', 'buddypress' ) ?></strike><?php } else { ?><a class="edit" href="admin.php?page=xprofile_settings&group_id=<?php echo $groups[$i]->id; ?>&field_id=<?php echo $field->id; ?>&mode=edit_field"><?php _e( 'Edit', 'buddypress' ) ?></a><?php } ?></td> 100 <td style="text-align:center;"><?php if ( !$field->can_delete ) { ?><strike><?php _e( 'Delete', 'buddypress' ) ?></strike><?php } else { ?><a class="delete" href="admin.php?page=xprofile_settings&field_id=<?php echo $field->id; ?>&mode=delete_field"><?php _e( 'Delete', 'buddypress' ) ?></a><?php } ?></td> 101 101 </tr> 102 102 … … 104 104 <?php } else { ?> 105 105 <tr class="nodrag"> 106 <td colspan="6"> There are no fields in this group.</td>106 <td colspan="6"><?php _e( 'There are no fields in this group.', 'buddypress' ) ?></td> 107 107 </tr> 108 108 <?php } ?> 109 109 <tr class="nodrag"> 110 <td colspan="6"><a href="admin.php?page=xprofile_settings&group_id=<?php echo $groups[$i]->id; ?>&mode=add_field"> Add New Field</a></td>110 <td colspan="6"><a href="admin.php?page=xprofile_settings&group_id=<?php echo $groups[$i]->id; ?>&mode=add_field"><?php _e( 'Add New Field', 'buddypress' ) ?></a></td> 111 111 </tr> 112 112 </tbody> … … 117 117 118 118 <p> 119 <a href="admin.php?page=xprofile_settings&mode=add_group"> Add New Group</a>119 <a href="admin.php?page=xprofile_settings&mode=add_group"><?php _e( 'Add New Group', 'buddypress' ) ?></a> 120 120 </p> 121 121 122 122 <?php } else { ?> 123 123 <div id="message" class="error"><p>You have no groups.</p></div> 124 <p><a href="admin.php?page=xprofile_settings&mode=add_group"> Add a Group</a></p>124 <p><a href="admin.php?page=xprofile_settings&mode=add_group"><?php _e( 'Add New Group', 'buddypress' ) ?></a></p> 125 125 <?php } ?> 126 126 </div>
Note: See TracChangeset
for help on using the changeset viewer.