Minor - Fixing template wrong css.css path

skala
Julio Montoya 14 years ago
parent 3e82c5f73a
commit fef884a75a
  1. 24
      plugin/add_cas_login_button/css.css
  2. 38
      plugin/add_cas_login_button/template.tpl
  3. 24
      plugin/add_cas_logout_button/css.css
  4. 31
      plugin/add_cas_logout_button/template.tpl
  5. 30
      plugin/add_facebook_login_button/template.tpl
  6. 24
      plugin/add_shibboleth_login_button/css.css
  7. 10
      plugin/add_shibboleth_login_button/template.tpl
  8. 2
      plugin/rss/index.php
  9. 4
      plugin/show_user_info/template.tpl

@ -1,12 +1,12 @@
.cas_plugin_image {
float:left;
height:50px;
margin: 0px 5px 5px 0px;
}
.cas_plugin_comm {
font-style:italic;
}
.cas_plugin_clear {
clear:both;
height:1px;
}
.cas_plugin_image {
float:left;
height:50px;
margin: 0px 5px 5px 0px;
}
.cas_plugin_comm {
font-style:italic;
}
.cas_plugin_clear {
clear:both;
height:1px;
}

@ -1,44 +1,14 @@
{#
This is a Chamilo plugin using Smarty you can use handy shorcuts like:
1. Shortcuts
$_p = url chamilo paths
$_u = user information of the current user
2. i18n
You can use i18n variables just use this syntax:
{"HelloWorld"|get_lang}
Now you can add your variables in the main/lang/english/ or main/lang/spanish/ for example in spanish:
$HelloWorld = "Hola Mundo";
3. Portal settings
You can access the portal settings using:
{"siteName"|api_get_setting}
For more settings check the settings_current database
4. Read more
You can also see more examples in the the main/template/default/layout files
5. {$_p|var_dump} pour les path {$_u|var_dump} pour info de l'utilisateur loggé
#}
{% if add_cas_login_button.show_message %}
<link href="{$_p.web_plugin}/add_cas_login_button/css.css" rel="stylesheet" type="text/css">
<link href="{{ _p.web_plugin }}add_cas_login_button/css.css" rel="stylesheet" type="text/css"> julio
<div class="well">
{% if add_cas_login_button.url_label %}
<img src="{{add_cas_login_button.url_label}}" class='cas_plugin_image'/>
<img src="{{ add_cas_login_button.url_label }}" class='cas_plugin_image'/>
{% endif %}
<h4>{{add_cas_login_button.button_label}}</h4>
<h4>{{ add_cas_login_button.button_label }}</h4>
{% if add_cas_login_button.url_label %}
<div class='cas_plugin_clear'>&nbsp;</div>
{% endif %}
<div class='cas_plugin_comm'>{{add_cas_login_button.comm_label}}</div>
<div class='cas_plugin_comm'>{{ add_cas_login_button.comm_label }}</div>
{% if add_cas_login_button.cas_activated %}
{% if add_cas_login_button.cas_configured %}
<button class="btn" onclick="javascript:self.location.href='main/auth/cas/logincas.php'">{{"LoginEnter"|get_lang}}</button>

@ -1,12 +1,12 @@
.cas_plugin_image {
float:left;
height:50px;
margin: 0px 5px 5px 0px;
}
.cas_plugin_comm {
font-style:italic;
}
.cas_plugin_clear {
clear:both;
height:1px;
}
.cas_plugin_image {
float:left;
height:50px;
margin: 0px 5px 5px 0px;
}
.cas_plugin_comm {
font-style:italic;
}
.cas_plugin_clear {
clear:both;
height:1px;
}

@ -1,34 +1,5 @@
{#
This is a Chamilo plugin using Smarty you can use handy shorcuts like:
1. Shortcuts
$_p = url chamilo paths
$_u = user information of the current user
2. i18n
You can use i18n variables just use this syntax:
{"HelloWorld"|get_lang}
Now you can add your variables in the main/lang/english/ or main/lang/spanish/ for example in spanish:
$HelloWorld = "Hola Mundo";
3. Portal settings
You can access the portal settings using:
{"siteName"|api_get_setting}
For more settings check the settings_current database
4. Read more
You can also see more examples in the the main/template/default/layout files
5. {$_p|var_dump} pour les path {$_u|var_dump} pour info de l'utilisateur loggé
#}
{% if add_cas_logout_button.show_message %}
<link href="{{_p.web_plugin}}/add_cas_logout_button/css.css" rel="stylesheet" type="text/css">
<link href="{{ _p.web_plugin }}add_cas_logout_button/css.css" rel="stylesheet" type="text/css">
<div class="well">
{% if add_cas_logout_button.logout_image_url %}
<img src="{{add_cas_logout_button.logout_image_url}}" class='cas_plugin_image'/>

@ -1,33 +1,3 @@
{#
This is a Chamilo plugin using Smarty you can use handy shorcuts like:
1. Shortcuts
$_p = url chamilo paths
$_u = user information of the current user
2. i18n
You can use i18n variables just use this syntax:
{"HelloWorld"|get_lang}
Now you can add your variables in the main/lang/english/ or main/lang/spanish/ for example in spanish:
$HelloWorld = "Hola Mundo";
3. Portal settings
You can access the portal settings using:
{"siteName"|api_get_setting}
For more settings check the settings_current database
4. Read more
You can also see more examples in the the main/template/default/layout files
5. {$_p|var_dump} pour les path {$_u|var_dump} pour info de l'utilisateur loggé
#}
{% if add_facebook_login_button.show_message %}
<div class="well">
<a href="{{add_facebook_login_button.facebook_href_link}}">

@ -1,12 +1,12 @@
.shibboleth_plugin_image {
float:left;
height:50px;
margin: 0px 5px 5px 0px;
}
.shibboleth_plugin_comm {
font-style:italic;
}
.shibboleth_plugin_clear {
clear:both;
height:1px;
}
.shibboleth_plugin_image {
float:left;
height:50px;
margin: 0px 5px 5px 0px;
}
.shibboleth_plugin_comm {
font-style:italic;
}
.shibboleth_plugin_clear {
clear:both;
height:1px;
}

@ -1,15 +1,15 @@
{% if add_shibboleth_login_button.show_message %}
<link href="{$_p.web_plugin}/add_shibboleth_login_button/css.css" rel="stylesheet" type="text/css">
<link href="{{ _p.web_plugin }}add_shibboleth_login_button/css.css" rel="stylesheet" type="text/css">
<div class="well">
{% if add_shibboleth_login_button.url_label %}
<img src="{{add_shibboleth_login_button.url_label}}" class='shibboleth_plugin_image'/>
<img src="{{ add_shibboleth_login_button.url_label }}" class='shibboleth_plugin_image'/>
{% endif %}
<h4>{{add_shibboleth_login_button.button_label}}</h4>
<h4>{{ add_shibboleth_login_button.button_label }}</h4>
{% if add_shibboleth_login_button.url_label %}
<div class='shibboleth_plugin_clear'>&nbsp;</div>
{% endif %}
<div class='shibboleth_plugin_comm'>{{add_shibboleth_login_button.comm_label}}</div>
<button class="btn" onclick="javascript:self.location.href='main/auth/shibboleth/login.php'">{{"LoginEnter"|get_lang}}</button>
<div class='shibboleth_plugin_comm'>{{ add_shibboleth_login_button.comm_label }}</div>
<button class="btn" onclick="javascript:self.location.href='main/auth/shibboleth/login.php'">{{ "LoginEnter"|get_lang }}</button>
</div>
{% endif %}

@ -9,7 +9,7 @@ $title = $title ? "<h4>$title</h4>" : '';
$css = $plugin->get_css();
$css = $css ? "<style type=\"text/css\" scoped=\"scoped\">$css</style>" : '';
$bullet = api_get_path(WEB_PLUGIN_PATH) . '/rss/resources/arrow-bullet.png';
$bullet = api_get_path(WEB_PLUGIN_PATH).'rss/resources/arrow-bullet.png';
if (empty($rss)) {
Display::display_warning_message(get_lang('no_rss'));

@ -10,14 +10,14 @@
You can use i18n variables just use this syntax:
{{"HelloWorld"|get_lang}}
{{ "HelloWorld"|get_lang }}
Now you can add your variables in the main/lang/english/ or main/lang/spanish/ for example in spanish:
$HelloWorld = "Hola Mundo";
3. Portal settings
You can access the portal settings using:
{{"siteName"|get_setting}}
{{ "siteName"|get_setting }}
For more settings check the settings_current database table
4. Read more
You can also see more examples in main/template/default/layout

Loading…
Cancel
Save