notas:owncloud
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
notas:owncloud [2015/04/16 13:50] – cayu | notas:owncloud [2015/04/30 13:27] – [Apariencia] cayu | ||
---|---|---|---|
Línea 108: | Línea 108: | ||
“post_max_size” | “post_max_size” | ||
===== Apariencia ===== | ===== Apariencia ===== | ||
+ | |||
+ | La elección del tema a se debe establecer en **config/ | ||
+ | <code php> | ||
+ | ‘theme’ => ‘MyTheme’, | ||
+ | </ | ||
+ | |||
+ | Dentro de **/ | ||
+ | |||
+ | ^./core|| | ||
+ | ^./ | ||
+ | ^./ | ||
+ | ^./ | ||
+ | ^./ | ||
+ | ^./ | ||
+ | ^./ | ||
+ | ^./ | ||
+ | ^./ | ||
+ | ^./ | ||
+ | ^./ | ||
+ | |||
+ | **/ | ||
+ | <code php defaults.php> | ||
+ | <?php | ||
+ | class OC_Theme { | ||
+ | |||
+ | private $ThemeName; | ||
+ | |||
+ | |||
+ | function __construct() { | ||
+ | $this-> | ||
+ | } | ||
+ | |||
+ | public function getName() { | ||
+ | return $this-> | ||
+ | } | ||
+ | |||
+ | public function getTitle() { | ||
+ | return $this-> | ||
+ | } | ||
+ | public function getMailHeaderColor() { | ||
+ | return "# | ||
+ | } | ||
+ | public function getBaseUrl() { | ||
+ | return " | ||
+ | } | ||
+ | public function getSlogan() { | ||
+ | return "Cayu Nube privada"; | ||
+ | } | ||
+ | } | ||
+ | ?> | ||
+ | </ | ||
+ | |||
+ | Si por ejemplo queremos modificar el esquema de la pantalla de login : | ||
+ | |||
+ | **/ | ||
+ | <code php layout.guest.php> | ||
+ | < | ||
+ | <!--[if lt IE 7]>< | ||
+ | <!--[if IE 7]>< | ||
+ | <!--[if IE 8]>< | ||
+ | <!--[if IE 9]>< | ||
+ | <!--[if gt IE 9]>< | ||
+ | <!--[if !IE]>< | ||
+ | <head data-requesttoken="<? | ||
+ | < | ||
+ | <?php p($theme-> | ||
+ | </ | ||
+ | <meta http-equiv=" | ||
+ | <meta http-equiv=" | ||
+ | <meta name=" | ||
+ | <meta name=" | ||
+ | <link rel=" | ||
+ | <link rel=" | ||
+ | <?php foreach($_[' | ||
+ | <link rel=" | ||
+ | <?php endforeach; ?> | ||
+ | <?php foreach($_[' | ||
+ | < | ||
+ | <?php endforeach; ?> | ||
+ | |||
+ | <?php foreach($_[' | ||
+ | <?php | ||
+ | print_unescaped('<' | ||
+ | foreach($header[' | ||
+ | print_unescaped(" | ||
+ | }; | ||
+ | print_unescaped('/>' | ||
+ | ?> | ||
+ | <?php endforeach; ?> | ||
+ | </ | ||
+ | <body id=" | ||
+ | <img src="<? | ||
+ | <?php print_unescaped($_[' | ||
+ | <div class=" | ||
+ | < | ||
+ | <p class=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | ==== Notas ==== | ||
+ | |||
+ | Dentro de **owncloud/ |
notas/owncloud.txt · Última modificación: 2015/04/30 13:32 por cayu