Last change
on this file since 151 was
142,
checked in by fpvanagthoven, 14 years ago
|
- Added pipelineEditor.php, testing graphical pipeline creation.
- Added DisplayStep?.php, a visual representation of a contained Step (Questionnaire/Dashboard?/etc..) object in a pipeline. Allows icon-based presentation of pipeline.
- Fixed StyleSheet?.php class, can be passed string argument (style name) to choose different .css files.
- Added Logo class, basically the same as classes_old/Logo.php
- Added placeholder icons and some UI elemtent images for use in pipelineEditor.php
|
File size:
618 bytes
|
Rev | Line | |
---|
[142] | 1 | <?php |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | * To change this template, choose Tools | Templates |
---|
| 5 | * and open the template in the editor. |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | /** |
---|
| 9 | * Standard stylesheet class |
---|
| 10 | * |
---|
| 11 | * @author tschipper |
---|
| 12 | */ |
---|
| 13 | class StyleSheet { |
---|
| 14 | |
---|
| 15 | public $filename; // includes path |
---|
| 16 | |
---|
| 17 | public function __construct($styleName) { |
---|
| 18 | |
---|
| 19 | // call new StyleSheet("standard") to load css/standard.css |
---|
| 20 | $this->path = "css/" . $styleName . ".css"; |
---|
| 21 | |
---|
| 22 | echo '<link rel="Stylesheet" type="text/css" href="' . $this->path . '"/>'; |
---|
| 23 | echo "\n"; |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | public function ChangeStyle($styleName) { |
---|
| 27 | $this->path = "css/" . $styleName . ".css"; |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.