class/files/language/LanguageBlocks.php 1 location
|
@@ 139-152 (lines=14) @@
|
| 136 |
|
/** |
| 137 |
|
* @return bool|string |
| 138 |
|
*/ |
| 139 |
|
public function render() |
| 140 |
|
{ |
| 141 |
|
$module = $this->getModule(); |
| 142 |
|
$filename = $this->getFileName(); |
| 143 |
|
$moduleDirname = $module->getVar('mod_dirname'); |
| 144 |
|
$language = $this->getLanguage($moduleDirname, 'MB'); |
| 145 |
|
$content = $this->getHeaderFilesComments($module, $filename); |
| 146 |
|
$content .= $this->getLanguageBlock($module, $language); |
| 147 |
|
$content .= $this->getLanguageFooter(); |
| 148 |
|
// |
| 149 |
|
$this->tdmcfile->create($moduleDirname, 'language/english', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); |
| 150 |
|
|
| 151 |
|
return $this->tdmcfile->renderFile(); |
| 152 |
|
} |
| 153 |
|
} |
| 154 |
|
|
class/files/language/LanguageMain.php 1 location
|
@@ 164-177 (lines=14) @@
|
| 161 |
|
/** |
| 162 |
|
* @return bool|string |
| 163 |
|
*/ |
| 164 |
|
public function render() |
| 165 |
|
{ |
| 166 |
|
$module = $this->getModule(); |
| 167 |
|
$filename = $this->getFileName(); |
| 168 |
|
$moduleDirname = $module->getVar('mod_dirname'); |
| 169 |
|
$language = $this->getLanguage($moduleDirname, 'MA'); |
| 170 |
|
$content = $this->getHeaderFilesComments($module, $filename); |
| 171 |
|
$content .= $this->geLanguagetMain($module, $language); |
| 172 |
|
$content .= $this->geLanguagetMainFooter($language); |
| 173 |
|
// |
| 174 |
|
$this->tdmcfile->create($moduleDirname, 'language/english', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); |
| 175 |
|
|
| 176 |
|
return $this->tdmcfile->renderFile(); |
| 177 |
|
} |
| 178 |
|
} |
| 179 |
|
|
class/files/templates/admin/TemplatesAdminPermissions.php 1 location
|
@@ 130-143 (lines=14) @@
|
| 127 |
|
/** |
| 128 |
|
* @return bool|string |
| 129 |
|
*/ |
| 130 |
|
public function render() |
| 131 |
|
{ |
| 132 |
|
$module = $this->getModule(); |
| 133 |
|
$filename = $this->getFileName(); |
| 134 |
|
$moduleDirname = $module->getVar('mod_dirname'); |
| 135 |
|
$language = $this->getLanguage($moduleDirname, 'AM'); |
| 136 |
|
$content = $this->getTemplatesAdminPermissionsHeader($moduleDirname); |
| 137 |
|
$content .= $this->getTemplatesAdminPermissions(); |
| 138 |
|
$content .= $this->getTemplatesAdminPermissionsFooter($moduleDirname); |
| 139 |
|
// |
| 140 |
|
$this->tdmcfile->create($moduleDirname, 'templates/admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); |
| 141 |
|
|
| 142 |
|
return $this->tdmcfile->renderFile(); |
| 143 |
|
} |
| 144 |
|
} |
| 145 |
|
|
class/files/templates/user/TemplatesUserSubmit.php 1 location
|
@@ 152-166 (lines=15) @@
|
| 149 |
|
* |
| 150 |
|
* @return bool|string |
| 151 |
|
*/ |
| 152 |
|
public function renderFile($filename) |
| 153 |
|
{ |
| 154 |
|
$module = $this->getModule(); |
| 155 |
|
$table = $this->getTable(); |
| 156 |
|
$moduleDirname = $module->getVar('mod_dirname'); |
| 157 |
|
$tableFieldname = $table->getVar('table_fieldname'); |
| 158 |
|
$language = $this->getLanguage($moduleDirname, 'MA'); |
| 159 |
|
$content = $this->getTemplatesUserSubmitHeader($moduleDirname); |
| 160 |
|
$content .= $this->getTemplatesUserSubmit($moduleDirname, $language); |
| 161 |
|
$content .= $this->getTemplatesUserSubmitFooter($moduleDirname); |
| 162 |
|
// |
| 163 |
|
$this->tdmcfile->create($moduleDirname, 'templates', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); |
| 164 |
|
|
| 165 |
|
return $this->tdmcfile->renderFile(); |
| 166 |
|
} |
| 167 |
|
} |
| 168 |
|
|
class/files/user/UserPrint.php 1 location
|
@@ 188-199 (lines=12) @@
|
| 185 |
|
/** |
| 186 |
|
* @return bool|string |
| 187 |
|
*/ |
| 188 |
|
public function render() |
| 189 |
|
{ |
| 190 |
|
$module = $this->getModule(); |
| 191 |
|
$filename = $this->getFileName(); |
| 192 |
|
$moduleDirname = $module->getVar('mod_dirname'); |
| 193 |
|
$language = $this->getLanguage($moduleDirname, 'MA'); |
| 194 |
|
$content = $this->getHeaderFilesComments($module, $filename); |
| 195 |
|
$content .= $this->getUserPrint($moduleDirname, $language); |
| 196 |
|
|
| 197 |
|
$this->create($moduleDirname, '/', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); |
| 198 |
|
|
| 199 |
|
return $this->renderFile(); |
| 200 |
|
} |
| 201 |
|
} |
| 202 |
|
|
class/files/user/UserRss.php 1 location
|
@@ 224-235 (lines=12) @@
|
| 221 |
|
/** |
| 222 |
|
* @return bool|string |
| 223 |
|
*/ |
| 224 |
|
public function render() |
| 225 |
|
{ |
| 226 |
|
$module = $this->getModule(); |
| 227 |
|
$filename = $this->getFileName(); |
| 228 |
|
$moduleDirname = $module->getVar('mod_dirname'); |
| 229 |
|
$language = $this->getLanguage($moduleDirname, 'MA'); |
| 230 |
|
$content = $this->getHeaderFilesComments($module, $filename); |
| 231 |
|
$content .= $this->getUserRss($moduleDirname, $language); |
| 232 |
|
$this->create($moduleDirname, '/', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); |
| 233 |
|
|
| 234 |
|
return $this->renderFile(); |
| 235 |
|
} |
| 236 |
|
} |
| 237 |
|
|