|
From: <bi...@us...> - 2013-11-19 18:30:38
|
Revision: 12229
http://sourceforge.net/p/xoops/svn/12229
Author: bitc3r0
Date: 2013-11-19 18:30:35 +0000 (Tue, 19 Nov 2013)
Log Message:
-----------
Some changes to adapt to new rmcommon version
Modified Paths:
--------------
RMC/modules/xthemes/trunk/xthemes/css/themes.css
RMC/modules/xthemes/trunk/xthemes/preloads/core.php
RMC/modules/xthemes/trunk/xthemes/templates/xt_index.php
RMC/modules/xthemes/trunk/xthemes/templates/xt_navigation.php
RMC/modules/xthemes/trunk/xthemes/templates/xt_settings.php
RMC/modules/xthemes/trunk/xthemes/templates/xt_themes.php
RMC/modules/xthemes/trunk/xthemes/themes.php
RMC/modules/xthemes/trunk/xthemes/xoops_version.php
Modified: RMC/modules/xthemes/trunk/xthemes/css/themes.css
===================================================================
--- RMC/modules/xthemes/trunk/xthemes/css/themes.css 2013-11-18 22:11:28 UTC (rev 12228)
+++ RMC/modules/xthemes/trunk/xthemes/css/themes.css 2013-11-19 18:30:35 UTC (rev 12229)
@@ -470,4 +470,5 @@
display: block;
width: 100%; height: 100%;
border-radius: 0 0 2px 2px;
+ border: 0;
}
\ No newline at end of file
Modified: RMC/modules/xthemes/trunk/xthemes/preloads/core.php
===================================================================
--- RMC/modules/xthemes/trunk/xthemes/preloads/core.php 2013-11-18 22:11:28 UTC (rev 12228)
+++ RMC/modules/xthemes/trunk/xthemes/preloads/core.php 2013-11-19 18:30:35 UTC (rev 12229)
@@ -11,19 +11,19 @@
{
public function eventCoreIncludeCommonLanguage(){
-
+
load_mod_locale('xthemes');
define('XTPATH', XOOPS_ROOT_PATH.'/modules/xthemes');
define('XTURL', XOOPS_URL.'/modules/xthemes');
-
+
require_once XTPATH.'/class/xtassembler.class.php';
$GLOBALS['xtAssembler'] = new XtAssembler();
$GLOBALS['xtFunctions'] = new XtFunctions();
-
+
load_theme_locale($GLOBALS['xtAssembler']->theme()->getInfo('dir'));
-
+
}
-
+
public function eventCoreHeaderAddMeta(){
global $xtAssembler;
/**
@@ -32,12 +32,12 @@
if(!defined('XOOPS_CPFUNC_LOADED')){
$xtAssembler->init();
}
-
+
}
-
+
public function eventCoreIndexStart(){
-
+
define('XTHEMES_IS_HOME', 1);
-
+
}
}
Modified: RMC/modules/xthemes/trunk/xthemes/templates/xt_index.php
===================================================================
--- RMC/modules/xthemes/trunk/xthemes/templates/xt_index.php 2013-11-18 22:11:28 UTC (rev 12228)
+++ RMC/modules/xthemes/trunk/xthemes/templates/xt_index.php 2013-11-19 18:30:35 UTC (rev 12229)
@@ -1,3 +1,4 @@
+<h1 class="cu-section-title"><?php _e('Dashboard', 'xthemes'); ?></h1>
<div class="outer themes">
<div class="th"><?php _e('Recent Themes on Xoops Mexico','xthemes'); ?></div>
<div class="even waiting" id="recent-themes">
Modified: RMC/modules/xthemes/trunk/xthemes/templates/xt_navigation.php
===================================================================
--- RMC/modules/xthemes/trunk/xthemes/templates/xt_navigation.php 2013-11-18 22:11:28 UTC (rev 12228)
+++ RMC/modules/xthemes/trunk/xthemes/templates/xt_navigation.php 2013-11-19 18:30:35 UTC (rev 12229)
@@ -1,4 +1,4 @@
-<h1 class="rmc_titles"><?php _e('Menus and Navigation','xthemes'); ?></h1>
+<h1 class="cu-section-title"><?php _e('Menus and Navigation','xthemes'); ?></h1>
<p class="introduction">
<?php echo sprintf(__('This theme have %u different menus that can be configured with xThemes menus.','xthemes'), count($menus)); ?>
Modified: RMC/modules/xthemes/trunk/xthemes/templates/xt_settings.php
===================================================================
--- RMC/modules/xthemes/trunk/xthemes/templates/xt_settings.php 2013-11-18 22:11:28 UTC (rev 12228)
+++ RMC/modules/xthemes/trunk/xthemes/templates/xt_settings.php 2013-11-19 18:30:35 UTC (rev 12229)
@@ -1,4 +1,4 @@
-<h1 class="rmc_titles"><?php echo sprintf(__('%s Settings','xthemes'), $xtAssembler->theme()->getInfo("name")); ?></h1>
+<h1 class="cu-section-title"><?php echo sprintf(__('%s Settings','xthemes'), $xtAssembler->theme()->getInfo("name")); ?></h1>
<form name="formSettings" id="frm-settings" action="settings.php" method="post" class="form-horizontal">
<ul class="nav nav-tabs xt-settings-tabs">
Modified: RMC/modules/xthemes/trunk/xthemes/templates/xt_themes.php
===================================================================
--- RMC/modules/xthemes/trunk/xthemes/templates/xt_themes.php 2013-11-18 22:11:28 UTC (rev 12228)
+++ RMC/modules/xthemes/trunk/xthemes/templates/xt_themes.php 2013-11-19 18:30:35 UTC (rev 12229)
@@ -1,3 +1,4 @@
+<h1 class="cu-section-title"><?php _e('Available Themes', 'xthemes'); ?></h1>
<div class="xt_current">
<?php if($current): ?>
<div class="xt_current_screenshot">
@@ -101,7 +102,7 @@
</div>
<div id="xt-previewer-blocker"></div>
<div id="xt-previewer">
- <div class="title"><span></span><span class="icon icon-close close"></span></div>
+ <div class="title"><span></span><span class="close">×</span></div>
<div class="website"></div>
</div>
Modified: RMC/modules/xthemes/trunk/xthemes/themes.php
===================================================================
--- RMC/modules/xthemes/trunk/xthemes/themes.php 2013-11-18 22:11:28 UTC (rev 12228)
+++ RMC/modules/xthemes/trunk/xthemes/themes.php 2013-11-19 18:30:35 UTC (rev 12229)
@@ -18,7 +18,7 @@
function xt_show_themes(){
global $tpl, $xtf, $xoopsSecurity, $xtAssembler;
- $xtf->menu_options();
+ $xtf->toolbar();
$current = $xtAssembler->theme();
// Read all available themes
@@ -54,6 +54,9 @@
$tpl->add_local_script('xthemes.js', 'xthemes');
$tpl->add_head_script("var xoops_url = '".XOOPS_URL."';");
$tpl->assign('xoops_pagetitle', __('Themes Manager','xthemes'));
+
+ $bc = RMBreadCrumb::get();
+ $bc->add_crumb(__('Themes', 'xthemes'));
xoops_cp_header();
Modified: RMC/modules/xthemes/trunk/xthemes/xoops_version.php
===================================================================
--- RMC/modules/xthemes/trunk/xthemes/xoops_version.php 2013-11-18 22:11:28 UTC (rev 12228)
+++ RMC/modules/xthemes/trunk/xthemes/xoops_version.php 2013-11-19 18:30:35 UTC (rev 12229)
@@ -27,7 +27,7 @@
$modversion['name'] = 'XThemes';
$modversion['version'] = 1.5;
$modversion['rmnative'] = '1';
-$modversion['rmversion'] = array('major'=>1,'minor'=>5, 'revision'=>23,'stage'=>-1,'name'=>'XThemes');
+$modversion['rmversion'] = array('major'=>1,'minor'=>5, 'revision'=>28,'stage'=>0,'name'=>'XThemes');
$modversion['updateurl'] = "http://www.xoopsmexico.net/modules/vcontrol/?action=check&id=9";
$modversion['description'] = 'A module to manage themes from Red México';
$modversion['credits'] = "Eduardo Cortés <i.b...@gm...>";
|