@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | public function __construct($cmssite, $id = 0) |
77 | 77 | { |
78 | 78 | if (!is_object($cmssite)) { |
79 | - throw new Exception('CMS_Page::__construct needs CMS_Site'); |
|
79 | + throw new Exception('CMS_Page::__construct needs CMS_Site'); |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | $this->id = (int)$id; |
@@ -525,7 +525,7 @@ discard block |
||
525 | 525 | |
526 | 526 | return $display; |
527 | 527 | } |
528 | - */ |
|
528 | + */ |
|
529 | 529 | function getComments() |
530 | 530 | { |
531 | 531 | if (!$this->kernel->intranet->hasModuleAccess('contact')) { |
@@ -784,7 +784,7 @@ discard block |
||
784 | 784 | { |
785 | 785 | $db = new DB_Sql(); |
786 | 786 | $db2 = new DB_Sql; |
787 | - // egentlig skuille denne m�ske v�re rekursiv? |
|
787 | + // egentlig skuille denne m�ske v�re rekursiv? |
|
788 | 788 | |
789 | 789 | /* |
790 | 790 | // I am not quite sure what this one is suppossed to do - see the next one instead. |
@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | $this->addPreloadFile('Section.php'); |
45 | 45 | |
46 | - $this->includeSettingFile('settings.php'); |
|
46 | + $this->includeSettingFile('settings.php'); |
|
47 | 47 | |
48 | 48 | $this->addSetting('status', array( |
49 | 49 | 1 => 'draft', |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | echo '<fieldset>'; |
63 | 63 | } |
64 | 64 | include 'section/shorttext.tpl.php'; |
65 | - break; |
|
65 | + break; |
|
66 | 66 | case 'longtext': |
67 | 67 | if (!array_key_exists($section->get('id'), $error) and !empty($test) and $test != 'longtext') { |
68 | 68 | echo '</fieldset>'; |
@@ -71,19 +71,19 @@ discard block |
||
71 | 71 | echo '<fieldset>'; |
72 | 72 | } |
73 | 73 | include 'section/longtext.tpl.php'; |
74 | - break; |
|
74 | + break; |
|
75 | 75 | case 'picture': |
76 | 76 | if (!array_key_exists($section->get('id'), $error) and !empty($test)) { |
77 | 77 | echo '</fieldset>'; |
78 | 78 | } |
79 | 79 | include 'section/picture.tpl.php'; |
80 | - break; |
|
80 | + break; |
|
81 | 81 | case 'mixed': |
82 | 82 | if (!array_key_exists($section->get('id'), $error)) { |
83 | 83 | echo '</fieldset>'; |
84 | 84 | } |
85 | 85 | include 'section/mixed.tpl.php'; |
86 | - break; |
|
86 | + break; |
|
87 | 87 | ?> <?php |
88 | 88 | } |
89 | 89 | $test = $section->get('type'); |
@@ -70,9 +70,9 @@ |
||
70 | 70 | require_once dirname(__FILE__) . '/../../../CKEditor.php'; |
71 | 71 | $config['language'] = 'da'; |
72 | 72 | $config['toolbar'] = array( |
73 | - array( 'Source', '-', 'Cut','Copy','Paste','PasteText','PasteFromWord', '', 'Undo','Redo', '-', 'Format', 'Bold', 'Italic', 'Strike' ), |
|
74 | - array( 'Image', 'Link', 'Unlink', 'NumberedList', 'BulletedList', 'Blockquote', 'Outdent', 'Indent', '-', 'Maximize' ) |
|
75 | - ); |
|
73 | + array( 'Source', '-', 'Cut','Copy','Paste','PasteText','PasteFromWord', '', 'Undo','Redo', '-', 'Format', 'Bold', 'Italic', 'Strike' ), |
|
74 | + array( 'Image', 'Link', 'Unlink', 'NumberedList', 'BulletedList', 'Blockquote', 'Outdent', 'Indent', '-', 'Maximize' ) |
|
75 | + ); |
|
76 | 76 | $config['filebrowserBrowseUrl'] = url('/restricted/module/filemanager/ckeditor', array('images' => 1)); |
77 | 77 | $CKEditor = new CKEditor(); |
78 | 78 | echo $CKEditor->editor("text", $value['text'], $config); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | function getSiteId() |
21 | 21 | { |
22 | - return $this->context->name(); |
|
22 | + return $this->context->name(); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | function renderHtml() |
@@ -722,9 +722,9 @@ |
||
722 | 722 | function getPaymentInformation() |
723 | 723 | { |
724 | 724 | $info = array('bank_name' => $this->kernel->setting->get("intranet", "bank_name"), |
725 | - 'bank_reg_number' => $this->kernel->setting->get("intranet", "bank_reg_number"), |
|
726 | - 'bank_account_number' => $this->kernel->setting->get("intranet", "bank_account_number"), |
|
727 | - 'giro_account_number' => $this->kernel->setting->get("intranet", "giro_account_number") |
|
725 | + 'bank_reg_number' => $this->kernel->setting->get("intranet", "bank_reg_number"), |
|
726 | + 'bank_account_number' => $this->kernel->setting->get("intranet", "bank_account_number"), |
|
727 | + 'giro_account_number' => $this->kernel->setting->get("intranet", "giro_account_number") |
|
728 | 728 | ); |
729 | 729 | |
730 | 730 | return $info; |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * @param array $input (belong_to, belong_to_id, transaction_number, transaction_status, amount) |
134 | 134 | * |
135 | 135 | * @return integer |
136 | - */ |
|
136 | + */ |
|
137 | 137 | public function save($input) |
138 | 138 | { |
139 | 139 | $input = safeToDb($input); |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | } |
164 | 164 | |
165 | 165 | if ($input['transaction_status'] == $this->transaction_status_authorized) { |
166 | - $status_key = 2; |
|
166 | + $status_key = 2; |
|
167 | 167 | } else { |
168 | 168 | $status_key = 1; |
169 | 169 | } |
@@ -81,7 +81,7 @@ |
||
81 | 81 | if (!is_null($this->redirect)) { |
82 | 82 | return $this->redirect; |
83 | 83 | } |
84 | - return $this->redirect = Intraface_Redirect::factory($this->getKernel(), 'receive'); |
|
84 | + return $this->redirect = Intraface_Redirect::factory($this->getKernel(), 'receive'); |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | function isAddUserTrue() |
@@ -246,6 +246,6 @@ |
||
246 | 246 | |
247 | 247 | function getFontSize() |
248 | 248 | { |
249 | - return $this->getKernel()->setting->get('user', 'ptextsize'); |
|
249 | + return $this->getKernel()->setting->get('user', 'ptextsize'); |
|
250 | 250 | } |
251 | 251 | } |