Changeset 5583 in subversion
- Timestamp:
- Dec 9, 2011 4:38:34 AM (18 months ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
program/include/rcube_template.php (modified) (2 diffs)
-
skins/default/templates/about.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_template.php
r5532 r5583 95 95 'message' => array($this, 'message_container'), 96 96 'charsetselector' => array($this, 'charset_selector'), 97 'aboutcontent' => array($this, 'about_content'), 97 98 )); 98 99 } … … 1336 1337 } 1337 1338 1339 /** 1340 * Include content from config/about.<LANG>.html if available 1341 */ 1342 private function about_content($attrib) 1343 { 1344 $content = ''; 1345 $filenames = array( 1346 'about.' . $_SESSION['language'] . '.html', 1347 'about.' . substr($_SESSION['language'], 0, 2) . '.html', 1348 'about.html', 1349 ); 1350 foreach ($filenames as $file) { 1351 $fn = RCMAIL_CONFIG_DIR . '/' . $file; 1352 if (is_readable($fn)) { 1353 $content = file_get_contents($fn); 1354 $content = $this->parse_conditions($content); 1355 $content = $this->parse_xml($content); 1356 break; 1357 } 1358 } 1359 1360 return $content; 1361 } 1362 1338 1363 } // end class rcube_template 1339 1364 -
trunk/roundcubemail/skins/default/templates/about.html
r5551 r5583 15 15 <div class="readtext"> 16 16 <div id="license"> 17 <roundcube:object name="aboutcontent" /> 17 18 <h2 class="sysname">Roundcube Webmail <roundcube:object name="version" /></h2> 18 19 <p class="copyright">Copyright © 2005-2011, The Roundcube Dev Team</p>
Note: See TracChangeset
for help on using the changeset viewer.
