Project

General

Profile

« Previous | Next » 

Revision 1643

Added by darkviper over 12 years ago

added backend functions to copy themes and import htt-template files according to the the new theme fallback functionality

View differences:

details.php
82 82
								'AUTHOR' => $row['author'],
83 83
								'DESCRIPTION' => $row['description'],
84 84
								'VERSION' => $row['version'],
85
								'DESIGNED_FOR' => $row['platform']
85
								'DESIGNED_FOR' => $row['platform'],
86
								'LICENSE' => $row['license'],
86 87
								)
87 88
						);
88 89

  
......
98 99
								'TEXT_VERSION' => $TEXT['VERSION'],
99 100
								'TEXT_DESIGNED_FOR' => $TEXT['DESIGNED_FOR'],
100 101
								'TEXT_DESCRIPTION' => $TEXT['DESCRIPTION'],
101
								'TEXT_BACK' => $TEXT['BACK']
102
								'TEXT_BACK' => $TEXT['BACK'],
103
								'TEXT_LICENSE' => '',
102 104
								)
103 105
						);
104

  
106
$template->set_var('TEXT_FUNCTION', ($row['function'] == 'theme' ? $TEXT['THEME'] : $TEXT['TEMPLATE']));
105 107
// Parse template object
106 108
$template->parse('main', 'main_block', false);
107 109
$template->pparse('output', 'page');

Also available in: Unified diff