diff --git a/Source/pages/repo_manage_page.php b/Source/pages/repo_manage_page.php index efe6c2f..175493c 100644 --- a/Source/pages/repo_manage_page.php +++ b/Source/pages/repo_manage_page.php @@ -12,22 +12,25 @@ $t_mappings = $t_repo->load_mappings(); + function display_strategies( $p_type=null ) { + $t_strategies = array(); if ( is_null( $p_type ) ) { + $t_strategies[] = array( 0, 'select_one' ); echo ''; } + $t_strategies[] = array( SOURCE_EXPLICIT, 'mapping_explicit' ); + if( !Source_PVM() ) { + $t_strategies[] = array( SOURCE_NEAR, 'mapping_near' ); + $t_strategies[] = array( SOURCE_FAR, 'mapping_far' ); + $t_strategies[] = array( SOURCE_FIRST, 'mapping_first' ); + $t_strategies[] = array( SOURCE_LAST, 'mapping_last' ); + } - echo ''; - if ( !Source_PVM() ) { - echo '', - ''; - echo '', - ''; + foreach( $t_strategies as $t_strategy ) { + echo "\n" . ''; } } @@ -39,13 +42,14 @@ } if ( is_null( $t_version_id ) ) { - echo ""; + echo "\n" . ''; } foreach( $s_products as $t_product ) { foreach( $t_product->versions as $t_version ) { - echo ""; + echo "\n" . '"; } } } @@ -55,123 +59,144 @@ ?>
- +
-
- - - +

+
+ +
- - - - +
- -
name ) ?>
+ + + + - - - - + + + + - - - - + + + + - - - - + + + + +
name ) ?>
url ) ?>
url ) ?>
info) ?>
info) ?>
- - - - - +
+
+ +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
- - -
- -
-
- - -
- - -
- - -
-
- - -
- - + - - -
+ + +
+

- - +
-
- - + - - - - - - - +
+ + + + + + + + + -branch ); ?> + + - - - - + foreach( $t_mappings as $t_mapping ) { + $t_branch = str_replace( '.', '_', $t_mapping->branch ); + if( is_null( $t_mapping->branch ) ) { +?> + + + + + + + - + - - - - + + - + + + +
+ + + + + + + +
+ + + +
+ - - - - - - - - - +
+ +
- - - - -
+
- +