return false;
}
if (strlen($description) < 10) {
- $this->setError(_('Document Description Must Be At Least 10 Characters'));
+ $this->setError(_('Subproject Description Must Be At Least 10 Characters'));
return false;
}
if ($send_all_posts_to) {
return false;
}
if (strlen($description) < 10) {
- $this->setError(_('Document Description Must Be At Least 10 Characters'));
+ $this->setError(_('Subproject Description Must Be At Least 10 Characters'));
return false;
}
if ($statusDeploy)
echo '<p class="warning">'._('Hooks management update process waiting ...').'</p>';
- echo '<h3>'._('Enable Repository Hooks').'</h3>';
+ echo '<h2>'._('Enable Repository Hooks').'</h2>';
$hooksPreCommit = array();
$hooksPostCommit = array();
foreach ($hooksAvailable as $hook) {
}
}
if (count($hooksPreCommit)) {
- echo '<h4>'._('pre-commit Hooks').'</h4>';
+ echo '<h3>'._('pre-commit Hooks').'</h3>';
$tabletop = array('', _('Hook Name'), _('Description'));
$classth = array('unsortable', '', '');
echo $HTML->listTableTop($tabletop, false, 'sortable_scmhook_precommit', 'sortable', $classth);
echo $HTML->listTableBottom();
}
if (count($hooksPostCommit)) {
- echo '<h4>'._('post-commit Hooks').'</h4>';
+ echo '<h3>'._('post-commit Hooks').'</h3>';
$tabletop = array('', _('Hook Name'), _('Description'));
$classth = array('unsortable', '', '');
echo $HTML->listTableTop($tabletop, false, 'sortable_scmhook_postcommit', 'sortable', $classth);
}
echo $HTML->listTableBottom();
}
- echo '</div>';
+ echo '</div><p />';
} else {
echo '<p class="information">'._('No hooks available').'</p>';
}
*/
require dirname(__FILE__).'/../../env.inc.php';
-
-require $gfwww.'include/squal_pre.php';
+require_once $gfcommon.'include/pre.php';
require_once $gfcommon.'include/cron_utils.php';
require_once $gfplugins.'scmhook/common/scmhookPlugin.class.php';
break;
}
default: {
- cron_debug("WARNING No scm plugin found for this project ".$group->getUnixName()." or no cronjobs for thi type");
+ cron_debug("WARNING No scm plugin found for this project ".$group->getUnixName()." or no cronjobs for this type");
$returnvalue = false;
break;
}