/**
* Class to hold various commonly used functions
*
- * $Id: Misc.php,v 1.146 2007/04/24 15:00:02 soranzo Exp $
+ * $Id: Misc.php,v 1.147 2007/04/24 15:31:29 soranzo Exp $
*/
class Misc {
foreach($multiactions['actions'] as $o)
echo "\t\t<option value=\"{$o['action']}\">{$o['title']}</option>\n";
echo "\t</select>\n";
- echo "<input type=\"submit\" value=\"submit\" />\n";
+ echo "<input type=\"submit\" value=\"{$lang['strexecute']}\" />\n";
echo $misc->form;
echo "</td>\n";
echo "</tr>\n";
/**
* Manage schemas within a database
*
- * $Id: database.php,v 1.95 2007/04/23 18:48:06 soranzo Exp $
+ * $Id: database.php,v 1.96 2007/04/24 15:31:29 soranzo Exp $
*/
// Include application functions
}
echo "<p><input type=\"checkbox\" id=\"paginate\" name=\"paginate\"", (isset($_REQUEST['paginate']) ? ' checked="checked"' : ''), " /><label for=\"paginate\">{$lang['strpaginate']}</label></p>\n";
- echo "<p><input type=\"submit\" value=\"{$lang['strrun']}\" />\n";
+ echo "<p><input type=\"submit\" value=\"{$lang['strexecute']}\" />\n";
if ($data->hasFullExplain()) {
echo "<input type=\"submit\" name=\"explain\" value=\"{$lang['strexplain']}\" />\n";
echo "<input type=\"submit\" name=\"explain_analyze\" value=\"{$lang['strexplainanalyze']}\" />\n";
* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: english.php,v 1.207 2007/04/24 15:00:03 soranzo Exp $
+ * $Id: english.php,v 1.208 2007/04/24 15:31:29 soranzo Exp $
*/
// Language and character set
$lang['strclusterindex'] = 'Cluster';
$lang['strclustered'] = 'Clustered?';
$lang['strreindex'] = 'Reindex';
- $lang['strrun'] = 'Run';
+ $lang['strexecute'] = 'Execute';
$lang['stradd'] = 'Add';
$lang['strevent'] = 'Event';
$lang['strwhere'] = 'Where';
* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: english.php,v 1.159 2007/04/24 15:00:03 soranzo Exp $
+ * $Id: english.php,v 1.160 2007/04/24 15:31:29 soranzo Exp $
*/
// Language and character set
$lang['strclusterindex'] = 'Cluster';
$lang['strclustered'] = 'Clustered?';
$lang['strreindex'] = 'Reindex';
- $lang['strrun'] = 'Run';
+ $lang['strexecute'] = 'Execute';
$lang['stradd'] = 'Add';
$lang['strevent'] = 'Event';
$lang['strwhere'] = 'Where';
/**
* List reports in a database
*
- * $Id: reports.php,v 1.26 2007/04/22 00:41:58 mr-russ Exp $
+ * $Id: reports.php,v 1.27 2007/04/24 15:31:29 soranzo Exp $
*/
// Include application functions
'vars' => array('report_id' => 'report_id'),
),
'run' => array(
- 'title' => $lang['strrun'],
+ 'title' => $lang['strexecute'],
'url' => "sql.php?subject=report&{$misc->href}&return_url={$return_url}&return_desc=".urlencode($lang['strback'])."&",
'vars' => array('report' => 'report_name', 'database' => 'db_name', 'query' => 'report_sql', 'paginate' => 'paginate'),
),
/**
* Alternative SQL editing window
*
- * $Id: sqledit.php,v 1.32 2007/04/22 00:41:58 mr-russ Exp $
+ * $Id: sqledit.php,v 1.33 2007/04/24 15:31:29 soranzo Exp $
*/
// Include application functions
htmlspecialchars($_REQUEST['query']), "</textarea>\n";
echo "<label for=\"paginate\"><input type=\"checkbox\" id=\"paginate\" name=\"paginate\"", (isset($_REQUEST['paginate']) ? ' checked="checked"' : ''), " /> {$lang['strpaginate']}</label>\n";
- echo "<p><input type=\"submit\" value=\"{$lang['strrun']}\" />\n";
+ echo "<p><input type=\"submit\" value=\"{$lang['strexecute']}\" />\n";
if ($data->hasFullExplain()) {
echo "<input type=\"submit\" name=\"explain\" value=\"{$lang['strexplain']}\" />\n";
echo "<input type=\"submit\" name=\"explain_analyze\" value=\"{$lang['strexplainanalyze']}\" />\n";
// Run the existing report and verify it.
$this->assertTrue($this->get($webUrl . '/reports.php'));
- $this->assertTrue($this->clickLink($lang['strrun']));
+ $this->assertTrue($this->clickLink($lang['strexecute']));
$this->assertWantedText($lang['strnodata']);
$this->assertTrue($this->clickLink($lang['strrefresh']));