本文整理汇总了PHP中debut_cadre_trait_couleur函数的典型用法代码示例。如果您正苦于以下问题:PHP debut_cadre_trait_couleur函数的具体用法?PHP debut_cadre_trait_couleur怎么用?PHP debut_cadre_trait_couleur使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了debut_cadre_trait_couleur函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: configuration_type_urls_dist
function configuration_type_urls_dist()
{
if ($GLOBALS['type_urls'] != 'page') // fixe par mes_options
return '';
$dispo = array();
foreach (find_all_in_path('urls/', '\w+\.php$', array()) as $f) {
$r = basename($f, '.php');
if ($r == 'index' OR strncmp('generer_',$r,8)==0) continue;
include_once $f;
$exemple = 'URLS_' . strtoupper($r) . '_EXEMPLE';
$exemple = defined($exemple) ? constant($exemple) : '?';
$dispo[$r] = "<em>$r</em> — <tt>" . $exemple . '</tt>';
}
$res = "<p class='verdana2'>"
. _T('texte_type_urls')
. "</p>"
. "<div class='verdana2'>"
. afficher_choix('type_urls', $GLOBALS['meta']['type_urls'], $dispo)
. "</div>"
. "<p><em>"
. _T('texte_type_urls_attention', array('htaccess' => '<tt>.htaccess</tt>'))
. "</em></p>";
$res = '<br />'.debut_cadre_trait_couleur("", true, "", _T('titre_type_urls').aide("confurl"))
. ajax_action_post('configurer', 'type_urls', 'config_fonctions', '', $res)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe("configurer-type_urls", '', $res);
}
示例2: configuration_compteur_dist
function configuration_compteur_dist()
{
global $spip_lang_right;
$res = "<div class='verdana2'>"
. _T('info_question_gerer_statistiques')
. "</div>"
. "<div class='verdana2'>"
. afficher_choix('activer_statistiques',
$GLOBALS['meta']["activer_statistiques"],
array('oui' => _T('item_gerer_statistiques'),
'non' => _T('item_non_gerer_statistiques')), ' ')
. "</div>";
if ($GLOBALS['meta']["activer_statistiques"]=='oui'){
$res .= "<br /><div class='verdana2' id='captures_voir'>"
. _T('info_question_vignettes_referer')
. "</div>"
. "<div class='verdana2'>"
. afficher_choix('activer_captures_referers',
$GLOBALS['meta']["activer_captures_referers"],
array('oui' => _T('info_question_vignettes_referer_oui'),
'non' => _T('info_question_vignettes_referer_non')))
. "</div>";
}
$res = debut_cadre_trait_couleur("statistiques-24.gif", true, "", _T('info_forum_statistiques').aide ("confstat"))
. ajax_action_post('configurer', 'compteur', 'config_fonctions', '', $res)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe("configurer-compteur", '', $res);
}
示例3: configuration_forums_prives_dist
function configuration_forums_prives_dist()
{
$res = "<div class='verdana2'>"
. _T('info_config_forums_prive')
. "<br />\n"
. "<p>"._T('info_config_forums_prive_objets')
. "<br />\n"
. afficher_choix('forum_prive_objets', $GLOBALS['meta']['forum_prive_objets'],
array('oui' => _T('item_config_forums_prive_objets'),
'non' => _T('item_non_config_forums_prive_objets')))
."</p>\n"
. "<p>"._T('info_config_forums_prive_global')
. "<br />\n"
. afficher_choix('forum_prive', $GLOBALS['meta']['forum_prive'],
array('oui' => _T('item_config_forums_prive_global'),
'non' => _T('item_non_config_forums_prive_global')))
."</p>\n"
. "<p>"._T('info_config_forums_prive_admin')
. "<br />\n"
. afficher_choix('forum_prive_admin', $GLOBALS['meta']['forum_prive_admin'],
array('oui' => _T('item_activer_forum_administrateur'),
'non' => _T('item_desactiver_forum_administrateur')))
."</p>\n"
. "</div>";
$res = debut_cadre_trait_couleur("forum-interne-24.gif", true, "", _T('titre_config_forums_prive'))
. ajax_action_post('configurer', 'forums_prives', 'config_contenu','',$res)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe('configurer-forums_prives', '', $res);
}
示例4: configuration_notifications_forum_dist
function configuration_notifications_forum_dist()
{
$res = '';
$m = $GLOBALS['meta']['prevenir_auteurs'];
$l = $GLOBALS['liste_des_forums'];
unset($l['info_pas_de_forum']);
foreach ($l as $desc => $val) {
$name = 'prevenir_auteurs_' . $val;
$lib = _T($desc);
$vu = (($m == 'oui') OR strpos($m,",$val,")!==false);
$res .= "<input type='checkbox' name='$name' value='oui' id='$name'"
. ($vu ? " checked='checked'" : '')
. " /> <label for='$name'>"
. ($vu ? "<b>$lib</b>" : $lib)
. "</label><br />";
}
$res = "<div class='verdana2'>"
. _T('info_option_email')
. "<br /><br />"
. $res
. "</div>\n";
$res = debut_cadre_trait_couleur("mail-forum-24.gif", true, "", _T('info_envoi_forum'))
. ajax_action_post('configurer_notifications_forum', 0, 'config_contenu','',$res)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe('configurer_notifications_forum', 0, $res);
}
示例5: configuration_visiteurs_dist
function configuration_visiteurs_dist()
{
global $spip_lang_left ;
if (!avoir_visiteurs(false,false)) {
$res = "<table border='0' cellspacing='1' cellpadding='3' width=\"100%\">"
. "\n<tr><td class='verdana2'>"
. _T('info_question_accepter_visiteurs')
. "</td></tr>"
. "\n<tr><td style='text-align: $spip_lang_left' class='verdana2'>"
. afficher_choix('accepter_visiteurs', $GLOBALS['meta']['accepter_visiteurs'],
array('oui' => _T('info_option_accepter_visiteurs'),
'non' => _T('info_option_ne_pas_accepter_visiteurs')))
. "</td></tr></table>\n";
$res = ajax_action_post('configurer', 'visiteurs', 'config_contenu','',$res);
} else {
$res = _T('info_forums_abo_invites');
}
$res = debut_cadre_trait_couleur("redacteurs-24.gif", true, "", _T('info_visiteurs'))
. $res
. fin_cadre_trait_couleur(true);
return ajax_action_greffe('configurer-visiteurs', '', $res);
}
示例6: configuration_ie6config
function configuration_ie6config()
{
$iecompat = $GLOBALS['meta']["iecompat"];
if (!$iecompat) $iecompat = "non";
$res = _T("msiecompat:choix_explication");
$res .= afficher_choix('iecompat', $iecompat,
array('non' => _T("msiecompat:choix_non"),
'ifixpng' => _L('iFixPng'),
'IE7' => _L("IE7.js"),
'IE7squish' => _L("IE7.js + ie7-squish.js"),
'IE8' => _L('IE8.js'),
'IE8squish' => _L('IE8.js + ie7-squish.js')
/*,
'IE9' => _L('IE9.js'),
'IE9squish' => _L('IE9.js + ie7-squish.js')
*/
),
" <br /> ");
$res = debut_cadre_trait_couleur(find_in_path("imgs/ie6-logo24.png"), true, "", _T("msiecompat:choix_titre"))
. ajax_action_post('configurer', 'ie6config', 'configuration','',$res)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe('configurer-ie6config', '', $res);
}
示例7: configuration_previsualiseur_dist
function configuration_previsualiseur_dist()
{
$recom = array("info_administrateurs" => _T('info_preview_admin'),
"info_redacteurs" => _T('info_preview_comite'));
$voir = $GLOBALS['meta']["preview"];
$res = '';
foreach($GLOBALS['liste_des_statuts'] as $k => $v) {
if (isset($recom[$k])) {
$vu = strpos($voir,",$v,")!==false;
$lib = _T($k);
$res .= "<input type='checkbox' name='preview[]' value='$v' id='preview$v'"
. ($vu ? " checked='checked'" : '')
. " /> <label for='preview$v'>"
. ($vu ? "<b>$lib</b>" : $lib)
. "</label><br />";
}
}
$res = "<div class='verdana2'>"
. _T('info_preview_texte')
. "<br /><br />"
. $res
. "</div>";
$res = debut_cadre_trait_couleur("naviguer-site.png", true, "", _T('previsualisation')
. aide("previsu"))
. ajax_action_post('configurer_previsualiseur', 0, 'config_fonctions', '', $res)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe("configurer_previsualiseur", 0, $res);
}
示例8: player_affiche_config_form
function player_affiche_config_form ($exec_page){
global $spip_lang_right, $spip_lang_left;
if ($player = _request('player')) {
ecrire_meta('player', $player);
if(version_compare($GLOBALS['spip_version_code'],'1.9300','<')) {
include_spip("inc/meta");
ecrire_metas();
}
}
$player_ = $GLOBALS['meta']['player'];
$out = ""
. debut_cadre_trait_couleur(_DIR_PLUGIN_PLAYER_IMAGES."player-son-24.png", true, "", "Player Audio")
. "<form action='".generer_url_ecrire($exec_page)."' method='post' class='verdana2'><div>"
. bouton_radio("player", "neoplayer", "Neolao player", $player_ == "neoplayer")
. "<br />"
. bouton_radio("player", "dewplayer", "Dew player", $player_ == "dewplayer")
. "<br />"
. bouton_radio("player", "pixplayer", "One pixel out player", $player_ == "pixplayer")
. "<br />"
. bouton_radio("player", "eraplayer", "Erational player", $player_ == "eraplayer")
. "<div style='text-align:$spip_lang_right'><input type='submit' name='Valider' value='"._T('bouton_valider')."' class='fondo' /></div>"
. "</div></form>"
. fin_cadre_trait_couleur(true)
;
return ($out);
}
示例9: configuration_documents_dist
function configuration_documents_dist(){
global $spip_lang_left, $spip_lang_right;
$res = "<table border='0' cellspacing='1' cellpadding='3' width=\"100%\">";
$res .= "<tr><td class='verdana2'>";
$res .= _T('texte_documents_joints');
$res .= _T('texte_documents_joints_2');
$res .= "</td></tr>";
$res .= "<tr>";
$res .= "<td align='$spip_lang_left' class='verdana2'>";
$res .= afficher_choix('documents_article',
$GLOBALS['meta']["documents_article"],
array('oui' => _T('item_autoriser_documents_joints'),
'non' => _T('item_non_autoriser_documents_joints')), "<br />\n");
$res .= "<br /><br />\n";
$res .= afficher_choix('documents_rubrique',
$GLOBALS['meta']["documents_rubrique"],
array('oui' => _T('item_autoriser_documents_joints_rubriques'),
'non' => _T('item_non_autoriser_documents_joints_rubriques')), "<br />\n");
$res .= "<br /><br />\n";
$res .= afficher_choix('documents_date',
$GLOBALS['meta']["documents_date"],
array('oui' => _T('item_autoriser_selectionner_date_en_ligne'),
'non' => _T('item_non_autoriser_selectionner_date_en_ligne')), "<br />\n");
$res .= "</td></tr>";
$res .= "</table>\n";
$res = debut_cadre_trait_couleur("doc-24.gif", true, "", _T('titre_documents_joints'))
. ajax_action_post('configurer', 'documents', 'configuration','',$res)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe('configurer-documents', '', $res);
}
示例10: test_outil
function test_outil($array, $titre) {
global $icone;
static $i; $i++;
echo "<a id=$i></a>",debut_cadre_trait_couleur($icone,true,'',"$i. $titre");
foreach($array as $s=>$v) if(is_array($v))
foreach($v as $s2=>$v2) echo "\n<b>{$s}[$s2]</b> = ".trim($v2)."<br />";
else echo "\n<b>$s</b> = ".trim($v)."<br />";
echo fin_cadre_trait_couleur(true);
}
示例11: exec_cfg_install_libs_dist
function exec_cfg_install_libs_dist($class = null)
{
include_spip('inc/filtres');
include_spip("inc/presentation");
global $cfg_libs;
// droits : il faut avoir le droit de choisir les plugins,
// mais aussi d'en ajouter
include_spip('inc/autoriser');
if (!autoriser('configurer', 'plugins')) {
echo minipres();
exit;
}
pipeline('exec_init', array('args' => array('exec' => 'cfg'), 'data' => ''));
$commencer_page = charger_fonction('commencer_page', 'inc');
echo $commencer_page(_T('cfg:installation_librairies'), 'cfg');
echo "<br /><br /><br />\n";
echo gros_titre(_T('cfg:installation_librairies'), '', false);
// colonne gauche
echo debut_gauche('', true);
echo pipeline('affiche_gauche', array('args' => array('exec' => 'cfg'), 'data' => ''));
echo creer_colonne_droite('', true);
echo pipeline('affiche_droite', array('args' => array('exec' => 'cfg'), 'data' => ''));
echo debut_droite("", true);
// centre de la page
echo debut_cadre_trait_couleur('', true, '', _T('cfg:installation_liste_libs'));
// message pour creer le dossier lib/
if (!is_dir(_DIR_LIB) && !is_writable(_DIR_LIB)) {
echo "<p class='important'>" . _T('cfg:installer_dossier_lib', array('dir' => joli_repertoire(_DIR_LIB))) . "</p>\n";
}
// message pour installation 1.9.2
if ($spip192 = defined('_COMPAT_CFG_192') && _COMPAT_CFG_192) {
echo "<p>" . _T('cfg:installer_lib_192', array('dir' => joli_repertoire(_DIR_LIB))) . "</p>\n";
}
// mettre un lien pour telecharger les libs
include_spip('inc/actions');
foreach ($cfg_libs as $lib => $info) {
// deja present ? texte du bouton : "mettre a jour", sinon "telecharger"
$quoi = is_dir(_DIR_LIB . $info['dir']) ? 'update' : 'install';
echo "<dl>\n";
echo "<dt>" . $info['nom'] . "</dt>\n";
echo "<dd>" . $info['description'] . "</dd>\n";
// cas 1.9.2
// proposer de copier manuellement le zip decompresse dans le dossier lib
if ($spip192) {
echo "<dd>" . ($quoi == 'update' ? "(" . _T('cfg:bouton_mettre_a_jour') . ") " : "") . "<a class='spip_out' href='{$info['install']}' />{$info['install']}</a></dd>\n";
// cas > 1.9.2
// chargeur plugin/lib de spip
} else {
echo "<dd>" . redirige_action_auteur('charger_plugin', 'lib', '', '', "<input type='hidden' name='url_zip_plugin' value='{$info['install']}' />" . "<input type='hidden' name='retour' value='" . self() . "' />" . "<input type='submit' class='fondo' name='ok' value='" . ($quoi == 'update' ? _T('cfg:bouton_mettre_a_jour') : _T('bouton_telecharger')) . "' />", "\nmethod='post'") . "</dd>\n";
}
echo "</dl>\n";
}
echo fin_cadre_trait_couleur(true);
// pied
echo fin_gauche() . fin_page();
}
示例12: exec_cfg_dist
function exec_cfg_dist($class = null)
{
include_spip('inc/filtres');
$cfg = cfg_charger_classe('cfg', 'inc');
$config =& new $cfg($nom = sinon(_request('cfg'), ''), $cfg_id = sinon(_request('cfg_id'), ''));
// traitements du formulaire poste
$config->traiter();
//
// affichages
//
include_spip("inc/presentation");
if (!$config->autoriser()) {
echo $config->acces_refuse();
exit;
}
pipeline('exec_init', array('args' => array('exec' => 'cfg'), 'data' => ''));
$commencer_page = charger_fonction('commencer_page', 'inc');
echo $commencer_page($config->get_boite(), 'cfg', $config->get_nom());
echo "<br /><br /><br />\n";
echo gros_titre(sinon($config->get_titre(), _T('cfg:configuration_modules')), '', false);
echo $config->barre_onglets();
// colonne gauche
echo debut_gauche('', true);
// si un formulaire cfg est demande
if ($s = $config->descriptif()) {
echo debut_boite_info(true) . $s . fin_boite_info(true);
}
echo pipeline('affiche_gauche', array('args' => array('exec' => 'cfg'), 'data' => ''));
echo creer_colonne_droite('', true);
echo pipeline('affiche_droite', array('args' => array('exec' => 'cfg'), 'data' => ''));
// affichage des messages envoyes par cfg
if ($s = $config->messages()) {
echo debut_boite_info(true) . $s . fin_boite_info(true);
}
// affichage des liens
if ($s = $config->liens()) {
echo debut_boite_info(true) . $s . fin_boite_info(true);
}
if ($s = $config->liens_multi()) {
echo debut_boite_info(true) . $s . fin_boite_info(true);
}
echo debut_droite("", true);
// centre de la page
if ($config->get_presentation() == 'auto') {
echo debut_cadre_trait_couleur('', true, '', $config->get_boite());
echo $config->formulaire();
echo fin_cadre_trait_couleur(true);
} else {
echo $config->formulaire();
}
// pied
echo fin_gauche() . fin_page();
}
示例13: configuration_relayeur_dist
function configuration_relayeur_dist($retour_proxy='')
{
global $spip_lang_left;
$res = $submit = '';
$http_proxy = $GLOBALS['meta']["http_proxy"];
$http_noproxy = $GLOBALS['meta']["http_noproxy"];
if ($http_proxy) {
include_spip('inc/distant');
// Masquer un eventuel password authentifiant
$http_proxy=entites_html(no_password_proxy_url($http_proxy));
if ($http_proxy) {
$res = "\n<p style='text-align: $spip_lang_left;' class='verdana1 spip_small'>"
. "<label for='test_proxy'>"
. _T('texte_test_proxy')
. "</label>"
. "</p>"
. "\n<p>"
. "<input type='text' name='test_proxy' id='test_proxy' value='http://www.spip.net/' size='40' class='forml' />"
. "</p>";
if($retour_proxy) {
$res .= debut_boite_info(true)
. $retour_proxy
. fin_boite_info(true);
}
$submit = array('valider_proxy' => _T('bouton_valider'),
'tester_proxy' => _T('bouton_test_proxy'));
}
}
$encours = "<label for='http_proxy'>" . ($http_proxy ? $http_proxy : "http://proxy:8080") . '</label>' ;
$exemple = "<label for='http_noproxy'>" . ($http_noproxy ? $http_noproxy : "127.0.0.1 .mondomaine.net") . "</label>";
$res = "\n<div class='verdana2'>"
. propre(_T('texte_proxy', array('proxy_en_cours' => "<b><tt><html>$encours</html></tt></b>")))
. "</div>"
. "\n<div class='verdana2'>"
. "<input type='text' name='http_proxy' id='http_proxy' size='40' class='forml' value='$http_proxy' />"
. "<br />"
. propre(_T('pas_de_proxy_pour', array('exemple' => "<b><tt><html>$exemple</html></tt></b>")))
. "<input type='text' name='http_noproxy' id='http_noproxy' size='40' class='forml' value='$http_noproxy' />"
. $res
. "</div>";
$res = debut_cadre_trait_couleur("base-24.gif", true, "", _T('info_sites_proxy').aide ("confhttpproxy"))
. ajax_action_post('configurer_relayeur', 0, 'config_fonctions', '', $res, $submit)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe("configurer_relayeur", 0, $res);
}
示例14: configuration_messagerie_agenda_dist
function configuration_messagerie_agenda_dist()
{
$res = "<div class='verdana2'>"
. _T('texte_messagerie_agenda')
. "<br />\n"
. afficher_choix('messagerie_agenda', $GLOBALS['meta']['messagerie_agenda'],
array('oui' => _T('item_messagerie_agenda'),
'non' => _T('item_non_messagerie_agenda')))
. "</div>";
$res = debut_cadre_trait_couleur("messagerie-24.gif", true, "", _T('titre_messagerie_agenda'))
. ajax_action_post('configurer', 'messagerie_agenda', 'config_contenu','',$res)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe('configurer-messagerie_agenda', '', $res);
}
示例15: configuration_indexeur_dist
function configuration_indexeur_dist()
{
global $spip_lang_right;
$res = "<div class='verdana2'>"
. _T('info_question_utilisation_moteur_recherche')
. "</div>"
. "<div class='verdana2'>"
. afficher_choix('activer_moteur', $GLOBALS['meta']["activer_moteur"],
array('oui' => _T('item_utiliser_moteur_recherche'),
'non' => _T('item_non_utiliser_moteur_recherche')), ' ')
. "</div>";
$res = debut_cadre_trait_couleur("racine-site-24.gif", true, "", _T('info_moteur_recherche').aide ("confmoteur"))
. ajax_action_post('configurer', 'indexeur', 'config_fonctions', '', $res)
. fin_cadre_trait_couleur(true);
return ajax_action_greffe("configurer-indexeur", '', $res);
}