Skip to content

Commit 682de55

Browse files
committed
Fix SourceGitphp repository update page
Replace 1.3.x style layout with Modern UI layout.
1 parent 4e53893 commit 682de55

File tree

1 file changed

+18
-24
lines changed

1 file changed

+18
-24
lines changed

SourceGitphp/SourceGitphp.php

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -87,30 +87,24 @@ public function update_repo_form( $p_repo ) {
8787
$t_master_branch = 'master';
8888
}
8989
?>
90-
<div class="field-container">
91-
<label><span><?php echo plugin_lang_get( 'gitphp_root' ) ?></span></label>
92-
<span class="input">
93-
<input name="gitphp_root" maxlength="250" size="40" value="<?php echo string_attribute( $t_gitphp_root ) ?>"/>
94-
</span>
95-
<span class="label-style"></span>
96-
</div>
97-
98-
<div class="field-container">
99-
<label><span><?php echo plugin_lang_get( 'gitphp_project' ) ?></span></label>
100-
<span class="input">
101-
<input name="gitphp_project" maxlength="250" size="40" value="<?php echo string_attribute( $t_gitphp_project ) ?>"/>
102-
</span>
103-
<span class="label-style"></span>
104-
</div>
105-
106-
<div class="field-container">
107-
<label><span><?php echo plugin_lang_get( 'master_branch' ) ?></span></label>
108-
<span class="input">
109-
<input name="master_branch" maxlength="250" size="40" value="<?php echo string_attribute( $t_master_branch ) ?>"/>
110-
</span>
111-
<span class="label-style"></span>
112-
</div>
113-
90+
<tr>
91+
<td class="category"><?php echo plugin_lang_get( 'gitphp_root' ) ?></td>
92+
<td>
93+
<input type="text" name="gitphp_root" maxlength="250" size="40" value="<?php echo string_attribute( $t_gitphp_root ) ?>"/>
94+
</td>
95+
</tr>
96+
<tr>
97+
<td class="category"><?php echo plugin_lang_get( 'gitphp_project' ) ?></td>
98+
<td>
99+
<input type="text" name="gitphp_project" maxlength="250" size="40" value="<?php echo string_attribute( $t_gitphp_project ) ?>"/>
100+
</td>
101+
</tr>
102+
<tr>
103+
<td class="category"><?php echo plugin_lang_get( 'master_branch' ) ?></td>
104+
<td>
105+
<input type="text" name="master_branch" maxlength="250" size="40" value="<?php echo string_attribute( $t_master_branch ) ?>"/>
106+
</td>
107+
</tr>
114108
<?php
115109
}
116110

0 commit comments

Comments
 (0)