Commit 74e4e5e9 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Merge branch 'nav-stage1'

parents d4c7762c 6ef67077
......@@ -34,7 +34,7 @@ define('SECTION_PAGE', 'index');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
safe_require('artefact', 'blog');
define('TITLE', get_string('myblogs','artefact.blog'));
define('TITLE', get_string('blogs','artefact.blog'));
if ($delete = param_integer('delete', 0)) {
$blog = artefact_instance_from_id($delete);
......
......@@ -77,8 +77,6 @@ $string['insertimage'] = 'Insert image';
$string['moreoptions'] = 'More options';
$string['mustspecifytitle'] = 'You must specify a title for your post';
$string['mustspecifycontent'] = 'You must specify some content for your post';
$string['myblogs'] = 'My Blogs';
$string['myblog'] = 'My Blog';
$string['name'] = 'Name';
$string['newattachmentsexceedquota'] = 'The total size of the new files that you have uploaded to this post would exceed your quota. You may be able to save the post if you remove some of the attachments you have just added.';
$string['newblog'] = 'New Blog';
......
<h3>My Blogs</h3>
<h3>Blogs</h3>
<p>A blog is a journal-like tool that allows you to record your thoughts and experiences.</p>
<p>By default, your blogs can only be seen by you. By adding a blog to a view that is shared with others you can allow people to read it and post comments.</p>
<p>You can have as many different blogs as you want.</p>
......@@ -55,11 +55,11 @@ class PluginArtefactBlog extends PluginArtefact {
);
if ($USER->get_account_preference('multipleblogs')) {
$tab['url'] = 'artefact/blog/';
$tab['title'] = get_string('myblogs', 'artefact.blog');
$tab['title'] = get_string('blogs', 'artefact.blog');
}
else {
$tab['url'] = 'artefact/blog/view/';
$tab['title'] = get_string('myblog', 'artefact.blog');
$tab['title'] = get_string('blog', 'artefact.blog');
}
return array($tab);
}
......
......@@ -32,7 +32,7 @@ define('SECTION_PLUGINNAME', 'file');
define('SECTION_PAGE', 'index');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('myfiles', 'artefact.file'));
define('TITLE', get_string('Files', 'artefact.file'));
safe_require('artefact', 'file');
$form = pieform(ArtefactTypeFileBase::files_form(get_config('wwwroot') . 'artefact/file/index.php'));
......
<h3>My Files</h3>
<h3>Files</h3>
<p>Your files area is a repository for folders and files to use within your portfolio.</p>
<p>The number of files you may upload into your files area is dependant on your set file storage limit which is displayed in the quota box on the right of the screen.</p>
<p>You can use drag and drop to organise your files and folders.</p>
......
<h3>Site Files</h3>
<p>The Site Files area works in nearly the same way as the main site's My Files area. Files uploaded to this area are available to any logged in user and where placed in the 'public' folder, are available to any user with the correct URL.</p>
<p>The Site Files area works in nearly the same way as a user's Files area. Files uploaded to this area are available to any logged in user and where placed in the 'public' folder, are available to any user with the correct URL.</p>
......@@ -52,7 +52,7 @@ class PluginArtefactFile extends PluginArtefact {
array(
'path' => 'myportfolio/files',
'url' => 'artefact/file/',
'title' => get_string('myfiles', 'artefact.file'),
'title' => get_string('Files', 'artefact.file'),
'weight' => 40,
),
array(
......
......@@ -30,7 +30,6 @@ defined('INTERNAL') || die();
$string['pluginname'] = 'Profile';
$string['profile'] = 'Profile';
$string['myfiles'] = 'My Files';
$string['mandatory'] = 'Mandatory';
$string['public'] = 'Public';
......
......@@ -35,7 +35,7 @@ define('SECTION_PAGE', 'index');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
safe_require('artefact', 'plans');
define('TITLE', get_string('myplans','artefact.plans'));
define('TITLE', get_string('Plans','artefact.plans'));
// offset and limit for pagination
$offset = param_integer('offset', 0);
......@@ -55,7 +55,7 @@ $smarty->assign_by_ref('plans', $plans);
$smarty->assign('strnoplansaddone',
get_string('noplansaddone', 'artefact.plans',
'<a href="' . get_config('wwwroot') . 'artefact/plans/new.php">', '</a>'));
$smarty->assign('PAGEHEADING', hsc(get_string("myplans", "artefact.plans")));
$smarty->assign('PAGEHEADING', hsc(get_string("Plans", "artefact.plans")));
$smarty->assign('INLINEJAVASCRIPT', $js);
$smarty->display('artefact:plans:index.tpl');
......
......@@ -34,12 +34,12 @@ $string['deletethisplan'] = 'Delete plan: \'%s\'';
$string['editplan'] = 'Edit Plan';
$string['editingplan'] = 'Editing Plan';
$string['managetasks'] = 'Manage tasks';
$string['myplans'] = 'My Plans';
$string['newplan'] = 'New plan';
$string['noplansaddone'] = 'No plans yet. %sAdd one%s!';
$string['noplans'] = 'No plans to display';
$string['plan'] = 'Plan';
$string['plans'] = 'Plans';
$string['Plans'] = 'Plans';
$string['plandeletedsuccessfully'] = 'Plan deleted successfully.';
$string['plannotdeletedsuccessfully'] = 'There was an error deleting plan.';
$string['plannotsavedsuccessfully'] = 'There was an error submitting this form. Please check the marked fields and try again.';
......@@ -48,7 +48,7 @@ $string['planstasks'] = 'Plan \'%s\' tasks.';
$string['planstasksdesc'] = 'Add tasks below or using the button to the right to begin to build your plan.';
$string['saveplan'] = 'Save plan';
$string['title'] = 'Title';
$string['titledesc'] = 'The title will be used to display each task in the My Plans blocktype.';
$string['titledesc'] = 'The title will be used to display each task in the Plans blocktype.';
/* Tasks */
$string['alltasks'] = 'All tasks';
......
......@@ -48,7 +48,7 @@ class PluginArtefactPlans extends PluginArtefact {
array(
'path' => 'myportfolio/plans',
'url' => 'artefact/plans/',
'title' => get_string('myplans', 'artefact.plans'),
'title' => get_string('Plans', 'artefact.plans'),
'weight' => 60,
),
);
......
......@@ -26,14 +26,14 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/myresume');
define('MENUITEM', 'profile/resume');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'resume');
define('SECTION_PAGE', 'index');
define('RESUME_SUBPAGE', 'achievements');
require_once(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('myresume', 'artefact.resume'));
define('TITLE', get_string('resume', 'artefact.resume'));
require_once('pieforms/pieform.php');
safe_require('artefact', 'resume');
......
......@@ -26,7 +26,7 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/myresume');
define('MENUITEM', 'profile/resume');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'resume');
......@@ -35,7 +35,7 @@ require_once('pieforms/pieform.php');
require_once('pieforms/pieform/elements/calendar.php');
require_once(get_config('docroot') . 'artefact/lib.php');
define('TITLE', get_string('myresume', 'artefact.resume'));
define('TITLE', get_string('resume', 'artefact.resume'));
$id = param_integer('id');
$artefact = param_integer('artefact');
......
......@@ -26,14 +26,14 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/myresume');
define('MENUITEM', 'profile/resume');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'resume');
define('SECTION_PAGE', 'index');
define('RESUME_SUBPAGE', 'employment');
require_once(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('myresume', 'artefact.resume'));
define('TITLE', get_string('resume', 'artefact.resume'));
safe_require('artefact', 'resume');
$compositetypes = array('employmenthistory', 'educationhistory');
......
......@@ -26,7 +26,7 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/myresume');
define('MENUITEM', 'profile/resume');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'resume');
define('SECTION_PAGE', 'index');
......@@ -34,7 +34,7 @@ define('RESUME_SUBPAGE', 'goals');
require_once(dirname(dirname(dirname(__FILE__))) . '/init.php');
require_once('pieforms/pieform.php');
define('TITLE', get_string('myresume', 'artefact.resume'));
define('TITLE', get_string('resume', 'artefact.resume'));
require_once(get_config('docroot') . 'artefact/lib.php');
try {
......
......@@ -26,14 +26,14 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/myresume');
define('MENUITEM', 'profile/resume');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'resume');
define('SECTION_PAGE', 'index');
define('RESUME_SUBPAGE', 'index');
require_once(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('myresume', 'artefact.resume'));
define('TITLE', get_string('resume', 'artefact.resume'));
require_once('pieforms/pieform.php');
safe_require('artefact', 'resume');
......
......@@ -26,14 +26,14 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/myresume');
define('MENUITEM', 'profile/resume');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'resume');
define('SECTION_PAGE', 'index');
define('RESUME_SUBPAGE', 'interests');
require_once(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('myresume', 'artefact.resume'));
define('TITLE', get_string('resume', 'artefact.resume'));
require_once('pieforms/pieform.php');
safe_require('artefact', 'resume');
......
......@@ -37,7 +37,6 @@ $string['goals'] = 'Goals';
$string['skills'] = 'Skills';
$string['interests'] = 'Interests';
$string['myresume'] = 'My Résumé';
$string['mygoals'] = 'My Goals';
$string['myskills'] = 'My Skills';
$string['coverletter'] = 'Cover Letter';
......@@ -79,7 +78,6 @@ $string['compositedeleteconfirm'] = 'Are you sure you want to delete this?';
$string['compositesaved'] = 'Saved successfully';
$string['compositesavefailed'] = 'Save failed';
$string['compositedeleted'] = 'Deleted successfully';
$string['backtoresume'] = 'Back to My Résumé';
$string['personalgoal'] = 'Personal Goals';
$string['academicgoal'] = 'Academic Goals';
$string['careergoal'] = 'Career Goals';
......
<h3>Contact Information</h3>
<p>Your Contact Information is taken directly and edited from where it is stored within your <b>Profile</b>. To add to or update this Contact Information click on <b>Edit Profile</b>. Once you have entered in the required information, click on <b>Edit My Résumé</b> to return to your Résumé area.</p>
<p> Note that you will need to <b>Save</b> any information you have entered in your Résumé area that you wish to keep, before exiting to your Profile.</p>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment