diff --git a/e107_admin/db.php b/e107_admin/db.php
index 193a46f79..e7a893da8 100644
--- a/e107_admin/db.php
+++ b/e107_admin/db.php
@@ -84,7 +84,7 @@ if(e_AJAX_REQUEST )
if(varset($_GET['mode']) == 'backup') //FIXME - not displaying progress until complete. Use e-progress?
{
- echo "Starting file backup...
";
+ echo "".DBLAN_120."
";
$data = array();
$data[] = e_MEDIA;
@@ -182,8 +182,8 @@ class system_tools
if(deftrue('e_DEVELOPER'))
{
- $this->_options['multisite'] = array('diz'=>"Developer Mode Only", 'label'=> 'Multi-Site' );
- $this->_options['github'] = array('diz'=>"Developer Mode Only Overwrite local files with the latest from github.", 'label'=> 'Sync with Github' );
+ $this->_options['multisite'] = array('diz'=>"".DBLAN_114."", 'label'=> 'Multi-Site' );
+ $this->_options['github'] = array('diz'=>"".DBLAN_114." ".DBLAN_115."", 'label'=> DBLAN_112 );
}
@@ -335,8 +335,8 @@ class system_tools
// $message .= "
".LAN_CREATE."";
$message = $frm->open('githubSync');
- $message .= "
This will download the latest .zip file from github to ".e_SYSTEM."/temp and then unzip it, overwriting any existing files that it finds on your server. It will take into account any custom folders you may have set in e107_config.php.
"; - $message .= $frm->button('githubSyncProcess',1,'delete', "Overwrite Files"); + $message .= "".DBLAN_116." ".e_SYSTEM."temp ".DBLAN_117."
"; + $message .= $frm->button('githubSyncProcess',1,'delete', DBLAN_113); $message .= $frm->close(); @@ -345,7 +345,7 @@ class system_tools // $text = ""; - e107::getRender()->tablerender(DBLAN_10.SEP."Sync with Github", $mes->render()); + e107::getRender()->tablerender(DBLAN_10.SEP.DBLAN_112, $mes->render()); @@ -369,7 +369,7 @@ class system_tools if($result == false) { - e107::getMessage()->addError( "Couldn't download .zip file"); + e107::getMessage()->addError( DBLAN_118 ); } @@ -420,7 +420,7 @@ class system_tools $oldPath = $v['filename']; $newPath = str_replace($srch,$repl, $v['stored_filename']); - $message = "Moving ".$oldPath." to ".$newPath; + $message = e107::getParser()->lanVars(DBLAN_121, array('x'=>$oldPath, 'y'=>$newPath)); if($v['folder'] ==1 && is_dir($newPath)) { @@ -460,7 +460,7 @@ class system_tools - e107::getRender()->tablerender(DBLAN_10.SEP."Sync with Github", e107::getMessage()->render()); + e107::getRender()->tablerender(DBLAN_10.SEP.DBLAN_112, e107::getMessage()->render()); } @@ -482,7 +482,7 @@ class system_tools $text = ""; - e107::getRender()->tablerender(DBLAN_10.SEP."Backup", $mes->render().$text); + e107::getRender()->tablerender(DBLAN_10.SEP.DBLAN_119, $mes->render().$text); } @@ -849,7 +849,7 @@ class system_tools } - e107::getRender()->tablerender(DBLAN_10.SEP."Check Charset".SEP.$config['mySQLdefaultdb'], $mes->render().$text); + e107::getRender()->tablerender(DBLAN_10.SEP.DBLAN_65.SEP.$config['mySQLdefaultdb'], $mes->render().$text); } @@ -2145,4 +2145,4 @@ function verify_sql_record() // deprecated by db_verify.php ( i think). } */ -?> \ No newline at end of file +?>