예제 #1
0
echo $this->status['toolid'];
?>
" />
						<input type="hidden" name="toolname" value="<?php 
echo $this->status['toolname'];
?>
" />
						<input type="hidden" name="newstate" id="newstate" value="" />
					</fieldset>
				</form>
				<?php 
$sitename = Config::get('sitename');
$hubShortURL = str_replace('https://', '', Request::base());
//$hubShortURL;
// get tool access text
$toolaccess = \Components\Tools\Helpers\Html::getToolAccess($this->status['exec'], $this->status['membergroups']);
$live_site = rtrim(Request::base(), '/');
$developer_url = $live_site = "https://" . preg_replace('#^(https://|http://)#', '', $live_site);
// get configurations/ defaults
$developer_site = $this->config->get('developer_site', 'hubFORGE');
$rappture_url = $this->config->get('rappture_url', '');
$learn_url = $this->config->get('learn_url', '');
$project_path = $this->config->get('project_path', '/tools/');
$dev_suffix = $this->config->get('dev_suffix', '_dev');
// set common paths
$this->statuspath = Route::url('index.php?option=' . $this->option . '&controller=' . $this->controller . '&task=status&app=' . $this->status['toolname']);
$testpath = Route::url('index.php?option=' . $this->option . '&controller=sessions&task=invoke&app=' . $this->status['toolname'] . '&version=test');
switch ($this->status['state']) {
    //  registered
    case 1:
        ?>