Télécharger
Développer
Compte
Télécharger
Développer
Connexion
Mot de passe oublié ?
Créer un compte
Langue
Aide
Langue
Aide
×
Connexion
Nom du compte
Mot de passe
×
Mot de passe oublié ?
Traduction statut du Français
Catégorie :
Logiciel
Peuple
PersonalForge
Magazine
Wiki
Recherche
OSDN
>
Trouver un logiciel
>
Internet
>
WWW/HTTP
>
Dynamic Content
>
XOOPS
>
Ticket List/Search
>
Ticket #4296
XOOPS
Description
Résumé du projet
Dashboard - Développeur
Page Web
Développeurs
Galerie d'images
Liste des flux RSS
Activité
Statistiques
Historique
Téléchargements
List of Releases
Stats
Code Source
Liste des dépôts de code
CVS
Voir le référentiel
Ticket
Liste des tickets
Liste des Jalons
Liste des types
Liste des composants
Liste des tickets/RSS fréquemment utilisés
Soumettre un nouveau ticket
Documents
Communication
Forums
Liste des forums
Forum d’aide (1)
Discussion-Ouverte (1)
Listes de diffusion
Liste de ML
xoops-cvslog
Nouvelles
Ticket #4296
Liste des tickets
Soumettre un nouveau ticket
RSS
PMの件名未入力時に力画面に戻すと、フォームがリセットされる
Date d'ouverture:
2004-05-08 23:51
Dernière mise à jour:
2004-05-08 23:51
monitor
ON
OFF
Rapporteur:
tom_g3x
Propriétaire:
(Aucun)
Type:
Bogues
État:
Ouvert
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun
Détails
Répondre
フォーラムより転載。代理投稿です。
PMの件名未入力時に力画面に戻すと、フォームがリセットさ
れ、大変不便ですので、
未入力時にはデフォルトの件名などを入れて送信してはどうか?
という事です。
参考のコードも出ています。
/language/xxxxxx/pmsg.php に「Meesage for you」「あなた
へのメッセージ」といったデフォルトの件名を _PM_NOTITLE に
定義。
そして、/pmlite.php の送信部、
$pm->setVar("subject", $HTTP_POST_VARS['subject']);
を、
if ( strlen ( $HTTP_POST_VARS['subject'] ) ) { $pm-
>setVar("subject", $HTTP_POST_VARS['subject']);} else
{ $pm->setVar("subject", _PM_NOTITLE );}
と書き換え。
参照ページ
http://jp.xoops.org/modules/newbb/viewtopic.php?
viewmode=flat&topic_id=2064&forum=13
Ticket History (0/0 Histories)
Attachment File List (
0
)
Attachment File List
No attachments
Modifier
Ajouter un commentaire
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Connexion
Ajouter un commentaire
Aperçu
Soumettre
PMの件名未入力時に力画面に戻すと、フォームがリセットさ
れ、大変不便ですので、
未入力時にはデフォルトの件名などを入れて送信してはどうか?
という事です。
参考のコードも出ています。
/language/xxxxxx/pmsg.php に「Meesage for you」「あなた
へのメッセージ」といったデフォルトの件名を _PM_NOTITLE に
定義。
そして、/pmlite.php の送信部、
$pm->setVar("subject", $HTTP_POST_VARS['subject']);
を、
if ( strlen ( $HTTP_POST_VARS['subject'] ) ) { $pm-
>setVar("subject", $HTTP_POST_VARS['subject']);} else
{ $pm->setVar("subject", _PM_NOTITLE );}
と書き換え。
参照ページ
http://jp.xoops.org/modules/newbb/viewtopic.php?
viewmode=flat&topic_id=2064&forum=13