diff --git a/module/user/css/common.css b/module/user/css/common.css deleted file mode 100644 index b7355c499c..0000000000 --- a/module/user/css/common.css +++ /dev/null @@ -1,2 +0,0 @@ -.todoheader {margin-bottom:5px;} -.todoheader .active{color:#009900; font-weight:bold;} diff --git a/module/user/view/dynamic.html.php b/module/user/view/dynamic.html.php index aa49a51b1e..debb912874 100644 --- a/module/user/view/dynamic.html.php +++ b/module/user/view/dynamic.html.php @@ -13,52 +13,47 @@ - - - - - +
+
+ " . html::a(inLink('dynamic', "period=today&account=$account"), $lang->action->dynamic->today) . ''; + echo "" . html::a(inLink('dynamic', "period=yesterday&account=$account"), $lang->action->dynamic->yesterday) . ''; + echo "" . html::a(inLink('dynamic', "period=twodaysago&account=$account"), $lang->action->dynamic->twoDaysAgo) . ''; + echo "" . html::a(inLink('dynamic', "period=thisweek&account=$account"), $lang->action->dynamic->thisWeek) . ''; + echo "" . html::a(inLink('dynamic', "period=lastweek&account=$account"), $lang->action->dynamic->lastWeek) . ''; + echo "" . html::a(inLink('dynamic', "period=thismonth&account=$account"), $lang->action->dynamic->thisMonth) . ''; + echo "" . html::a(inLink('dynamic', "period=lastmonth&account=$account"), $lang->action->dynamic->lastMonth) . ''; + echo "" . html::a(inLink('dynamic', "period=all&account=$account"), $lang->action->dynamic->all) . ''; + ?> +
+
+
-
user->dynamic;?>
-
- action->dynamic->today) . '
'; - echo html::a(inLink('dynamic', "period=yesterday&account=$account"), $lang->action->dynamic->yesterday) . '
'; - echo html::a(inLink('dynamic', "period=twodaysago&account=$account"), $lang->action->dynamic->twoDaysAgo) . '
'; - echo html::a(inLink('dynamic', "period=thisweek&account=$account"), $lang->action->dynamic->thisWeek) . '
'; - echo html::a(inLink('dynamic', "period=lastweek&account=$account"), $lang->action->dynamic->lastWeek) . '
'; - echo html::a(inLink('dynamic', "period=thismonth&account=$account"), $lang->action->dynamic->thisMonth) . '
'; - echo html::a(inLink('dynamic', "period=lastmonth&account=$account"), $lang->action->dynamic->lastMonth) . '
'; - echo html::a(inLink('dynamic', "period=all&account=$account"), $lang->action->dynamic->all) . '
'; - ?> -
-
- - - - - - - - - - - - - - objectType == 'case' ? 'testcase' : $action->objectType;?> - - - - - - - - - - - -
action->date;?> action->actor;?>action->action;?> action->objectType;?> idAB;?>action->objectName;?>
date;?>actor];?>actionLabel;?>action->objectTypes[$action->objectType];?>objectID;?>objectLink, $action->objectName);?>
show();?>
-
+ + + + + + + + + + + + objectType == 'case' ? 'testcase' : $action->objectType;?> + + + + + + + + + + +
action->date;?> action->actor;?>action->action;?> action->objectType;?> idAB;?>action->objectName;?>
date;?>actor];?>actionLabel;?>action->objectTypes[$action->objectType];?>objectID;?>objectLink, $action->objectName);?>
show();?>
+ diff --git a/module/user/view/todo.html.php b/module/user/view/todo.html.php index 2229d24a24..1e7e1c66b1 100644 --- a/module/user/view/todo.html.php +++ b/module/user/view/todo.html.php @@ -14,15 +14,17 @@ -
+
+
todo->periods as $period => $label) - { - $vars = "account={$account}&date=$period"; - if($period == 'before') $vars .= "&status=undone"; - echo "" . html::a(inlink('todo', $vars), $label) . ' '; - } - ?> + foreach($lang->todo->periods as $period => $label) + { + $vars = "account={$account}&date=$period"; + if($period == 'before') $vars .= "&status=undone"; + echo "" . html::a(inlink('todo', $vars), $label) . ' '; + } + ?> +
' id='todoform'> @@ -57,8 +59,6 @@