• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP ui_language类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中ui_language的典型用法代码示例。如果您正苦于以下问题:PHP ui_language类的具体用法?PHP ui_language怎么用?PHP ui_language使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了ui_language类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: getZpanelUpdates

 public static function getZpanelUpdates()
 {
     if (ctrl_options::GetSystemOption('dbversion') < ctrl_options::GetSystemOption('latestzpversion')) {
         $msg = ui_language::translate("There are currently new updates for your ZPanel installation, please download the latest release") . " (<strong>" . ctrl_options::GetSystemOption('latestzpversion') . "</strong>) from <a href=\"http://www.zpanelcp.com/\">http://www.zpanelcp.com/</a>.";
     } elseif (ctrl_options::GetSystemOption('dbversion') == ctrl_options::GetSystemOption('latestzpversion')) {
         $msg = "Congratulations, You are running the most recent version of ZPanel (<strong>" . ctrl_options::GetSystemOption('latestzpversion') . "</strong>)!";
     } else {
         $msg = "You appear to be running a BETA release, unless you are testing or developing we recommend you download and use the latest stable release (<strong>" . ctrl_options::GetSystemOption('latestzpversion') . "</strong>).";
     }
     return $msg;
 }
开发者ID:BIGGANI,项目名称:zpanelx,代码行数:11,代码来源:controller.ext.php


示例2: Template

 public static function Template()
 {
     global $controller;
     if (!$controller->GetControllerRequest('URL', 'module')) {
         $line = "";
         $modcats = ui_moduleloader::GetModuleCats();
         foreach ($modcats as $modcat) {
             $mods = ui_moduleloader::GetModuleList($modcat['mc_id_pk'], "modadmin");
             if ($mods) {
                 $line .= "<table class=\"zcat\">";
                 $line .= "<tr>";
                 $line .= "<th align=\"left\">";
                 $line .= "<a name=\"" . str_replace(" ", "_", strtolower($modcat['mc_name_vc'])) . "\"></a>";
                 $line .= "" . ui_language::translate($modcat['mc_name_vc']) . "";
                 $line .= "<a href=\"#\" class=\"zcat\" id=\"zcat_" . str_replace(" ", "_", strtolower($modcat['mc_name_vc'])) . "_a\"></a>";
                 $line .= "</th>";
                 $line .= "</tr>";
                 $line .= "<tr>";
                 $line .= "<td align=\"left\">";
                 $line .= "<div class=\"zcat_" . str_replace(" ", "_", strtolower($modcat['mc_name_vc'])) . "\" id=\"zcat_" . str_replace(" ", "_", strtolower($modcat['mc_name_vc'])) . "\">";
                 $line .= "<table class=\"zcatcontent\" align=\"left\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
                 $line .= "<tr>";
                 $line .= "<td>";
                 $line .= "<table align=\"left\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
                 $line .= "<tr>";
                 $icons_per_row = ctrl_options::GetSystemOption('module_icons_pr');
                 $num_icons = 0;
                 foreach ($mods as $mod) {
                     //$translatename = '<: '.$mod['mo_name_vc'].' :>';
                     //$translatename = $mod['mo_name_vc'];
                     $translatename = ui_language::translate($mod['mo_name_vc']);
                     $cleanname = str_replace(" ", "ZP(br)", $translatename);
                     if ($num_icons == $icons_per_row) {
                         $line .= "</tr><tr>";
                         $num_icons = 0;
                     }
                     $line .= "<td style=\"text-align:center;\" align=\"left\">";
                     $line .= "<a href=\"?module=" . $mod['mo_folder_vc'] . "\" title=\"<: " . $mod['mo_desc_tx'] . " :>\">";
                     $line .= "<img src=\"modules/" . $mod['mo_folder_vc'] . "/assets/icon.png\" border=\"0\" />";
                     $line .= "</a>";
                     $line .= "<br />";
                     $line .= "<a href=\"?module=" . $mod['mo_folder_vc'] . "\">" . $cleanname . "</a>";
                     $line .= "</td>";
                     $num_icons++;
                 }
                 $line .= "</tr></table></td></tr></table></div></td></tr></table><br>";
             }
         }
         return $line;
     }
 }
开发者ID:TGates71,项目名称:Sentora-Windows-Upgrade,代码行数:51,代码来源:modulelist.class.php


示例3: getSentoraUpdates

 public static function getSentoraUpdates()
 {
     $installed = ctrl_options::GetSystemOption('dbversion');
     $lastest = ctrl_options::GetSystemOption('latestzpversion');
     $lastest_tagged = ' (<strong>' . $lastest . '</strong>)';
     if ($installed < $lastest) {
         $msg = ui_language::translate('There are currently new updates for your Sentora installation, please download the latest release') . $lastest_tagged . ' from <a href="http://www.sentora.org/">http://www.sentora.org/</a>.';
     } elseif ($installed == $lastest) {
         $msg = 'Congratulations, You are running the most recent version of Sentora' . $lastest_tagged . '!';
     } else {
         $msg = 'You are running a BETA release (<strong>' . $installed . '</strong>), thank you to report what you observed.<br>' . '<b>Do not use it for production.</b>';
         if ($latest >= '1.0.3') {
             $msg .= '<br><br>Unless you are testing or developing we recommend you to download and use the latest stable release' . $lastest_tagged . '.';
         }
     }
     return $msg;
 }
开发者ID:TGates71,项目名称:Sentora-Windows-Upgrade,代码行数:17,代码来源:controller.ext.php


示例4: getServices

 public static function getServices()
 {
     global $controller;
     if (file_exists(ui_tpl_assetfolderpath::Template() . 'img/modules/' . $controller->GetControllerRequest('URL', 'module') . '/assets/up.gif') && file_exists(ui_tpl_assetfolderpath::Template() . 'img/modules/' . $controller->GetControllerRequest('URL', 'module') . '/assets/down.gif')) {
         $iconpath = '<img src="' . ui_tpl_assetfolderpath::Template() . 'img/modules/' . $controller->GetControllerRequest('URL', 'module') . '/assets/';
     } else {
         $iconpath = '<img src="modules/' . $controller->GetControllerRequest('URL', 'module') . '/assets/';
     }
     $line = "<h2>" . ui_language::translate("Checking status of services...") . "</h2>";
     $line .= "<table>";
     $status = fs_director::CheckForEmptyValue(sys_monitoring::PortStatus($PortNum));
     $line .= '<tr><th>HTTP</th><td>' . module_controller::status_port(80, $iconpath) . '</td></tr>';
     $line .= '<tr><th>FTP</th><td>' . module_controller::status_port(21, $iconpath) . '</td></tr>';
     $line .= '<tr><th>SMTP</th><td>' . module_controller::status_port(25, $iconpath) . '</td></tr>';
     $line .= '<tr><th>POP3</th><td>' . module_controller::status_port(110, $iconpath) . '</td></tr>';
     $line .= '<tr><th>IMAP</th><td>' . module_controller::status_port(143, $iconpath) . '</td></tr>';
     $line .= '<tr><th>MySQL</th><td>' . module_controller::status_port(3306, $iconpath) . '</td></tr>';
     $line .= '<tr><th>DNS</th><td>' . module_controller::status_port(53, $iconpath) . '</td></tr>';
     $line .= '</table>';
     $line .= '<br><h2>' . ui_language::translate('Server Uptime') . '</h2>';
     $line .= ui_language::translate('Uptime') . ": " . sys_monitoring::ServerUptime();
     return $line;
 }
开发者ID:bbspike,项目名称:sentora-core,代码行数:23,代码来源:controller.ext.php


示例5: getPackageSelection

 static function getPackageSelection()
 {
     global $controller;
     $toReturn = "";
     $packages = new xml_reader(fs_filehandler::ReadFileContents("./modules/" . $controller->GetControllerRequest('URL', 'module') . "/packages/packages.xml"));
     $packages->Parse();
     $toReturn .= "\n\t\t(Sortable columns - click on column header)\n\t\t<table class=\"table table-striped sortable\" border=\"0\" width=\"100%\">\n\t\t  <tr>\n\t\t\t<th>" . ui_language::translate("Package") . "<br />\n\t\t\t" . ui_language::translate("Name") . "</th>\n\t\t\t<th>" . ui_language::translate("Version") . "<br />\n\t\t\t" . ui_language::translate("Number") . "</th>\n\t\t\t<th>" . ui_language::translate("Package") . "<br />\n\t\t\t" . ui_language::translate("Type") . "</th>\n\t\t\t<th>" . ui_language::translate("Package") . "<br />\n\t\t\t" . ui_language::translate("Description") . "</th>\n\t\t\t<th>" . ui_language::translate("Database") . "<br />\n\t\t\t" . ui_language::translate("Required") . "?</th>\n\t\t\t<th>&nbsp;</th>\n\t\t  </tr>";
     foreach ($packages->document->package as $package) {
         // START - Info and DB tags by tgates
         if ($package->db[0]->tagData == 'yes') {
             $package->pkgdb[0]->tagData = "yes";
         } else {
             $package->pkgdb[0]->tagData = "no";
         }
         if ($package->db[0]->tagData == 'yes') {
             $package->db[0]->tagData = "<font color='green'><strong>" . ui_language::translate("YES") . "</strong></font>";
         } else {
             $package->db[0]->tagData = "<font color='red'><strong>" . ui_language::translate("NO") . "</strong></font>";
         }
         // END - Info and DB tags by tgates
         $toReturn .= "<tr>\n\t\t\t<td>" . $package->name[0]->tagData . "</td>\n\t\t\t<td>" . $package->version[0]->tagData . "</td>\n\t\t\t<td>" . $package->type[0]->tagData . "</td>\n\t\t\t<td>" . $package->info[0]->tagData . "</td>\n\t\t\t<td><center>" . $package->db[0]->tagData . "</center></td>\n\t\t\t<td>\n\t\t\t\t<form id=\"install\" name=\"Install\" action=\"/?module=sentastico\" method=\"post\">\n\t\t\t\t<input type=\"hidden\" name=\"startinstall\" value=\"true\"> \n\t\t\t\t<input type=\"hidden\" name=\"pkgzip\" value=" . $package->zipname[0]->tagData . "> \n\t\t\t\t<input type=\"hidden\" name=\"pkg\" value='" . $package->name[0]->tagData . "'> \n\t\t\t\t<input type=\"hidden\" name=\"pkgdb\" value=" . $package->pkgdb[0]->tagData . "> \n\t\t\t\t<input class=\"btn btn-primary btn-small\" type=\"submit\" name=\"doInstall\" value=" . ui_language::translate("Install") . " />\n\t\t\t\t</form>\n\t\t\t</td>\n\t\t</tr>";
     }
     return $toReturn;
 }
开发者ID:bbspike,项目名称:Sentastico,代码行数:24,代码来源:controller.ext.php


示例6: getResult

 static function getResult()
 {
     if (!fs_director::CheckForEmptyValue(self::$blank)) {
         return ui_sysmessage::shout(ui_language::translate("Your Domain can not be empty. Please enter a valid Domain Name and try again."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$badname)) {
         return ui_sysmessage::shout(ui_language::translate("Your Domain name is not valid. Please enter a valid Domain Name: i.e. 'domain.com'"), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$alreadyexists)) {
         return ui_sysmessage::shout(ui_language::translate("The domain already appears to exist on this server."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$nosub)) {
         return ui_sysmessage::shout(ui_language::translate("You cannot add a Sub-Domain here. Please use the Subdomain manager to add Sub-Domains."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$error)) {
         return ui_sysmessage::shout(ui_language::translate("Please remove 'www'. The 'www' will automatically work with all Domains / Subdomains."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$writeerror)) {
         return ui_sysmessage::shout(ui_language::translate("There was a problem writting to the virtual host container file. Please contact your administrator and report this error. Your domain will not function until this error is corrected."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$ok)) {
         return ui_sysmessage::shout(ui_language::translate("Changes to your domain web hosting has been saved successfully."), "zannounceok");
     }
     return;
 }
开发者ID:bbspike,项目名称:sentora-core,代码行数:25,代码来源:controller.ext.php


示例7: getResult

 static function getResult()
 {
     if (!fs_director::CheckForEmptyValue(self::$error)) {
         if (self::$error == "ok") {
             return ui_sysmessage::shout(ui_language::translate("Your account password been changed successfully!"), "zannounceok");
         }
         if (self::$error == "nomatch") {
             return ui_sysmessage::shout(ui_language::translate("Sorry, your current password does not match the one on your account!"), "zannounceerror");
         }
         if (self::$error == "error") {
             return ui_sysmessage::shout(ui_language::translate("An error occured and your MADmin account password could not be updated. Please ensure you entered all passwords correctly and try again."), "zannounceerror");
         }
     } else {
         if (!fs_director::CheckForEmptyValue(self::$badpassword)) {
             return ui_sysmessage::shout(ui_language::translate("Your password did not meet the minimun length requirements. Characters needed for password length") . ": " . ctrl_options::GetSystemOption('password_minlength'), "zannounceerror");
         }
         return;
     }
 }
开发者ID:Boter,项目名称:madmin-core,代码行数:19,代码来源:controller.ext.php


示例8: getResult

 static function getResult()
 {
     if (!fs_director::CheckForEmptyValue(self::$error)) {
         return ui_sysmessage::shout(ui_language::translate("You need to enter a question and an answer to add a FAQ item!"), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$delete)) {
         return ui_sysmessage::shout(ui_language::translate("FAQ item was deleted successfully!"), "zannounceok");
     }
     if (!fs_director::CheckForEmptyValue(self::$ok)) {
         return ui_sysmessage::shout(ui_language::translate("FAQ item was added successfully!"), "zannounceok");
     }
     return;
 }
开发者ID:Boter,项目名称:madmin-core,代码行数:13,代码来源:controller.ext.php


示例9: getModuleDesc

 static function getModuleDesc()
 {
     $module_desc = ui_language::translate(ui_module::GetModuleDescription());
     return $module_desc;
 }
开发者ID:TGates71,项目名称:Sentora-Windows-Upgrade,代码行数:5,代码来源:controller.ext.php


示例10: GroupMoveTo

 static function GroupMoveTo($uid, $gid)
 {
     global $zdbh;
     $sql = "SELECT * FROM x_groups WHERE ug_reseller_fk=:uid AND ug_id_pk <> :gid";
     //$numrows = $zdbh->query($sql);
     $numrows = $zdbh->prepare($sql);
     $numrows->bindParam(':uid', $uid);
     $numrows->bindParam(':gid', $gid);
     $numrows->execute();
     if ($numrows->fetchColumn() != 0) {
         $sql = $zdbh->prepare($sql);
         $sql->bindParam(':uid', $uid);
         $sql->bindParam(':gid', $gid);
         $res = array();
         $sql->execute();
         while ($rowgroups = $sql->fetch()) {
             array_push($res, array('groupid' => $rowgroups['ug_id_pk'], 'groupname' => ui_language::translate(runtime_xss::xssClean($rowgroups['ug_name_vc'])), 'groupdesc' => ui_language::translate(runtime_xss::xssClean($rowgroups['ug_notes_tx']))));
         }
         return $res;
     } else {
         return false;
     }
 }
开发者ID:bbspike,项目名称:sentora-core,代码行数:23,代码来源:controller.ext.php


示例11: getResult

 static function getResult()
 {
     if (!fs_director::CheckForEmptyValue(self::$blank)) {
         return ui_sysmessage::shout(ui_language::translate("You need to specify a user name and select a database to create your MySQL user."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$rootabuse)) {
         return ui_sysmessage::shout(ui_language::translate("You cannot create a user named 'root'! This attempt has been logged and the system administrator notified!."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$alreadyexists)) {
         return ui_sysmessage::shout(ui_language::translate("A MySQL username with that name already appears to exsist."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$badname)) {
         return ui_sysmessage::shout(ui_language::translate("Your MySQL user name is not valid. Please enter a valid MySQL user name."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$badpass)) {
         return ui_sysmessage::shout(ui_language::translate("Your MySQL password is not valid. Valid characters are A-Z, a-z, 0-9."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$badIP)) {
         return ui_sysmessage::shout(ui_language::translate("The IP address is not valid. Please enter a valid IP address."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$dbalreadyadded)) {
         return ui_sysmessage::shout(ui_language::translate("That database has already been added to this user."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$ok)) {
         return ui_sysmessage::shout(ui_language::translate("Changes to your MySQL users have been saved successfully!"), "zannounceok");
     }
     return;
 }
开发者ID:caglaroflazoglu,项目名称:sentora-core,代码行数:28,代码来源:controller.ext.php


示例12: getResult

 static function getResult()
 {
     if (!fs_director::CheckForEmptyValue(self::$alreadyexistssame)) {
         return ui_sysmessage::shout(ui_language::translate("You cannot forward a mailbox to itself!"), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$alreadyexists)) {
         return ui_sysmessage::shout(ui_language::translate('A mailbox, alias, forwarder or distribution list already exists with that name.'), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$validemail)) {
         return ui_sysmessage::shout(ui_language::translate("Your email address is not valid."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$password)) {
         return ui_sysmessage::shout(ui_language::translate("Your password cannot be blank."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$noaddress)) {
         return ui_sysmessage::shout(ui_language::translate("Your email address cannot be blank."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$ok)) {
         return ui_sysmessage::shout(ui_language::translate("Changes to your forwarders have been saved successfully!"), "zannounceok");
     } else {
         return NULL;
     }
     return;
 }
开发者ID:TGates71,项目名称:Sentora-Windows-Upgrade,代码行数:24,代码来源:controller.ext.php


示例13: getCustomPackageSelection

 static function getCustomPackageSelection()
 {
     global $controller;
     $toReturn = "";
     if (file_exists("./modules/" . $controller->GetControllerRequest('URL', 'module') . "/packages/custom_packages.xml")) {
         $packages = new xml_reader(fs_filehandler::ReadFileContents("./modules/" . $controller->GetControllerRequest('URL', 'module') . "/packages/custom_packages.xml"));
         $packages->Parse();
         foreach ($packages->document->package as $package) {
             // START - Info and DB tags by tgates
             if ($package->db[0]->tagData == 'yes') {
                 $package->pkgdb[0]->tagData = "yes";
             } else {
                 $package->pkgdb[0]->tagData = "no";
             }
             if ($package->db[0]->tagData == 'yes') {
                 $package->db[0]->tagData = "<font color='green'><strong>" . ui_language::translate("YES") . "</strong></font>";
             } else {
                 $package->db[0]->tagData = "<font color='red'><strong>" . ui_language::translate("NO") . "</strong></font>";
             }
             // END - Info and DB tags by tgates
             $toReturn .= "<tr>\n\t\t\t<td>" . $package->name[0]->tagData . "</td>\n\t\t\t<td>" . $package->version[0]->tagData . "</td>\n\t\t\t<td>" . $package->type[0]->tagData . "</td>\n\t\t\t<td>" . $package->info[0]->tagData . "</td>\n\t\t\t<td><center>" . $package->db[0]->tagData . "</center></td>\n\t\t\t<td>\n\t\t\t\t<form id=\"install\" name=\"Install\" action=\"/?module=sentastico\" method=\"post\">\n\t\t\t\t<input type=\"hidden\" name=\"startinstall\" value=\"true\"> \n\t\t\t\t<input type=\"hidden\" name=\"pkgzip\" value=" . $package->zipname[0]->tagData . "> \n\t\t\t\t<input type=\"hidden\" name=\"pkg\" value='" . $package->name[0]->tagData . "'> \n\t\t\t\t<input type=\"hidden\" name=\"pkgdb\" value=" . $package->pkgdb[0]->tagData . "> \n\t\t\t\t<input class=\"btn btn-primary btn-small\" type=\"submit\" name=\"doInstall\" value=" . ui_language::translate("Install") . " />\n\t\t\t\t</form>\n\t\t\t</td>\n\t\t</tr>";
         }
         $toReturn .= "</table><br />";
     } else {
         $toReturn .= "</table><br />";
     }
     //$toReturn .= "</form>";
     return $toReturn;
 }
开发者ID:haziriamin,项目名称:Sentastico,代码行数:29,代码来源:controller.ext.php


示例14: getLaunchWebMail

 static function getLaunchWebMail()
 {
     $message = ui_language::translate("Launch Webmail");
     return $message;
 }
开发者ID:BIGGANI,项目名称:zpanelx,代码行数:5,代码来源:controller.ext.php


示例15: getResult

 static function getResult()
 {
     if (!fs_director::CheckForEmptyValue(self::$blank)) {
         return ui_sysmessage::shout(ui_language::translate("You must fill out all fields!"), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$emailerror)) {
         return ui_sysmessage::shout(ui_language::translate("Your email address is not valid!"), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$ok)) {
         return ui_sysmessage::shout(ui_language::translate("Changes to your account settings have been saved successfully!"), "zannounceok");
     }
     return;
 }
开发者ID:bbspike,项目名称:sentora-core,代码行数:13,代码来源:controller.ext.php


示例16: DefaultEmailBody

 static function DefaultEmailBody()
 {
     $line = ui_language::translate("Hi {{fullname}},\r\rWe are pleased to inform you that your new hosting account is now active, you can now login to ZPanel using the following credentials:\r\rUsername: {{username}}\rPassword: {{password}}");
     return $line;
 }
开发者ID:nmsde,项目名称:sentora-whmcs,代码行数:5,代码来源:controller.ext.php


示例17: DisplayChart

 private static function DisplayChart($name, $used, $maximum)
 {
     if ($maximum < 0) {
         //-1 = unlimited
         $res = '<img src="' . ui_tpl_assetfolderpath::Template() . 'images/unlimited.png" alt="' . ui_language::translate('Unlimited') . '"/>';
     } else {
         $free = max($maximum - $used, 0);
         $res = '<img src="etc/lib/pChart2/zpanel/z3DPie.php?score=' . $free . '::' . $used . '&amp;imagesize=240::190&amp;chartsize=120::90&amp;radius=100' . '&amp;labels=Free: ' . $free . '::Used: ' . $used . '&amp;legendfont=verdana&amp;legendfontsize=8&amp;legendsize=10::160"' . ' alt="' . ui_language::translate('Pie chart') . '"/>';
     }
     return '<h2>' . ui_language::translate($name) . '</h2>' . $res;
 }
开发者ID:BIGGANI,项目名称:zpanelx,代码行数:11,代码来源:controller.ext.php


示例18: getResult

 static function getResult()
 {
     if (!fs_director::CheckForEmptyValue(self::$notmine)) {
         return ui_sysmessage::shout(ui_language::translate("Unable to get log preview, this domain does not belong to you."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$notfile)) {
         return ui_sysmessage::shout(ui_language::translate("The log does not exit yet."), "zannounceerror");
     }
     return;
 }
开发者ID:Ron-e,项目名称:user_logviewer,代码行数:10,代码来源:controller.ext.php


示例19: getResult

 static function getResult()
 {
     if (!fs_director::CheckForEmptyValue(self::$userblank)) {
         return ui_sysmessage::shout(ui_language::translate("You need to specify a username to create a new client."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$emailblank)) {
         return ui_sysmessage::shout(ui_language::translate("You need to specify an email address to create a new client."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$passwordblank)) {
         return ui_sysmessage::shout(ui_language::translate("Your password cannot be blank."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$packageblank)) {
         return ui_sysmessage::shout(ui_language::translate("You must select a package for your new client."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$groupblank)) {
         return ui_sysmessage::shout(ui_language::translate("You must select a user group for your new client."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$badname)) {
         return ui_sysmessage::shout(ui_language::translate("Your client name is not valid. Please enter a valid client name."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$bademail)) {
         return ui_sysmessage::shout(ui_language::translate("Your email adress is not valid. Please enter a valid email address."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$badpassword)) {
         return ui_sysmessage::shout(ui_language::translate("Your password did not meet the minimun length requirements. Characters needed for password length") . ": " . ctrl_options::GetSystemOption('password_minlength'), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$alreadyexists)) {
         return ui_sysmessage::shout(ui_language::translate("A client with that name already appears to exsist on this server."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$ok)) {
         return ui_sysmessage::shout(ui_language::translate("Changes to your client(s) have been saved successfully!"), "zannounceok");
     }
     if (!fs_director::CheckForEmptyValue(self::$not_unique_email)) {
         return ui_sysmessage::shout(ui_language::translate("Another user account is already using this email address."), "zannounceerror");
     }
     return;
 }
开发者ID:Boter,项目名称:madmin-core,代码行数:37,代码来源:controller.ext.php


示例20: getResult

 static function getResult()
 {
     if (!fs_director::CheckForEmptyValue(self::$blank)) {
         return ui_sysmessage::shout(ui_language::translate("<strong>Error:</strong> You need to specify a valid location for your script."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$noexists)) {
         return ui_sysmessage::shout(ui_language::translate("<strong>Error:</strong> Your script does not appear to exist at that location."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$cronnoexists)) {
         return ui_sysmessage::shout(ui_language::translate("<strong>Error:</strong> System Cron file could not be created."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$cronnowrite)) {
         return ui_sysmessage::shout(ui_language::translate("<strong>Error:</strong> Could not write to the System Cron file."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$alreadyexists)) {
         return ui_sysmessage::shout(ui_language::translate("<strong>Error:</strong> You can not add the same cron task more than once."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$error)) {
         return ui_sysmessage::shout(ui_language::translate("<strong>Error:</strong> There was an error updating the cron job."), "zannounceerror");
     }
     if (!fs_director::CheckForEmptyValue(self::$ok)) {
         return ui_sysmessage::shout(ui_language::translate("<strong>Success:</strong> Cron updated successfully."), "zannounceok");
     }
     return;
 }
开发者ID:albertkampde,项目名称:sentora-cron-module,代码行数:25,代码来源:controller.ext.php



注:本文中的ui_language类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP ui_sysmessage类代码示例发布时间:2022-05-23
下一篇:
PHP uiConfPeer类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap