File inc/user/repo-page.php changed (mode: 100644) (index 9e191ae..e8bc46c) |
... |
... |
if (strcmp($_subop, "history") == 0) { |
208 |
208 |
if ($log === FALSE) { |
if ($log === FALSE) { |
209 |
209 |
$_repo_body .= rg_template("repo/not_init.html", $rg, |
$_repo_body .= rg_template("repo/not_init.html", $rg, |
210 |
210 |
TRUE /*xss*/); |
TRUE /*xss*/); |
|
211 |
|
$go_on = FALSE; |
211 |
212 |
} else { |
} else { |
212 |
213 |
//rg_log_ml("DEBUG: log: " . print_r($log, TRUE)); |
//rg_log_ml("DEBUG: log: " . print_r($log, TRUE)); |
213 |
214 |
$_repo_body .= rg_git_log_template($log, "repo/log", $rg); |
$_repo_body .= rg_git_log_template($log, "repo/log", $rg); |
|
215 |
|
$go_on = TRUE; |
214 |
216 |
} |
} |
215 |
217 |
|
|
216 |
218 |
$type = array_shift($paras); |
$type = array_shift($paras); |
217 |
219 |
//rg_log("DEBUG: log: type=$type"); |
//rg_log("DEBUG: log: type=$type"); |
218 |
|
if (strcmp($type, "commit") == 0) { |
|
|
220 |
|
if ($go_on && (strcmp($type, "commit") == 0)) { |
219 |
221 |
if (empty($paras)) |
if (empty($paras)) |
220 |
222 |
$commit = FALSE; |
$commit = FALSE; |
221 |
223 |
else |
else |