Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
5ee7fe59
Commit
5ee7fe59
authored
Nov 27, 2006
by
Richard Mansfield
Browse files
Clean up view submitted message
parent
64b7e234
Changes
2
Show whitespace changes
Inline
Side-by-side
htdocs/lang/en.utf8/mahara.php
View file @
5ee7fe59
...
...
@@ -211,6 +211,7 @@ $string['editviewinformation'] = 'Edit View Information';
$string
[
'myviews'
]
=
'My Views'
;
$string
[
'submitview'
]
=
'Submit View'
;
$string
[
'viewdeleted'
]
=
'View deleted'
;
$string
[
'viewsubmittedto'
]
=
'This view has been submitted to %s'
;
// view user
$string
[
'fullname'
]
=
'Full name'
;
...
...
htdocs/view/index.php
View file @
5ee7fe59
...
...
@@ -30,7 +30,7 @@ require(dirname(dirname(__FILE__)) . '/init.php');
$wwwroot
=
get_config
(
'wwwroot'
);
$strings
=
array
(
'accessstartdate'
,
'accessenddate'
,
'artefacts'
,
'delete'
,
'description'
,
'editaccess'
,
'editview'
,
'editviewinformation'
,
'submitted'
,
'submittedto'
,
'editaccess'
,
'editview'
,
'editviewinformation'
,
'submitted'
,
'submitview'
,
'submitviewquestion'
,
'unknownerror'
);
$getstring
=
array
();
foreach
(
$strings
as
$string
)
{
...
...
@@ -65,7 +65,7 @@ function title(r, communities) {
var del = INPUT({'type':'button','value':{$getstring['delete']}});
del.onclick = function () { submitform(r.id, 'delete'); };
if (r.submittedto) {
var assess =
{$
getstring
['
submitted
']} + ': ' +
r.submittedto;
var assess = get
_
string
('view
submitted
to',
r.submittedto
)
;
}
else {
var assess = assessselect(r.id,communities);
...
...
@@ -193,7 +193,7 @@ viewlist.updateOnLoad();
JAVASCRIPT;
$smarty
=
smarty
(
array
(
'tablerenderer'
));
$smarty
=
smarty
(
array
(
'tablerenderer'
)
,
array
(),
array
(
'viewsubmittedto'
)
);
$smarty
->
assign
(
'site_menu'
,
site_menu
());
$smarty
->
assign
(
'searchform'
,
searchform
());
$smarty
->
assign
(
'INLINEJAVASCRIPT'
,
$javascript
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment