コード例 #1
0
ファイル: new-layout.php プロジェクト: nyeholt/relapse
		background: url(<?php 
echo theme_resource('images/bg_menu.gif');
?>
);
	}
	
	#menu li a.current {
		background: url(<?php 
echo theme_resource('images/bg_menu.gif');
?>
);
	}
	
	#nav a:hover{
		background: url(<?php 
echo theme_resource('images/bg_t.gif');
?>
) no-repeat;
		background-color: #fff;
	}	
	
	</style>
	
	<script type="text/javascript">
	var CURRENT_USER_ID = '<?php 
echo za()->getUser()->getUsername();
?>
';
	
	var NOTES_URL = '<?php 
echo build_url('note', 'view');
コード例 #2
0
ファイル: record.php プロジェクト: nyeholt/relapse
<html>
<head>
<title>Timer</title>
<link type="text/css" rel="stylesheet" href="<?php 
echo theme_resource('relapse-style.css');
?>
" />

<?php 
$this->script(theme_resource('jquery-1.4.1.min.js'));
$this->script(resource('jq-plugins/formAjax.js'));
?>

<script type="text/javascript">
    $(document).ready(
        function () {
            window.focus();
		    setCompletion(<?php 
echo $this->task->getPercentage();
?>
);
        }
    );

    var updateTimeout;
	
	function updateTime()
	{
		// Get the current endtime
		var endtime = $('#endtime').val();
		var recordId = $('#record-id').val();
コード例 #3
0
ファイル: new-layout.php プロジェクト: nyeholt/relapse
$this->script(theme_resource('relapse.js'));
?>
	<?php 
$this->script(theme_resource('relapse-projects.js'));
?>
	<?php 
$this->script(theme_resource('relapse-clients.js'));
?>
	<?php 
$this->script(theme_resource('relapse-features.js'));
?>
	<?php 
$this->script(theme_resource('relapse-tasks.js'));
?>
	<?php 
$this->script(theme_resource('relapse-issues.js'));
?>

	<script type="text/javascript">
	var CURRENT_USER_ID = '<?php 
echo za()->getUser()->getUsername();
?>
';
	var NOTES_URL = '<?php 
echo build_url('note', 'view');
?>
';
	var VALIDATION_TOKEN = '<?php 
echo $this->requestValidator(true);
?>
';
コード例 #4
0
ファイル: new-layout.php プロジェクト: nyeholt/relapse
$this->script(theme_resource('relapse.js'));
?>
	<?php 
$this->script(theme_resource('relapse-projects.js'));
?>
	<?php 
$this->script(theme_resource('relapse-features.js'));
?>
	<?php 
$this->script(theme_resource('relapse-tasks.js'));
?>
	<?php 
$this->script(theme_resource('relapse-issues.js'));
?>
	<?php 
$this->script(theme_resource('relapse-clients.js'));
?>

	<script type="text/javascript">
	var CURRENT_USER_ID = '<?php 
echo za()->getUser()->getUsername();
?>
';
	var NOTES_URL = '<?php 
echo build_url('note', 'view');
?>
';
	var VALIDATION_TOKEN = '<?php 
echo $this->requestValidator(true);
?>
';