- 15 Jun, 2015 2 commits
-
-
Aaron Wells authored
Bug 1465107: Use Bootstrap CSS Framework 1. Moving all the pluginfiles for themes into a "plugintype" directory. So e.g. htdocs/theme/raw/blocktype/clippy/templates/clippy.tpl becomes htdocs/theme/raw/plugintype/blocktype/clippy/templates/clippy.tpl. 2. Moving all the things under "static" in themes, to the theme's root. So htdocs/theme/raw/static/style/style.css becomes htdocs/theme/raw/style.css and htdocs/theme/raw/blocktype/clippy/static/images/clippy.png becomes htdocs/theme/raw/blocktype/clippy/images/clippy.png This should make things a little clearer for new theme devs. It's still confusing to have all the images scattered throughout the plugin subdirectories, but that's hard to fix because we treat the asset type as part of the filename, e.g. $THEME->get_url('style/style.css') instead of $THEME->get_url('style', 'style.css'); Change-Id: Ia216a40fb72624113e56d7eac698bfeb5adafcf0
-
Bug 1465107: Use Bootstrap CSS Framework Change-Id: I332f8f2ea0c317b5171fe9163912c760f6bc2c77
-
- 26 Mar, 2015 1 commit
-
-
Gilles-Philippe Leblanc authored
Change-Id: I724a844fc9e4fbae9e58834082279b4f3f21995c
-
- 13 Jun, 2014 3 commits
-
-
Aaron Wells authored
Bug 1231755 Change-Id: I198f04bb652d3220bcceb77c685edcae2fe68e52
-
Aaron Wells authored
Bug 1328319. Still keeping the old location in the search path as well, for backwards-compatibility. Change-Id: Iee2c908bad933a3942f103df6f827ace3beee259
-
Aaron Wells authored
Bug 1231755. In order to make it easier for custom theme authors to customize the appearance of plugins, I'm adding the /theme directory to the search path for plugin files. Example: smarty->display('artefact:fun:path/to/file.tpl') Old searchpath: /artefact/fun/theme/(themename)/path/to/file.tpl New searchpath (in order of precedence): 1. /local/theme/artefact/fun/templates/path/to/file.tpl 2. /theme/(themename)/artefact/fun/templates/path/to/file.tpl 3. /artefact/fun/theme/(themename)/path/to/file.tpl Further notes: The /local directory doesn't have separate copies for separate themes. It's a sitewide override of all themes. For some reason theme directories under plugins don't have a "templates" directory. The templates sit loose under the theme directory. In my new version, plugin directories under themes DO have a "templates" directory. Change-Id: Id90ee1d1dec0bda93a0d30e54229fd7dacbe5b96
-
- 12 Jun, 2014 1 commit
-
-
Aaron Wells authored
Bug 1231755 - Cleanup, documentation, and removing replicated code. - Not checking for whether the file exists. We'll just make a list of search paths and pass those through to Dwoo_Template_File, and let it determine which path has the file. - Eliminating the separate Dwoo_Template_Mahara classes for plugintypes, and moving the custom logic for how plugintypes find their template files, into the Plugin class itself. Change-Id: I877a4221323333e8e8b6c6df54062a0f8bf2b817
-
- 14 Oct, 2013 1 commit
-
-
Robert Lyon authored
- have updated copyright for the pages that had existing copyright notices (except for the lib/pieforms/ section as i'm not too sure if that needs changing as it is a different Catalyst IT product) Change-Id: I11c65ad26cb9cd856cf16b1dccbd4223ba086645 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz> Signed-off-by:
Aaron Wells <aaronw@catalyst.net.nz>
-
- 19 Sep, 2013 1 commit
-
-
Aaron Wells authored
Bug #1168213 Change-Id: I578ff2a111a8eb6ec5534647fd7a2288a97fe696
-
- 20 Aug, 2013 1 commit
-
-
Mikael Mrozik authored
- rebasing change Change-Id: I4c262c0a22b75a3f9de6d43569765f65ee32c555
-
- 15 Jan, 2013 2 commits
-
-
Hugh Davenport authored
This patch allows the dwoo function str to allow falsey arguments, such as 0, false, etc etc Change-Id: Ic7a6733288bc662b84e9535cd3c7d0b52d090681 Signed-off-by:
Hugh Davenport <hugh@davenport.net.nz>
-
Matthew B authored
Made it so that the messages it gives tells the user that the quota they are looking at is for the group quota not their quota and the error message that it gives for exceeding group quota tells the user that it is the groups quota not their quota. Change-Id: I04e509656e529c841ae82234f9479f14ecd1b11e Signed-off-by:
Matthew B <mattjbjb@gmail.com>
-
- 31 Jul, 2012 1 commit
-
-
Richard Mansfield authored
This just html escapes the output of display_default_name. Existing calls are modified to avoid double escaping. Change-Id: I117a748a4d4cdb3313377f3441bbd20567a88fcb Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 04 Jan, 2012 1 commit
-
-
Iñaki Arenaza authored
Commit 6cf859f8 changed the parameter list of functions theme_url() and theme_path() (in lib/web.php), but it seems Dwoo_Plugin_theme_path() and Dwoo_Plugin_theme_url() weren't modified to use the new parameter list. So they don't work when we specify the plugin location parameter. Change-Id: I2993a149e726a6aaf7f1f4a24819a6baff8b7381 Signed-off-by:
Iñaki Arenaza <iarenaza@mondragon.edu>
-
- 28 Jul, 2011 1 commit
-
-
Richard Mansfield authored
Adds a new dwoo function to json-encode strings for inclusion in template javascript, and uses the function in the viewacl template. Change-Id: Ie632061fe94a2adc2943a3d830695a44650847af Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 15 Jul, 2011 1 commit
-
-
Eugene Venter authored
Bug #803179 Remove 'pagelinks' Dwoo plugin. Admin user search now utilises build_pagination() in lib/web.php. Change-Id: I3632fd0e722b81f485b40fc4f76b217dc029383c Signed-off-by:
Eugene Venter <eugene@catalyst.net.nz>
-
- 01 Jun, 2011 1 commit
-
-
Hugh Davenport authored
Change-Id: Id4880764ab395ea56395a57f52258968097bb02b Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 17 May, 2011 1 commit
-
-
Richard Mansfield authored
Change-Id: I27cd03fcd221cd19935d4a75d8f0f867b7df95b5 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 16 May, 2011 1 commit
-
-
Richard Mansfield authored
There is an existing display_name dwoo function which calls the user/lib.php function with the same name. This change wraps that call in hsc(), and removes explicit escaping from all the templates that use it. In future, template authors won't have to remember to put "|escape" after every call to display_name. Change-Id: Ia8a614f6679f6cfa1b17508b2c820717cc311ef4 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 03 May, 2011 1 commit
-
-
Ruslan Kabalin authored
Change-Id: Id7eae48294768b7192ac3921c316f2d8288de38f Signed-off-by:
Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
-
- 07 Oct, 2010 3 commits
-
-
Richard Mansfield authored
This reverts commit 4a47b821.
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 04 Jul, 2010 1 commit
-
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
- 04 May, 2010 1 commit
-
-
Richard Mansfield authored
We will remove it in each template once we've added |escape or |safe to every variable. Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
- 11 Mar, 2010 1 commit
-
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
- 24 Nov, 2009 1 commit
-
-
Nigel McNie authored
Reported by Jack Levy on the forums: http://mahara.org/interaction/forum/topic.php?id=1256 Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
- 15 Oct, 2009 3 commits
-
-
Nigel McNie authored
Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Penny Leach authored
(not tested, I couldn't find anywhere that used it)
-
Penny Leach authored
-
- 14 Oct, 2009 1 commit
-
-
Penny Leach authored
-
- 13 Oct, 2009 2 commits
-
-
Penny Leach authored
- Removed empty() in templates, just use if $foo instead - Renamed badly named loadquota function - Added list_tags function - Fixed inline templating in javascript in authlist.tpl
-
Jordi Boggiano authored
integrating dwoo into mahara, includes many small templates changes, smarty plugins ported to dwoo syntax as well as the custom mahara resource types ported to dwoo templates Signed-off-by:
Jordi Boggiano <j.boggiano@seld.be>
-