Dieser Commit ist enthalten in:
Ursprung
2b21070b1a
Commit
f7a7c71f86
1583 geänderte Dateien mit 454759 neuen und 0 gelöschten Zeilen
69
application/views/layouts/install.phtml
Normale Datei
69
application/views/layouts/install.phtml
Normale Datei
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
$lang = Msd_Language::getInstance();
|
||||
|
||||
$this->headMeta()->appendHttpEquiv(
|
||||
'Content-Type', 'text/html; charset=utf-8'
|
||||
)
|
||||
->appendHttpEquiv('expires', 'Wed, 26 Feb 1997 08:21:57 GMT')
|
||||
->appendHttpEquiv('pragma', 'no-cache')
|
||||
->appendHttpEquiv('Cache-Control', 'no-cache')
|
||||
->appendName('author', 'Daniel Schlichtholz')
|
||||
->appendName('robots', 'noindex,nofollow');
|
||||
|
||||
$this->headScript()->appendFile(
|
||||
$this->baseUrl('/js/jquery/jquery.min.js'),
|
||||
'text/javascript'
|
||||
);
|
||||
|
||||
$this->headScript()->appendFile(
|
||||
$this->baseUrl('/js/jquery/jquery-ui.min.js'),
|
||||
'text/javascript'
|
||||
);
|
||||
|
||||
$this->headScript()->appendFile(
|
||||
$this->baseUrl('/js/pwdmeter.js'),
|
||||
'text/javascript'
|
||||
);
|
||||
|
||||
//and the stylesheet for the ui
|
||||
$this->headLink()->appendStylesheet(
|
||||
$this->baseUrl().'/css/msd/jquery'
|
||||
.'/jquery-ui.custom.css'
|
||||
);
|
||||
|
||||
$this->headScript()->appendFile(
|
||||
$this->baseUrl('/js/script.js'),
|
||||
'text/javascript'
|
||||
);
|
||||
|
||||
$this->headLink()->appendStylesheet(
|
||||
$this->baseUrl().'/css/msd/style.css'
|
||||
);
|
||||
$version = new Msd_Version();
|
||||
?>
|
||||
<?php echo $this->doctype();?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title>MySQLDumper <?php echo $version->getMsdVersion();?></title>
|
||||
<?php
|
||||
echo $this->headLink() . "\n";
|
||||
echo $this->headMeta() . "\n";
|
||||
echo $this->headScript() . "\n";
|
||||
?>
|
||||
<style type="text/css">body {direction: ltr;}</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="fullcontent">
|
||||
<h1>
|
||||
<img src="<?php echo $this->baseUrl(); ?>/css/msd/pics/menu-headlogo.gif" alt="" />
|
||||
<br />
|
||||
<?php echo $lang->L_INSTALL;?>: <?php echo $lang->L_MSD_VERSION?> <?php echo $version->getMsdVersion();?>
|
||||
</h1>
|
||||
<?php echo $this->partial('install/stepIndicator.phtml', $this->stepInfo);?>
|
||||
<div id="ajaxContent"><?php echo $this->layout()->content; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
59
application/views/layouts/layout.phtml
Normale Datei
59
application/views/layouts/layout.phtml
Normale Datei
|
|
@ -0,0 +1,59 @@
|
|||
<?php
|
||||
$version = new Msd_Version();
|
||||
$config = Msd_Configuration::getInstance();
|
||||
$lang = Msd_Language::getInstance();
|
||||
$theme = $config->get('config.interface.theme');
|
||||
$language = $config->get('config.interface.language');
|
||||
$this->headMeta()->appendHttpEquiv('content-language', $language);
|
||||
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=utf-8')
|
||||
->appendHttpEquiv('expires', 'Wed, 26 Feb 1997 08:21:57 GMT')
|
||||
->appendHttpEquiv('pragma', 'no-cache')
|
||||
->appendHttpEquiv('Cache-Control', 'no-cache')
|
||||
->appendName('author', 'Daniel Schlichtholz')
|
||||
->appendName('robots', 'noindex,nofollow');
|
||||
|
||||
$this->jQuery()->addStylesheet($this->baseUrl('/css/' . $theme . '/jquery' . '/jquery-ui.custom.css'));
|
||||
$this->jQuery()->addStylesheet($this->baseUrl('/css/' . $theme . '/jquery' . '/jquery-ui.autocomplete.css'));
|
||||
|
||||
$this->jQuery()->addStylesheet($this->baseUrl('/css/' . $theme . '/style.css'));
|
||||
$request = Zend_Controller_Front::getInstance()->getRequest();
|
||||
if ($request->getActionName() == 'login') {
|
||||
$this->jQuery()->addStylesheet($this->baseUrl('/css/' . $theme . '/login.css'));
|
||||
}
|
||||
$this->jQuery()->addJavascriptFile($this->baseUrl('/js/script.js'));
|
||||
|
||||
$this->jQuery()->setLocalPath($this->baseUrl('/js/jquery/jquery.min.js'));
|
||||
$this->jQuery()->setUiLocalPath($this->baseUrl('/js/jquery/jquery-ui.min.js'));
|
||||
$this->jQuery()->addJavascriptFile($this->baseUrl('/js/jquery/jquery-combobox.js'));
|
||||
$this->jQuery()->setVersion('1.4.2');
|
||||
$this->jQuery()->setUiVersion('1.8.15');
|
||||
$this->jQuery()->uiEnable();
|
||||
|
||||
$menu = $this->menu($version);
|
||||
$messages = (string) $this->popUpMessage();
|
||||
?>
|
||||
<?php echo $this->doctype();?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
lang="<?php echo $language?>"
|
||||
xml:lang="<?php echo $language?>">
|
||||
<head>
|
||||
<title>MySQLDumper <?php echo $version->getMsdVersion();?></title>
|
||||
<?php
|
||||
echo (string) $this->jQuery();
|
||||
echo $this->headMeta() . "\n";
|
||||
echo $this->headScript() . "\n";
|
||||
?>
|
||||
<style type="text/css">body {direction: ltr;}</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<?php
|
||||
echo $messages;
|
||||
echo $menu;
|
||||
echo $this->layout()->content;
|
||||
?>
|
||||
</div>
|
||||
<div id="page-loader"><?php echo $this->getIcon('ajax-loader');?></div>
|
||||
</body>
|
||||
</html>
|
||||
50
application/views/layouts/mobile.phtml
Normale Datei
50
application/views/layouts/mobile.phtml
Normale Datei
|
|
@ -0,0 +1,50 @@
|
|||
|
||||
<?php
|
||||
$version = new Msd_Version();
|
||||
$config = Msd_Configuration::getInstance();
|
||||
$lang = Msd_Language::getInstance();
|
||||
$theme = $config->get('config.interface.theme'); //@todo why theme?
|
||||
$language = $config->get('config.interface.language');
|
||||
$this->headMeta()->appendHttpEquiv('content-language', $language);
|
||||
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=utf-8')
|
||||
->appendHttpEquiv('expires', 'Wed, 26 Feb 1997 08:21:57 GMT')
|
||||
->appendHttpEquiv('pragma', 'no-cache')
|
||||
->appendHttpEquiv('Cache-Control', 'no-cache')
|
||||
->appendName('author', 'Daniel Schlichtholz')
|
||||
->appendName('robots', 'noindex,nofollow');
|
||||
|
||||
$this->jQuery()->addStylesheet($this->serverUrl() . $this->baseUrl() . '/m/css/jquery.mobile-1.0a4.1.css');
|
||||
$this->jQuery()->addStylesheet($this->serverUrl() . $this->baseUrl() . '/m/css/mobile.css');
|
||||
$request = Zend_Controller_Front::getInstance()->getRequest();
|
||||
|
||||
$this->jQuery()->addJavascriptFile($this->serverUrl() . $this->baseUrl('/js/script.js'));
|
||||
|
||||
$this->jQuery()->setLocalPath($this->serverUrl() . $this->baseUrl() . '/m/js/jquery-1.5.js');
|
||||
$this->jQuery()->addJavascriptFile($this->serverUrl() . $this->baseUrl() . '/m/js/jquery.mobile-1.0a4.1.js');
|
||||
$this->jQuery()->addJavascriptFile($this->serverUrl() . $this->baseUrl() . '/m/js/jquery.mobile.carousel.js');
|
||||
$this->jQuery()->setVersion('1.5');
|
||||
$this->jQuery()->setUiVersion('1.8.5');
|
||||
$this->jQuery()->uiEnable();
|
||||
|
||||
$messages = (string) $this->popUpMessage();
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
lang="<?php echo $language?>"
|
||||
xml:lang="<?php echo $language?>">
|
||||
<head>
|
||||
<title>MySQLDumper Mobile <?php echo $version->getMsdVersion();?></title>
|
||||
<?php
|
||||
echo (string) $this->jQuery();
|
||||
echo $this->headMeta() . "\n";
|
||||
echo $this->headScript() . "\n";
|
||||
?>
|
||||
<style type="text/css">body {direction: ltr;}</style>
|
||||
</head>
|
||||
<body >
|
||||
<?php
|
||||
echo $messages;
|
||||
echo $this->layout()->content;
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren