Commit c165fc56 authored by Donal McMullan's avatar Donal McMullan
Browse files
parents 76fa895c d0b9032c
......@@ -6,7 +6,7 @@ phase. To install, please follow the instructions here:
https://eduforge.org/wiki/wiki/mahara/wiki?pagename=MaharaInstallInstructions
Lots of chat is happening right now in #mahara on freenode. If you have questions,
suggestions or ideas, please join us!
Lots of chat is happening right now in #mahara on freenode. If you have
questions, suggestions or ideas, please join us!
-- the Mahara Development Team
......@@ -27,6 +27,9 @@
define('INTERNAL', 1);
define('MENUITEM', 'account');
define('SUBMENUITEM', 'activity');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'account');
define('SECTION_PAGE', 'activity');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
......
......@@ -27,6 +27,9 @@
define('INTERNAL', 1);
define('MENUITEM', 'account');
define('SUBMENUITEM', 'activityprefs');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'account');
define('SECTION_PAGE', 'activitypreferences');
require(dirname(dirname(dirname(dirname(__FILE__)))) . '/init.php');
require_once('pieforms/pieform.php');
......
......@@ -27,6 +27,9 @@
define('INTERNAL', 1);
define('MENUITEM', 'account');
define('SUBMENUITEM', 'accountprefs');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'account');
define('SECTION_PAGE', 'preferences');
require(dirname(dirname(__FILE__)) . '/init.php');
require_once('pieforms/pieform.php');
......
......@@ -27,6 +27,9 @@
define('INTERNAL', 1);
define('MENUITEM', 'account');
define('SUBMENUITEM', 'watchlist');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'account');
define('SECTION_PAGE', 'watchlist');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
......
......@@ -41,7 +41,7 @@ if ($plugintype == 'artefact') {
$classname = generate_artefact_class_name($type);
}
else {
$type = null;
$type = '';
$classname = generate_class_name($plugintype, $pluginname);
}
......
......@@ -232,7 +232,6 @@ function uploadcsv_submit(Pieform $form, $values) {
$formatkeylookup = array_flip($FORMAT);
foreach ($CSVDATA as $record) {
log_debug('adding user ' . $record[$formatkeylookup['username']]);
log_debug($record);
$user = new StdClass;
$user->username = $record[$formatkeylookup['username']];
$user->password = $record[$formatkeylookup['password']];
......@@ -251,7 +250,6 @@ function uploadcsv_submit(Pieform $form, $values) {
if ($field == 'username' || $field == 'password') {
continue;
}
log_debug("$field " . $record[$formatkeylookup[$field]]);
set_profile_field($id, $field, $record[$formatkeylookup[$field]]);
}
......
......@@ -26,6 +26,10 @@
define('INTERNAL', 1);
define('MENUITEM', 'myblogs');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'blog');
define('SECTION_PAGE', 'index');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('myblogs','artefact.blog'));
safe_require('artefact', 'blog');
......
<h3>My Blogs</h3>
<p>A web log or Blog is journal-like tool that allows you to record your thoughts and experiences. You can allow other users to post comments on your Blog allowing you to create a dialogue with your readers.</p>
<p>While a Blog itself is considered an Artefact, so are any individual Blog postings you create. This means both Blogs and Blog posts may be added to a View.</p><p>
Your Blogs area lists of all of your current Blogs. Click on the name of a Blog to add a new posting or edit the Blog settings. To create a new Blog select Add Blog.
</p>
......@@ -26,6 +26,10 @@
define('INTERNAL', 1);
define('MENUITEM', 'myblogs');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'blog');
define('SECTION_PAGE', 'view');
require(dirname(dirname(dirname(dirname(__FILE__)))) . '/init.php');
define('TITLE', get_string('viewblog','artefact.blog'));
safe_require('artefact', 'blog');
......
......@@ -26,6 +26,10 @@
define('INTERNAL', 1);
define('MENUITEM', 'myfiles');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'file');
define('SECTION_PAGE', 'index');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('myfiles', 'artefact.file'));
safe_require('artefact', 'file');
......
......@@ -26,6 +26,10 @@
define('INTERNAL', 1);
define('MENUITEM', 'myprofile');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'internal');
define('SECTION_PAGE', 'index');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('profile','artefact.internal'));
require_once('pieforms/pieform.php');
......@@ -164,11 +168,13 @@ function profileform_submit(Pieform $form, $values) {
try {
email_user(
(object)array(
'id' => $USER->get('id'),
'username' => $USER->get('username'),
'firstname' => $USER->get('firstname'),
'lastname' => $USER->get('lastname'),
'preferredname' => $USER->get('preferredname'),
'admin' => $USER->get('admin'),
'staff' => $USER->get('staff'),
'email' => $email,
),
null,
......
......@@ -26,6 +26,10 @@
define('INTERNAL', 1);
define('MENUITEM', 'myprofile');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'internal');
define('SECTION_PAGE', 'profileficons');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('profileicons', 'artefact.internal'));
$smarty = smarty(
......
......@@ -27,6 +27,9 @@
define('INTERNAL', true);
define('MENUITEM', 'myresume');
define('SUBMENUITEM', 'mygoals');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'resume');
define('SECTION_PAGE', 'goals');
require_once(dirname(dirname(dirname(__FILE__))) . '/init.php');
require_once('pieforms/pieform.php');
......
......@@ -27,6 +27,9 @@
define('INTERNAL', true);
define('MENUITEM', 'myresume');
define('SUBMENUITEM', 'myresume');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'resume');
define('SECTION_PAGE', 'index');
require_once(dirname(dirname(dirname(__FILE__))) . '/init.php');
require_once('pieforms/pieform.php');
......@@ -78,6 +81,7 @@ $form = array(
'cols' => 70,
'rows' => 10,
'defaultvalue' => ((!empty($coverletter)) ? $coverletter->get('description') : null),
'help' => true,
),
)
),
......@@ -92,6 +96,7 @@ $form = array(
'defaultvalue' => ((!empty($interest)) ? $interest->get('description') : null),
'cols' => 70,
'rows' => 10,
'help' => true,
),
),
),
......@@ -102,8 +107,9 @@ $form = array(
'collapsed' => true,
'elements' => array(
'contactinformation' => array(
'type' => 'html',
'type' => 'html',
'value' => $contactinformation->get_html(),
'help' => true,
),
),
),
......@@ -122,24 +128,28 @@ $form = array(
'defaultvalue' => ((!empty($personalinformation))
? strtotime($personalinformation->get_composite('dateofbirth')) : null),
'title' => get_string('dateofbirth', 'artefact.resume'),
'help' => true,
),
'placeofbirth' => array(
'type' => 'text',
'defaultvalue' => ((!empty($personalinformation))
? $personalinformation->get_composite('placeofbirth') : null),
'title' => get_string('placeofbirth', 'artefact.resume'),
'help' => true,
),
'citizenship' => array(
'type' => 'text',
'defaultvalue' => ((!empty($personalinformation))
? $personalinformation->get_composite('citizenship') : null),
'title' => get_string('citizenship', 'artefact.resume'),
'help' => true,
),
'visastatus' => array(
'type' => 'text',
'defaultvalue' => ((!empty($personalinformation))
? $personalinformation->get_composite('visastatus') : null),
'title' => get_string('visastatus', 'artefact.resume'),
'help' => true,
),
'gender' => array(
'type' => 'radio',
......@@ -150,12 +160,14 @@ $form = array(
'male' => get_string('male', 'artefact.resume'),
),
'title' => get_string('gender', 'artefact.resume'),
'help' => true,
),
'maritalstatus' => array(
'type' => 'text',
'defaultvalue' => ((!empty($personalinformation))
? $personalinformation->get_composite('maritalstatus') : null),
'title' => get_string('maritalstatus', 'artefact.resume'),
'help' => true,
),
),
),
......
<h3>Contribution</h3>
<p>The Contribution area allows to you specify your role or association with the Book or Publication. For example, Contributing Author, Instructional Designer, Illustrator etc.</p>
<h3>Date</h3>
<p>This is the date your Book or Publication was released. You can either enter in the required date using the format YYYY/MM/DD (Year/Month/Day) or use the Calendar to select your Date.</p>
<h3>Description</h3>
<p>The Description for the Book or Publication is optional but allows you include important information relating to the Book or Publication or your contribution such as the journal in which your Publication was released, or the web address of your e-book.</p>
<h3>Title</h3>
<p>Title is the name of the Book or Publication you released. For example, ‘Medicinal Uses of <i>Taraxacum officinale</i>’, ‘Beginner’s Guide to Project Management’ etc.</p>
Markdown is supported
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