diff --git a/engine/lib/external/CSSTidy-1.3/cssparsed.css b/engine/lib/external/CSSTidy-1.3/cssparsed.css index ca28b9bd..5aaf2bb1 100644 --- a/engine/lib/external/CSSTidy-1.3/cssparsed.css +++ b/engine/lib/external/CSSTidy-1.3/cssparsed.css @@ -1,29 +1,29 @@ -code#copytext { - white-space: pre; - font-family: Verdana; -} - -.at { -color:darkblue; -} - -.format { -color:gray; -} - -.property { -color:green; -} - -.selector { -color:blue; -} - -.value { -color:red; -left: 500px; -} - -.comment { -color:orange; +code#copytext { + white-space: pre; + font-family: Verdana; +} + +.at { +color:darkblue; +} + +.format { +color:gray; +} + +.property { +color:green; +} + +.selector { +color:blue; +} + +.value { +color:red; +left: 500px; +} + +.comment { +color:orange; } \ No newline at end of file diff --git a/engine/lib/external/CSSTidy-1.3/lang.inc.php b/engine/lib/external/CSSTidy-1.3/lang.inc.php index 6452b42d..9e6b24b0 100644 --- a/engine/lib/external/CSSTidy-1.3/lang.inc.php +++ b/engine/lib/external/CSSTidy-1.3/lang.inc.php @@ -1,311 +1,311 @@ -. - * - * @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License - * @package csstidy - * @author Florian Schmitz (floele at gmail dot com) 2005-2007 - * @author Brett Zamir (brettz9 at yahoo dot com) 2007 - */ - - -if(isset($_GET['lang'])) { - $l = $_GET['lang']; -} -else if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { - $l = $_SERVER['HTTP_ACCEPT_LANGUAGE']; - $l = strtolower(substr($l, 0, 2)); -} -else { - $l = ''; -} - -$l = (in_array($l, array('de', 'fr', 'zh'))) ? $l : 'en'; - -// note 5 in all but French, and 40 in all are orphaned - -$lang = array(); -$lang['en'][0] = 'CSS Formatter and Optimiser/Optimizer (based on CSSTidy '; -$lang['en'][1] = 'CSS Formatter and Optimiser'; -$lang['en'][2] = '(based on'; -$lang['en'][3] = '(plaintext)'; -$lang['en'][4] = 'Important Note:'; -$lang['en'][6] = 'Your code should be well-formed. This is not a validator which points out errors in your CSS code. To make sure that your code is valid, use the W3C Validator.'; -$lang['en'][7] = 'all comments are removed'; -$lang['en'][8] = 'CSS Input:'; -$lang['en'][9] = 'CSS-Code:'; -$lang['en'][10] = 'CSS from URL:'; -$lang['en'][11] = 'Code Layout:'; -$lang['en'][12] = 'Compression (code layout):'; -$lang['en'][13] = 'Highest (no readability, smallest size)'; -$lang['en'][14] = 'High (moderate readability, smaller size)'; -$lang['en'][15] = 'Standard (balance between readability and size)'; -$lang['en'][16] = 'Low (higher readability)'; -$lang['en'][17] = 'Custom (enter below)'; -$lang['en'][18] = 'Custom template'; -$lang['en'][19] = 'Options'; -$lang['en'][20] = 'Sort Selectors (caution)'; -$lang['en'][21] = 'Sort Properties'; -$lang['en'][22] = 'Regroup selectors'; -$lang['en'][23] = 'Optimise shorthands'; -$lang['en'][24] = 'Compress colors'; -$lang['en'][25] = 'Lowercase selectors'; -$lang['en'][26] = 'Case for properties:'; -$lang['en'][27] = 'Lowercase'; -$lang['en'][28] = 'No or invalid CSS input or wrong URL!'; -$lang['en'][29] = 'Uppercase'; -$lang['en'][30] = 'lowercase elementnames needed for XHTML'; -$lang['en'][31] = 'Remove unnecessary backslashes'; -$lang['en'][32] = 'convert !important-hack'; -$lang['en'][33] = 'Output as file'; -$lang['en'][34] = 'Bigger compression because of smaller newlines (copy & paste doesn\'t work)'; -$lang['en'][35] = 'Process CSS'; -$lang['en'][36] = 'Compression Ratio'; -$lang['en'][37] = 'Input'; -$lang['en'][38] = 'Output'; -$lang['en'][39] = 'Language'; -$lang['en'][41] = 'Attention: This may change the behaviour of your CSS Code!'; -$lang['en'][42] = 'Remove last ;'; -$lang['en'][43] = 'Discard invalid properties'; -$lang['en'][44] = 'Only safe optimisations'; -$lang['en'][45] = 'Compress font-weight'; -$lang['en'][46] = 'Save comments'; -$lang['en'][47] = 'Do not change anything'; -$lang['en'][48] = 'Only seperate selectors (split at ,)'; -$lang['en'][49] = 'Merge selectors with the same properties (fast)'; -$lang['en'][50] = 'Merge selectors intelligently (slow)'; -$lang['en'][51] = 'Preserve CSS'; -$lang['en'][52] = 'Save comments, hacks, etc. Most optimisations can *not* be applied if this is enabled.'; -$lang['en'][53] = 'None'; -$lang['en'][54] = 'Don\'t optimise'; -$lang['en'][55] = 'Safe optimisations'; -$lang['en'][56] = 'All optimisations'; -$lang['en'][57] = 'Add timestamp'; -$lang['en'][58] = 'Copy to clipboard'; -$lang['en'][59] = 'Back to top'; -$lang['en'][60] = 'Your browser doesn\'t support copy to clipboard.'; -$lang['en'][61] = 'For bugs and suggestions feel free to'; -$lang['en'][62] = 'contact me'; -$lang['en'][63] = 'Output CSS code as complete HTML document'; -$lang['en'][64] = 'Code'; -$lang['en'][65] = 'CSS to style CSS output'; -$lang['en'][66] = 'You need to go to about:config in your URL bar, select \'signed.applets.codebase_principal_support\' in the filter field, and set its value to true in order to use this feature; however, be aware that doing so increases security risks.'; - - -$lang['de'][0] = 'CSS Formatierer und Optimierer (basierend auf CSSTidy '; -$lang['de'][1] = 'CSS Formatierer und Optimierer'; -$lang['de'][2] = '(basierend auf'; -$lang['de'][3] = '(Textversion)'; -$lang['de'][4] = 'Wichtiger Hinweis:'; -$lang['de'][6] = 'Der CSS Code sollte wohlgeformt sein. Der CSS Code wird nicht auf Gültigkeit überprüft. Um sicherzugehen dass dein Code valide ist, benutze den W3C Validierungsservice.'; -$lang['de'][7] = 'alle Kommentare werden entfernt'; -$lang['de'][8] = 'CSS Eingabe:'; -$lang['de'][9] = 'CSS-Code:'; -$lang['de'][10] = 'CSS von URL:'; -$lang['de'][11] = 'Code Layout:'; -$lang['de'][12] = 'Komprimierung (Code Layout):'; -$lang['de'][13] = 'Höchste (keine Lesbarkeit, niedrigste Größe)'; -$lang['de'][14] = 'Hoch (mittelmäßige Lesbarkeit, geringe Größe)'; -$lang['de'][15] = 'Standard (Kompromiss zwischen Lesbarkeit und Größe)'; -$lang['de'][16] = 'Niedrig (höhere Lesbarkeit)'; -$lang['de'][17] = 'Benutzerdefiniert (unten eingeben)'; -$lang['de'][18] = 'Benutzerdefinierte Vorlage'; -$lang['de'][19] = 'Optionen'; -$lang['de'][20] = 'Selektoren sortieren (Vorsicht)'; -$lang['de'][21] = 'Eigenschaften sortieren'; -$lang['de'][22] = 'Selektoren umgruppieren'; -$lang['de'][23] = 'Shorthands optimieren'; -$lang['de'][24] = 'Farben komprimieren'; -$lang['de'][25] = 'Selektoren in Kleinbuchstaben'; -$lang['de'][26] = 'Groß-/Kleinschreibung für Eigenschaften'; -$lang['de'][27] = 'Kleinbuchstaben'; -$lang['de'][28] = 'Keine oder ungültige CSS Eingabe oder falsche URL!'; -$lang['de'][29] = 'Großbuchstaben'; -$lang['de'][30] = 'kleingeschriebene Elementnamen benötigt für XHTML'; -$lang['de'][31] = 'Unnötige Backslashes entfernen'; -$lang['de'][32] = '!important-Hack konvertieren'; -$lang['de'][33] = 'Als Datei ausgeben'; -$lang['de'][34] = 'Größere Komprimierung augrund von kleineren Neuezeile-Zeichen'; -$lang['de'][35] = 'CSS verarbeiten'; -$lang['de'][36] = 'Komprimierungsrate'; -$lang['de'][37] = 'Eingabe'; -$lang['de'][38] = 'Ausgabe'; -$lang['de'][39] = 'Sprache'; -$lang['de'][41] = 'Achtung: Dies könnte das Verhalten ihres CSS-Codes verändern!'; -$lang['de'][42] = 'Letztes ; entfernen'; -$lang['de'][43] = 'Ungültige Eigenschaften entfernen'; -$lang['de'][44] = 'Nur sichere Optimierungen'; -$lang['de'][45] = 'font-weight komprimieren'; -$lang['de'][46] = 'Kommentare beibehalten'; -$lang['de'][47] = 'Nichts ändern'; -$lang['de'][48] = 'Selektoren nur trennen (am Komma)'; -$lang['de'][49] = 'Selektoren mit gleichen Eigenschaften zusammenfassen (schnell)'; -$lang['de'][50] = 'Selektoren intelligent zusammenfassen (langsam!)'; -$lang['de'][51] = 'CSS erhalten'; -$lang['de'][52] = 'Kommentare, Hacks, etc. speichern. Viele Optimierungen sind dann aber nicht mehr möglich.'; -$lang['de'][53] = 'Keine'; -$lang['de'][54] = 'Nicht optimieren'; -$lang['de'][55] = 'Sichere Optimierungen'; -$lang['de'][56] = 'Alle Optimierungen'; -$lang['de'][57] = 'Zeitstempel hinzufügen'; -$lang['de'][58] = 'Copy to clipboard'; -$lang['de'][59] = 'Back to top'; -$lang['de'][60] = 'Your browser doesn\'t support copy to clipboard.'; -$lang['de'][61] = 'For bugs and suggestions feel free to'; -$lang['de'][62] = 'contact me'; -$lang['de'][63] = 'Output CSS code as complete HTML document'; -$lang['de'][64] = 'Code'; -$lang['de'][65] = 'CSS to style CSS output'; -$lang['de'][66] = 'You need to go to about:config in your URL bar, select \'signed.applets.codebase_principal_support\' in the filter field, and set its value to true in order to use this feature; however, be aware that doing so increases security risks.'; - - -$lang['fr'][0] = 'CSS Formatteur et Optimiseur (basé sur CSSTidy '; -$lang['fr'][1] = 'CSS Formatteur et Optimiseur'; -$lang['fr'][2] = '(basé sur '; -$lang['fr'][3] = '(Version texte)'; -$lang['fr'][4] = 'Note Importante :'; -$lang['fr'][6] = 'Votre code doit être valide. Ce n’est pas un validateur qui signale les erreurs dans votre code CSS. Pour être sûr que votre code est correct, utilisez le validateur : W3C Validator.'; -$lang['fr'][7] = 'tous les commentaires sont enlevés'; -$lang['fr'][8] = 'Champ CSS :'; -$lang['fr'][9] = 'Code CSS :'; -$lang['fr'][10] = 'CSS en provenance d’une URL :
'; -$lang['fr'][11] = 'Mise en page du code :'; -$lang['fr'][12] = 'Compression (mise en page du code) :'; -$lang['fr'][13] = 'La plus élevée (aucune lisibilité, taille minimale)'; -$lang['fr'][14] = 'Élevée (lisibilité modérée, petite taille)'; -$lang['fr'][15] = 'Normale (équilibre entre lisibilité et taille)'; -$lang['fr'][16] = 'Faible (lisibilité élevée)'; -$lang['fr'][17] = 'Sur mesure (entrer ci-dessous)'; -$lang['fr'][18] = 'Gabarit sur mesure'; -$lang['fr'][19] = 'Options'; -$lang['fr'][20] = 'Trier les sélecteurs (attention)'; -$lang['fr'][21] = 'Trier les propriétés'; -$lang['fr'][22] = 'Regrouper les sélecteurs'; -$lang['fr'][23] = 'Propriétés raccourcies'; -$lang['fr'][24] = 'Compresser les couleurs'; -$lang['fr'][25] = 'Sélecteurs en minuscules'; -$lang['fr'][26] = 'Case pour les propriétés :'; -$lang['fr'][27] = 'Minuscule'; -$lang['fr'][28] = 'CSS non valide ou URL incorrecte !'; -$lang['fr'][29] = 'Majuscule'; -$lang['fr'][30] = 'les noms des éléments en minuscules (indispensables pour XHTML)'; -$lang['fr'][31] = 'enlever les antislashs inutiles'; -$lang['fr'][32] = 'convertir !important-hack'; -$lang['fr'][33] = 'Sauver en tant que fichier'; -$lang['fr'][34] = 'Meilleure compression grâce aux caractères de saut de ligne plus petits (copier & coller ne marche pas)'; -$lang['fr'][35] = 'Compresser la CSS'; -$lang['fr'][36] = 'Facteur de Compression'; -$lang['fr'][37] = 'Entrée'; -$lang['fr'][38] = 'Sortie'; -$lang['fr'][39] = 'Langue'; -$lang['fr'][41] = 'Attention : ceci peut changer le comportement de votre code CSS !'; -$lang['fr'][42] = 'Enlever le dernier ;'; -$lang['fr'][43] = 'Supprimer les propriétés non valide'; -$lang['fr'][44] = 'Seulement les optimisations sûres'; -$lang['fr'][45] = 'Compresser font-weight'; -$lang['fr'][46] = 'Sauvegarder les commentaires '; -$lang['fr'][47] = 'Ne rien changer'; -$lang['fr'][48] = 'Sépare les sélecteurs (sépare au niveau de ,)'; -$lang['fr'][49] = 'Fusionne les sélecteurs avec les mêmes propriétés (rapide)'; -$lang['fr'][50] = 'Fusionne les sélecteurs intelligemment (lent)'; -$lang['fr'][51] = 'Préserver la CSS'; -$lang['fr'][52] = 'Sauvegarder les commentaires, hacks, etc. La plupart des optimisations ne peuvent *pas* être appliquées si cela est activé.'; -$lang['fr'][53] = 'Aucun'; -$lang['fr'][54] = 'Ne pas optimiser'; -$lang['fr'][55] = 'Optimisations sûres'; -$lang['fr'][56] = 'Toutes les optimisations'; -$lang['fr'][57] = 'Ajouter un timestamp'; -$lang['fr'][58] = 'Copier dans le presse-papiers'; -$lang['fr'][59] = 'Retour en haut'; -$lang['fr'][60] = 'Votre navigateur ne suporte pas la copie vers le presse-papiers.'; -$lang['fr'][61] = 'Pour signaler des bugs ou pour des suggestions,'; -$lang['fr'][62] = 'contactez-moi'; -$lang['fr'][63] = 'Sauver le code CSS comme document complet HTML'; -$lang['fr'][64] = 'Code'; -$lang['fr'][65] = 'CSS pour colorier la sortie CSS'; -$lang['fr'][66] = 'Vous devez aller dans about:config dans votre barre d’adresse, selectionner \'signed.applets.codebase_principal_support\' dans le champ Filtre et attribuez-lui la valeur \'true\' pour utiliser cette fonctionnalité; toutefois, soyez conscient que cela augmente les risques de sécurité.'; - - -$lang['zh'][0] = 'CSS整形與最佳化工具(使用 CSSTidy '; -$lang['zh'][1] = 'CSS整形與最佳化工具'; -$lang['zh'][2] = '(使用'; -$lang['zh'][3] = '(純文字)'; -$lang['zh'][4] = '重要事項:'; -$lang['zh'][6] = '你的原始碼必須是良構的(well-formed). 這個工具沒有內建驗證器(validator). 驗證器能夠指出你CSS原始碼裡的錯誤. 請使用 W3C 驗證器, 確保你的原始碼合乎規範.'; -$lang['zh'][7] = '所有註解都移除了'; -$lang['zh'][8] = 'CSS 輸入:'; -$lang['zh'][9] = 'CSS 原始碼:'; -$lang['zh'][10] = 'CSS 檔案網址(URL):'; -$lang['zh'][11] = '原始碼規劃:'; -$lang['zh'][12] = '壓縮程度(原始碼規劃):'; -$lang['zh'][13] = '最高 (沒有辦法讀, 檔案最小)'; -$lang['zh'][14] = '高 (適度的可讀性, 檔案小)'; -$lang['zh'][15] = '標準 (兼顧可讀性與檔案大小)'; -$lang['zh'][16] = '低 (注重可讀性)'; -$lang['zh'][17] = '自訂 (在下方設定)'; -$lang['zh'][18] = '自訂樣板'; -$lang['zh'][19] = '選項'; -$lang['zh'][20] = '整理選擇符(請謹慎使用)'; -$lang['zh'][21] = '整理屬性'; -$lang['zh'][22] = '重組選擇符'; -$lang['zh'][23] = '速記法(shorthand)最佳化'; -$lang['zh'][24] = '壓縮色彩語法'; -$lang['zh'][25] = '改用小寫選擇符'; -$lang['zh'][26] = '屬性的字形:'; -$lang['zh'][27] = '小寫'; -$lang['zh'][28] = '沒有輸入CSS, 語法不符合規定, 或是網址錯誤!'; -$lang['zh'][29] = '大寫'; -$lang['zh'][30] = 'XHTML必須使用小寫的元素名稱'; -$lang['zh'][31] = '移除不必要的反斜線'; -$lang['zh'][32] = '轉換 !important-hack'; -$lang['zh'][33] = '輸出成檔案形式'; -$lang['zh'][34] = '由於比較少換行字元, 會有更大的壓縮比率(複製&貼上沒有用)'; -$lang['zh'][35] = '執行'; -$lang['zh'][36] = '壓縮比率'; -$lang['zh'][37] = '輸入'; -$lang['zh'][38] = '輸出'; -$lang['zh'][39] = '語言'; -$lang['zh'][41] = '注意: 這或許會變更你CSS原始碼的行為!'; -$lang['zh'][42] = '除去最後一個分號'; -$lang['zh'][43] = '拋棄不符合規定的屬性'; -$lang['zh'][44] = '只安全地最佳化'; -$lang['zh'][45] = '壓縮 font-weight'; -$lang['zh'][46] = '保留註解'; -$lang['zh'][47] = '什麼都不要改'; -$lang['zh'][48] = '只分開原本用逗號分隔的選擇符'; -$lang['zh'][49] = '合併有相同屬性的選擇符(快速)'; -$lang['zh'][50] = '聰明地合併選擇符(慢速)'; -$lang['zh'][51] = '保護CSS'; -$lang['zh'][52] = '保留註解與 hack 等等. 如果啟用這個選項, 大多數的最佳化程序都不會執行.'; -$lang['zh'][53] = '不改變'; -$lang['zh'][54] = '不做最佳化'; -$lang['zh'][55] = '安全地最佳化'; -$lang['zh'][56] = '全部最佳化'; -$lang['zh'][57] = '加上時間戳記'; -$lang['zh'][58] = '复制到剪贴板'; -$lang['zh'][59] = '回到页面上方'; -$lang['zh'][60] = '你的浏览器不支持复制到剪贴板。'; -$lang['zh'][61] = '如果程序有错误或你有建议,欢迎'; -$lang['zh'][62] = '和我联系'; -$lang['zh'][63] = 'Output CSS code as complete HTML document'; -$lang['zh'][64] = '代码'; -$lang['zh'][65] = 'CSS to style CSS output'; -$lang['zh'][66] = 'You need to go to about:config in your URL bar, select \'signed.applets.codebase_principal_support\' in the filter field, and set its value to true in order to use this feature; however, be aware that doing so increases security risks.'; +. + * + * @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License + * @package csstidy + * @author Florian Schmitz (floele at gmail dot com) 2005-2007 + * @author Brett Zamir (brettz9 at yahoo dot com) 2007 + */ + + +if(isset($_GET['lang'])) { + $l = $_GET['lang']; +} +else if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { + $l = $_SERVER['HTTP_ACCEPT_LANGUAGE']; + $l = strtolower(substr($l, 0, 2)); +} +else { + $l = ''; +} + +$l = (in_array($l, array('de', 'fr', 'zh'))) ? $l : 'en'; + +// note 5 in all but French, and 40 in all are orphaned + +$lang = array(); +$lang['en'][0] = 'CSS Formatter and Optimiser/Optimizer (based on CSSTidy '; +$lang['en'][1] = 'CSS Formatter and Optimiser'; +$lang['en'][2] = '(based on'; +$lang['en'][3] = '(plaintext)'; +$lang['en'][4] = 'Important Note:'; +$lang['en'][6] = 'Your code should be well-formed. This is not a validator which points out errors in your CSS code. To make sure that your code is valid, use the W3C Validator.'; +$lang['en'][7] = 'all comments are removed'; +$lang['en'][8] = 'CSS Input:'; +$lang['en'][9] = 'CSS-Code:'; +$lang['en'][10] = 'CSS from URL:'; +$lang['en'][11] = 'Code Layout:'; +$lang['en'][12] = 'Compression (code layout):'; +$lang['en'][13] = 'Highest (no readability, smallest size)'; +$lang['en'][14] = 'High (moderate readability, smaller size)'; +$lang['en'][15] = 'Standard (balance between readability and size)'; +$lang['en'][16] = 'Low (higher readability)'; +$lang['en'][17] = 'Custom (enter below)'; +$lang['en'][18] = 'Custom template'; +$lang['en'][19] = 'Options'; +$lang['en'][20] = 'Sort Selectors (caution)'; +$lang['en'][21] = 'Sort Properties'; +$lang['en'][22] = 'Regroup selectors'; +$lang['en'][23] = 'Optimise shorthands'; +$lang['en'][24] = 'Compress colors'; +$lang['en'][25] = 'Lowercase selectors'; +$lang['en'][26] = 'Case for properties:'; +$lang['en'][27] = 'Lowercase'; +$lang['en'][28] = 'No or invalid CSS input or wrong URL!'; +$lang['en'][29] = 'Uppercase'; +$lang['en'][30] = 'lowercase elementnames needed for XHTML'; +$lang['en'][31] = 'Remove unnecessary backslashes'; +$lang['en'][32] = 'convert !important-hack'; +$lang['en'][33] = 'Output as file'; +$lang['en'][34] = 'Bigger compression because of smaller newlines (copy & paste doesn\'t work)'; +$lang['en'][35] = 'Process CSS'; +$lang['en'][36] = 'Compression Ratio'; +$lang['en'][37] = 'Input'; +$lang['en'][38] = 'Output'; +$lang['en'][39] = 'Language'; +$lang['en'][41] = 'Attention: This may change the behaviour of your CSS Code!'; +$lang['en'][42] = 'Remove last ;'; +$lang['en'][43] = 'Discard invalid properties'; +$lang['en'][44] = 'Only safe optimisations'; +$lang['en'][45] = 'Compress font-weight'; +$lang['en'][46] = 'Save comments'; +$lang['en'][47] = 'Do not change anything'; +$lang['en'][48] = 'Only seperate selectors (split at ,)'; +$lang['en'][49] = 'Merge selectors with the same properties (fast)'; +$lang['en'][50] = 'Merge selectors intelligently (slow)'; +$lang['en'][51] = 'Preserve CSS'; +$lang['en'][52] = 'Save comments, hacks, etc. Most optimisations can *not* be applied if this is enabled.'; +$lang['en'][53] = 'None'; +$lang['en'][54] = 'Don\'t optimise'; +$lang['en'][55] = 'Safe optimisations'; +$lang['en'][56] = 'All optimisations'; +$lang['en'][57] = 'Add timestamp'; +$lang['en'][58] = 'Copy to clipboard'; +$lang['en'][59] = 'Back to top'; +$lang['en'][60] = 'Your browser doesn\'t support copy to clipboard.'; +$lang['en'][61] = 'For bugs and suggestions feel free to'; +$lang['en'][62] = 'contact me'; +$lang['en'][63] = 'Output CSS code as complete HTML document'; +$lang['en'][64] = 'Code'; +$lang['en'][65] = 'CSS to style CSS output'; +$lang['en'][66] = 'You need to go to about:config in your URL bar, select \'signed.applets.codebase_principal_support\' in the filter field, and set its value to true in order to use this feature; however, be aware that doing so increases security risks.'; + + +$lang['de'][0] = 'CSS Formatierer und Optimierer (basierend auf CSSTidy '; +$lang['de'][1] = 'CSS Formatierer und Optimierer'; +$lang['de'][2] = '(basierend auf'; +$lang['de'][3] = '(Textversion)'; +$lang['de'][4] = 'Wichtiger Hinweis:'; +$lang['de'][6] = 'Der CSS Code sollte wohlgeformt sein. Der CSS Code wird nicht auf Gültigkeit überprüft. Um sicherzugehen dass dein Code valide ist, benutze den W3C Validierungsservice.'; +$lang['de'][7] = 'alle Kommentare werden entfernt'; +$lang['de'][8] = 'CSS Eingabe:'; +$lang['de'][9] = 'CSS-Code:'; +$lang['de'][10] = 'CSS von URL:'; +$lang['de'][11] = 'Code Layout:'; +$lang['de'][12] = 'Komprimierung (Code Layout):'; +$lang['de'][13] = 'Höchste (keine Lesbarkeit, niedrigste Größe)'; +$lang['de'][14] = 'Hoch (mittelmäßige Lesbarkeit, geringe Größe)'; +$lang['de'][15] = 'Standard (Kompromiss zwischen Lesbarkeit und Größe)'; +$lang['de'][16] = 'Niedrig (höhere Lesbarkeit)'; +$lang['de'][17] = 'Benutzerdefiniert (unten eingeben)'; +$lang['de'][18] = 'Benutzerdefinierte Vorlage'; +$lang['de'][19] = 'Optionen'; +$lang['de'][20] = 'Selektoren sortieren (Vorsicht)'; +$lang['de'][21] = 'Eigenschaften sortieren'; +$lang['de'][22] = 'Selektoren umgruppieren'; +$lang['de'][23] = 'Shorthands optimieren'; +$lang['de'][24] = 'Farben komprimieren'; +$lang['de'][25] = 'Selektoren in Kleinbuchstaben'; +$lang['de'][26] = 'Groß-/Kleinschreibung für Eigenschaften'; +$lang['de'][27] = 'Kleinbuchstaben'; +$lang['de'][28] = 'Keine oder ungültige CSS Eingabe oder falsche URL!'; +$lang['de'][29] = 'Großbuchstaben'; +$lang['de'][30] = 'kleingeschriebene Elementnamen benötigt für XHTML'; +$lang['de'][31] = 'Unnötige Backslashes entfernen'; +$lang['de'][32] = '!important-Hack konvertieren'; +$lang['de'][33] = 'Als Datei ausgeben'; +$lang['de'][34] = 'Größere Komprimierung augrund von kleineren Neuezeile-Zeichen'; +$lang['de'][35] = 'CSS verarbeiten'; +$lang['de'][36] = 'Komprimierungsrate'; +$lang['de'][37] = 'Eingabe'; +$lang['de'][38] = 'Ausgabe'; +$lang['de'][39] = 'Sprache'; +$lang['de'][41] = 'Achtung: Dies könnte das Verhalten ihres CSS-Codes verändern!'; +$lang['de'][42] = 'Letztes ; entfernen'; +$lang['de'][43] = 'Ungültige Eigenschaften entfernen'; +$lang['de'][44] = 'Nur sichere Optimierungen'; +$lang['de'][45] = 'font-weight komprimieren'; +$lang['de'][46] = 'Kommentare beibehalten'; +$lang['de'][47] = 'Nichts ändern'; +$lang['de'][48] = 'Selektoren nur trennen (am Komma)'; +$lang['de'][49] = 'Selektoren mit gleichen Eigenschaften zusammenfassen (schnell)'; +$lang['de'][50] = 'Selektoren intelligent zusammenfassen (langsam!)'; +$lang['de'][51] = 'CSS erhalten'; +$lang['de'][52] = 'Kommentare, Hacks, etc. speichern. Viele Optimierungen sind dann aber nicht mehr möglich.'; +$lang['de'][53] = 'Keine'; +$lang['de'][54] = 'Nicht optimieren'; +$lang['de'][55] = 'Sichere Optimierungen'; +$lang['de'][56] = 'Alle Optimierungen'; +$lang['de'][57] = 'Zeitstempel hinzufügen'; +$lang['de'][58] = 'Copy to clipboard'; +$lang['de'][59] = 'Back to top'; +$lang['de'][60] = 'Your browser doesn\'t support copy to clipboard.'; +$lang['de'][61] = 'For bugs and suggestions feel free to'; +$lang['de'][62] = 'contact me'; +$lang['de'][63] = 'Output CSS code as complete HTML document'; +$lang['de'][64] = 'Code'; +$lang['de'][65] = 'CSS to style CSS output'; +$lang['de'][66] = 'You need to go to about:config in your URL bar, select \'signed.applets.codebase_principal_support\' in the filter field, and set its value to true in order to use this feature; however, be aware that doing so increases security risks.'; + + +$lang['fr'][0] = 'CSS Formatteur et Optimiseur (basé sur CSSTidy '; +$lang['fr'][1] = 'CSS Formatteur et Optimiseur'; +$lang['fr'][2] = '(basé sur '; +$lang['fr'][3] = '(Version texte)'; +$lang['fr'][4] = 'Note Importante :'; +$lang['fr'][6] = 'Votre code doit être valide. Ce n’est pas un validateur qui signale les erreurs dans votre code CSS. Pour être sûr que votre code est correct, utilisez le validateur : W3C Validator.'; +$lang['fr'][7] = 'tous les commentaires sont enlevés'; +$lang['fr'][8] = 'Champ CSS :'; +$lang['fr'][9] = 'Code CSS :'; +$lang['fr'][10] = 'CSS en provenance d’une URL :
'; +$lang['fr'][11] = 'Mise en page du code :'; +$lang['fr'][12] = 'Compression (mise en page du code) :'; +$lang['fr'][13] = 'La plus élevée (aucune lisibilité, taille minimale)'; +$lang['fr'][14] = 'Élevée (lisibilité modérée, petite taille)'; +$lang['fr'][15] = 'Normale (équilibre entre lisibilité et taille)'; +$lang['fr'][16] = 'Faible (lisibilité élevée)'; +$lang['fr'][17] = 'Sur mesure (entrer ci-dessous)'; +$lang['fr'][18] = 'Gabarit sur mesure'; +$lang['fr'][19] = 'Options'; +$lang['fr'][20] = 'Trier les sélecteurs (attention)'; +$lang['fr'][21] = 'Trier les propriétés'; +$lang['fr'][22] = 'Regrouper les sélecteurs'; +$lang['fr'][23] = 'Propriétés raccourcies'; +$lang['fr'][24] = 'Compresser les couleurs'; +$lang['fr'][25] = 'Sélecteurs en minuscules'; +$lang['fr'][26] = 'Case pour les propriétés :'; +$lang['fr'][27] = 'Minuscule'; +$lang['fr'][28] = 'CSS non valide ou URL incorrecte !'; +$lang['fr'][29] = 'Majuscule'; +$lang['fr'][30] = 'les noms des éléments en minuscules (indispensables pour XHTML)'; +$lang['fr'][31] = 'enlever les antislashs inutiles'; +$lang['fr'][32] = 'convertir !important-hack'; +$lang['fr'][33] = 'Sauver en tant que fichier'; +$lang['fr'][34] = 'Meilleure compression grâce aux caractères de saut de ligne plus petits (copier & coller ne marche pas)'; +$lang['fr'][35] = 'Compresser la CSS'; +$lang['fr'][36] = 'Facteur de Compression'; +$lang['fr'][37] = 'Entrée'; +$lang['fr'][38] = 'Sortie'; +$lang['fr'][39] = 'Langue'; +$lang['fr'][41] = 'Attention : ceci peut changer le comportement de votre code CSS !'; +$lang['fr'][42] = 'Enlever le dernier ;'; +$lang['fr'][43] = 'Supprimer les propriétés non valide'; +$lang['fr'][44] = 'Seulement les optimisations sûres'; +$lang['fr'][45] = 'Compresser font-weight'; +$lang['fr'][46] = 'Sauvegarder les commentaires '; +$lang['fr'][47] = 'Ne rien changer'; +$lang['fr'][48] = 'Sépare les sélecteurs (sépare au niveau de ,)'; +$lang['fr'][49] = 'Fusionne les sélecteurs avec les mêmes propriétés (rapide)'; +$lang['fr'][50] = 'Fusionne les sélecteurs intelligemment (lent)'; +$lang['fr'][51] = 'Préserver la CSS'; +$lang['fr'][52] = 'Sauvegarder les commentaires, hacks, etc. La plupart des optimisations ne peuvent *pas* être appliquées si cela est activé.'; +$lang['fr'][53] = 'Aucun'; +$lang['fr'][54] = 'Ne pas optimiser'; +$lang['fr'][55] = 'Optimisations sûres'; +$lang['fr'][56] = 'Toutes les optimisations'; +$lang['fr'][57] = 'Ajouter un timestamp'; +$lang['fr'][58] = 'Copier dans le presse-papiers'; +$lang['fr'][59] = 'Retour en haut'; +$lang['fr'][60] = 'Votre navigateur ne suporte pas la copie vers le presse-papiers.'; +$lang['fr'][61] = 'Pour signaler des bugs ou pour des suggestions,'; +$lang['fr'][62] = 'contactez-moi'; +$lang['fr'][63] = 'Sauver le code CSS comme document complet HTML'; +$lang['fr'][64] = 'Code'; +$lang['fr'][65] = 'CSS pour colorier la sortie CSS'; +$lang['fr'][66] = 'Vous devez aller dans about:config dans votre barre d’adresse, selectionner \'signed.applets.codebase_principal_support\' dans le champ Filtre et attribuez-lui la valeur \'true\' pour utiliser cette fonctionnalité; toutefois, soyez conscient que cela augmente les risques de sécurité.'; + + +$lang['zh'][0] = 'CSS整形與最佳化工具(使用 CSSTidy '; +$lang['zh'][1] = 'CSS整形與最佳化工具'; +$lang['zh'][2] = '(使用'; +$lang['zh'][3] = '(純文字)'; +$lang['zh'][4] = '重要事項:'; +$lang['zh'][6] = '你的原始碼必須是良構的(well-formed). 這個工具沒有內建驗證器(validator). 驗證器能夠指出你CSS原始碼裡的錯誤. 請使用 W3C 驗證器, 確保你的原始碼合乎規範.'; +$lang['zh'][7] = '所有註解都移除了'; +$lang['zh'][8] = 'CSS 輸入:'; +$lang['zh'][9] = 'CSS 原始碼:'; +$lang['zh'][10] = 'CSS 檔案網址(URL):'; +$lang['zh'][11] = '原始碼規劃:'; +$lang['zh'][12] = '壓縮程度(原始碼規劃):'; +$lang['zh'][13] = '最高 (沒有辦法讀, 檔案最小)'; +$lang['zh'][14] = '高 (適度的可讀性, 檔案小)'; +$lang['zh'][15] = '標準 (兼顧可讀性與檔案大小)'; +$lang['zh'][16] = '低 (注重可讀性)'; +$lang['zh'][17] = '自訂 (在下方設定)'; +$lang['zh'][18] = '自訂樣板'; +$lang['zh'][19] = '選項'; +$lang['zh'][20] = '整理選擇符(請謹慎使用)'; +$lang['zh'][21] = '整理屬性'; +$lang['zh'][22] = '重組選擇符'; +$lang['zh'][23] = '速記法(shorthand)最佳化'; +$lang['zh'][24] = '壓縮色彩語法'; +$lang['zh'][25] = '改用小寫選擇符'; +$lang['zh'][26] = '屬性的字形:'; +$lang['zh'][27] = '小寫'; +$lang['zh'][28] = '沒有輸入CSS, 語法不符合規定, 或是網址錯誤!'; +$lang['zh'][29] = '大寫'; +$lang['zh'][30] = 'XHTML必須使用小寫的元素名稱'; +$lang['zh'][31] = '移除不必要的反斜線'; +$lang['zh'][32] = '轉換 !important-hack'; +$lang['zh'][33] = '輸出成檔案形式'; +$lang['zh'][34] = '由於比較少換行字元, 會有更大的壓縮比率(複製&貼上沒有用)'; +$lang['zh'][35] = '執行'; +$lang['zh'][36] = '壓縮比率'; +$lang['zh'][37] = '輸入'; +$lang['zh'][38] = '輸出'; +$lang['zh'][39] = '語言'; +$lang['zh'][41] = '注意: 這或許會變更你CSS原始碼的行為!'; +$lang['zh'][42] = '除去最後一個分號'; +$lang['zh'][43] = '拋棄不符合規定的屬性'; +$lang['zh'][44] = '只安全地最佳化'; +$lang['zh'][45] = '壓縮 font-weight'; +$lang['zh'][46] = '保留註解'; +$lang['zh'][47] = '什麼都不要改'; +$lang['zh'][48] = '只分開原本用逗號分隔的選擇符'; +$lang['zh'][49] = '合併有相同屬性的選擇符(快速)'; +$lang['zh'][50] = '聰明地合併選擇符(慢速)'; +$lang['zh'][51] = '保護CSS'; +$lang['zh'][52] = '保留註解與 hack 等等. 如果啟用這個選項, 大多數的最佳化程序都不會執行.'; +$lang['zh'][53] = '不改變'; +$lang['zh'][54] = '不做最佳化'; +$lang['zh'][55] = '安全地最佳化'; +$lang['zh'][56] = '全部最佳化'; +$lang['zh'][57] = '加上時間戳記'; +$lang['zh'][58] = '复制到剪贴板'; +$lang['zh'][59] = '回到页面上方'; +$lang['zh'][60] = '你的浏览器不支持复制到剪贴板。'; +$lang['zh'][61] = '如果程序有错误或你有建议,欢迎'; +$lang['zh'][62] = '和我联系'; +$lang['zh'][63] = 'Output CSS code as complete HTML document'; +$lang['zh'][64] = '代码'; +$lang['zh'][65] = 'CSS to style CSS output'; +$lang['zh'][66] = 'You need to go to about:config in your URL bar, select \'signed.applets.codebase_principal_support\' in the filter field, and set its value to true in order to use this feature; however, be aware that doing so increases security risks.'; diff --git a/install/templates/styles/ie6.css b/install/templates/styles/ie6.css index 140f2da8..6c9924c3 100644 --- a/install/templates/styles/ie6.css +++ b/install/templates/styles/ie6.css @@ -1,32 +1,32 @@ -#container { width: expression((documentElement.offsetWidth || document.body.offsetWidth) < 900 ? '900px' : 'auto'); } - -#header h1 { padding-top: 29px; } -#header .nav-main { padding-top: 31px; } - -#nav .nav-blog li ul li a { padding: 4px 11px 4px 0; } - -.topic, .topic .action, .topic .voting, #sidebar .tags ul, .people.top-blogs td.name, -.stream .stream-nav, #footer,, .profile-blog .about .content ul.admin-list, -.profile-blog .about .content, #wrapper.white-back, .block.stat .gender, -.profile-blog .about .content ul.reader-list, .profile-user .name, #pagination ul, -.block-nav, .profile-blog, .poll li dl { zoom: 1; } - -.update { position:absolute; top:expression( eval(document.documentElement.scrollTop) + 220 +"px" ); } -.people table tbody td.rating.up span { background: url(../images/blog-rating-up.gif) no-repeat right 8px; } -.people table tbody td.rating.down span { background: url(../images/blog-rating-down.gif) no-repeat right 8px; } -.people.top-blogs td.name a.author { line-height: 25px; } -.people.top-blogs .join a { position: relative; top: 2px; } -.profile-blog .about { position: relative; top: -15px; } - -.comment .info img.avatar { margin: 2px 7px 0 0; } - -.block-nav li a { margin: 0 4px; } -.block-nav li em { margin-left: 0px; } - -.topic .favorite.guest a { background: none; cursor: default; } - -.overlay { zoom: 1; background: #000; filter: alpha(opacity=50); } -.login-popup .content { padding-right: 38px; } - - - +#container { width: expression((documentElement.offsetWidth || document.body.offsetWidth) < 900 ? '900px' : 'auto'); } + +#header h1 { padding-top: 29px; } +#header .nav-main { padding-top: 31px; } + +#nav .nav-blog li ul li a { padding: 4px 11px 4px 0; } + +.topic, .topic .action, .topic .voting, #sidebar .tags ul, .people.top-blogs td.name, +.stream .stream-nav, #footer,, .profile-blog .about .content ul.admin-list, +.profile-blog .about .content, #wrapper.white-back, .block.stat .gender, +.profile-blog .about .content ul.reader-list, .profile-user .name, #pagination ul, +.block-nav, .profile-blog, .poll li dl { zoom: 1; } + +.update { position:absolute; top:expression( eval(document.documentElement.scrollTop) + 220 +"px" ); } +.people table tbody td.rating.up span { background: url(../images/blog-rating-up.gif) no-repeat right 8px; } +.people table tbody td.rating.down span { background: url(../images/blog-rating-down.gif) no-repeat right 8px; } +.people.top-blogs td.name a.author { line-height: 25px; } +.people.top-blogs .join a { position: relative; top: 2px; } +.profile-blog .about { position: relative; top: -15px; } + +.comment .info img.avatar { margin: 2px 7px 0 0; } + +.block-nav li a { margin: 0 4px; } +.block-nav li em { margin-left: 0px; } + +.topic .favorite.guest a { background: none; cursor: default; } + +.overlay { zoom: 1; background: #000; filter: alpha(opacity=50); } +.login-popup .content { padding-right: 38px; } + + + diff --git a/install/templates/styles/ie7.css b/install/templates/styles/ie7.css index 0fff327a..eb9f75d3 100644 --- a/install/templates/styles/ie7.css +++ b/install/templates/styles/ie7.css @@ -1,10 +1,10 @@ -#header h1 { padding-top: 29px; } -#header .nav-main { padding-top: 31px; } -.comment .info img.avatar { margin: 2px 7px 0 0; } -#nav .nav-blog li ul li a { padding: 4px 11px 4px 0; } -.people table tbody td.rating.up span { background: url(../images/blog-rating-up.gif) no-repeat right 8px; } -.people table tbody td.rating.down span { background: url(../images/blog-rating-down.gif) no-repeat right 8px; } -.people.top-blogs td.name a.author { line-height: 25px; } -.people.top-blogs .join a { position: relative; top: 1px; } -.overlay { zoom: 1; background: #000; filter: alpha(opacity=50); } +#header h1 { padding-top: 29px; } +#header .nav-main { padding-top: 31px; } +.comment .info img.avatar { margin: 2px 7px 0 0; } +#nav .nav-blog li ul li a { padding: 4px 11px 4px 0; } +.people table tbody td.rating.up span { background: url(../images/blog-rating-up.gif) no-repeat right 8px; } +.people table tbody td.rating.down span { background: url(../images/blog-rating-down.gif) no-repeat right 8px; } +.people.top-blogs td.name a.author { line-height: 25px; } +.people.top-blogs .join a { position: relative; top: 1px; } +.overlay { zoom: 1; background: #000; filter: alpha(opacity=50); } .login-popup .content { padding-right: 38px; } \ No newline at end of file diff --git a/install/templates/styles/style.css b/install/templates/styles/style.css index e12e2f06..76ac9c9e 100644 --- a/install/templates/styles/style.css +++ b/install/templates/styles/style.css @@ -1,141 +1,141 @@ -/* Reset --------------------------------------------------------------------*/ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, font, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td { padding: 0; margin: 0; } -ul, ol { list-style: none; } -img { border: none; } - - - -/* Body --------------------------------------------------------------------*/ -html, body { height: 100%; } -body { font: 12px/18px Tahoma, Arial, Helvetica, sans-serif; color: #333; background: #f7f8f9; } - -h1, h2, h3, h4, h5, h6 { font: normal 18px Verdana; color: #333; } -h1 { font-size: 22px; line-height: 26px; margin-bottom: 10px; } -h2 { font-size: 20px; line-height: 24px; margin-bottom: 7px; } -h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } -h4 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } -h5 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } -h6 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } - -a { color: #70aae0; } -a:hover { text-decoration: none; } - -.voting a { outline: none; } - -h1 span { color: #ccc; } - - - -/* Generic Blocks --------------------------------------------------------------------*/ -#container { min-width: 900px; } -#header { height: 80px; clear: both; overflow: hidden; zoom: 1; background: #000 url(../images/header-bg.gif) repeat-x; } -#nav { clear: both; background: #e8e8e8; } -#wrapper { overflow: hidden; zoom: 1; margin-bottom: 30px; padding: 20px 46px 30px 20px; } -#content { width: 67%; background: #fff; float: left; clear: left; padding-top: 20px; padding-bottom: 20px; zoom: 1; } -#sidebar { width: 32%; float: left; margin-left: 1%; margin-top: -6px; } -#footer { clear: both; background: url(../images/footer-bg.gif) repeat-x; padding: 20px 40px; color: #999; overflow: hidden; } - -.update-hide { padding: 20px 16px 30px 20px !important; } -.white-back { background: #fff; margin: 0 20px 30px 20px; padding-bottom: 15px ; padding-left: 20px; } -.white-back #content { clear: none; padding-top: 0; } -.page-talk { padding-left: 3px !important; margin-right: 50px !important; } - - -/* Forms --------------------------------------------------------------------*/ -label { margin-bottom: 2px; } -form p { margin-bottom: 20px; } -form .note { float: right; font-size: 11px; } -form .buttons { overflow: hidden; } -form .right { float: right; font-size: 18px; font-family: Tahoma; color: #333; padding: 5px; } -textarea { width: 99%; height: 200px; margin-bottom: 5px; } -textarea.small { width: 300px; height: 70px; margin-bottom: 5px; } -select { width: 99%; } -.w50 { width: 50px; } -.w70 { width: 70px; } -.w100 { width: 100px; } -.w200 { width: 200px; } -.w300 { width: 300px; } -.w100p { width: 99%; } -.radio { position: relative; top: 2px; } -.checkbox { position: relative; top: 2px; margin-left: 0; } -.form-tags { padding: 10px; background: #fafafa; color: #999; } -.form-tags input { width: 99%; } -.form_note { font-size: 11px; color: #aaa; } - - -/* Login and Lite Pages --------------------------------------------------------------------*/ -.lite-header { padding: 30px 20px; } -.lite-header a { color: #c7c7c7; font-size: 26px; text-decoration: none; } -.lite-header a span { color: #dedede; } -.lite-header a:hover { color: #333; } -.lite-header a:hover span { color: #777; } - -.lite-center { margin: 0 auto 20px; top: 200px; width: 400px; color: #888; } -.lite-center h3, .login-popup h3 { color: #bec0bf; margin-bottom: 20px; } -.lite-center button, .login-popup button { float: right; } -.lite-center .input-text, .login-popup .input-text { width: 400px; font-size: 18px; padding: 4px 0; border: 1px solid #d7d7d7; color: #555; } -.lite-center .input-checkbox, .login-popup .input-checkbox { padding-top: 7px; } -.lite-center .input-checkbox input, .login-popup .input-checkbox input { position: relative; top: 2px; } -.lite-center .input-note { display: block; color: #bbb; font-size: 11px; line-height: 14px; } - -.lite-center.error h1 { font-size: 28px; color: #888; } -.lite-center.error p { margin-bottom: 10px; color: #888; } - -.lite-center.register { position: static; margin: 0 auto; } - -.lite-note { overflow: hidden; zoom: 1; } -.lite-note a { float: right; font-size: 11px; } - -.login-popup { z-index: 100; width: 492px; } -.login-popup .input-text { width: 402px; padding: 4px 5px; } -.login-popup .content { background: #dcdedd url(../images/login-popup-bg.gif) repeat-x; padding: 15px 40px; } -.login-popup .login-popup-top { height: 14px; background: url(../images/login-popup-top.gif) no-repeat; width: 492px; position: relative; } -.login-popup .login-popup-bottom { height: 14px; background: url(../images/login-popup-bottom.gif) no-repeat; width: 492px; } -.login-popup .close-block { position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; background: url(../images/close-block.gif) no-repeat; } - -.upload-image p { margin-bottom: 5px; } -.upload-image label { color: #aaa; } - -.tags-input { width: 400px; font-size: 18px; padding: 4px 4px 6px; border: 1px solid #ccc; color: #555; background: #fafafa; } - - - -/* Button --------------------------------------------------------------------*/ -button, a.button { font-size: 14px; font-family: Tahoma, sans-serif; border: none; background: none; padding: 0; overflow: visible; text-align: center; white-space: nowrap; cursor: pointer; } -button span, button em, a.button span, a.button em { display: block; height: 31px; line-height: 31px; margin: 0; color:#333; } -button span, a.button span { background: url(../images/button.gif) no-repeat 0 0; margin-right: 20px; } -button em, a.button em { font-style: normal; padding-right: 20px; background: url(../images/button.gif) no-repeat right 0; position: relative; right: -20px; } -a.button.small { font-size: 12px; text-decoration: none; } -a.button.small span, a.button.small em { height: 22px; line-height: 22px; } -a.button.small span { background: url(../images/button-small.gif) no-repeat 0 0; margin-right: 20px; } -a.button.small em { background: url(../images/button-small.gif) no-repeat right 0; } - -#system_messages_error { background: #f0c8c8; border: 1px solid #ff8181; padding: 15px; margin-bottom: 15px; color: #b22626; } -#system_messages_notice { background: #dafad8; border: 1px solid #83c460; padding: 15px; margin-bottom: 15px; color: #4bb23b; } - - - - - - - - - - - - - +/* Reset +-------------------------------------------------------------------*/ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { padding: 0; margin: 0; } +ul, ol { list-style: none; } +img { border: none; } + + + +/* Body +-------------------------------------------------------------------*/ +html, body { height: 100%; } +body { font: 12px/18px Tahoma, Arial, Helvetica, sans-serif; color: #333; background: #f7f8f9; } + +h1, h2, h3, h4, h5, h6 { font: normal 18px Verdana; color: #333; } +h1 { font-size: 22px; line-height: 26px; margin-bottom: 10px; } +h2 { font-size: 20px; line-height: 24px; margin-bottom: 7px; } +h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } +h4 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } +h5 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } +h6 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } + +a { color: #70aae0; } +a:hover { text-decoration: none; } + +.voting a { outline: none; } + +h1 span { color: #ccc; } + + + +/* Generic Blocks +-------------------------------------------------------------------*/ +#container { min-width: 900px; } +#header { height: 80px; clear: both; overflow: hidden; zoom: 1; background: #000 url(../images/header-bg.gif) repeat-x; } +#nav { clear: both; background: #e8e8e8; } +#wrapper { overflow: hidden; zoom: 1; margin-bottom: 30px; padding: 20px 46px 30px 20px; } +#content { width: 67%; background: #fff; float: left; clear: left; padding-top: 20px; padding-bottom: 20px; zoom: 1; } +#sidebar { width: 32%; float: left; margin-left: 1%; margin-top: -6px; } +#footer { clear: both; background: url(../images/footer-bg.gif) repeat-x; padding: 20px 40px; color: #999; overflow: hidden; } + +.update-hide { padding: 20px 16px 30px 20px !important; } +.white-back { background: #fff; margin: 0 20px 30px 20px; padding-bottom: 15px ; padding-left: 20px; } +.white-back #content { clear: none; padding-top: 0; } +.page-talk { padding-left: 3px !important; margin-right: 50px !important; } + + +/* Forms +-------------------------------------------------------------------*/ +label { margin-bottom: 2px; } +form p { margin-bottom: 20px; } +form .note { float: right; font-size: 11px; } +form .buttons { overflow: hidden; } +form .right { float: right; font-size: 18px; font-family: Tahoma; color: #333; padding: 5px; } +textarea { width: 99%; height: 200px; margin-bottom: 5px; } +textarea.small { width: 300px; height: 70px; margin-bottom: 5px; } +select { width: 99%; } +.w50 { width: 50px; } +.w70 { width: 70px; } +.w100 { width: 100px; } +.w200 { width: 200px; } +.w300 { width: 300px; } +.w100p { width: 99%; } +.radio { position: relative; top: 2px; } +.checkbox { position: relative; top: 2px; margin-left: 0; } +.form-tags { padding: 10px; background: #fafafa; color: #999; } +.form-tags input { width: 99%; } +.form_note { font-size: 11px; color: #aaa; } + + +/* Login and Lite Pages +-------------------------------------------------------------------*/ +.lite-header { padding: 30px 20px; } +.lite-header a { color: #c7c7c7; font-size: 26px; text-decoration: none; } +.lite-header a span { color: #dedede; } +.lite-header a:hover { color: #333; } +.lite-header a:hover span { color: #777; } + +.lite-center { margin: 0 auto 20px; top: 200px; width: 400px; color: #888; } +.lite-center h3, .login-popup h3 { color: #bec0bf; margin-bottom: 20px; } +.lite-center button, .login-popup button { float: right; } +.lite-center .input-text, .login-popup .input-text { width: 400px; font-size: 18px; padding: 4px 0; border: 1px solid #d7d7d7; color: #555; } +.lite-center .input-checkbox, .login-popup .input-checkbox { padding-top: 7px; } +.lite-center .input-checkbox input, .login-popup .input-checkbox input { position: relative; top: 2px; } +.lite-center .input-note { display: block; color: #bbb; font-size: 11px; line-height: 14px; } + +.lite-center.error h1 { font-size: 28px; color: #888; } +.lite-center.error p { margin-bottom: 10px; color: #888; } + +.lite-center.register { position: static; margin: 0 auto; } + +.lite-note { overflow: hidden; zoom: 1; } +.lite-note a { float: right; font-size: 11px; } + +.login-popup { z-index: 100; width: 492px; } +.login-popup .input-text { width: 402px; padding: 4px 5px; } +.login-popup .content { background: #dcdedd url(../images/login-popup-bg.gif) repeat-x; padding: 15px 40px; } +.login-popup .login-popup-top { height: 14px; background: url(../images/login-popup-top.gif) no-repeat; width: 492px; position: relative; } +.login-popup .login-popup-bottom { height: 14px; background: url(../images/login-popup-bottom.gif) no-repeat; width: 492px; } +.login-popup .close-block { position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; background: url(../images/close-block.gif) no-repeat; } + +.upload-image p { margin-bottom: 5px; } +.upload-image label { color: #aaa; } + +.tags-input { width: 400px; font-size: 18px; padding: 4px 4px 6px; border: 1px solid #ccc; color: #555; background: #fafafa; } + + + +/* Button +-------------------------------------------------------------------*/ +button, a.button { font-size: 14px; font-family: Tahoma, sans-serif; border: none; background: none; padding: 0; overflow: visible; text-align: center; white-space: nowrap; cursor: pointer; } +button span, button em, a.button span, a.button em { display: block; height: 31px; line-height: 31px; margin: 0; color:#333; } +button span, a.button span { background: url(../images/button.gif) no-repeat 0 0; margin-right: 20px; } +button em, a.button em { font-style: normal; padding-right: 20px; background: url(../images/button.gif) no-repeat right 0; position: relative; right: -20px; } +a.button.small { font-size: 12px; text-decoration: none; } +a.button.small span, a.button.small em { height: 22px; line-height: 22px; } +a.button.small span { background: url(../images/button-small.gif) no-repeat 0 0; margin-right: 20px; } +a.button.small em { background: url(../images/button-small.gif) no-repeat right 0; } + +#system_messages_error { background: #f0c8c8; border: 1px solid #ff8181; padding: 15px; margin-bottom: 15px; color: #b22626; } +#system_messages_notice { background: #dafad8; border: 1px solid #83c460; padding: 15px; margin-bottom: 15px; color: #4bb23b; } + + + + + + + + + + + + + diff --git a/templates/language/english.php b/templates/language/english.php index f41bfccd..14529b2c 100644 --- a/templates/language/english.php +++ b/templates/language/english.php @@ -1,23 +1,24 @@ "Blogger's name", 'blogs_personal_description' => 'This is your personal blog.', 'blog_closed' => 'Private blog', - 'blog_no_topic' => 'No one posted here yet', 'blog_rss' => 'RSS feed', 'blog_rating' => 'Rating', @@ -50,9 +50,9 @@ return array( 'blog_user_administrators' => 'Administrators', 'blog_user_moderators' => 'Moderators', 'blog_user_moderators_empty' => 'No moderators here', - 'blog_user_readers' => 'Readers', + 'blog_user_readers' => 'Readers', 'blog_user_readers_all' => 'All readers', - 'blog_user_readers_empty' => 'No readers here', + 'blog_user_readers_empty' => 'No readers here', /** * Blog votings */ @@ -67,12 +67,12 @@ return array( /** * Register/Unregister to the blog */ - 'blog_join' => 'Join the blog', - 'blog_join_ok' => 'You joined this blog', - 'blog_join_error_invite' => 'You can join this blog only by invitation!', - 'blog_join_error_self' => "Why would you join this blog? You're already it's owner!", - 'blog_leave' => 'Unjoin this blog', - 'blog_leave_ok' => "You're unjoined this blog", + 'blog_join' => 'Join the blog', + 'blog_join_ok' => 'You joined this blog', + 'blog_join_error_invite' => 'You can join this blog only by invitation!', + 'blog_join_error_self' => "Why would you join this blog? You're already it's owner!", + 'blog_leave' => 'Unjoin this blog', + 'blog_leave_ok' => "You're unjoined this blog", 'blog_join_leave' => 'Join/Unjoin', /** * Blog menu @@ -96,7 +96,7 @@ return array( 'blog_menu_top_period_24h' => 'For the last 24 hours', 'blog_menu_top_period_7d' => 'For the last 7 days', 'blog_menu_top_period_30d' => 'For the last 30 daysй', - 'blog_menu_top_period_all' => 'All', + 'blog_menu_top_period_all' => 'All', 'blog_menu_create' => 'Create blog', /** * Create/Edit Blog @@ -148,7 +148,6 @@ return array( 'blog_admin_users_submit_notice' => "After pushing \"Save\" button, user's permissions will be saved", 'blog_admin_users_submit_ok' => 'Permissions saved', 'blog_admin_users_submit_error' => "Hmm... Something's wrong", - 'blog_admin_delete_confirm' => 'Are you sure you want to create blog?', 'blog_admin_delete_move' => 'Move topics to the blog', 'blog_delete_clear' => 'Delete topics', @@ -156,7 +155,6 @@ return array( 'blog_admin_delete_not_empty' => "You can't delete blog containing records. Please delete all records first.", 'blog_admin_delete_move_error' => 'Unable to move topics from the blog which is being deleted', 'blog_admin_delete_move_personal' => "Can't move topics to personal blog", - 'blog_admin_user_add_label' => 'Invite users:', 'blog_admin_user_invited' => 'List of invitees:', 'blog_close_show' => "It's a 'close blog', you don't have enought rights to see it's content", @@ -171,7 +169,6 @@ return array( 'blog_user_invite_accept' => 'Invitation accepted', 'blog_user_invite_reject' => 'Invitation rejected', 'blog_user_invite_readd' => 'Re-add', - /** * Topics */ @@ -196,7 +193,6 @@ return array( 'topic_favourite_del' => 'Remove from favourites', 'topic_favourite_del_ok' => 'Topic removed from favourites', 'error_favorite_topic_is_draft' => 'Topic of the draft can not be added to favorites', - 'block_stream_comments_all' => 'All comment block', 'block_stream_topics_all' => 'All topics block', 'comments_all' => 'All comments', @@ -243,7 +239,6 @@ return array( 'topic_create_submit_notice' => 'Pushing «save to drafts» will save topic to the drafts and will be viewable by you only, showing lock alongside. Push «publish» to make it viewable by everyone.', 'topic_create_notice' => "Note: tag shortens long articles, hiding them totally or partially under the link («Read more»). Hidden part is not visible in the blog but will be available on the full Topic's page.", 'topic_create_error' => "During topic creation we've experienced some technical difficulties. Please try again later.", - 'topic_edit' => 'Edit', 'topic_delete' => 'Delete', 'topic_delete_confirm' => 'Do you really want to delete this topic?', @@ -280,12 +275,12 @@ return array( 'topic_question_create_title' => 'Question', 'topic_question_create_title_notice' => 'Question should be meaningful to reflect the meaning of the poll.', 'topic_question_create_title_error' => 'Question should consist of 2 upto 200 chars', - 'topic_question_create_answers' => "Answer variants", + 'topic_question_create_answers' => "Answer variants", 'topic_question_create_answers_add' => 'Add answer', 'topic_question_create_answers_delete' => 'Delete', - 'topic_question_create_answers_error' => 'Answer should consist of 1 upto 100 chars', - 'topic_question_create_answers_error_min' => 'There should be at least 2 answers', - 'topic_question_create_answers_error_max' => 'Maximium available answers should is 20', + 'topic_question_create_answers_error' => 'Answer should consist of 1 upto 100 chars', + 'topic_question_create_answers_error_min' => 'There should be at least 2 answers', + 'topic_question_create_answers_error_max' => 'Maximium available answers should is 20', 'topic_question_create_text' => 'Short description (mx. 500 chars, HTML tags forbidden)', 'topic_question_create_text_notice' => 'HTML tags forbidden', 'topic_question_create_text_error' => 'Poll description should be 500 chars or less', @@ -293,7 +288,7 @@ return array( * Topic voting */ 'topic_vote_up' => 'I like this', - 'topic_vote_down' => "Don't like", + 'topic_vote_down' => "Don't like", 'topic_vote_error_already' => "You've already voteed for this topic!", 'topic_vote_error_self' => "You can't vote for your own topic!", 'topic_vote_error_guest' => 'In order to vote you need to login', @@ -303,7 +298,6 @@ return array( 'topic_vote_ok' => 'Your vote counted', 'topic_vote_ok_abstain' => 'You\'ve abstained in order to view topic raiting', 'topic_vote_count' => 'All votes', - /** * Photoset */ @@ -332,11 +326,10 @@ return array( 'topic_photoset_title_create' => 'Create a photoset', 'topic_photoset_error_bad_filesize' => 'Photo size must be less than %%MAX%% Kb', 'topic_photoset_photos' => 'photos', - /** * Comments */ - 'comment_title' => 'Comments', + 'comment_title' => 'Comments', 'comment_collapse' => 'Collapse comments', 'comment_expand' => 'Expand comments', 'comment_goto_parent' => 'Reply to', @@ -362,21 +355,16 @@ return array( 'comment_vote_error_self' => "You can't vote for your own comment!", 'comment_vote_error_noexists' => "You're voting for comment wich doesn't exist!", 'comment_vote_ok' => 'Your vote counted', - 'comment_favourite_add' => 'Add to favoutites', 'comment_favourite_add_ok' => 'Comment added to favourites', 'comment_favourite_add_no' => 'This comment is not in your favourites', 'comment_favourite_add_already' => 'This comment is already in your favourites', 'comment_favourite_del' => 'Delete from favourites', 'comment_favourite_del_ok' => 'Comment deleted from favourites', - - /** * People */ 'people' => 'People', - - /** * User */ @@ -401,7 +389,6 @@ return array( 'user_authorization' => 'Authorisation', 'user_registration' => 'Registration', 'user_write_prvmsg' => 'Write private message', - 'user_friend_add' => 'Add to friends', 'user_friend_add_ok' => 'You\'ve got a new friend', 'user_friend_add_self' => 'Your friend is - yourself!', @@ -409,7 +396,7 @@ return array( 'user_friend_del_ok' => 'You\'re no longer friends with this user', 'user_friend_del_no' => 'Friend not found!', 'user_friend_offer_reject' => 'Friendship request rejected', - 'user_friend_offer_send' => 'Friendship request sent', + 'user_friend_offer_send' => 'Friendship request sent', 'user_friend_already_exist' => 'This user is already your friend', 'user_friend_offer_title' => 'User %%login%% wants to be your friend', 'user_friend_offer_text' => "User %%login%% wants to add you to friends list.

%%user_text%%

Accept - Reject", @@ -422,10 +409,9 @@ return array( 'user_friend_accept_notice_title' => 'Your request accepted', 'user_friend_accept_notice_text' => 'User %%login%% accepted your friendship request', 'user_friend_reject_notice_title' => 'Your request denied', - 'user_friend_reject_notice_text' => 'User %%login%% rejected your friendship offer', + 'user_friend_reject_notice_text' => 'User %%login%% rejected your friendship offer', 'user_friend_del_notice_title' => 'You\'ve been removed from friendship list', 'user_friend_del_notice_text' => 'User %%login%% is not your friend anymore', - 'user_rating' => 'Rating', 'user_skill' => 'Power', 'user_date_last' => 'Last visit', @@ -438,10 +424,8 @@ return array( 'user_stats_sex_man' => 'Males', 'user_stats_sex_woman' => 'Females', 'user_stats_sex_other' => 'Gender not specified', - 'user_not_found' => 'User %%login%% wasn\'t not found', 'user_not_found_by_id' => 'User #%%id%% wasn\'t not found', - /** * User's profile menu */ @@ -449,7 +433,6 @@ return array( 'people_menu_users_all' => 'All', 'people_menu_users_online' => 'Online', 'people_menu_users_new' => 'New', - /** * Registration */ @@ -481,34 +464,29 @@ return array( 'registration_captcha_error' => 'Wrong code', 'registration_submit' => 'Submit registration', 'registration_ok' => 'Congratulation with successful registration!', - /** * Vote for users */ 'user_vote_up' => 'Like', - 'user_vote_down' => 'Don\'t like', + 'user_vote_down' => 'Don\'t like', 'user_vote_error_already' => 'You\'ve already voted for this yser!', 'user_vote_error_self' => 'You can\'t vote for yourself!', - 'user_vote_error_guest' => 'You have to logon before voting', - 'user_vote_error_acl' => 'You don\'t have enough rating and power to vote!', - 'user_vote_ok' => 'Your vote counted', + 'user_vote_error_guest' => 'You have to logon before voting', + 'user_vote_error_acl' => 'You don\'t have enough rating and power to vote!', + 'user_vote_ok' => 'Your vote counted', 'user_vote_count' => 'Votes', - /** * User profile menu */ 'user_menu_profile' => 'Profile', 'user_menu_profile_whois' => 'Whois', - 'user_menu_profile_favourites' => 'Favourite topics', 'user_menu_profile_favourites_comments' => 'Favourite comments', - 'user_menu_profile_tags' => 'Tags', 'user_menu_publication' => 'Publications', 'user_menu_publication_blog' => 'Blog', 'user_menu_publication_comment' => 'Comments', 'user_menu_publication_comment_rss' => 'RSS feed', - /** * Profile */ @@ -532,7 +510,6 @@ return array( 'profile_date_registration' => 'Registered at', 'profile_date_last' => 'Last visit', 'profile_social_contacts' => 'Contacts and social services', - /** * UserFields */ @@ -551,8 +528,6 @@ return array( 'user_field_error_add_no_name' => 'You must specify the name of the field', 'user_field_error_add_no_title' => 'You must specify a title field', 'user_field_error_name_exists' => 'Field with that name already exists', - - /** * Configs. */ @@ -608,8 +583,6 @@ return array( 'settings_tuning_notice_new_friend' => 'On joining to a friends list', 'settings_tuning_submit' => 'Save configs', 'settings_tuning_submit_ok' => 'Configs saved', - - /** * Configs menu */ @@ -617,7 +590,6 @@ return array( 'settings_menu_profile' => 'Profile', 'settings_menu_tuning' => 'Configs', 'settings_menu_invite' => 'Invites', - /** * Password restore */ @@ -628,7 +600,6 @@ return array( 'password_reminder_send_link' => 'Link for password reset sent to your e-mail address.', 'password_reminder_bad_code' => 'Wrong code for password reset.', 'password_reminder_bad_email' => 'Can\'t find user with this e-mail address', - /** * Panel */ @@ -656,7 +627,6 @@ return array( 'panel_clear_tags' => 'clean up the tags', 'panel_user' => 'user inserted', 'panel_user_promt' => 'Enter the user login', - /** * Blocks */ @@ -678,15 +648,12 @@ return array( 'block_stream_comments' => 'Comments', 'block_stream_comments_no' => 'No comments.', 'block_stream_comments_all' => 'All comments', - 'block_friends' => 'Friends', 'block_friends_check' => 'Check all', 'block_friends_uncheck' => 'Uncheck', 'block_friends_empty' => 'Empty friends list', - 'site_history_back' => 'Go back', 'site_go_main' => 'Go to the main page', - /** * Search */ @@ -696,7 +663,6 @@ return array( 'search_results_empty' => 'Thats strange. No results found.', 'search_results_count_topics' => 'topics', 'search_results_count_comments' => 'comments', - /** * Malbox */ @@ -722,16 +688,14 @@ return array( 'talk_create_text_error' => 'Message text should consist of 2 upto 3000 chars', 'talk_create_submit' => 'Send', 'talk_time_limit' => 'You can\'t send messages in such a frequent rate', - 'talk_favourite_inbox' => 'Favourite messages', 'talk_favourite_add' => 'Add to favourites', 'talk_favourite_add_ok' => 'Message added to favourites', 'talk_favourite_add_no' => 'This message is not in your Favourites\' list', 'talk_favourite_add_already' => 'This message is already in your Favourites\' list', 'talk_favourite_del' => 'remove from favourites', - 'talk_favourite_del_ok' => 'Message removed from Favourites\' list', + 'talk_favourite_del_ok' => 'Message removed from Favourites\' list', 'talk_favourite_empty' => 'No letters to favorites', - 'talk_filter_title' => 'Filter', 'talk_filter_erase' => 'Remove filter', 'talk_filter_erase_form' => 'Empty form', @@ -746,7 +710,6 @@ return array( 'talk_filter_error_date_format' => 'Wrong date format', 'talk_filter_result_count' => 'Found %%count%% messages', 'talk_filter_result_empty' => 'No messages found according to specified criteria', - 'talk_user_in_blacklist' => 'User %%login%% blacklisted your messages', 'talk_blacklist_title' => 'Blacklist messages from:', 'talk_blacklist_empty' => 'Accept from all', @@ -758,7 +721,6 @@ return array( 'talk_blacklist_delete_ok' => 'User %%login%% removed from blacklist', 'talk_blacklist_user_not_found' => 'User %%login%% is not in your black list', 'talk_blacklist_add_self' => 'You can\'t add yourself to the blacklist', - 'talk_speaker_title' => 'Message members', 'talk_speaker_add_label' => 'Add member', 'talk_speaker_delete_ok' => 'Member %%login%% deleted successfully', @@ -767,77 +729,64 @@ return array( 'talk_speaker_add_ok' => 'User %%login%% added successfully', 'talk_speaker_delete_by_self' => 'Member %%login%% deleted this message', 'talk_speaker_add_self' => 'You can\'t add yourself as a member', - 'talk_not_found' => 'Message not found', - - /** - * Userfeed - */ - 'userfeed_block_blogs_title' => 'Blogs', - 'userfeed_block_users_title' => 'Users', - 'userfeed_block_users_append' => 'Add', - 'userfeed_block_users_friends' => 'Friends', - 'userfeed_subscribes_already_subscribed' => 'You are already subscribed to the topics of this user', - 'userfeed_subscribes_updated' => 'Settings saved', - 'userfeed_get_more' => 'Get more topics', - + * Userfeed + */ + 'userfeed_block_blogs_title' => 'Blogs', + 'userfeed_block_users_title' => 'Users', + 'userfeed_block_users_append' => 'Add', + 'userfeed_block_users_friends' => 'Friends', + 'userfeed_subscribes_already_subscribed' => 'You are already subscribed to the topics of this user', + 'userfeed_subscribes_updated' => 'Settings saved', + 'userfeed_get_more' => 'Get more topics', 'userfeed_title' => 'Feed', - - 'userfeed_settings_note_follow_blogs' => 'Choose the blogs that you\'d like to read', - 'userfeed_settings_note_follow_user' => 'Add users, topics you\'d like to read', - 'userfeed_settings_note_follow_friend' => 'Select friends topics you\'d like to read', - - 'userfeed_no_subscribed_users' => 'You have not yet subscribed to the user', - 'userfeed_no_blogs' => 'You have not entered into any blog', - 'userfeed_error_subscribe_to_yourself' => 'You can not sign up for yourself', - - /** - * Stream - */ - 'stream_block_config_title' => 'Settings stream', - 'stream_block_users_title' => 'Users', - 'stream_block_config_append' => 'Add', - 'stream_block_users_friends' => 'Friends', - 'stream_subscribes_already_subscribed' => 'You are already subscribed to this member', - 'stream_subscribes_updated' => 'Settings saved', - 'stream_get_more' => 'Get more events', - 'stream_event_type_add_topic' => 'Add a topic', - 'stream_event_type_add_comment' => 'Add comment', - 'stream_event_type_add_blog' => 'Adding a blog', - 'stream_event_type_vote_topic' => 'Vote for Topic', - 'stream_event_type_vote_comment' => 'Vote for your comment', - 'stream_event_type_vote_blog' => 'Vote for blog', - 'stream_event_type_vote_user' => 'Voting for the user', - 'stream_event_type_add_friend' => 'Add to Friends', - 'stream_event_type_join_blog' => 'Join to Blog', - 'stream_no_subscribed_users' => 'You have not yet subscribed to the user', - 'stream_no_events' => 'Stream is empty', - 'stream_error_subscribe_to_yourself' => 'You can not sign up for yourself', - - 'stream_list_user' => 'User', - 'stream_list_event_add_topic' => 'added a new topic', - 'stream_list_event_add_blog' => 'added a new blog', - 'stream_list_event_add_comment' => 'commented on the topic', - 'stream_list_event_vote_topic' => 'voted topic', - 'stream_list_event_vote_blog' => 'voted blog', - 'stream_list_event_vote_user' => 'voted user', - 'stream_list_event_vote_comment' => 'voted comment', - 'stream_list_event_join_blog' => 'join to blog', - 'stream_list_event_add_friend' => 'add to friends', - - 'stream_personal_title' => 'Stream', - - 'stream_settings_note_filter' => 'Select the actions that will be tracked', - 'stream_settings_note_follow_user' => 'Add people to the activity that you would like to watch', - 'stream_settings_note_follow_friend' => 'Choose your friends for the activity that you would like to watch', - - 'admin_list_plugins' => 'Manage plugins', - 'admin_list_userfields' => 'Configuring custom fields', - 'admin_list_restorecomment' => 'Rebuilding a tree comments', - 'admin_list_recalcfavourite' => 'Recalculate counters of favorites', - - + 'userfeed_settings_note_follow_blogs' => 'Choose the blogs that you\'d like to read', + 'userfeed_settings_note_follow_user' => 'Add users, topics you\'d like to read', + 'userfeed_settings_note_follow_friend' => 'Select friends topics you\'d like to read', + 'userfeed_no_subscribed_users' => 'You have not yet subscribed to the user', + 'userfeed_no_blogs' => 'You have not entered into any blog', + 'userfeed_error_subscribe_to_yourself' => 'You can not sign up for yourself', + /** + * Stream + */ + 'stream_block_config_title' => 'Settings stream', + 'stream_block_users_title' => 'Users', + 'stream_block_config_append' => 'Add', + 'stream_block_users_friends' => 'Friends', + 'stream_subscribes_already_subscribed' => 'You are already subscribed to this member', + 'stream_subscribes_updated' => 'Settings saved', + 'stream_get_more' => 'Get more events', + 'stream_event_type_add_topic' => 'Add a topic', + 'stream_event_type_add_comment' => 'Add comment', + 'stream_event_type_add_blog' => 'Adding a blog', + 'stream_event_type_vote_topic' => 'Vote for Topic', + 'stream_event_type_vote_comment' => 'Vote for your comment', + 'stream_event_type_vote_blog' => 'Vote for blog', + 'stream_event_type_vote_user' => 'Voting for the user', + 'stream_event_type_add_friend' => 'Add to Friends', + 'stream_event_type_join_blog' => 'Join to Blog', + 'stream_no_subscribed_users' => 'You have not yet subscribed to the user', + 'stream_no_events' => 'Stream is empty', + 'stream_error_subscribe_to_yourself' => 'You can not sign up for yourself', + 'stream_list_user' => 'User', + 'stream_list_event_add_topic' => 'added a new topic', + 'stream_list_event_add_blog' => 'added a new blog', + 'stream_list_event_add_comment' => 'commented on the topic', + 'stream_list_event_vote_topic' => 'voted topic', + 'stream_list_event_vote_blog' => 'voted blog', + 'stream_list_event_vote_user' => 'voted user', + 'stream_list_event_vote_comment' => 'voted comment', + 'stream_list_event_join_blog' => 'join to blog', + 'stream_list_event_add_friend' => 'add to friends', + 'stream_personal_title' => 'Stream', + 'stream_settings_note_filter' => 'Select the actions that will be tracked', + 'stream_settings_note_follow_user' => 'Add people to the activity that you would like to watch', + 'stream_settings_note_follow_friend' => 'Choose your friends for the activity that you would like to watch', + 'admin_list_plugins' => 'Manage plugins', + 'admin_list_userfields' => 'Configuring custom fields', + 'admin_list_restorecomment' => 'Rebuilding a tree comments', + 'admin_list_recalcfavourite' => 'Recalculate counters of favorites', /** * Rating TOP */ @@ -845,12 +794,10 @@ return array( 'top_blogs' => 'TOP Blogs', 'top_topics' => 'TOP Topics', 'top_comments' => 'TOP Comments', - /** * Tag search */ 'tag_title' => 'Tag search', - /** * Paging */ @@ -859,7 +806,6 @@ return array( 'paging_last' => 'Last', 'paging_first' => 'First', 'paging' => 'Pages', - /** * Image upload */ @@ -879,7 +825,6 @@ return array( 'uploadimg_submit' => 'Submit', 'uploadimg_cancel' => 'Cancel', 'uploadimg_title' => 'Title', - /** * Notifications */ @@ -895,14 +840,12 @@ return array( 'notify_subject_blog_invite_new' => 'You\'ve got a blog membership offer', 'notify_subject_reminder_code' => 'Password reminder', 'notify_subject_reminder_password' => 'New password', - /** * Админка */ 'admin_title' => 'Admin', 'admin_comment_restore_tree' => 'Tree comments restore successful', - 'admin_favourites_recalculated' => 'Favourites counters has been recalculated', - + 'admin_favourites_recalculated' => 'Favourites counters has been recalculated', /** * Plugin administration page */ @@ -924,8 +867,6 @@ return array( 'plugins_activation_requires_error' => 'Plugin requires activated %%plugin%% plugin', 'plugins_submit_delete' => 'Delete plugins', 'plugins_delete_confirm' => 'Do you really want to delete those plugins?', - - 'system_error_event_args' => 'Wrong number of arguments during event addition', 'system_error_event_method' => 'Added event method not found', 'system_error_404' => 'Unfortunately there is no such page. Probably deleted or wasn\'t there in the first place.', @@ -934,7 +875,6 @@ return array( 'system_error_cache_type' => 'Wrong cache type', 'system_error_template' => 'Can\'t find template', 'system_error_template_block' => 'Can\'t find template of added blog', - 'error' => 'Error', 'attention' => 'Attention', 'system_error' => 'System error. Please try later.', @@ -942,30 +882,27 @@ return array( 'need_authorization' => 'Please login!', 'or' => 'or', 'window_close' => 'close', - 'not_access' => 'No access', - 'install_directory_exists' => 'To continue your work with portal please delete /install directory.', - 'login' => 'Login', + 'not_access' => 'No access', + 'install_directory_exists' => 'To continue your work with portal please delete /install directory.', + 'login' => 'Login', 'delete' => 'Delete', 'date_day' => 'day', 'date_month' => 'month', - 'month_array' => array( - 1=>array('January','January','January'), - 2=>array('February','February','February'), - 3=>array('March','March','March'), - 4=>array('April','April','April'), - 5=>array('May','May','May'), - 6=>array('June','June','June'), - 7=>array('July','July','July'), - 8=>array('August','August','August'), - 9=>array('September','September','September'), - 10=>array('October','October','October'), - 11=>array('November','November','November'), - 12=>array('December','December','December'), + 1 => array('January', 'January', 'January'), + 2 => array('February', 'February', 'February'), + 3 => array('March', 'March', 'March'), + 4 => array('April', 'April', 'April'), + 5 => array('May', 'May', 'May'), + 6 => array('June', 'June', 'June'), + 7 => array('July', 'July', 'July'), + 8 => array('August', 'August', 'August'), + 9 => array('September', 'September', 'September'), + 10 => array('October', 'October', 'October'), + 11 => array('November', 'November', 'November'), + 12 => array('December', 'December', 'December'), ), - 'date_year' => 'year', - 'date_now' => 'Today\'s date', 'date_today' => 'Today at', 'date_yesterday' => 'Yesterday at', @@ -975,5 +912,4 @@ return array( 'date_hours_back' => '%%hours%% hours ago; %%hours%% hours ago; %%hours%% hours ago', 'date_hours_back_less' => 'Less than an hour ago', ); - ?> \ No newline at end of file diff --git a/templates/language/russian.php b/templates/language/russian.php index bb2eee64..9c8915c7 100644 --- a/templates/language/russian.php +++ b/templates/language/russian.php @@ -1,19 +1,20 @@ 'Блог им.', 'blogs_personal_description' => 'Это ваш персональный блог.', 'blog_closed' => 'Закрытый блог', - 'blog_no_topic' => 'Сюда еще никто не успел написать', 'blog_rss' => 'RSS лента', 'blog_rating' => 'Рейтинг', @@ -148,7 +148,6 @@ return array( 'blog_admin_users_submit_notice' => 'После нажатия на кнопку «Сохранить» права пользователей будут сохранены', 'blog_admin_users_submit_ok' => 'Права сохранены', 'blog_admin_users_submit_error' => 'Что-то не так', - 'blog_admin_delete_confirm' => 'Вы уверены, что хотите удалить блог?', 'blog_admin_delete_move' => 'Переместить топики в блог', 'blog_delete_clear' => 'Удалить топики', @@ -156,7 +155,6 @@ return array( 'blog_admin_delete_not_empty' => 'Вы не можете удалить блок с записями. Предварительно удалите из блога все записи.', 'blog_admin_delete_move_error' => 'Не удалось переместить топики из удаляемого блога', 'blog_admin_delete_move_personal' => 'Нельзя перемещать топики в персональный блог', - 'blog_admin_user_add_label' => 'Пригласить пользователей:', 'blog_admin_user_invited' => 'Список приглашенных:', 'blog_close_show' => 'Это закрытый блог, у вас нет прав на просмотр контента', @@ -171,7 +169,6 @@ return array( 'blog_user_invite_accept' => 'Приглашение принято', 'blog_user_invite_reject' => 'Приглашение отклонено', 'blog_user_invite_readd' => 'повторить', - /** * Топики */ @@ -206,7 +203,7 @@ return array( 'topic_menu_add_topic' => 'Топик', 'topic_menu_add_question' => 'Опрос', 'topic_menu_add_link' => 'Ссылка', - 'topic_menu_add_photoset' => 'Фотосет', + 'topic_menu_add_photoset' => 'Фотосет', 'topic_menu_saved' => 'Черновики', 'topic_menu_published' => 'Опубликованные', /** @@ -242,7 +239,6 @@ return array( 'topic_create_submit_notice' => 'Если нажать кнопку «Сохранить в черновиках», текст топика будет виден только Вам, а рядом с его заголовком будет отображаться замочек. Чтобы топик был виден всем, нажмите «Опубликовать».', 'topic_create_notice' => 'Не забывайте: тег сокращает длинные записи, скрывая их целиком или частично под ссылкой («читать дальше»). Скрытая часть не видна в блоге, но доступна в полной записи на странице топика.', 'topic_create_error' => 'Возникли технические неполадки при добавлении топика. Пожалуйста, повторите позже.', - 'topic_edit' => 'Редактировать', 'topic_delete' => 'Удалить', 'topic_delete_confirm' => 'Вы действительно хотите удалить топик?', @@ -302,37 +298,34 @@ return array( 'topic_vote_ok' => 'Ваш голос учтен', 'topic_vote_ok_abstain' => 'Вы воздержались для просмотра рейтинга топика', 'topic_vote_count' => 'всего проголосовало', - - /** - * Фотосет - */ - 'topic_photoset_create' => 'Создание фотосета', - 'topic_photoset_edit' => 'Редактирование фотосета', - 'topic_photoset_upload_title' => 'Загрузка изображений', - 'topic_photoset_upload_choose' => 'Загрузить фото', - 'topic_photoset_upload_close' => 'Закрыть', - 'topic_photoset_upload_rules' => 'Доступна загрузка изображений в формат JPG, PNG, GIF
Размер изображений не должен превышать %%SIZE%% Kб
Максимальное число загружаемых изображений: %%COUNT%%', - 'topic_photoset_choose_image' => 'Выберите изображение для загрузки', - 'topic_photoset_is_preview' => 'Отмечено как превью к топику', - 'topic_photoset_mark_as_preview' => 'Отметить как превью', - 'topic_photoset_show_all' => 'Показать все %%COUNT%% фото', - 'topic_photoset_count_images' => 'изображение;изображения;изображений', - 'topic_photoset_show_more' => 'Показать ещё фото', - 'topic_photoset_error_count_photos' => 'В топике может быть от %%MIN%% до %%MAX%% фото', - 'topic_photoset_error_size' => 'У изображения слишком большое разрешение', - 'topic_photoset_title' => 'Фотосет', - 'topic_photoset_photo_deleted' => 'Фото удалено', - 'topic_photoset_photo_deleted_error_last' => 'Нельзя удалить последню фотографию', - 'topic_photoset_photo_delete' => 'Удалить', - 'topic_photoset_photo_delete_confirm' => 'Удалить фото?', - 'topic_photoset_photo_added' => 'Фото добавлено', - 'topic_photoset_error_too_much_photos' => 'Топик может содержать не более %%MAX%% фото', - 'topic_photoset_title_edit' => 'Редактирование фотосета', - 'topic_photoset_title_create' => 'Создание фотосета', - 'topic_photoset_error_bad_filesize' => 'Размер фото должен быть не более %%MAX%% Кб', - 'topic_photoset_photos' => 'фото', - - + /** + * Фотосет + */ + 'topic_photoset_create' => 'Создание фотосета', + 'topic_photoset_edit' => 'Редактирование фотосета', + 'topic_photoset_upload_title' => 'Загрузка изображений', + 'topic_photoset_upload_choose' => 'Загрузить фото', + 'topic_photoset_upload_close' => 'Закрыть', + 'topic_photoset_upload_rules' => 'Доступна загрузка изображений в формат JPG, PNG, GIF
Размер изображений не должен превышать %%SIZE%% Kб
Максимальное число загружаемых изображений: %%COUNT%%', + 'topic_photoset_choose_image' => 'Выберите изображение для загрузки', + 'topic_photoset_is_preview' => 'Отмечено как превью к топику', + 'topic_photoset_mark_as_preview' => 'Отметить как превью', + 'topic_photoset_show_all' => 'Показать все %%COUNT%% фото', + 'topic_photoset_count_images' => 'изображение;изображения;изображений', + 'topic_photoset_show_more' => 'Показать ещё фото', + 'topic_photoset_error_count_photos' => 'В топике может быть от %%MIN%% до %%MAX%% фото', + 'topic_photoset_error_size' => 'У изображения слишком большое разрешение', + 'topic_photoset_title' => 'Фотосет', + 'topic_photoset_photo_deleted' => 'Фото удалено', + 'topic_photoset_photo_deleted_error_last' => 'Нельзя удалить последню фотографию', + 'topic_photoset_photo_delete' => 'Удалить', + 'topic_photoset_photo_delete_confirm' => 'Удалить фото?', + 'topic_photoset_photo_added' => 'Фото добавлено', + 'topic_photoset_error_too_much_photos' => 'Топик может содержать не более %%MAX%% фото', + 'topic_photoset_title_edit' => 'Редактирование фотосета', + 'topic_photoset_title_create' => 'Создание фотосета', + 'topic_photoset_error_bad_filesize' => 'Размер фото должен быть не более %%MAX%% Кб', + 'topic_photoset_photos' => 'фото', /** * Комментарии */ @@ -362,21 +355,16 @@ return array( 'comment_vote_error_self' => 'Вы не можете голосовать за свой комментарий!', 'comment_vote_error_noexists' => 'Вы голосуете за несуществующий комментарий!', 'comment_vote_ok' => 'Ваш голос учтен', - 'comment_favourite_add' => 'добавить в избранное', 'comment_favourite_add_ok' => 'Комментарий добавлен в избранное', 'comment_favourite_add_no' => 'Этого комментария нет в вашем избранном', 'comment_favourite_add_already' => 'Этот комментарий уже есть в вашем избранном', 'comment_favourite_del' => 'удалить из избранного', 'comment_favourite_del_ok' => 'Комментарий удален из избранного', - - /** * Люди */ 'people' => 'Люди', - - /** * Пользователь */ @@ -401,7 +389,6 @@ return array( 'user_authorization' => 'Авторизация', 'user_registration' => 'Регистрация', 'user_write_prvmsg' => 'Написать письмо', - 'user_friend_add' => 'Добавить в друзья', 'user_friend_add_ok' => 'У вас появился новый друг', 'user_friend_add_self' => 'Ваш друг - это вы!', @@ -425,7 +412,6 @@ return array( 'user_friend_reject_notice_text' => 'Пользователь %%login%% отказался с вами дружить', 'user_friend_del_notice_title' => 'Вас удалили из друзей', 'user_friend_del_notice_text' => 'У вас больше нет друга %%login%%', - 'user_rating' => 'Рейтинг', 'user_skill' => 'Сила', 'user_date_last' => 'Последний визит', @@ -438,10 +424,8 @@ return array( 'user_stats_sex_man' => 'Мужчины', 'user_stats_sex_woman' => 'Женщины', 'user_stats_sex_other' => 'Пол не указан', - 'user_not_found' => 'Пользователь %%login%% не найден', 'user_not_found_by_id' => 'Пользователь #%%id%% не найден', - /** * Меню профиля пользователя */ @@ -449,7 +433,6 @@ return array( 'people_menu_users_all' => 'Все', 'people_menu_users_online' => 'Онлайн', 'people_menu_users_new' => 'Новые', - /** * Регистрация */ @@ -481,7 +464,6 @@ return array( 'registration_captcha_error' => 'Неверный код', 'registration_submit' => 'Зарегистрироваться', 'registration_ok' => 'Поздравляем! Регистрация прошла успешно', - /** * Голосование за пользователя */ @@ -493,22 +475,18 @@ return array( 'user_vote_error_acl' => 'У вас не хватает рейтинга и силы для голосования!', 'user_vote_ok' => 'Ваш голос учтен', 'user_vote_count' => 'голосов', - /** * Меню профиля пользователя */ 'user_menu_profile' => 'Профиль', 'user_menu_profile_whois' => 'Whois', - 'user_menu_profile_favourites' => 'Избранные топики', 'user_menu_profile_favourites_comments' => 'Избранные комментарии', - 'user_menu_profile_tags' => 'Метки', 'user_menu_publication' => 'Публикации', 'user_menu_publication_blog' => 'Блог', 'user_menu_publication_comment' => 'Комментарии', 'user_menu_publication_comment_rss' => 'RSS лента', - /** * Профиль */ @@ -532,27 +510,24 @@ return array( 'profile_date_registration' => 'Зарегистрирован', 'profile_date_last' => 'Последний визит', 'profile_social_contacts' => 'Контакты и социальные сервисы', - - /** - * UserFields - */ - 'user_field_admin_title' => 'Поля контактов пользователей', - 'user_field_add' => 'Добавить', - 'user_field_cancel' => 'Отмена', - 'user_field_added' => 'Поле успешно добавлено', - 'user_field_update' => 'Изменить', - 'user_field_updated' => 'Поле успешно изменено', - 'user_field_delete' => 'Удалить', - 'user_field_delete_confirm' => 'Удалить поле?', - 'user_field_deleted' => 'Поле удалено', - 'userfield_form_name' => 'Имя', - 'userfield_form_title' => 'Заголовок', - 'userfield_form_pattern' => 'Шаблон (значение подставляется в токен {*})', - 'user_field_error_add_no_name' => 'Необходимо указать название поля', - 'user_field_error_add_no_title' => 'Необходимо указать заголовок поля', - 'user_field_error_name_exists' => 'Поле с таким именем уже существует', - - + /** + * UserFields + */ + 'user_field_admin_title' => 'Поля контактов пользователей', + 'user_field_add' => 'Добавить', + 'user_field_cancel' => 'Отмена', + 'user_field_added' => 'Поле успешно добавлено', + 'user_field_update' => 'Изменить', + 'user_field_updated' => 'Поле успешно изменено', + 'user_field_delete' => 'Удалить', + 'user_field_delete_confirm' => 'Удалить поле?', + 'user_field_deleted' => 'Поле удалено', + 'userfield_form_name' => 'Имя', + 'userfield_form_title' => 'Заголовок', + 'userfield_form_pattern' => 'Шаблон (значение подставляется в токен {*})', + 'user_field_error_add_no_name' => 'Необходимо указать название поля', + 'user_field_error_add_no_title' => 'Необходимо указать заголовок поля', + 'user_field_error_name_exists' => 'Поле с таким именем уже существует', /** * Настройки */ @@ -608,8 +583,6 @@ return array( 'settings_tuning_notice_new_friend' => 'при добавлении вас в друзья', 'settings_tuning_submit' => 'сохранить настройки', 'settings_tuning_submit_ok' => 'Настройки успешно сохранены', - - /** * Меню настроек */ @@ -617,7 +590,6 @@ return array( 'settings_menu_profile' => 'Профиль', 'settings_menu_tuning' => 'Тюнинг', 'settings_menu_invite' => 'Инвайты', - /** * Восстановление пароля */ @@ -628,7 +600,6 @@ return array( 'password_reminder_send_link' => 'Ссылка для восстановления пароля отправлена на ваш адрес электронной почты.', 'password_reminder_bad_code' => 'Неверный код на восстановление пароля.', 'password_reminder_bad_email' => 'Пользователь с таким e-mail не найден', - /** * Панель */ @@ -656,7 +627,6 @@ return array( 'panel_clear_tags' => 'очистить от тегов', 'panel_user' => 'вставить пользователя', 'panel_user_promt' => 'Введите логин пользователя', - /** * Блоки */ @@ -678,15 +648,12 @@ return array( 'block_stream_comments' => 'Комментарии', 'block_stream_comments_no' => 'Нет комментариев.', 'block_stream_comments_all' => 'Весь эфир', - 'block_friends' => 'Друзья', 'block_friends_check' => 'Отметить всех', 'block_friends_uncheck' => 'Снять отметку', 'block_friends_empty' => 'Список ваших друзей пуст', - 'site_history_back' => 'Вернуться назад', 'site_go_main' => 'перейти на главную', - /** * Поиск */ @@ -696,7 +663,6 @@ return array( 'search_results_empty' => 'Удивительно, но поиск не дал результатов', 'search_results_count_topics' => 'топиков', 'search_results_count_comments' => 'комментариев', - /** * Почта */ @@ -722,7 +688,6 @@ return array( 'talk_create_text_error' => 'Текст сообщения должен быть от 2 до 3000 символов', 'talk_create_submit' => 'Отправить', 'talk_time_limit' => 'Вам нельзя отправлять инбоксы слишком часто', - 'talk_favourite_inbox' => 'Избранные письма', 'talk_favourite_add' => 'добавить в избранное', 'talk_favourite_add_ok' => 'Письмо добавлено в избранное', @@ -731,7 +696,6 @@ return array( 'talk_favourite_del' => 'удалить из избранного', 'talk_favourite_del_ok' => 'Письмо удалено из избранного', 'talk_favourite_empty' => 'Нет писем в избранном', - 'talk_filter_title' => 'Фильтровать', 'talk_filter_erase' => 'Сбросить фильтр', 'talk_filter_erase_form' => 'Очистить форму', @@ -746,7 +710,6 @@ return array( 'talk_filter_error_date_format' => 'Указан неверный формат даты', 'talk_filter_result_count' => 'Найдено писем: %%count%%', 'talk_filter_result_empty' => 'По вашим критериям писем не найдено', - 'talk_user_in_blacklist' => 'Пользователь %%login%% не принимает от вас писем', 'talk_blacklist_title' => 'Не принимать писем от:', 'talk_blacklist_empty' => 'Принимать от всех', @@ -758,7 +721,6 @@ return array( 'talk_blacklist_delete_ok' => 'Пользователь %%login%% успешно удален', 'talk_blacklist_user_not_found' => 'Пользователя %%login%% нет в вашем black list`е', 'talk_blacklist_add_self' => 'Нельзя добавлять в black list себя', - 'talk_speaker_title' => 'Участники разговора', 'talk_speaker_add_label' => 'Добавить пользователя', 'talk_speaker_delete_ok' => 'Участник %%login%% успешно удален', @@ -767,75 +729,64 @@ return array( 'talk_speaker_add_ok' => 'Участник %%login%% успешно добавлен', 'talk_speaker_delete_by_self' => 'Участник %%login%% удалил этот разговор', 'talk_speaker_add_self' => 'Нельзя добавлять в участники себя', - 'talk_not_found' => 'Разговор не найден', - - /** - * Userfeed - */ - 'userfeed_block_blogs_title' => 'Блоги', - 'userfeed_block_users_title' => 'Люди', - 'userfeed_block_users_append' => 'Добавить', - 'userfeed_block_users_friends' => 'Друзья', - 'userfeed_subscribes_already_subscribed' => 'Вы уже подписаны на топики этого пользователя', - 'userfeed_subscribes_updated' => 'Настройки ленты сохранены', - 'userfeed_get_more' => 'Получить ещё топики', - + /** + * Userfeed + */ + 'userfeed_block_blogs_title' => 'Блоги', + 'userfeed_block_users_title' => 'Люди', + 'userfeed_block_users_append' => 'Добавить', + 'userfeed_block_users_friends' => 'Друзья', + 'userfeed_subscribes_already_subscribed' => 'Вы уже подписаны на топики этого пользователя', + 'userfeed_subscribes_updated' => 'Настройки ленты сохранены', + 'userfeed_get_more' => 'Получить ещё топики', 'userfeed_title' => 'Лента', - - 'userfeed_settings_note_follow_blogs' => 'Выберите блоги которые вы хотели бы читать', - 'userfeed_settings_note_follow_user' => 'Добавьте людей, топики которых вы хотели бы читать', - 'userfeed_settings_note_follow_friend' => 'Выберите друзей, топики которых вы хотели бы читать', - - 'userfeed_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чьи топики хотите видеть', - 'userfeed_no_blogs' => 'Вы не вступили ни в один блог', - 'userfeed_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя', - - /** - * Stream - */ - 'stream_block_config_title' => 'Настройка событий', - 'stream_block_users_title' => 'Люди', - 'stream_block_config_append' => 'Добавить', - 'stream_block_users_friends' => 'Друзья', - 'stream_subscribes_already_subscribed' => 'Вы уже подписаны на этого пользователя', - 'stream_subscribes_updated' => 'Настройки ленты сохранены', - 'stream_get_more' => 'Получить ещё события', - 'stream_event_type_add_topic' => 'Добавление топика', - 'stream_event_type_add_comment' => 'Добавление комментария', - 'stream_event_type_add_blog' => 'Добавление блога', - 'stream_event_type_vote_topic' => 'Голосование за топик', - 'stream_event_type_vote_comment' => 'Голосование за комментарий', - 'stream_event_type_vote_blog' => 'Голосование за блог', - 'stream_event_type_vote_user' => 'Голосование за пользователя', - 'stream_event_type_add_friend' => 'Добавление в друзья', - 'stream_event_type_join_blog' => 'Вступление в блог', - 'stream_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чью активность хотите видеть', - 'stream_no_events' => 'Лента активности пуста', - 'stream_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя', - - 'stream_list_user' => 'Пользователь', - 'stream_list_event_add_topic' => 'добавил новый топик', - 'stream_list_event_add_blog' => 'добавил новый блог', - 'stream_list_event_add_comment' => 'прокомментировал топик', - 'stream_list_event_vote_topic' => 'оценил топик', - 'stream_list_event_vote_blog' => 'оценил блог', - 'stream_list_event_vote_user' => 'оценил пользователя', - 'stream_list_event_vote_comment' => 'оценил комментарий к топику', - 'stream_list_event_join_blog' => 'вступил в блог', - 'stream_list_event_add_friend' => 'добавил в друзья пользователя', - - 'stream_personal_title' => 'Активность', - - 'stream_settings_note_filter' => 'Выберите действия которые будут отслеживаться', - 'stream_settings_note_follow_user' => 'Добавьте людей за активностью которых вы хотели бы следить', - 'stream_settings_note_follow_friend' => 'Выберите друзей за активностью которых вы хотели бы следить', - - 'admin_list_plugins' => 'Управление плагинами', - 'admin_list_userfields' => 'Настройка пользовательских полей', - 'admin_list_restorecomment' => 'Перестроение дерева комментариев', - 'admin_list_recalcfavourite' => 'Пересчитать счетчики избранных', - + 'userfeed_settings_note_follow_blogs' => 'Выберите блоги которые вы хотели бы читать', + 'userfeed_settings_note_follow_user' => 'Добавьте людей, топики которых вы хотели бы читать', + 'userfeed_settings_note_follow_friend' => 'Выберите друзей, топики которых вы хотели бы читать', + 'userfeed_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чьи топики хотите видеть', + 'userfeed_no_blogs' => 'Вы не вступили ни в один блог', + 'userfeed_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя', + /** + * Stream + */ + 'stream_block_config_title' => 'Настройка событий', + 'stream_block_users_title' => 'Люди', + 'stream_block_config_append' => 'Добавить', + 'stream_block_users_friends' => 'Друзья', + 'stream_subscribes_already_subscribed' => 'Вы уже подписаны на этого пользователя', + 'stream_subscribes_updated' => 'Настройки ленты сохранены', + 'stream_get_more' => 'Получить ещё события', + 'stream_event_type_add_topic' => 'Добавление топика', + 'stream_event_type_add_comment' => 'Добавление комментария', + 'stream_event_type_add_blog' => 'Добавление блога', + 'stream_event_type_vote_topic' => 'Голосование за топик', + 'stream_event_type_vote_comment' => 'Голосование за комментарий', + 'stream_event_type_vote_blog' => 'Голосование за блог', + 'stream_event_type_vote_user' => 'Голосование за пользователя', + 'stream_event_type_add_friend' => 'Добавление в друзья', + 'stream_event_type_join_blog' => 'Вступление в блог', + 'stream_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чью активность хотите видеть', + 'stream_no_events' => 'Лента активности пуста', + 'stream_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя', + 'stream_list_user' => 'Пользователь', + 'stream_list_event_add_topic' => 'добавил новый топик', + 'stream_list_event_add_blog' => 'добавил новый блог', + 'stream_list_event_add_comment' => 'прокомментировал топик', + 'stream_list_event_vote_topic' => 'оценил топик', + 'stream_list_event_vote_blog' => 'оценил блог', + 'stream_list_event_vote_user' => 'оценил пользователя', + 'stream_list_event_vote_comment' => 'оценил комментарий к топику', + 'stream_list_event_join_blog' => 'вступил в блог', + 'stream_list_event_add_friend' => 'добавил в друзья пользователя', + 'stream_personal_title' => 'Активность', + 'stream_settings_note_filter' => 'Выберите действия которые будут отслеживаться', + 'stream_settings_note_follow_user' => 'Добавьте людей за активностью которых вы хотели бы следить', + 'stream_settings_note_follow_friend' => 'Выберите друзей за активностью которых вы хотели бы следить', + 'admin_list_plugins' => 'Управление плагинами', + 'admin_list_userfields' => 'Настройка пользовательских полей', + 'admin_list_restorecomment' => 'Перестроение дерева комментариев', + 'admin_list_recalcfavourite' => 'Пересчитать счетчики избранных', /** * Рейтинг TOP */ @@ -843,12 +794,10 @@ return array( 'top_blogs' => 'TOP Блогов', 'top_topics' => 'TOP топиков', 'top_comments' => 'TOP комментариев', - /** * Поиск по тегам */ 'tag_title' => 'Поиск по тегам', - /** * Постраничность */ @@ -857,7 +806,6 @@ return array( 'paging_last' => 'последняя', 'paging_first' => 'первая', 'paging' => 'Страницы', - /** * Загрузка изображений */ @@ -877,7 +825,6 @@ return array( 'uploadimg_submit' => 'Загрузить', 'uploadimg_cancel' => 'Отмена', 'uploadimg_title' => 'Описание', - /** * Уведомления */ @@ -893,14 +840,12 @@ return array( 'notify_subject_blog_invite_new' => 'Вас пригласили вступить в блог', 'notify_subject_reminder_code' => 'Восстановление пароля', 'notify_subject_reminder_password' => 'Новый пароль', - /** * Админка */ 'admin_title' => 'Админка', 'admin_comment_restore_tree' => 'Дерево комментариев перестроенно', 'admin_favourites_recalculated' => 'Счетчики избранных пересчитаны', - /** * Страница администрирования плагинов */ @@ -922,8 +867,6 @@ return array( 'plugins_activation_requires_error' => 'Для работы плагина необходим активированный плагин %%plugin%%', 'plugins_submit_delete' => 'Удалить плагины', 'plugins_delete_confirm' => 'Вы уверены, что желаете удалить указанные плагины?', - - 'system_error_event_args' => 'Некорректное число аргументов при добавлении евента', 'system_error_event_method' => 'Добавляемый метод евента не найден', 'system_error_404' => 'К сожалению, такой страницы не существует. Вероятно, она была удалена с сервера, либо ее здесь никогда не было.', @@ -932,7 +875,6 @@ return array( 'system_error_cache_type' => 'Неверный тип кеширования', 'system_error_template' => 'Не найден шаблон', 'system_error_template_block' => 'Не найден шаблон подключаемого блока', - 'error' => 'Ошибка', 'attention' => 'Внимание', 'system_error' => 'Системная ошибка, повторите позже', @@ -946,24 +888,21 @@ return array( 'delete' => 'Удалить', 'date_day' => 'день', 'date_month' => 'месяц', - 'month_array' => array( - 1=>array('январь','января','январе'), - 2=>array('февраль','февраля','феврале'), - 3=>array('март','марта','марте'), - 4=>array('апрель','апреля','апреле'), - 5=>array('май','мая','мае'), - 6=>array('июнь','июня','июне'), - 7=>array('июль','июля','июле'), - 8=>array('август','августа','августе'), - 9=>array('сентябрь','сентября','сентябре'), - 10=>array('октябрь','октября','октябре'), - 11=>array('ноябрь','ноября','ноябре'), - 12=>array('декабрь','декабря','декабре'), + 1 => array('январь', 'января', 'январе'), + 2 => array('февраль', 'февраля', 'феврале'), + 3 => array('март', 'марта', 'марте'), + 4 => array('апрель', 'апреля', 'апреле'), + 5 => array('май', 'мая', 'мае'), + 6 => array('июнь', 'июня', 'июне'), + 7 => array('июль', 'июля', 'июле'), + 8 => array('август', 'августа', 'августе'), + 9 => array('сентябрь', 'сентября', 'сентябре'), + 10 => array('октябрь', 'октября', 'октябре'), + 11 => array('ноябрь', 'ноября', 'ноябре'), + 12 => array('декабрь', 'декабря', 'декабре'), ), - 'date_year' => 'год', - 'date_now' => 'Только что', 'date_today' => 'Сегодня в', 'date_yesterday' => 'Вчера в', @@ -973,5 +912,4 @@ return array( 'date_hours_back' => '%%hours%% час назад; %%hours%% часа назад; %%hours%% часов назад', 'date_hours_back_less' => 'Менее часа назад', ); - ?> \ No newline at end of file diff --git a/templates/skin/developer-jquery/css/common.css b/templates/skin/developer-jquery/css/common.css index cce28285..90a5e744 100644 --- a/templates/skin/developer-jquery/css/common.css +++ b/templates/skin/developer-jquery/css/common.css @@ -1,77 +1,77 @@ -/* Voting */ -.voting { overflow: hidden; zoom: 1; } - -.voting .total { float: left; padding: 0 7px; font-weight: bold; color: #aaa; } -.voting .total a { text-decoration: none; color: #999; outline: none; } - -.voting.positive .total { color: #390; } -.voting.negative .total { color: #f00; } - -.voting .plus, -.voting .minus { width: 10px; height: 10px; float: left; display: block; background: url(../images/voting.png) no-repeat; position: relative; top: 4px; outline: none; } -.voting .plus { background-position: 0 0; } -.voting .minus { background-position: -20px 0; } -.voting .plus:hover { background-position: -10px 0; } -.voting .minus:hover { background-position: -30px 0; } - -.voting.voted.plus .plus { background-position: -10px 0; } -.voting.voted.minus .minus { background-position: -30px 0; } -.voting.voted.plus .minus:hover { background-position: -20px 0; } -.voting.voted.minus .plus:hover { background-position: 0 0; } - -.voting.guest .plus:hover { background-position: 0 0; } -.voting.guest .minus:hover { background-position: -20px 0; } - - -/* Favorite */ -.favourite { background: url(../images/favorite.png) no-repeat; display: block; height: 16px; width: 16px; position: relative; top: 1px; float: left;} -.favourite:hover { background-position: 0 -16px !important; } -.favourite.active { background-position: 0 -16px; } -.favourite-count { color: #333; font-weight: bold; float: left; margin-left: 2px; } - - -/* Pagination */ -.pagination ul li { display: inline; margin-right: 5px; } -.pagination ul li.active { color: #aaa; } -.pagination.pagination-comments { margin-bottom: 15px; } - - -/* Switcher */ -.switcher { overflow: hidden; zoom: 1; margin-bottom: 10px; } -.switcher li { float: left; margin-right: 3px; } -.switcher li a { float: left; padding: 1px 10px 2px; text-decoration: none; color: #777; background: #eee; } -.switcher li.active a { border: 0; color: #eee; background: #555; } - -.switcher-block { overflow: hidden; zoom: 1; margin-bottom: 10px; } -.switcher-block li { float: left; padding: 1px 10px 2px; margin-right: 3px; color: #777; background: #eee; cursor: pointer; } -.switcher-block li:hover { background: #ddd; } -.switcher-block li.active { color: #eee; background: #555; } - - -/* System messages */ -.system-message-error { background: #f0c8c8; color: #b22626; padding: 10px 15px; margin-bottom: 15px; } -.system-message-notice { background: #dafad8; color: #4bb23b; padding: 10px 15px; margin-bottom: 15px; } - - -/* Actions */ -.actions { overflow: hidden; zoom: 1; margin-bottom: 10px; } -.actions li a { overflow: hidden; zoom: 1; margin-bottom: 10px; color: #333; text-decoration: none; } -.actions li { float: left; margin-right: 10px; } -.actions li .edit { padding-left: 15px; background: url(../images/edit.png) no-repeat 0 1px; } -.actions li .delete { padding-left: 14px; background: url(../images/delete.png) no-repeat 0 2px; } -.actions li .rss { padding-left: 15px; background: url(../images/rss.png) no-repeat 0 1px; } -.actions li a:hover { text-decoration: underline; } - - -/* Misc */ -.user, .ls-user { padding-left: 12px; background: url(../images/user.png) no-repeat 0 2px; color: #555; } -.user.inactive { color: #888; } - -.center { width: 300px; margin: 0 auto; } - -.table { width: 100%; margin-bottom: 15px; } -.table thead td { background: #fafafa; } -.table td { border: 1px solid #eee; padding: 5px; } -.table tr.active td { background: #F1FCEF; } - +/* Voting */ +.voting { overflow: hidden; zoom: 1; } + +.voting .total { float: left; padding: 0 7px; font-weight: bold; color: #aaa; } +.voting .total a { text-decoration: none; color: #999; outline: none; } + +.voting.positive .total { color: #390; } +.voting.negative .total { color: #f00; } + +.voting .plus, +.voting .minus { width: 10px; height: 10px; float: left; display: block; background: url(../images/voting.png) no-repeat; position: relative; top: 4px; outline: none; } +.voting .plus { background-position: 0 0; } +.voting .minus { background-position: -20px 0; } +.voting .plus:hover { background-position: -10px 0; } +.voting .minus:hover { background-position: -30px 0; } + +.voting.voted.plus .plus { background-position: -10px 0; } +.voting.voted.minus .minus { background-position: -30px 0; } +.voting.voted.plus .minus:hover { background-position: -20px 0; } +.voting.voted.minus .plus:hover { background-position: 0 0; } + +.voting.guest .plus:hover { background-position: 0 0; } +.voting.guest .minus:hover { background-position: -20px 0; } + + +/* Favorite */ +.favourite { background: url(../images/favorite.png) no-repeat; display: block; height: 16px; width: 16px; position: relative; top: 1px; float: left;} +.favourite:hover { background-position: 0 -16px !important; } +.favourite.active { background-position: 0 -16px; } +.favourite-count { color: #333; font-weight: bold; float: left; margin-left: 2px; } + + +/* Pagination */ +.pagination ul li { display: inline; margin-right: 5px; } +.pagination ul li.active { color: #aaa; } +.pagination.pagination-comments { margin-bottom: 15px; } + + +/* Switcher */ +.switcher { overflow: hidden; zoom: 1; margin-bottom: 10px; } +.switcher li { float: left; margin-right: 3px; } +.switcher li a { float: left; padding: 1px 10px 2px; text-decoration: none; color: #777; background: #eee; } +.switcher li.active a { border: 0; color: #eee; background: #555; } + +.switcher-block { overflow: hidden; zoom: 1; margin-bottom: 10px; } +.switcher-block li { float: left; padding: 1px 10px 2px; margin-right: 3px; color: #777; background: #eee; cursor: pointer; } +.switcher-block li:hover { background: #ddd; } +.switcher-block li.active { color: #eee; background: #555; } + + +/* System messages */ +.system-message-error { background: #f0c8c8; color: #b22626; padding: 10px 15px; margin-bottom: 15px; } +.system-message-notice { background: #dafad8; color: #4bb23b; padding: 10px 15px; margin-bottom: 15px; } + + +/* Actions */ +.actions { overflow: hidden; zoom: 1; margin-bottom: 10px; } +.actions li a { overflow: hidden; zoom: 1; margin-bottom: 10px; color: #333; text-decoration: none; } +.actions li { float: left; margin-right: 10px; } +.actions li .edit { padding-left: 15px; background: url(../images/edit.png) no-repeat 0 1px; } +.actions li .delete { padding-left: 14px; background: url(../images/delete.png) no-repeat 0 2px; } +.actions li .rss { padding-left: 15px; background: url(../images/rss.png) no-repeat 0 1px; } +.actions li a:hover { text-decoration: underline; } + + +/* Misc */ +.user, .ls-user { padding-left: 12px; background: url(../images/user.png) no-repeat 0 2px; color: #555; } +.user.inactive { color: #888; } + +.center { width: 300px; margin: 0 auto; } + +.table { width: 100%; margin-bottom: 15px; } +.table thead td { background: #fafafa; } +.table td { border: 1px solid #eee; padding: 5px; } +.table tr.active td { background: #F1FCEF; } + .right { float: right; } \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionAdmin/index.tpl b/templates/skin/new-jquery/actions/ActionAdmin/index.tpl index 46b3714e..38c78fed 100644 --- a/templates/skin/new-jquery/actions/ActionAdmin/index.tpl +++ b/templates/skin/new-jquery/actions/ActionAdmin/index.tpl @@ -1,11 +1,11 @@ {include file='header.tpl'} -{include file='footer.tpl'} \ No newline at end of file +{include file='footer.tpl'} diff --git a/templates/skin/new-jquery/actions/ActionAdmin/plugins.tpl b/templates/skin/new-jquery/actions/ActionAdmin/plugins.tpl index 9818706f..32a2cc55 100644 --- a/templates/skin/new-jquery/actions/ActionAdmin/plugins.tpl +++ b/templates/skin/new-jquery/actions/ActionAdmin/plugins.tpl @@ -3,18 +3,18 @@
- +
- + - + {foreach from=$aPlugins item=aPlugin} @@ -25,13 +25,13 @@ {$aPlugin.property->homepage} - - + + @@ -39,9 +39,9 @@
{$aLang.plugins_plugin_name} {$aLang.plugins_plugin_version} {$aLang.plugins_plugin_author}{$aLang.plugins_plugin_settings}{$aLang.plugins_plugin_settings} {$aLang.plugins_plugin_action}
{$aPlugin.property->version|escape:'html'}{$aPlugin.property->author->data|escape:'html'}{if $aPlugin.is_active}{$aPlugin.property->settings}{else}{$aPlugin.property->settings}{/if}{$aPlugin.property->author->data|escape:'html'}{if $aPlugin.is_active}{$aPlugin.property->settings}{else}{$aPlugin.property->settings}{/if} {if $aPlugin.is_active} - {$aLang.plugins_plugin_deactivate} + {$aLang.plugins_plugin_deactivate} {else} - {$aLang.plugins_plugin_activate} + {$aLang.plugins_plugin_activate} {/if}
- - + +
- + {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionAdmin/user_fields.tpl b/templates/skin/new-jquery/actions/ActionAdmin/user_fields.tpl index 92eb3bd1..0e6d104e 100644 --- a/templates/skin/new-jquery/actions/ActionAdmin/user_fields.tpl +++ b/templates/skin/new-jquery/actions/ActionAdmin/user_fields.tpl @@ -5,23 +5,23 @@
-


+


- -


+ +


- -


+ +


- + - +
- + {$aLang.user_field_add}

@@ -29,15 +29,15 @@ {foreach from=$aUserFields item=oField}
  • {$oField->getName()|escape:"html"} / {$oField->getTitle()|escape:"html"} - / {$oField->getPattern()|escape:"html"} - + / {$oField->getPattern()|escape:"html"} +
    - image + image image
  • {/foreach} - + {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionBlog/add.tpl b/templates/skin/new-jquery/actions/ActionBlog/add.tpl index 508976ef..e2c048a8 100644 --- a/templates/skin/new-jquery/actions/ActionBlog/add.tpl +++ b/templates/skin/new-jquery/actions/ActionBlog/add.tpl @@ -16,50 +16,50 @@ {else} {include file='window_load_img.tpl' sToLoad='topic_text'} {/if} -
    + {hook run='form_add_blog_begin'} @@ -80,9 +80,9 @@


    diff --git a/templates/skin/new-jquery/actions/ActionBlog/admin.tpl b/templates/skin/new-jquery/actions/ActionBlog/admin.tpl index 3579aa6e..2ef3eb0c 100644 --- a/templates/skin/new-jquery/actions/ActionBlog/admin.tpl +++ b/templates/skin/new-jquery/actions/ActionBlog/admin.tpl @@ -2,7 +2,7 @@ {include file='menu.blog_edit.tpl'} {if $aBlogUsers} - + diff --git a/templates/skin/new-jquery/actions/ActionBlog/blog.tpl b/templates/skin/new-jquery/actions/ActionBlog/blog.tpl index 158b5185..255a3e26 100644 --- a/templates/skin/new-jquery/actions/ActionBlog/blog.tpl +++ b/templates/skin/new-jquery/actions/ActionBlog/blog.tpl @@ -7,7 +7,7 @@ {if $oUserCurrent and $oUserCurrent->isAdministrator()} - +

    {$aLang.blog_admin_delete_move}

    - + @@ -35,14 +35,14 @@
    {$aLang.blog_vote_count}: {$oBlog->getCountVote()}
    - - + + - - + +
    • {if $oUserCurrent and $oUserCurrent->getId()!=$oBlog->getOwnerId()} @@ -59,13 +59,13 @@ {/if}
    - - + +

    {$aLang.blog_about}

    -

    {$oBlog->getDescription()|nl2br}

    - - +

    {$oBlog->getDescription()|nl2br}

    + +

    {$aLang.blog_user_administrators} ({$iCountBlogAdministrators})

    @@ -75,39 +75,39 @@ avatar {$oUserOwner->getLogin()} - {if $aBlogAdministrators} + {if $aBlogAdministrators} {foreach from=$aBlogAdministrators item=oBlogUser} {assign var="oUser" value=$oBlogUser->getUser()}
  • - + {$oUser->getLogin()}
  • - {/foreach} - {/if} + {/foreach} + {/if}
    - +

    {$aLang.blog_user_moderators} ({$iCountBlogModerators})

    {if $aBlogModerators}
      - {foreach from=$aBlogModerators item=oBlogUser} - {assign var="oUser" value=$oBlogUser->getUser()} + {foreach from=$aBlogModerators item=oBlogUser} + {assign var="oUser" value=$oBlogUser->getUser()}
    • - + {$oUser->getLogin()}
    • - {/foreach} -
    + {/foreach} + {else} {$aLang.blog_user_moderators_empty} {/if}
    - - - + + +

    {$aLang.blog_user_readers} ({$iCountBlogUsers})

    {if $aBlogUsers} {foreach from=$aBlogUsers item=oBlogUser} @@ -119,7 +119,7 @@ {/if} {else} {$aLang.blog_user_readers_empty} - {/if} + {/if}
    diff --git a/templates/skin/new-jquery/actions/ActionBlog/index.tpl b/templates/skin/new-jquery/actions/ActionBlog/index.tpl index 76b097e8..599060bc 100644 --- a/templates/skin/new-jquery/actions/ActionBlog/index.tpl +++ b/templates/skin/new-jquery/actions/ActionBlog/index.tpl @@ -1,4 +1,3 @@ {include file='header.tpl' menu='blog'} {include file='topic_list.tpl'} -{include file='footer.tpl'} - +{include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionBlog/invited.tpl b/templates/skin/new-jquery/actions/ActionBlog/invited.tpl index a8cdbc02..ebeceb11 100644 --- a/templates/skin/new-jquery/actions/ActionBlog/invited.tpl +++ b/templates/skin/new-jquery/actions/ActionBlog/invited.tpl @@ -4,7 +4,7 @@

    - +

    {$aLang.blog_admin_user_invited}

    @@ -12,7 +12,7 @@ {/if} diff --git a/templates/skin/new-jquery/actions/ActionBlog/topic.tpl b/templates/skin/new-jquery/actions/ActionBlog/topic.tpl index 8f03410c..73d312cd 100644 --- a/templates/skin/new-jquery/actions/ActionBlog/topic.tpl +++ b/templates/skin/new-jquery/actions/ActionBlog/topic.tpl @@ -2,8 +2,8 @@ {include file='topic.tpl'} -{include - file='comment_tree.tpl' +{include + file='comment_tree.tpl' iTargetId=$oTopic->getId() sTargetType='topic' iCountComment=$oTopic->getCountComment() @@ -11,7 +11,7 @@ bAllowNewComment=$oTopic->getForbidComment() sNoticeNotAllow=$aLang.topic_comment_notallow sNoticeCommentAdd=$aLang.topic_comment_add - aPagingCmt=$aPagingCmt} + aPagingCmt=$aPagingCmt} {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionBlog/users.tpl b/templates/skin/new-jquery/actions/ActionBlog/users.tpl index ce8b872e..a112b74c 100644 --- a/templates/skin/new-jquery/actions/ActionBlog/users.tpl +++ b/templates/skin/new-jquery/actions/ActionBlog/users.tpl @@ -1,7 +1,7 @@ {include file='header.tpl'}

    {$aLang.blog_user_readers_all} ({$iCountBlogUsers}): {$oBlog->getTitle()}

    - +
    {if $aBlogUsers} @@ -13,24 +13,24 @@
    - + {foreach from=$aBlogUsers item=oBlogUser} {assign var="oUser" value=$oBlogUser->getUser()} - - - + + + - {/foreach} + {/foreach}
    {$aLang.user_rating}
    {$oUser->getLogin()}{$oUser->getSkill()}
    {$oUser->getLogin()}{$oUser->getSkill()} {$oUser->getRating()}
    - +
    {include file='paging.tpl' aPaging=$aPaging} {else} - {$aLang.blog_user_readers_empty} - {/if} + {$aLang.blog_user_readers_empty} + {/if} diff --git a/templates/skin/new-jquery/actions/ActionComments/index.tpl b/templates/skin/new-jquery/actions/ActionComments/index.tpl index dc6a46a8..4ce7a144 100644 --- a/templates/skin/new-jquery/actions/ActionComments/index.tpl +++ b/templates/skin/new-jquery/actions/ActionComments/index.tpl @@ -3,5 +3,4 @@

    {$aLang.comments_all}

    {include file='comment_list.tpl'} -{include file='footer.tpl'} - +{include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionIndex/index.tpl b/templates/skin/new-jquery/actions/ActionIndex/index.tpl index 76b097e8..599060bc 100644 --- a/templates/skin/new-jquery/actions/ActionIndex/index.tpl +++ b/templates/skin/new-jquery/actions/ActionIndex/index.tpl @@ -1,4 +1,3 @@ {include file='header.tpl' menu='blog'} {include file='topic_list.tpl'} -{include file='footer.tpl'} - +{include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionLink/add.tpl b/templates/skin/new-jquery/actions/ActionLink/add.tpl index cdc98015..696ef54c 100644 --- a/templates/skin/new-jquery/actions/ActionLink/add.tpl +++ b/templates/skin/new-jquery/actions/ActionLink/add.tpl @@ -12,7 +12,7 @@ {/if} {hook run='add_topic_link_begin'} -
    + {hook run='form_add_topic_link_begin'} @@ -25,12 +25,12 @@ {/foreach}

    - - + +



    {$aLang.topic_create_title_notice}

    @@ -55,7 +55,7 @@ {$aLang.topic_create_publish_index}
    {$aLang.topic_create_publish_index_notice}

    {/if} - + {hook run='form_add_topic_link_end'}

    diff --git a/templates/skin/new-jquery/actions/ActionLogin/index.tpl b/templates/skin/new-jquery/actions/ActionLogin/index.tpl index ecff554f..db051723 100644 --- a/templates/skin/new-jquery/actions/ActionLogin/index.tpl +++ b/templates/skin/new-jquery/actions/ActionLogin/index.tpl @@ -14,10 +14,10 @@

    - + - +

    {$aLang.user_registration}
    {$aLang.user_password_reminder}

    diff --git a/templates/skin/new-jquery/actions/ActionLogin/reminder.tpl b/templates/skin/new-jquery/actions/ActionLogin/reminder.tpl index b5e73380..e13c9e9e 100644 --- a/templates/skin/new-jquery/actions/ActionLogin/reminder.tpl +++ b/templates/skin/new-jquery/actions/ActionLogin/reminder.tpl @@ -7,7 +7,7 @@

    {$aLang.password_reminder}

    +

    diff --git a/templates/skin/new-jquery/actions/ActionMy/blog.tpl b/templates/skin/new-jquery/actions/ActionMy/blog.tpl index 5b1d827c..8f5604a6 100644 --- a/templates/skin/new-jquery/actions/ActionMy/blog.tpl +++ b/templates/skin/new-jquery/actions/ActionMy/blog.tpl @@ -1,4 +1,3 @@ {include file='header.tpl' menu="profile"} {include file='topic_list.tpl'} -{include file='footer.tpl'} - +{include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionNew/index.tpl b/templates/skin/new-jquery/actions/ActionNew/index.tpl index 76b097e8..599060bc 100644 --- a/templates/skin/new-jquery/actions/ActionNew/index.tpl +++ b/templates/skin/new-jquery/actions/ActionNew/index.tpl @@ -1,4 +1,3 @@ {include file='header.tpl' menu='blog'} {include file='topic_list.tpl'} -{include file='footer.tpl'} - +{include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionPeople/city.tpl b/templates/skin/new-jquery/actions/ActionPeople/city.tpl index 8e1729e8..60a85b27 100644 --- a/templates/skin/new-jquery/actions/ActionPeople/city.tpl +++ b/templates/skin/new-jquery/actions/ActionPeople/city.tpl @@ -1,37 +1,37 @@ {include file='header.tpl' menu='people'} - - + +

    {$aLang.user_list}: {$oCity->getName()|escape:'html'}

    {if $aUsersCity} - - + + - + {foreach from=$aUsersCity item=oUser} {assign var="oSession" value=$oUser->getSession()} - + - + - {/foreach} + {/foreach}
    {$aLang.user}{$aLang.user_date_last}{$aLang.user}{$aLang.user_date_last} {$aLang.user_date_registration} {$aLang.user_skill} {$aLang.user_rating}
    {$oUser->getLogin()}{$oUser->getLogin()} {if $oSession}{date_format date=$oSession->getDateLast()}{/if} {date_format date=$oUser->getDateRegister()}{$oUser->getSkill()}{$oUser->getSkill()} {$oUser->getRating()}
    {else} {$aLang.user_empty} {/if} - + {include file='paging.tpl' aPaging="$aPaging"} {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionPeople/country.tpl b/templates/skin/new-jquery/actions/ActionPeople/country.tpl index 17707c40..d4733edb 100644 --- a/templates/skin/new-jquery/actions/ActionPeople/country.tpl +++ b/templates/skin/new-jquery/actions/ActionPeople/country.tpl @@ -7,8 +7,8 @@ - - + + @@ -19,13 +19,13 @@ {foreach from=$aUsersCountry item=oUser} {assign var="oSession" value=$oUser->getSession()} - + - + - {/foreach} + {/foreach}
    {$aLang.user}{$aLang.user_date_last}{$aLang.user}{$aLang.user_date_last} {$aLang.user_date_registration} {$aLang.user_skill} {$aLang.user_rating}
    {$oUser->getLogin()}{$oUser->getLogin()} {if $oSession}{date_format date=$oSession->getDateLast()}{/if} {date_format date=$oUser->getDateRegister()}{$oUser->getSkill()}{$oUser->getSkill()} {$oUser->getRating()}
    {else} diff --git a/templates/skin/new-jquery/actions/ActionPeople/index.tpl b/templates/skin/new-jquery/actions/ActionPeople/index.tpl index 988223c0..98b835dd 100644 --- a/templates/skin/new-jquery/actions/ActionPeople/index.tpl +++ b/templates/skin/new-jquery/actions/ActionPeople/index.tpl @@ -1,6 +1,6 @@ {include file='header.tpl' menu='people'} - +

    {$aLang.user_list} ({$aStat.count_all})

      @@ -12,24 +12,24 @@ - - - + + + - + {foreach from=$aUsersRating item=oUser} - - - + + + - {/foreach} + {/foreach}
      {$aLang.user}{$aLang.user_skill}{$aLang.user_rating}{$aLang.user_skill}{$aLang.user_rating}
      {$oUser->getLogin()}{$oUser->getSkill()}{$oUser->getRating()}{$oUser->getSkill()}{$oUser->getRating()}
      {else} - {$aLang.user_empty} + {$aLang.user_empty} {/if} diff --git a/templates/skin/new-jquery/actions/ActionPeople/new.tpl b/templates/skin/new-jquery/actions/ActionPeople/new.tpl index 7703750d..f3fd145d 100644 --- a/templates/skin/new-jquery/actions/ActionPeople/new.tpl +++ b/templates/skin/new-jquery/actions/ActionPeople/new.tpl @@ -1,28 +1,28 @@ {include file='header.tpl' menu='people'} - +

      {$aLang.user_list_new}

      {if $aUsersRegister} - - - - + + + + - + {foreach from=$aUsersRegister item=oUser} - - - - + + + + - {/foreach} + {/foreach}
      {$aLang.user}{$aLang.user_date_registration}{$aLang.user_skill}{$aLang.user_rating}{$aLang.user_date_registration}{$aLang.user_skill}{$aLang.user_rating}
      {$oUser->getLogin()}{date_format date=$oUser->getDateRegister()}{$oUser->getSkill()}{$oUser->getRating()}{date_format date=$oUser->getDateRegister()}{$oUser->getSkill()}{$oUser->getRating()}
      {else} diff --git a/templates/skin/new-jquery/actions/ActionPeople/online.tpl b/templates/skin/new-jquery/actions/ActionPeople/online.tpl index c0f006d8..fba25c22 100644 --- a/templates/skin/new-jquery/actions/ActionPeople/online.tpl +++ b/templates/skin/new-jquery/actions/ActionPeople/online.tpl @@ -1,35 +1,35 @@ {include file='header.tpl' menu='people'} - +

      {$aLang.user_list_online_last}

      {if $aUsersLast} - - - - + + + + - + {foreach from=$aUsersLast item=oUser} {assign var="oSession" value=$oUser->getSession()} - - - - + + + + - {/foreach} + {/foreach}
      {$aLang.user}{$aLang.user_date_last}{$aLang.user_skill}{$aLang.user_rating}{$aLang.user_date_last}{$aLang.user_skill}{$aLang.user_rating}
      {$oUser->getLogin()}{date_format date=$oSession->getDateLast()}{$oUser->getSkill()}{$oUser->getRating()}{date_format date=$oSession->getDateLast()}{$oUser->getSkill()}{$oUser->getRating()}
      {else} {$aLang.user_empty} {/if} - -{include file='paging.tpl' aPaging="$aPaging"} + +{include file='paging.tpl' aPaging="$aPaging"} {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionPeople/sidebar.tpl b/templates/skin/new-jquery/actions/ActionPeople/sidebar.tpl index b58fcb1a..465d99f8 100644 --- a/templates/skin/new-jquery/actions/ActionPeople/sidebar.tpl +++ b/templates/skin/new-jquery/actions/ActionPeople/sidebar.tpl @@ -1,14 +1,14 @@

      {$aLang.user_stats}

      - +
      • {$aLang.user_stats_all}: {$aStat.count_all}
      • {$aLang.user_stats_active}: {$aStat.count_active}
      • {$aLang.user_stats_noactive}: {$aStat.count_inactive}
      - +
      - +
      • {$aLang.user_stats_sex_man}: {$aStat.count_sex_man}
      • {$aLang.user_stats_sex_woman}: {$aStat.count_sex_woman}
      • diff --git a/templates/skin/new-jquery/actions/ActionPersonalBlog/index.tpl b/templates/skin/new-jquery/actions/ActionPersonalBlog/index.tpl index 76b097e8..599060bc 100644 --- a/templates/skin/new-jquery/actions/ActionPersonalBlog/index.tpl +++ b/templates/skin/new-jquery/actions/ActionPersonalBlog/index.tpl @@ -1,4 +1,3 @@ {include file='header.tpl' menu='blog'} {include file='topic_list.tpl'} -{include file='footer.tpl'} - +{include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionPhotoset/add.tpl b/templates/skin/new-jquery/actions/ActionPhotoset/add.tpl index 813822b6..3868736e 100644 --- a/templates/skin/new-jquery/actions/ActionPhotoset/add.tpl +++ b/templates/skin/new-jquery/actions/ActionPhotoset/add.tpl @@ -5,56 +5,56 @@ {else} {include file='window_load_img.tpl' sToLoad='topic_text'} {/if}
      - {if !$bDisableGetMoreButton} - - {$aLang.stream_get_more} ↓ - {/if} + {if !$bDisableGetMoreButton} + + {$aLang.stream_get_more} ↓ + {/if} {else} - {$aLang.stream_no_events} + {$aLang.stream_no_events} {/if} diff --git a/templates/skin/new-jquery/actions/ActionTag/index.tpl b/templates/skin/new-jquery/actions/ActionTag/index.tpl index 36b454ab..9d232035 100644 --- a/templates/skin/new-jquery/actions/ActionTag/index.tpl +++ b/templates/skin/new-jquery/actions/ActionTag/index.tpl @@ -1,8 +1,8 @@ {include file='header.tpl'} - diff --git a/templates/skin/new-jquery/actions/ActionTalk/add.tpl b/templates/skin/new-jquery/actions/ActionTalk/add.tpl index 49939ad1..20f8c798 100644 --- a/templates/skin/new-jquery/actions/ActionTalk/add.tpl +++ b/templates/skin/new-jquery/actions/ActionTalk/add.tpl @@ -4,46 +4,46 @@ {else} {include file='window_load_img.tpl' sToLoad='talk_text'} {/if} @@ -53,9 +53,9 @@

      {$aLang.talk_create}

      -
      + {hook run='form_add_talk_begin'} - +


      @@ -66,9 +66,9 @@

      - + {hook run='form_add_talk_end'} - +  
      diff --git a/templates/skin/new-jquery/actions/ActionTalk/blacklist.tpl b/templates/skin/new-jquery/actions/ActionTalk/blacklist.tpl index fd9ba12b..39b8c4de 100644 --- a/templates/skin/new-jquery/actions/ActionTalk/blacklist.tpl +++ b/templates/skin/new-jquery/actions/ActionTalk/blacklist.tpl @@ -1,6 +1,6 @@

      {$aLang.talk_blacklist_title}

      - +

    - + {else} diff --git a/templates/skin/new-jquery/actions/ActionTalk/inbox.tpl b/templates/skin/new-jquery/actions/ActionTalk/inbox.tpl index d218eb6e..6ac8f624 100644 --- a/templates/skin/new-jquery/actions/ActionTalk/inbox.tpl +++ b/templates/skin/new-jquery/actions/ActionTalk/inbox.tpl @@ -51,6 +51,6 @@ - + {include file='paging.tpl' aPaging="$aPaging"} {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionTalk/read.tpl b/templates/skin/new-jquery/actions/ActionTalk/read.tpl index d4a0e167..27a3ab7d 100644 --- a/templates/skin/new-jquery/actions/ActionTalk/read.tpl +++ b/templates/skin/new-jquery/actions/ActionTalk/read.tpl @@ -33,6 +33,6 @@ sNoticeCommentAdd=$aLang.topic_comment_add bNoCommentFavourites=true} {/if} - - + + {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionTop/blog.tpl b/templates/skin/new-jquery/actions/ActionTop/blog.tpl index a3c6520e..34c60ac0 100644 --- a/templates/skin/new-jquery/actions/ActionTop/blog.tpl +++ b/templates/skin/new-jquery/actions/ActionTop/blog.tpl @@ -1,6 +1,6 @@ {include file='header.tpl' menu='blog'} -

    {$aLang.top_blogs}

    - -{include file='blog_list.tpl'} +

    {$aLang.top_blogs}

    + +{include file='blog_list.tpl'} {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionTop/comment.tpl b/templates/skin/new-jquery/actions/ActionTop/comment.tpl index a9429203..c68ce344 100644 --- a/templates/skin/new-jquery/actions/ActionTop/comment.tpl +++ b/templates/skin/new-jquery/actions/ActionTop/comment.tpl @@ -1,7 +1,7 @@ {include file='header.tpl' menu='blog'} -

    {$aLang.top_comments}

    +

    {$aLang.top_comments}

    • {$aLang.blog_menu_top_period_24h}
    • diff --git a/templates/skin/new-jquery/actions/ActionTop/topic.tpl b/templates/skin/new-jquery/actions/ActionTop/topic.tpl index 4f5fd6cd..19e36d8f 100644 --- a/templates/skin/new-jquery/actions/ActionTop/topic.tpl +++ b/templates/skin/new-jquery/actions/ActionTop/topic.tpl @@ -12,6 +12,6 @@
    - + {include file='topic_list.tpl'} {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionTopic/add.tpl b/templates/skin/new-jquery/actions/ActionTopic/add.tpl index 1ac11c37..c66e6939 100644 --- a/templates/skin/new-jquery/actions/ActionTopic/add.tpl +++ b/templates/skin/new-jquery/actions/ActionTopic/add.tpl @@ -5,46 +5,46 @@ {else} {include file='window_load_img.tpl' sToLoad='topic_text'} {/if} @@ -62,7 +62,7 @@ {/if} {hook run='add_topic_topic_begin'} -
    + {hook run='form_add_topic_topic_begin'} @@ -75,12 +75,12 @@ {/foreach}

    - - + +



    {$aLang.topic_create_title_notice}

    @@ -108,7 +108,7 @@   -

    +

    {hook run='add_topic_topic_end'} diff --git a/templates/skin/new-jquery/actions/ActionUserfeed/list.tpl b/templates/skin/new-jquery/actions/ActionUserfeed/list.tpl index eb671662..fa980364 100644 --- a/templates/skin/new-jquery/actions/ActionUserfeed/list.tpl +++ b/templates/skin/new-jquery/actions/ActionUserfeed/list.tpl @@ -4,13 +4,14 @@ {include file='topic_list.tpl'} {if count($aTopics)} - {if !$bDisableGetMoreButton} -
    - - {$aLang.userfeed_get_more} ↓ - {/if} + {if !$bDisableGetMoreButton} +
    + + {$aLang.userfeed_get_more} ↓ + {/if} {else} -

    {$aLang.userfeed_no_events}

    +

    {$aLang.userfeed_no_events}

    {/if} + {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/block.blogInfo.tpl b/templates/skin/new-jquery/block.blogInfo.tpl index 7eba39be..30a2248c 100644 --- a/templates/skin/new-jquery/block.blogInfo.tpl +++ b/templates/skin/new-jquery/block.blogInfo.tpl @@ -1,9 +1,9 @@ -
    -

    {$aLang.block_blog_info}

    -

    +
    +

    {$aLang.block_blog_info}

    +

    -
    -

    {$aLang.block_blog_info_note}

    -

    {$aLang.block_blog_info_note_text}

    +
    +

    {$aLang.block_blog_info_note}

    +

    {$aLang.block_blog_info_note_text}

    \ No newline at end of file diff --git a/templates/skin/new-jquery/block.blogs.tpl b/templates/skin/new-jquery/block.blogs.tpl index 3a983b5e..414ff741 100644 --- a/templates/skin/new-jquery/block.blogs.tpl +++ b/templates/skin/new-jquery/block.blogs.tpl @@ -1,7 +1,7 @@

    {$aLang.block_blogs}

    - - + +
    • {$aLang.block_blogs_top}
    • {if $oUserCurrent} @@ -9,13 +9,13 @@
    • {$aLang.block_blogs_self}
    • {/if}
    - - + +
    {$sBlogsTop}
    - + diff --git a/templates/skin/new-jquery/block.blogs_top.tpl b/templates/skin/new-jquery/block.blogs_top.tpl index 81066813..870c5ceb 100644 --- a/templates/skin/new-jquery/block.blogs_top.tpl +++ b/templates/skin/new-jquery/block.blogs_top.tpl @@ -2,8 +2,8 @@ {foreach from=$aBlogs item=oBlog}
  • {$oBlog->getRating()} - {$oBlog->getTitle()|escape:'html'} + {$oBlog->getTitle()|escape:'html'} {if $oBlog->getType()=='close'}[x]{/if}
  • {/foreach} - \ No newline at end of file + \ No newline at end of file diff --git a/templates/skin/new-jquery/block.stream.tpl b/templates/skin/new-jquery/block.stream.tpl index 9f6d0595..efea7b3e 100644 --- a/templates/skin/new-jquery/block.stream.tpl +++ b/templates/skin/new-jquery/block.stream.tpl @@ -1,15 +1,15 @@

    {$aLang.block_stream}

    - - -
      + + +
      • {$aLang.block_stream_comments}
      • {$aLang.block_stream_topics}
      • - + {hook run='block_stream_nav_item'} -
      - - +
    + +
    {$sStreamComments}
    diff --git a/templates/skin/new-jquery/block.streamConfig.tpl b/templates/skin/new-jquery/block.streamConfig.tpl index bf070e9a..6ea438ad 100644 --- a/templates/skin/new-jquery/block.streamConfig.tpl +++ b/templates/skin/new-jquery/block.streamConfig.tpl @@ -1,20 +1,20 @@ {if $oUserCurrent} {literal} - {/literal}

    {$aLang.stream_block_config_title}

    - +

    {$aLang.stream_settings_note_filter}

      @@ -34,42 +34,42 @@ {/if} {/foreach}
    - - + +

    {$aLang.stream_block_users_title}

    - +

    {$aLang.stream_settings_note_follow_user}

    - +

    {$aLang.stream_block_config_append}

    - {if count($aStreamSubscribedUsers)} -
      - {foreach from=$aStreamSubscribedUsers item=oUser} - {assign var=iUserId value=$oUser->getId()} - {if !isset($aStreamFriends.$iUserId)} -
    • - {$oUser->getLogin()} -
    • - {/if} - {/foreach} -
    - {else} -
      -

      {$aLang.stream_no_subscribed_users}

      - {/if} + {if count($aStreamSubscribedUsers)} +
        + {foreach from=$aStreamSubscribedUsers item=oUser} + {assign var=iUserId value=$oUser->getId()} + {if !isset($aStreamFriends.$iUserId)} +
      • + {$oUser->getLogin()} +
      • + {/if} + {/foreach} +
      + {else} +
        +

        {$aLang.stream_no_subscribed_users}

        + {/if}
        - - + + {if count($aStreamFriends)}

        {$aLang.stream_block_users_friends}

        - +

        {$aLang.stream_settings_note_follow_friend}

        - +
          {foreach from=$aStreamFriends item=oUser} {assign var=iUserId value=$oUser->getId()} diff --git a/templates/skin/new-jquery/block.stream_comment.tpl b/templates/skin/new-jquery/block.stream_comment.tpl index f12a885f..6e980159 100644 --- a/templates/skin/new-jquery/block.stream_comment.tpl +++ b/templates/skin/new-jquery/block.stream_comment.tpl @@ -3,7 +3,7 @@ {assign var="oUser" value=$oComment->getUser()} {assign var="oTopic" value=$oComment->getTarget()} {assign var="oBlog" value=$oTopic->getBlog()} - +
        • {$oUser->getLogin()} diff --git a/templates/skin/new-jquery/block.stream_topic.tpl b/templates/skin/new-jquery/block.stream_topic.tpl index cc5ad98c..2458d7cf 100644 --- a/templates/skin/new-jquery/block.stream_topic.tpl +++ b/templates/skin/new-jquery/block.stream_topic.tpl @@ -1,20 +1,19 @@ - \ No newline at end of file diff --git a/templates/skin/new-jquery/block.tags.tpl b/templates/skin/new-jquery/block.tags.tpl index c7a7a4ef..88132321 100644 --- a/templates/skin/new-jquery/block.tags.tpl +++ b/templates/skin/new-jquery/block.tags.tpl @@ -1,7 +1,7 @@
          -
          \ No newline at end of file diff --git a/templates/skin/new-jquery/block.tagsCity.tpl b/templates/skin/new-jquery/block.tagsCity.tpl index 43787c4c..99d3d9d1 100644 --- a/templates/skin/new-jquery/block.tagsCity.tpl +++ b/templates/skin/new-jquery/block.tagsCity.tpl @@ -1,10 +1,10 @@ {if $aCityList && count($aCityList)>0} -
          -

          {$aLang.block_city_tags}

          +
          +

          {$aLang.block_city_tags}

          +
        • + {/foreach} +
        {/if} \ No newline at end of file diff --git a/templates/skin/new-jquery/block.tagsCountry.tpl b/templates/skin/new-jquery/block.tagsCountry.tpl index b232e001..c1d0839e 100644 --- a/templates/skin/new-jquery/block.tagsCountry.tpl +++ b/templates/skin/new-jquery/block.tagsCountry.tpl @@ -1,10 +1,10 @@ {if $aCountryList && count($aCountryList)>0} -
        -

        {$aLang.block_country_tags}

        +
        +

        {$aLang.block_country_tags}

        +
      • + {/foreach} +
        {/if} \ No newline at end of file diff --git a/templates/skin/new-jquery/block.userfeedBlogs.tpl b/templates/skin/new-jquery/block.userfeedBlogs.tpl index 0f3b3782..cc8175ae 100644 --- a/templates/skin/new-jquery/block.userfeedBlogs.tpl +++ b/templates/skin/new-jquery/block.userfeedBlogs.tpl @@ -1,7 +1,7 @@ {if $oUserCurrent}

        {$aLang.userfeed_block_blogs_title}

        - +

        {$aLang.userfeed_settings_note_follow_blogs}

        {if count($aUserfeedBlogs)} @@ -17,7 +17,7 @@ {/foreach} {else} -

        {$aLang.userfeed_no_blogs}

        - {/if} +

        {$aLang.userfeed_no_blogs}

        + {/if}
        {/if} \ No newline at end of file diff --git a/templates/skin/new-jquery/block.userfeedUsers.tpl b/templates/skin/new-jquery/block.userfeedUsers.tpl index 49a73e6c..f1e0a19f 100644 --- a/templates/skin/new-jquery/block.userfeedUsers.tpl +++ b/templates/skin/new-jquery/block.userfeedUsers.tpl @@ -1,29 +1,29 @@ {if $oUserCurrent} {literal} - + {/literal}

        {$aLang.userfeed_block_users_title}

        - +

        {$aLang.userfeed_settings_note_follow_user}

        - +

        {$aLang.userfeed_block_users_append}

        - - {if count($aUserfeedSubscribedUsers)} -
          + + {if count($aUserfeedSubscribedUsers)} +
            {foreach from=$aUserfeedSubscribedUsers item=oUser} {assign var=iUserId value=$oUser->getId()} @@ -37,19 +37,19 @@ {/if} {/foreach} -
          +
        {else} -
          -

          {$aLang.userfeed_no_subscribed_users}

          - {/if} +
            +

            {$aLang.userfeed_no_subscribed_users}

            + {/if}
            - - + + {if count($aUserfeedFriends)}

            {$aLang.userfeed_block_users_friends}

            - +

            {$aLang.userfeed_settings_note_follow_friend}

            - +
              {foreach from=$aUserfeedFriends item=oUser} {assign var=iUserId value=$oUser->getId()} diff --git a/templates/skin/new-jquery/blog_list.tpl b/templates/skin/new-jquery/blog_list.tpl index 77a2fb4d..e1bfd89e 100644 --- a/templates/skin/new-jquery/blog_list.tpl +++ b/templates/skin/new-jquery/blog_list.tpl @@ -1,25 +1,25 @@ - - {if $oUserCurrent}{/if} - - + + {if $oUserCurrent}{/if} + + - + {foreach from=$aBlogs item=oBlog} {assign var="oUserOwner" value=$oBlog->getOwner()} - {if $oUserCurrent} - {/if} - - + + {/foreach} diff --git a/templates/skin/new-jquery/comment.tpl b/templates/skin/new-jquery/comment.tpl index 10474607..9c08d241 100644 --- a/templates/skin/new-jquery/comment.tpl +++ b/templates/skin/new-jquery/comment.tpl @@ -3,33 +3,33 @@
              {if !$oComment->getDelete() or $bOneComment or ($oUserCurrent and $oUserCurrent->isAdministrator())} - - - + + +
              - - + +
              {if $oComment->isBad()} {$aLang.comment_bad_open} - {else} + {else} {$oComment->getText()} {/if}
              - - - {if $oComment->getTargetType()!='talk'} -
              + + + {if $oComment->getTargetType()!='talk'} +
              {if $oComment->getRating()>0}+{/if}{$oComment->getRating()}
              {/if} - - + + -{else} +{else} {$aLang.comment_was_delete} {/if} {if $oUserCurrent} - - -{/if} + + +{/if}
              \ No newline at end of file diff --git a/templates/skin/new-jquery/comment_list.tpl b/templates/skin/new-jquery/comment_list.tpl index a927b30a..e8eab940 100644 --- a/templates/skin/new-jquery/comment_list.tpl +++ b/templates/skin/new-jquery/comment_list.tpl @@ -3,36 +3,36 @@ {assign var="oUser" value=$oComment->getUser()} {assign var="oTopic" value=$oComment->getTarget()} {assign var="oBlog" value=$oTopic->getBlog()} - - + + - +
              -
              +
              {if $oComment->getRating()>0}+{/if}{$oComment->getRating()}
              - -
              + +
              {if $oComment->isBad()} -
              {$oComment->getText()}
              +
              {$oComment->getText()}
              {else} {$oComment->getText()} - {/if} + {/if}
              - - + + +
              - {/foreach} + {/foreach}
              {include file='paging.tpl' aPaging="$aPaging"} \ No newline at end of file diff --git a/templates/skin/new-jquery/comment_paging.tpl b/templates/skin/new-jquery/comment_paging.tpl index 2c89afe3..4e4ce9b4 100644 --- a/templates/skin/new-jquery/comment_paging.tpl +++ b/templates/skin/new-jquery/comment_paging.tpl @@ -4,12 +4,12 @@ {else} {assign var="sGetSep" value='?'} {/if} - {/if} - +

              {$aLang.comment_title} ({$iCountComment})

              {if $sTargetType=='topic'} - RSS + RSS {/if} {$aLang.comment_collapse} / {$aLang.comment_expand}
              - - -
              {assign var="nesting" value="-1"} {foreach from=$aComments item=oComment name=rublist} {assign var="cmtlevel" value=$oComment->getLevel()} - + {if $cmtlevel>$oConfig->GetValue('module.comment.max_tree')} {assign var="cmtlevel" value=$oConfig->GetValue('module.comment.max_tree')} {/if} - - {if $nesting < $cmtlevel} - {elseif $nesting > $cmtlevel} - {section name=closelist1 loop=$nesting-$cmtlevel+1}
              {/section} + + {if $nesting < $cmtlevel} + {elseif $nesting > $cmtlevel} + {section name=closelist1 loop=$nesting-$cmtlevel+1}
              {/section} {elseif not $smarty.foreach.rublist.first}
              {/if} - +
              - + {include file='comment.tpl'} - + {assign var="nesting" value=$cmtlevel} {if $smarty.foreach.rublist.last} - {section name=closelist2 loop=$nesting+1}
              {/section} + {section name=closelist2 loop=$nesting+1}{/section} {/if} {/foreach} - - + + {include file='comment_paging.tpl' aPagingCmt=$aPagingCmt} {if $bAllowNewComment} @@ -54,70 +51,70 @@ {if $oUserCurrent}

              {$sNoticeCommentAdd}

              - + {if $oConfig->GetValue('view.tinymce')} {literal} {/literal} {else} {include file='window_load_img.tpl' sToLoad='form_comment_text'} {/if} - +
              {if $oUserCurrent} - + {/if} - -
              + + @@ -129,6 +126,4 @@ {else} {$aLang.comment_unregistered} {/if} -{/if} - - +{/if} \ No newline at end of file diff --git a/templates/skin/new-jquery/css/blocks.css b/templates/skin/new-jquery/css/blocks.css index 0dfa3f33..f25697fa 100644 --- a/templates/skin/new-jquery/css/blocks.css +++ b/templates/skin/new-jquery/css/blocks.css @@ -1,72 +1,72 @@ -.block { padding: 15px 20px; background: #fff; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 7px; box-shadow: 0 0 5px #eee; } -.block h2 { font-size: 20px; font-family: Tahoma, sans-serif; } -.block.nostyle { padding: 20px 25px; background: none; margin: 0px; border: none; box-shadow: none;} - -.block .bottom { padding-top: 5px; font-size: 11px; text-align: right; } -.block .bottom a { } - -.block .stream-settings-userlist ul, -.block .stream-settings-friends, -.block .stream-settings-blogs { overflow: auto; max-height: 200px; _height: expression( this.scrollHeight > 200 ? "200px" : "auto" ); position: relative; } - -/* Contacts */ -.block.contacts img { padding: 7px; border: 1px solid #ccc; } -.block.contacts ul { margin-top: 5px; } -.block.contacts ul li { padding: 3px 0 3px 25px; } -.block.contacts ul li.icq { background: url(../images/icons-contacts.gif) no-repeat scroll 0px 2px; } -.block.contacts ul li.jabber { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -23px; } -.block.contacts ul li.skype { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -47px; margin-bottom: 10px; } -.block.contacts ul li.lj { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -73px; } -.block.contacts ul li.vk { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -99px; margin-bottom: 10px; } -.block.contacts ul li.email { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -122px; } -.block.contacts ul li.phone { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -145px; } - -/* Stream */ -.block.stream ul.list { border-top: 1px solid #eee; font-size: 11px; line-height: 16px; color: #999; } -.block.stream ul.list li { padding: 5px 6px 6px; border-bottom: 1px solid #eee; } -.block.stream ul.list li .user { font-weight: bold; color: #999; text-decoration: none; background: url(../images/icons.gif) 0 -108px no-repeat; } -.block.stream ul.list li .topic-title { color: #333; } -.block.stream ul.list li .blog-title { color: #999; } -.block.stream ul.list li .stream-comment-icon { background: url(../images/icons.gif) no-repeat 0 -146px; padding-left: 12px; zoom: 1; } -.block.stream ul.list li .stream-topic-icon { background: url(../images/icons.gif) no-repeat 0 -188px; padding-left: 12px; zoom: 1; } -.block.stream ul.list li span { color: #66B746; } -.block.stream ul.list li.even { background: #F8F8F8; } - -/* Top Blogs */ -.block.blogs ul.list { border-top: 1px solid #eee; } -.block.blogs ul.list li { padding: 5px 0 5px; border-bottom: 1px solid #eee; overflow: hidden; zoom: 1; } -.block.blogs ul.list li a { color: #777; } -.block.blogs ul.list li img { vertical-align: top; } -.block.blogs ul.list li .rating { float: right; font-weight: bold; margin-left: 10px; } - -/* Tags */ -.block.tags { background: #F7F8F9; box-shadow: none; border-color: #EAEBEB; } - -.block .cloud { text-align: center; } -.block .cloud li { display: inline; margin-right: 5px; line-height: 22px; } -.block .cloud li a { text-decoration: none; white-space: nowrap; color: #8B8B8B; } -.block .cloud li a:hover { color: #fff; background: #777; } -.block .cloud li a.w1 { font-size: 12px; } -.block .cloud li a.w2 { font-size: 12px; } -.block .cloud li a.w3 { font-size: 14px; } -.block .cloud li a.w4 { font-size: 14px; } -.block .cloud li a.w5 { font-size: 18px; } -.block .cloud li a.w6 { font-size: 18px; } -.block .cloud li a.w7 { font-size: 20px; } -.block .cloud li a.w8 { font-size: 20px; } -.block .cloud li a.w9 { font-size: 22px; } -.block .cloud li a.w10 { font-size: 22px; } - -/* Stream Settings */ -.block.stream-settings h2 { margin-bottom: 7px; } -.block.stream-settings h3 { margin-bottom: 7px; } -.block.stream-settings p.note { margin-bottom: 15px; color: #aaa; } -.block.stream-settings input.input-checkbox { position: relative; top: 2px; margin: 0 2px 0 1px; } -.block.stream-settings ul li { padding-bottom: 5px; } -.block.stream-settings .stream-settings-filter { padding-bottom: 15px; margin: 0 0 15px 0; border-bottom: 1px solid #ddd; } -.block.stream-settings .stream-settings-userlist { padding-bottom: 15px; margin: 0 0 15px 0; border-bottom: 1px solid #ddd; } -.block.stream-settings .stream-settings-userlist p { margin-bottom: 10px; } -.block.stream-settings .stream-settings-userlist p input { border: 1px solid #ccc; padding: 3px; margin-right: 5px; } -.block.stream-settings .stream-settings-userlist p a { border-bottom: 1px dashed #70AAE0; text-decoration: none; } -.block.stream-settings .stream-settings-userlist p a:hover { color: #555; border-color: #555; } +.block { padding: 15px 20px; background: #fff; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 7px; box-shadow: 0 0 5px #eee; } +.block h2 { font-size: 20px; font-family: Tahoma, sans-serif; } +.block.nostyle { padding: 20px 25px; background: none; margin: 0px; border: none; box-shadow: none;} + +.block .bottom { padding-top: 5px; font-size: 11px; text-align: right; } +.block .bottom a { } + +.block .stream-settings-userlist ul, +.block .stream-settings-friends, +.block .stream-settings-blogs { overflow: auto; max-height: 200px; _height: expression( this.scrollHeight > 200 ? "200px" : "auto" ); position: relative; } + +/* Contacts */ +.block.contacts img { padding: 7px; border: 1px solid #ccc; } +.block.contacts ul { margin-top: 5px; } +.block.contacts ul li { padding: 3px 0 3px 25px; } +.block.contacts ul li.icq { background: url(../images/icons-contacts.gif) no-repeat scroll 0px 2px; } +.block.contacts ul li.jabber { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -23px; } +.block.contacts ul li.skype { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -47px; margin-bottom: 10px; } +.block.contacts ul li.lj { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -73px; } +.block.contacts ul li.vk { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -99px; margin-bottom: 10px; } +.block.contacts ul li.email { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -122px; } +.block.contacts ul li.phone { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -145px; } + +/* Stream */ +.block.stream ul.list { border-top: 1px solid #eee; font-size: 11px; line-height: 16px; color: #999; } +.block.stream ul.list li { padding: 5px 6px 6px; border-bottom: 1px solid #eee; } +.block.stream ul.list li .user { font-weight: bold; color: #999; text-decoration: none; background: url(../images/icons.gif) 0 -108px no-repeat; } +.block.stream ul.list li .topic-title { color: #333; } +.block.stream ul.list li .blog-title { color: #999; } +.block.stream ul.list li .stream-comment-icon { background: url(../images/icons.gif) no-repeat 0 -146px; padding-left: 12px; zoom: 1; } +.block.stream ul.list li .stream-topic-icon { background: url(../images/icons.gif) no-repeat 0 -188px; padding-left: 12px; zoom: 1; } +.block.stream ul.list li span { color: #66B746; } +.block.stream ul.list li.even { background: #F8F8F8; } + +/* Top Blogs */ +.block.blogs ul.list { border-top: 1px solid #eee; } +.block.blogs ul.list li { padding: 5px 0 5px; border-bottom: 1px solid #eee; overflow: hidden; zoom: 1; } +.block.blogs ul.list li a { color: #777; } +.block.blogs ul.list li img { vertical-align: top; } +.block.blogs ul.list li .rating { float: right; font-weight: bold; margin-left: 10px; } + +/* Tags */ +.block.tags { background: #F7F8F9; box-shadow: none; border-color: #EAEBEB; } + +.block .cloud { text-align: center; } +.block .cloud li { display: inline; margin-right: 5px; line-height: 22px; } +.block .cloud li a { text-decoration: none; white-space: nowrap; color: #8B8B8B; } +.block .cloud li a:hover { color: #fff; background: #777; } +.block .cloud li a.w1 { font-size: 12px; } +.block .cloud li a.w2 { font-size: 12px; } +.block .cloud li a.w3 { font-size: 14px; } +.block .cloud li a.w4 { font-size: 14px; } +.block .cloud li a.w5 { font-size: 18px; } +.block .cloud li a.w6 { font-size: 18px; } +.block .cloud li a.w7 { font-size: 20px; } +.block .cloud li a.w8 { font-size: 20px; } +.block .cloud li a.w9 { font-size: 22px; } +.block .cloud li a.w10 { font-size: 22px; } + +/* Stream Settings */ +.block.stream-settings h2 { margin-bottom: 7px; } +.block.stream-settings h3 { margin-bottom: 7px; } +.block.stream-settings p.note { margin-bottom: 15px; color: #aaa; } +.block.stream-settings input.input-checkbox { position: relative; top: 2px; margin: 0 2px 0 1px; } +.block.stream-settings ul li { padding-bottom: 5px; } +.block.stream-settings .stream-settings-filter { padding-bottom: 15px; margin: 0 0 15px 0; border-bottom: 1px solid #ddd; } +.block.stream-settings .stream-settings-userlist { padding-bottom: 15px; margin: 0 0 15px 0; border-bottom: 1px solid #ddd; } +.block.stream-settings .stream-settings-userlist p { margin-bottom: 10px; } +.block.stream-settings .stream-settings-userlist p input { border: 1px solid #ccc; padding: 3px; margin-right: 5px; } +.block.stream-settings .stream-settings-userlist p a { border-bottom: 1px dashed #70AAE0; text-decoration: none; } +.block.stream-settings .stream-settings-userlist p a:hover { color: #555; border-color: #555; } .block.stream-settings .stream-settings-userlist li { padding-bottom: 5px; } \ No newline at end of file diff --git a/templates/skin/new-jquery/css/comments.css b/templates/skin/new-jquery/css/comments.css index 698ff65c..4b255051 100644 --- a/templates/skin/new-jquery/css/comments.css +++ b/templates/skin/new-jquery/css/comments.css @@ -1,91 +1,91 @@ -/* Update button */ -.update { - padding: 8px; - float: right; - position: fixed; - top: 220px; - right: 0; - z-index: 100; - text-align: center; - background: #FAFBFB; - border-radius: 10px 0 0 10px; - border-top: 1px solid #eee; - border-bottom: 1px solid #ddd; - border-left: 1px solid #ddd; - _position: absolute; - _top: expression( eval(document.documentElement.scrollTop) + 220 +"px" ); -} -.update .update-comments { width: 26px; height: 26px; cursor: pointer; background: url(../images/update.gif) no-repeat; } -.update .update-comments.active { background: url(../images/update_act.gif) no-repeat; } -.update .new-comments { border-top: 1px solid #ececed; color: #3cc600; padding-top: 7px; margin-top: 3px; cursor: pointer; } - - -/* Comments */ -.comments { margin-bottom: 10px; } -.comments .comment-wrapper { overflow: hidden; zoom: 1; position: relative; } -.comments .comment-wrapper .comment-wrapper { padding-left: 25px; } - -.comment-preview { padding: 5px 10px; margin-bottom: 5px; background: #fafafa; overflow: hidden; zoom: 1; } -.comments-header { padding-left: 20px; margin-bottom: 20px; } -.comments-header h3 { font-size: 18px; font-family: Verdana, sans-serif; margin-bottom: 3px; } -.comments-header a.rss { background: url(../images/icons.gif) no-repeat scroll -70px -247px transparent; margin-right: 20px; padding-left: 14px; } - -/* Comment */ -.comment { margin-bottom: 20px; position: relative; padding-left: 20px; zoom: 1; } -.comment .deleted { padding: 5px 10px; color: #777; background: #f4f4f4; } -.comment .folding { width: 10px; height: 10px; position: absolute; top: 14px; left: 4px; background: url(../images/icons.gif) -20px -210px no-repeat; cursor: pointer; } -.comment .folding.folded { background-position: 0 -210px; } -.comment .goto-comment-child { display: none; } -.comment .voting { position: absolute; top: 5px; right: 0; width: 48px; height: 30px; } -.comment .voting .plus { position: absolute; top: 0; left: 0; } -.comment .voting .minus { position: absolute; top: 16px; left: 0; } -.comment .voting .total { position: absolute; top: 4px; right: 0; font-weight: normal; color: #333; padding: 0; } -.comment .voting.positive .total { color: #390; } -.comment .voting.negative .total { color: #f00; } - -/* Comment Highlights */ -.comment .content, .comment .content:before { background-color: #f7f7f7; } -.comment.deleted .content, .comment.deleted .content:before { background-color: #c5c5c5; } -.comment.deleted.not-admin .content, .comment.deleted.not-admin .content:before { padding: 5px 10px; min-height: 0; background-color: #f7f7f7; color: #888; } -.comment.self .content, .comment.self .content:before { background-color: #fdf5e6; } -.comment.new .content, .comment.new .content:before { background-color: #e4fbf1; } -.comment.current .content, .comment.current .content:before { background-color: #cdf5a6; } - -/* Info Block */ -.comment .info { overflow: hidden; zoom: 1; font-size: 10px; line-height: 14px; margin-bottom: 5px; position: relative; padding: 12px 0 0 31px; } -.comment .info li { float: left; margin-right: 10px; } -.comment .info li.avatar { padding-top: 0; position: absolute; top: 0; left: 0; } -.comment .info li.avatar img { vertical-align: top; } -.comment .info li.username a { font-weight: bold; text-decoration: none; color: #333; font-size: 11px; line-height: 11px; position: absolute; top: -1px; left: 31px; } -.comment .info li.date { color: #999; margin-right: 25px; } -.comment .info li a.comment-link { float: left; width: 9px; height: 11px; background: url(../images/icons.gif) -10px -230px no-repeat; position: relative; top: 3px; } -.comment .info li a.favourite { float: left; width: 10px; height: 8px; background: url(../images/icons.gif) -40px -40px no-repeat; position: relative; top: 4px; } -.comment .info li a.favourite.active { background-position: -50px -40px; } -.comment .info li a.favourite:hover { background-position: -50px -40px; } -.comment .info li span.favourite-count { color: #390; margin-left: 2px; position: relative; top: 1px; } -.comment .info li a { } - -/* Content */ -.comment .content { color: #000; margin: 0 30px 10px 0; border: 1px solid #DDDEDE; background: #f7f7f7; border-radius: 7px; padding: 8px 30px 9px 10px; position: relative; overflow: hidden; zoom: 1; } -.comment .content:before { content: ""; position: absolute; bottom: -9px; left: 10px; width: 7px; height: 9px; background: #F7F7F7 url(../images/comment_arrow.png) 0 0 no-repeat; } -.comment pre, .comment-preview pre { overflow: auto; width: 95%; padding: 5px 2%; margin-bottom: 10px; background: #f8f8f8 url(../images/code.gif); border: 1px solid #dce6f0; clear: both; } -.comment blockquote, .comment-preview blockquote {font-style: italic; padding: 5px 10px; background: #ffffff; border: 1px solid #ddd;} - -/* Actions */ -.comment .actions { font-size: 11px; } -.comment .actions a { text-decoration: none; } - -/* Comment List */ -.comments.comment-list .path { padding-bottom: 3px; font-size: 11px; font-weight: bold; color: #aaa; } -.comments.comment-list .path .blog-name { color: #999; } -.comments.comment-list .path .comments-total { color: #78C658; background: url(../images/comment-total.gif) no-repeat 0 4px; padding-left: 10px; margin-left: 10px; font-weight: normal; text-decoration: none; } -.comments.comment-list .comment { padding-left: 0; } - -/* Reply Form */ -.reply-area { padding-left: 20px; } - -.reply { padding-bottom: 10px; padding-top: 10px; } -.reply .markItUp { width: 98%; } -.reply .markItUpHeader { width: 98%; } -.reply textarea { height: 100px; width: 98%; } +/* Update button */ +.update { + padding: 8px; + float: right; + position: fixed; + top: 220px; + right: 0; + z-index: 100; + text-align: center; + background: #FAFBFB; + border-radius: 10px 0 0 10px; + border-top: 1px solid #eee; + border-bottom: 1px solid #ddd; + border-left: 1px solid #ddd; + _position: absolute; + _top: expression( eval(document.documentElement.scrollTop) + 220 +"px" ); +} +.update .update-comments { width: 26px; height: 26px; cursor: pointer; background: url(../images/update.gif) no-repeat; } +.update .update-comments.active { background: url(../images/update_act.gif) no-repeat; } +.update .new-comments { border-top: 1px solid #ececed; color: #3cc600; padding-top: 7px; margin-top: 3px; cursor: pointer; } + + +/* Comments */ +.comments { margin-bottom: 10px; } +.comments .comment-wrapper { overflow: hidden; zoom: 1; position: relative; } +.comments .comment-wrapper .comment-wrapper { padding-left: 25px; } + +.comment-preview { padding: 5px 10px; margin-bottom: 5px; background: #fafafa; overflow: hidden; zoom: 1; } +.comments-header { padding-left: 20px; margin-bottom: 20px; } +.comments-header h3 { font-size: 18px; font-family: Verdana, sans-serif; margin-bottom: 3px; } +.comments-header a.rss { background: url(../images/icons.gif) no-repeat scroll -70px -247px transparent; margin-right: 20px; padding-left: 14px; } + +/* Comment */ +.comment { margin-bottom: 20px; position: relative; padding-left: 20px; zoom: 1; } +.comment .deleted { padding: 5px 10px; color: #777; background: #f4f4f4; } +.comment .folding { width: 10px; height: 10px; position: absolute; top: 14px; left: 4px; background: url(../images/icons.gif) -20px -210px no-repeat; cursor: pointer; } +.comment .folding.folded { background-position: 0 -210px; } +.comment .goto-comment-child { display: none; } +.comment .voting { position: absolute; top: 5px; right: 0; width: 48px; height: 30px; } +.comment .voting .plus { position: absolute; top: 0; left: 0; } +.comment .voting .minus { position: absolute; top: 16px; left: 0; } +.comment .voting .total { position: absolute; top: 4px; right: 0; font-weight: normal; color: #333; padding: 0; } +.comment .voting.positive .total { color: #390; } +.comment .voting.negative .total { color: #f00; } + +/* Comment Highlights */ +.comment .content, .comment .content:before { background-color: #f7f7f7; } +.comment.deleted .content, .comment.deleted .content:before { background-color: #c5c5c5; } +.comment.deleted.not-admin .content, .comment.deleted.not-admin .content:before { padding: 5px 10px; min-height: 0; background-color: #f7f7f7; color: #888; } +.comment.self .content, .comment.self .content:before { background-color: #fdf5e6; } +.comment.new .content, .comment.new .content:before { background-color: #e4fbf1; } +.comment.current .content, .comment.current .content:before { background-color: #cdf5a6; } + +/* Info Block */ +.comment .info { overflow: hidden; zoom: 1; font-size: 10px; line-height: 14px; margin-bottom: 5px; position: relative; padding: 12px 0 0 31px; } +.comment .info li { float: left; margin-right: 10px; } +.comment .info li.avatar { padding-top: 0; position: absolute; top: 0; left: 0; } +.comment .info li.avatar img { vertical-align: top; } +.comment .info li.username a { font-weight: bold; text-decoration: none; color: #333; font-size: 11px; line-height: 11px; position: absolute; top: -1px; left: 31px; } +.comment .info li.date { color: #999; margin-right: 25px; } +.comment .info li a.comment-link { float: left; width: 9px; height: 11px; background: url(../images/icons.gif) -10px -230px no-repeat; position: relative; top: 3px; } +.comment .info li a.favourite { float: left; width: 10px; height: 8px; background: url(../images/icons.gif) -40px -40px no-repeat; position: relative; top: 4px; } +.comment .info li a.favourite.active { background-position: -50px -40px; } +.comment .info li a.favourite:hover { background-position: -50px -40px; } +.comment .info li span.favourite-count { color: #390; margin-left: 2px; position: relative; top: 1px; } +.comment .info li a { } + +/* Content */ +.comment .content { color: #000; margin: 0 30px 10px 0; border: 1px solid #DDDEDE; background: #f7f7f7; border-radius: 7px; padding: 8px 30px 9px 10px; position: relative; overflow: hidden; zoom: 1; } +.comment .content:before { content: ""; position: absolute; bottom: -9px; left: 10px; width: 7px; height: 9px; background: #F7F7F7 url(../images/comment_arrow.png) 0 0 no-repeat; } +.comment pre, .comment-preview pre { overflow: auto; width: 95%; padding: 5px 2%; margin-bottom: 10px; background: #f8f8f8 url(../images/code.gif); border: 1px solid #dce6f0; clear: both; } +.comment blockquote, .comment-preview blockquote {font-style: italic; padding: 5px 10px; background: #ffffff; border: 1px solid #ddd;} + +/* Actions */ +.comment .actions { font-size: 11px; } +.comment .actions a { text-decoration: none; } + +/* Comment List */ +.comments.comment-list .path { padding-bottom: 3px; font-size: 11px; font-weight: bold; color: #aaa; } +.comments.comment-list .path .blog-name { color: #999; } +.comments.comment-list .path .comments-total { color: #78C658; background: url(../images/comment-total.gif) no-repeat 0 4px; padding-left: 10px; margin-left: 10px; font-weight: normal; text-decoration: none; } +.comments.comment-list .comment { padding-left: 0; } + +/* Reply Form */ +.reply-area { padding-left: 20px; } + +.reply { padding-bottom: 10px; padding-top: 10px; } +.reply .markItUp { width: 98%; } +.reply .markItUpHeader { width: 98%; } +.reply textarea { height: 100px; width: 98%; } .reply textarea.loader { background: #f7f7f7 url(../images/loader.gif) no-repeat center;} \ No newline at end of file diff --git a/templates/skin/new-jquery/css/common.css b/templates/skin/new-jquery/css/common.css index bc072cb1..fc5942ab 100644 --- a/templates/skin/new-jquery/css/common.css +++ b/templates/skin/new-jquery/css/common.css @@ -1,111 +1,117 @@ -/* Voting */ -.voting { overflow: hidden; zoom: 1; } - -.voting .total { float: left; padding: 0 7px; color: #aaa; } -.voting .total a { text-decoration: none; color: #999; outline: none; } - -.voting.positive .total { color: #390; } -.voting.negative .total { color: #f00; } - -.voting .plus, -.voting .minus { width: 9px; height: 11px; float: left; display: block; background: url(../images/voting.png) no-repeat; position: relative; top: 4px; outline: none; } -.voting .plus { background-position: 0 0; } -.voting .minus { background-position: -18px 0; } -.voting .plus:hover { background-position: -9px 0; } -.voting .minus:hover { background-position: -27px 0; } - -.voting.voted.plus .plus { background-position: -9px 0; } -.voting.voted.minus .minus { background-position: -27px 0; } -.voting.voted.plus .minus:hover { background-position: -18px 0; } -.voting.voted.minus .plus:hover { background-position: 0 0; } - -.voting.guest .plus:hover { background-position: 0 0; } -.voting.guest .minus:hover { background-position: -18px 0; } - - -/* Favorite */ -.favourite { background: url(../images/favorite.png) no-repeat; display: block; height: 16px; width: 16px; position: relative; top: 1px; } -.favourite:hover { background-position: 0 -16px; } -.favourite.active { background-position: 0 -16px; } - - -/* Pagination */ -.pagination { } -.pagination p { font-size: 16px; color: #bbb; margin-bottom: 10px; } -.pagination ul { overflow: hidden; font-family: Verdana, Sans-Serif; } -.pagination ul li { float: left; margin-right: 8px; } -.pagination ul li.active { font-weight: bold; } -.pagination ul li.active { background: url(../images/pagination.gif) no-repeat top right; padding: 0 6px 1px 3px; border-left: 1px solid #eee; } - - -/* Switcher */ -.switcher { overflow: hidden; zoom: 1; margin-bottom: 15px; font-size: 11px; padding-bottom: 3px; } -.switcher li { float: left; padding: 1px 7px 1px; color: #A2A2A2; background: #fff; position: relative; line-height: 15px; cursor: pointer; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } -.switcher li a { color: #A2A2A2; text-decoration: none; } -.switcher li:first-child { -moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-left: 1px solid #ddd; } -.switcher li.first-child { border-left: 1px solid #ddd; } -.switcher li:last-child { -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-right: 1px solid #ddd; } -.switcher li.last-child { border-right: 1px solid #ddd; } -.switcher li.active { color: #fff; background: #83DC5F; border-color: #83DC5F; box-shadow: 0 1px 0 #75C656 inset; } -.switcher li.active a { color: #fff; } -.switcher li.active:before { content: ""; position: absolute; bottom: -4px; left: 8px; width: 5px; height: 3px; background: url(../images/arrows.png) -9px 0 no-repeat; } - - -/* System messages */ -.system-message-error { background: #f0c8c8; color: #b22626; padding: 10px 15px; margin-bottom: 15px; } -.system-message-notice { background: #dafad8; color: #4bb23b; padding: 10px 15px; margin-bottom: 15px; } - - -/* Actions */ -.actions { overflow: hidden; zoom: 1; font-size: 11px; } -.actions a { overflow: hidden; zoom: 1; margin-right: 10px; text-decoration: none; } -.actions li { float: left;} -.actions .edit { padding-left: 16px; background: url(../images/edit.gif) no-repeat 0 1px; } -.actions .delete { padding-left: 15px; background: url(../images/delete.gif) no-repeat 0 1px; color: #f00; } -.actions .rss { display: block; width: 10px; height: 10px; background: url(../images/icons.gif) no-repeat -70px -250px; margin-right: 4px; margin-top: 4px; } -.actions .join { margin-top: 4px; } -.actions a:hover { text-decoration: underline; } - - -/* Misc */ -.user { padding-left: 12px; background: url(../images/icons.gif) no-repeat 0 -107px; color: #555; text-decoration: none;} -.ls-user { padding-left: 12px; background: url(../images/icons.gif) no-repeat 0 -105px; color: #999999; text-decoration: none; font-size: 14px; font-weight: bold;} -.user.inactive { color: #888; } - -.padding { padding: 10px 20px; } - -.tags-search { position: relative; left: -20px; margin-bottom: 20px; } -.tags-input { width: 400px; font-size: 18px; padding: 4px 4px 6px; border: 1px solid #ccc; color: #555; background: #fafafa; } - -.center { width: 400px; margin: 0 auto; } -.center .input-text { border: 1px solid #ccc; width: 386px; padding: 4px 6px; font-size: 18px; font-family: Arial, sans-serif; } -.center h2 { color: #888; } -.center .button-login { float: right; } - -.join { width: 10px; height: 10px; background: url(../images/icons.gif) no-repeat 0 -250px; cursor: pointer; } -.join.active { background-position: -10px -250px; } - -.table { width: 100%; margin-bottom: 15px; } -.table td { padding: 5px; } -.table tr.active td { background: #F1FCEF; } -.table thead td { background: #F0F1F1; font-weight: bold; } -.table tbody td { padding: 5px; border-bottom: 1px solid #ddd; font-size: 11px; } - -.table.table-people { } -.table.table-people .avatar { vertical-align: middle; margin-right: 7px; } -.table.table-people td { padding: 5px 10px; vertical-align: middle; } -.table.table-people .username { font-weight: bold; color: #999; } -.table.table-people .strength { font-weight: bold; color: #70AAE0; } -.table.table-people .date { color: #999; } -.table.table-people .rating strong { font-weight: bold; color: #fff; background: #FF68CF; padding: 5px 10px; } - -.table.table-talk tbody td { color: #999; } -.table.table-talk td { padding: 5px; } -.table.table-talk td .username { padding-left: 13px; background: url(../images/icons.gif) 0 -108px no-repeat; margin-right: 5px; text-decoration: none;} -.table.table-talk td .username.inactive { color: #bbb; } -.table.table-talk a.favourite { float: left; width: 10px; height: 8px; background: url(../images/icons.gif) -40px -40px no-repeat; } -.table.table-talk a.favourite.active { background-position: -50px -40px; } -.table.table-talk a.favourite:hover { background-position: -50px -40px; } - -.right { float: right; } -span.green { color: #008000; } \ No newline at end of file +/* Voting */ +.voting { overflow: hidden; zoom: 1; } + +.voting .total { float: left; padding: 0 7px; color: #aaa; } +.voting .total a { text-decoration: none; color: #999; outline: none; } + +.voting.positive .total { color: #390; } +.voting.negative .total { color: #f00; } + +.voting .plus, +.voting .minus { width: 9px; height: 11px; float: left; display: block; background: url(../images/voting.png) no-repeat; position: relative; top: 4px; outline: none; } +.voting .plus { background-position: 0 0; } +.voting .minus { background-position: -18px 0; } +.voting .plus:hover { background-position: -9px 0; } +.voting .minus:hover { background-position: -27px 0; } + +.voting.voted.plus .plus { background-position: -9px 0; } +.voting.voted.minus .minus { background-position: -27px 0; } +.voting.voted.plus .minus:hover { background-position: -18px 0; } +.voting.voted.minus .plus:hover { background-position: 0 0; } + +.voting.guest .plus:hover { background-position: 0 0; } +.voting.guest .minus:hover { background-position: -18px 0; } + + +/* Favorite */ +.favourite { background: url(../images/favorite.png) no-repeat; display: block; height: 16px; width: 16px; position: relative; top: 1px; } +.favourite:hover { background-position: 0 -16px; } +.favourite.active { background-position: 0 -16px; } + + +/* Pagination */ +.pagination { } +.pagination p { font-size: 16px; color: #bbb; margin-bottom: 10px; } +.pagination ul { overflow: hidden; font-family: Verdana, Sans-Serif; } +.pagination ul li { float: left; margin-right: 8px; } +.pagination ul li.active { font-weight: bold; } +.pagination ul li.active { background: url(../images/pagination.gif) no-repeat top right; padding: 0 6px 1px 3px; border-left: 1px solid #eee; } + + +/* Switcher */ +.switcher { overflow: hidden; zoom: 1; margin-bottom: 15px; font-size: 11px; padding-bottom: 3px; } +.switcher li { float: left; padding: 1px 7px 1px; color: #A2A2A2; background: #fff; position: relative; line-height: 15px; cursor: pointer; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } +.switcher li a { color: #A2A2A2; text-decoration: none; } +.switcher li:first-child { -moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-left: 1px solid #ddd; } +.switcher li.first-child { border-left: 1px solid #ddd; } +.switcher li:last-child { -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-right: 1px solid #ddd; } +.switcher li.last-child { border-right: 1px solid #ddd; } +.switcher li.active { color: #fff; background: #83DC5F; border-color: #83DC5F; box-shadow: 0 1px 0 #75C656 inset; } +.switcher li.active a { color: #fff; } +.switcher li.active:before { content: ""; position: absolute; bottom: -4px; left: 8px; width: 5px; height: 3px; background: url(../images/arrows.png) -9px 0 no-repeat; } + + +/* System messages */ +.system-message-error { background: #f0c8c8; color: #b22626; padding: 10px 15px; margin-bottom: 15px; } +.system-message-notice { background: #dafad8; color: #4bb23b; padding: 10px 15px; margin-bottom: 15px; } + + +/* Actions */ +.actions { overflow: hidden; zoom: 1; font-size: 11px; } +.actions a { overflow: hidden; zoom: 1; margin-right: 10px; text-decoration: none; } +.actions li { float: left;} +.actions .edit { padding-left: 16px; background: url(../images/edit.gif) no-repeat 0 1px; } +.actions .delete { padding-left: 15px; background: url(../images/delete.gif) no-repeat 0 1px; color: #f00; } +.actions .rss { display: block; width: 10px; height: 10px; background: url(../images/icons.gif) no-repeat -70px -250px; margin-right: 4px; margin-top: 4px; } +.actions .join { margin-top: 4px; } +.actions a:hover { text-decoration: underline; } + + +/* Misc */ +.user { padding-left: 12px; background: url(../images/icons.gif) no-repeat 0 -107px; color: #555; text-decoration: none;} +.ls-user { padding-left: 12px; background: url(../images/icons.gif) no-repeat 0 -105px; color: #999999; text-decoration: none; font-size: 14px; font-weight: bold;} +.user.inactive { color: #888; } + +.padding { padding: 10px 20px; } + +.tags-search { position: relative; left: -20px; margin-bottom: 20px; } +.tags-input { width: 400px; font-size: 18px; padding: 4px 4px 6px; border: 1px solid #ccc; color: #555; background: #fafafa; } + +.center { width: 400px; margin: 0 auto; } +.center .input-text { border: 1px solid #ccc; width: 386px; padding: 4px 6px; font-size: 18px; font-family: Arial, sans-serif; } +.center h2 { color: #888; } +.center .button-login { float: right; } + +.join { width: 10px; height: 10px; background: url(../images/icons.gif) no-repeat 0 -250px; cursor: pointer; } +.join.active { background-position: -10px -250px; } + +table { width: 100%; margin-bottom: 15px; } +table td { padding: 5px; } +table tr.active td { background: #F1FCEF; } +table thead td { background: #F0F1F1; font-weight: bold; } +table tbody td { padding: 5px; border-bottom: 1px solid #ddd; font-size: 11px; } + +table.table-people { } +table.table-people td { padding: 5px 10px; vertical-align: middle; } +table.table-people td.user-skill, table.table-people td.user-rating, table.table-people td.user-date-last { text-align: center; } +table.table-people td.user-skill { width: 60px; } +table.table-people td.user-rating { width: 80px; } +table.table-people td.user-date-last, table.table-people td.user-date-registration { width: 170px; } +table.table-people .avatar { vertical-align: middle; margin-right: 7px; } +table.table-people .username { font-weight: bold; color: #999; } +table.table-people .strength { font-weight: bold; color: #70AAE0; } +table.table-people .date { color: #999; } +table.table-people .rating strong { font-weight: bold; color: #fff; background: #FF68CF; padding: 5px 10px; } + +table.table-talk tbody td { color: #999; } +table.table-talk td { padding: 5px; } +table.table-talk td .username { padding-left: 13px; background: url(../images/icons.gif) 0 -108px no-repeat; margin-right: 5px; text-decoration: none;} +table.table-talk td .username.inactive { color: #bbb; } +table.table-talk a.favourite { float: left; width: 10px; height: 8px; background: url(../images/icons.gif) -40px -40px no-repeat; } +table.table-talk a.favourite.active { background-position: -50px -40px; } +table.table-talk a.favourite:hover { background-position: -50px -40px; } + +.right { float: right; } +span.green { color: #008000; } + +img.tagcloud { border: 0; margin-left: 13px; } \ No newline at end of file diff --git a/templates/skin/new-jquery/css/forms.css b/templates/skin/new-jquery/css/forms.css index dd7b3152..b8002bde 100644 --- a/templates/skin/new-jquery/css/forms.css +++ b/templates/skin/new-jquery/css/forms.css @@ -1,35 +1,35 @@ -.input-wide { width: 98%; _width: 97%; padding: 2px; } -.input-100 { width: 100px; padding: 2px; } -.input-200 { width: 200px; padding: 2px; } -.input-300 { width: 300px; padding: 2px; } -.note { font-size: 12px; color: #aaa; } -.checkbox { position: relative; top: 2px; margin: 0 4px 0 1px; } -.question-list { margin-bottom: 15px; } -.question-list li { margin-bottom: 5px; } -.question-list li input { margin-right: 5px; } - - -.markItUp { width: 100%; } -.markItUpEditor { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } -.markItUpHeader { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } - -.button { - background: rgb(254,254,254); - background: -moz-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(233,233,233,1) 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(254,254,254,1)), color-stop(100%,rgba(233,233,233,1))); - background: -webkit-linear-gradient(top, rgba(254,254,254,1) 0%,rgba(233,233,233,1) 100%); - background: -o-linear-gradient(top, rgba(254,254,254,1) 0%,rgba(233,233,233,1) 100%); - background: -ms-linear-gradient(top, rgba(254,254,254,1) 0%,rgba(233,233,233,1) 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#e9e9e9',GradientType=0 ); - background: linear-gradient(top, rgba(254,254,254,1) 0%,rgba(233,233,233,1) 100%); - - border-radius: 15px; - border: none; - font-family: Arial, sans-serif; - padding: 3px 13px 3px; - color: #444; - text-shadow: 0 1px 0 #fff; - border-top: 1px solid #ccc; - border-bottom: 1px solid #fafafa; - cursor: pointer; +.input-wide { width: 98%; _width: 97%; padding: 2px; } +.input-100 { width: 100px; padding: 2px; } +.input-200 { width: 200px; padding: 2px; } +.input-300 { width: 300px; padding: 2px; } +.note { font-size: 12px; color: #aaa; } +.checkbox { position: relative; top: 2px; margin: 0 4px 0 1px; } +.question-list { margin-bottom: 15px; } +.question-list li { margin-bottom: 5px; } +.question-list li input { margin-right: 5px; } + + +.markItUp { width: 100%; } +.markItUpEditor { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } +.markItUpHeader { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } + +.button { + background: rgb(254,254,254); + background: -moz-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(233,233,233,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(254,254,254,1)), color-stop(100%,rgba(233,233,233,1))); + background: -webkit-linear-gradient(top, rgba(254,254,254,1) 0%,rgba(233,233,233,1) 100%); + background: -o-linear-gradient(top, rgba(254,254,254,1) 0%,rgba(233,233,233,1) 100%); + background: -ms-linear-gradient(top, rgba(254,254,254,1) 0%,rgba(233,233,233,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#e9e9e9',GradientType=0 ); + background: linear-gradient(top, rgba(254,254,254,1) 0%,rgba(233,233,233,1) 100%); + + border-radius: 15px; + border: none; + font-family: Arial, sans-serif; + padding: 3px 13px 3px; + color: #444; + text-shadow: 0 1px 0 #fff; + border-top: 1px solid #ccc; + border-bottom: 1px solid #fafafa; + cursor: pointer; } \ No newline at end of file diff --git a/templates/skin/new-jquery/css/grid.css b/templates/skin/new-jquery/css/grid.css index 0484ec33..f0661b35 100644 --- a/templates/skin/new-jquery/css/grid.css +++ b/templates/skin/new-jquery/css/grid.css @@ -1,183 +1,189 @@ -/* Blocks --------------------- */ -#container { margin: 0 auto 20px; max-width: 1600px; min-width: 960px; } -#header { min-width: 960px; height: 80px; margin: 0 auto; max-width: 1570px; position: relative; overflow: hidden; zoom: 1; padding: 0 15px; background: #222; } -#header-light { text-align: center; padding: 20px 0; background: #fff; width: 400px; margin: 20px auto 40px; border-radius: 5px; } -#wrapper { overflow: hidden; zoom: 1; padding: 0 20px 20px; } -#wrapper.show-update-button { padding-right: 55px; } -#wrapper.white-back { background: #fff; margin: 0 20px 30px 20px;} -#wrapper.white-back #content { } -#content { width: 66.5%; float: left; margin-right: 1.5%; background: #fff; } -#content-inner { padding: 20px; } -#sidebar { width: 32%; float: left; } -#footer { overflow: hidden; zoom: 1; margin: 0 0 20px; color: #777; border-top: 1px solid #DADADA; } -#footer-inner { border-top: 1px solid #fff; padding: 15px 20px 10px; } - - - -/* Header --------------------- */ -#header a.logo { font-size: 20px; float: left; padding: 30px 40px 0 5px; text-decoration: none; } -#header a.logo span { color: #77D115; } - -#header a { color: #fff; } - -#header .pages { overflow: hidden; zoom: 1; padding: 32px 0 0; list-style: none; float: left; font-size: 15px; } -#header .pages li { float: left; margin-right: 10px; position: relative; } -#header .pages li a { color: #BEBEBE; text-decoration: underline; padding: 2px 5px 3px; } -#header .pages li.active a { color: #FFFFFF; font-size: 24px; line-height: 24px; text-decoration: none; } -#header .pages li.active { top: -5px; } - -#header .profile { color: #777; text-align: right; position: absolute; top: 15px; right: 23px; padding-right: 60px; font-size: 11px; color: #AFAFAF; line-height: 12px; } -#header .profile li { margin-bottom: 6px; } -#header .profile .message { background: url(../images/icons.gif) no-repeat scroll right 3px; margin-right: 5px; padding-right: 18px; zoom: 1; text-decoration: none; } -#header .profile .message.new { background: url(../images/icons.gif) no-repeat right -17px; color: #ffea00; } -#header .profile .create { color: #f79cf3; } -#header .profile .logout { color: #AFAFAF; text-decoration: none; } -#header .profile .avatar { position: absolute; top: 0; right: 0; width: 48px; height: 48px;} -#header .profile a:hover { color: #ddd; } - -#header .auth { position: absolute; top: 28px; right: 33px; color: #ddd; } -#header .auth .login-link { font-size: 18px; } - - -/* Header Light --------------------- */ -#header-light .logo { font-size: 28px; text-decoration: none; color: #777; } -#header-light .logo:hover { color: #555; } - - - -/* Navigation --------------------- */ -#nav { margin: 0 auto 15px; max-width: 1600px; min-width: 960px; background: url(../images/nav.png) no-repeat; position: relative; zoom: 1; } -#nav-inner { height: 92px; padding: 0 0 0 0; margin-left: 20px; background: url(../images/nav.png) 100% 0 no-repeat; overflow: hidden; zoom: 1; } - -/* Menu */ -#nav .menu { padding-bottom: 30px; float: left; font-size: 15px; margin: 11px 0 0 0; } -#nav .menu li { float: left; color: #51B038; padding: 3px 10px 4px 10px; margin-right: 5px; position: relative; } -#nav .menu li a.new { color: #390; } -#nav .menu li a { text-decoration: none; color: #838383; } -#nav .menu li a:hover { color: #333; } -#nav .menu li.active { position: relative; background: #fff; border-bottom: 1px solid #ddd; } -#nav .menu li.active a { color: #333; } -#nav .menu li.active:before { content: ""; position: absolute; bottom: -5px; left: 10px; width: 9px; height: 5px; background: url(../images/arrows.png) no-repeat; } - -/* Sub-menu */ -#nav .sub-menu { position: absolute; top: 35px; left: 0; width: 500px; font-size: 11px; } -#nav .sub-menu li { margin-right: 5px; line-height: 13px; padding: 3px 10px 5px 10px !important; border-radius: 12px; } -#nav .sub-menu li a { color: #777 !important; text-decoration: underline; } -#nav .sub-menu li a:hover { text-decoration: none !important; } -#nav .sub-menu li.active { background: #555; color: #fff; font-weight: bold; background: #83DC5F; box-shadow: 0 2px 0 #75C656 inset; } -#nav .sub-menu li.active a { color: #fff !important; text-decoration: none; } -#nav .sub-menu li.active:before { display: none; } - -/* Search */ -#nav .search { position: absolute; bottom: 25px; right: 20px; } -#nav .search .text { width: 165px; border: 1px solid #ccc; border-radius: 13px; padding: 4px 35px 4px 13px; color: #777; box-shadow: 0 2px 2px #eee inset; } -#nav .search .search-submit { width: 18px; height: 18px; position: absolute; top: 4px; right: 7px; *top: 5px; border: none; background: url(../images/search.png) no-repeat; cursor: pointer; } - -/* Search */ -#nav .button-publish { float: left; text-decoration: none; background: url(../images/button_publish.gif) no-repeat; color: #333; margin-top: 45px; margin-right: 35px; } -#nav .button-publish span { float: left; background: url(../images/button_publish.gif) 100% 0 no-repeat; margin-left: 25px; padding: 2px 25px 3px 0; cursor: pointer; } - - -/* Misc blocks --------------------- */ - -/* Blog profile */ -.blog { padding: 20px 20px 0; margin-bottom: 20px; color: #666; position: relative; } - -.blog .voting { position: absolute; top: 10px; right: 20px; z-index: 100; } -.blog .voting .total { font-weight: normal; padding: 4px 10px 5px; font-size: 14px; } -.blog .voting .plus { margin: 4px 6px 0 0; } -.blog .voting .minus { margin: 4px 0 0 6px; } -.blog .voting .text { font-size: 10px; color: #aaa; text-align: center; clear: both; } -.blog .voting.positive .total { background: #68BF46; color: #fff; } -.blog .voting.negative .total { background: #FF3B3C; color: #fff; } - -.blog .blog-header { overflow: hidden; zoom: 1; position: relative; padding: 0 100px 0 30px; } -.blog .blog-header img { position: absolute; top: 0; left: 0; } -.blog .blog-header h2 { font-size: 24px; line-height: 1.3em; margin-top: -4px; } -.blog .blog-header h2 a { text-decoration: none; border-bottom: 1px dashed #70AAE0; } -.blog .blog-header h2.inactive a { color: #ccc; border-color: #ccc; } - -.blog .actions { margin-bottom: 10px; } - -.blog .blog-info { display: none; background: #F4F4F6; padding: 25px 30px; border-radius: 10px; } -.blog .blog-info h3 { font-size: 22px; color: #555; font-family: Verdana, sans-serif; } -.blog .blog-info p { border-bottom: 1px solid #DADADA; padding-bottom: 15px; margin-bottom: 0; } -.blog .blog-info .user { margin-right: 5px; } - -.blog .blog-wrapper { overflow: hidden; zoom: 1; margin-bottom: 40px; border-top: 1px solid #fff; padding: 20px 0 0; } -.blog .blog-wrapper .blog-admins { float: left; width: 50%; } -.blog .blog-wrapper .blog-mods { float: left; width: 50%; } -.blog .blog-wrapper .user-list li { float: left; width: 60px;text-align: center; overflow: hidden; } -.blog .blog-wrapper .user-list li img { display: block; margin: 0 auto 2px; } - -.blog-list-table { } -.blog-list-table tbody { color: #999; } -.blog-list-table td .avatar { float: left; position: relative; top: 2px; } -.blog-list-table td .title { font-size: 18px; line-height: 22px; } -.blog-list-table td .user { font-weight: bold; color: #999; background: url(../images/icons.gif) 0 -108px no-repeat; } -.blog-list-table td .private { position: relative; top: 2px; } -.blog-list-table td p { margin-bottom: 0; color: #999; } - -/* User profile */ -.user-profile { margin-bottom: 20px; overflow: hidden; zoom: 1; position: relative; } -.user-profile .avatar { float: left; margin-right: 15px; } -.user-profile h3 { font-size: 24px; line-height: 1em; margin-bottom: 10px; } -.user-profile p.realname { font-size: 18px; color: #999; } - -.user-profile .voting { position: absolute; top: 0px; right: 85px; z-index: 100; } -.user-profile .voting .total { font-weight: normal; padding: 4px 10px 5px; font-size: 14px; } -.user-profile .voting .plus { margin: 4px 6px 0 0; } -.user-profile .voting .minus { margin: 4px 0 0 6px; } -.user-profile .voting .text { font-size: 10px; color: #aaa; text-align: center; clear: both; } -.user-profile .voting.positive .total { background: #68BF46; color: #fff; } -.user-profile .voting.negative .total { background: #FF3B3C; color: #fff; } - -.user-profile .strength { float: right; } -.user-profile .strength .total { background: #70AAE0; font-size: 14px; padding: 4px 10px 5px; font-weight: normal; color: #fff; } -.user-profile .strength .text { font-size: 10px; color: #aaa; text-align: center; } - -.user-profile-header { font-size: 18px; margin-bottom: 7px; border-bottom: 1px solid #ccc; } - -.user-profile-table { width: 100%; } -.user-profile-table td { vertical-align: top; padding: 0 0 5px; } -.user-profile-table td.var { width: 150px; font-weight: bold; color: #999; } -.user-profile-table td .user { margin-right: 7px; } - -/* Stat */ -.stat-performance { padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; } -.stat-performance table { } -.stat-performance table td { width: 200px; vertical-align: top; } -.stat-performance h4 { font-weight: bold; } - -/* Userfeed */ -.userfeed-get-more { display:block; width: 90%; margin: 0px auto; text-align: center; height: 2.5em; padding-top: 1em;} -.userfeed-get-more:hover { background: #f0f7fd;} -.userfeed_loading {background: #F7F7F7 url(../images/loader.gif) no-repeat center;} - -/* Stream */ -.stream-get-more { display: block; text-align: center; padding: 12px 0; background: #fafafa; color: #aaa; border-top: 1px solid #eee; text-decoration: none; } -.stream-get-more:hover { background: #f0f7fd; } -.stream_loading { background: #f7f7f7 url(../images/loader.gif) no-repeat center; } -.stream-comment-preview { padding: 5px 10px; background: #f3f3f3; margin-top: 5px; } - -.stream-list { margin: 0 0 20px; } -.stream-list li { margin-bottom: 5px; min-height: 48px; _height: 48px; background: #fafafa; padding: 10px 15px 10px 70px; position: relative; } -.stream-list li .avatar { position: absolute; top: 10px; left: 10px; } -.stream-list li .date { display: block; color: #999; } -.stream-list li a { text-decoration: none; } -.stream-list li a:hover { text-decoration: underline; } - -/* Userfields */ -.userfield-list { width: 450px; } -.userfield-list li { background: #f7f7f7; margin-bottom: 1px; padding: 10px 5px; overflow: hidden; zoom: 1; line-height: 12px; color: #777; } -.userfield-list li .uf-actions { float: right; } -.userfield-list li .uf-actions img { vertical-align: top; } -.userfield-list li .userfield_admin_name { font-weight: bold; color: #333; } - -.userfield-add { text-decoration: none; border-bottom: 1px dashed #70AAE0; } -.userfield-add:hover { color: #333; border-color: #333; } +/* Blocks +-------------------- */ +#container { margin: 0 auto 20px; max-width: 1600px; min-width: 960px; } +#header { min-width: 960px; height: 80px; margin: 0 auto; max-width: 1570px; position: relative; overflow: hidden; zoom: 1; padding: 0 15px; background: #222; } +#header-light { text-align: center; padding: 20px 0; background: #fff; width: 400px; margin: 20px auto 40px; border-radius: 5px; } +#wrapper { overflow: hidden; zoom: 1; padding: 0 20px 20px; } +#wrapper.show-update-button { padding-right: 55px; } +#wrapper.white-back { background: #fff; margin: 0 20px 30px 20px;} +#wrapper.white-back #content { } +#content { width: 66.5%; float: left; margin-right: 1.5%; background: #fff; } +#content-inner { padding: 20px; } +#sidebar { width: 32%; float: left; } +#footer { overflow: hidden; zoom: 1; margin: 0 0 20px; color: #777; border-top: 1px solid #DADADA; } +#footer-inner { border-top: 1px solid #fff; padding: 15px 20px 10px; } + + + +/* Header +-------------------- */ +#header a.logo { font-size: 20px; float: left; padding: 30px 40px 0 5px; text-decoration: none; } +#header a.logo span { color: #77D115; } + +#header a { color: #fff; } + +#header .pages { overflow: hidden; zoom: 1; padding: 32px 0 0; list-style: none; float: left; font-size: 15px; } +#header .pages li { float: left; margin-right: 10px; position: relative; } +#header .pages li a { color: #BEBEBE; text-decoration: underline; padding: 2px 5px 3px; } +#header .pages li.active a { color: #FFFFFF; font-size: 24px; line-height: 24px; text-decoration: none; } +#header .pages li.active { top: -5px; } + +#header .profile { color: #777; text-align: right; position: absolute; top: 15px; right: 23px; padding-right: 60px; font-size: 11px; color: #AFAFAF; line-height: 12px; } +#header .profile li { margin-bottom: 6px; } +#header .profile .message { background: url(../images/icons.gif) no-repeat scroll right 3px; margin-right: 5px; padding-right: 18px; zoom: 1; text-decoration: none; } +#header .profile .message.new { background: url(../images/icons.gif) no-repeat right -17px; color: #ffea00; } +#header .profile .create { color: #f79cf3; } +#header .profile .logout { color: #AFAFAF; text-decoration: none; } +#header .profile .avatar { position: absolute; top: 0; right: 0; width: 48px; height: 48px;} +#header .profile a:hover { color: #ddd; } + +#header .auth { position: absolute; top: 28px; right: 33px; color: #ddd; } +#header .auth .login-link { font-size: 18px; } + + +/* Header Light +-------------------- */ +#header-light .logo { font-size: 28px; text-decoration: none; color: #777; } +#header-light .logo:hover { color: #555; } + + + +/* Navigation +-------------------- */ +#nav { margin: 0 auto 15px; max-width: 1600px; min-width: 960px; background: url(../images/nav.png) no-repeat; position: relative; zoom: 1; } +#nav-inner { height: 92px; padding: 0 0 0 0; margin-left: 20px; background: url(../images/nav.png) 100% 0 no-repeat; overflow: hidden; zoom: 1; } + +/* Menu */ +#nav .menu { padding-bottom: 30px; float: left; font-size: 15px; margin: 11px 0 0 0; } +#nav .menu li { float: left; color: #51B038; padding: 3px 10px 4px 10px; margin-right: 5px; position: relative; } +#nav .menu li a.new { color: #390; } +#nav .menu li a { text-decoration: none; color: #838383; } +#nav .menu li a:hover { color: #333; } +#nav .menu li.active { position: relative; background: #fff; border-bottom: 1px solid #ddd; } +#nav .menu li.active a { color: #333; } +#nav .menu li.active:before { content: ""; position: absolute; bottom: -5px; left: 10px; width: 9px; height: 5px; background: url(../images/arrows.png) no-repeat; } + +/* Sub-menu */ +#nav .sub-menu { position: absolute; top: 35px; left: 0; width: 500px; font-size: 11px; } +#nav .sub-menu li { margin-right: 5px; line-height: 13px; padding: 3px 10px 5px 10px !important; border-radius: 12px; } +#nav .sub-menu li a { color: #777 !important; text-decoration: underline; } +#nav .sub-menu li a:hover { text-decoration: none !important; } +#nav .sub-menu li.active { background: #555; color: #fff; font-weight: bold; background: #83DC5F; box-shadow: 0 2px 0 #75C656 inset; } +#nav .sub-menu li.active a { color: #fff !important; text-decoration: none; } +#nav .sub-menu li.active:before { display: none; } + +/* Search */ +#nav .search { position: absolute; bottom: 25px; right: 20px; } +#nav .search .text { width: 165px; border: 1px solid #ccc; border-radius: 13px; padding: 4px 35px 4px 13px; color: #777; box-shadow: 0 2px 2px #eee inset; } +#nav .search .search-submit { width: 18px; height: 18px; position: absolute; top: 4px; right: 7px; *top: 5px; border: none; background: url(../images/search.png) no-repeat; cursor: pointer; } + +/* Search */ +#nav .button-publish { float: left; text-decoration: none; background: url(../images/button_publish.gif) no-repeat; color: #333; margin-top: 45px; margin-right: 35px; } +#nav .button-publish span { float: left; background: url(../images/button_publish.gif) 100% 0 no-repeat; margin-left: 25px; padding: 2px 25px 3px 0; cursor: pointer; } + + +/* Misc blocks +-------------------- */ + +/* Blog profile */ +.blog { padding: 20px 20px 0; margin-bottom: 20px; color: #666; position: relative; } + +.blog .voting { position: absolute; top: 10px; right: 20px; z-index: 100; } +.blog .voting .total { font-weight: normal; padding: 4px 10px 5px; font-size: 14px; } +.blog .voting .plus { margin: 4px 6px 0 0; } +.blog .voting .minus { margin: 4px 0 0 6px; } +.blog .voting .text { font-size: 10px; color: #aaa; text-align: center; clear: both; } +.blog .voting.positive .total { background: #68BF46; color: #fff; } +.blog .voting.negative .total { background: #FF3B3C; color: #fff; } + +.blog .blog-header { overflow: hidden; zoom: 1; position: relative; padding: 0 100px 0 30px; } +.blog .blog-header img { position: absolute; top: 0; left: 0; } +.blog .blog-header h2 { font-size: 24px; line-height: 1.3em; margin-top: -4px; } +.blog .blog-header h2 a { text-decoration: none; border-bottom: 1px dashed #70AAE0; } +.blog .blog-header h2.inactive a { color: #ccc; border-color: #ccc; } + +.blog .actions { margin-bottom: 10px; } + +.blog .blog-info { display: none; background: #F4F4F6; padding: 25px 30px; border-radius: 10px; } +.blog .blog-info h3 { font-size: 22px; color: #555; font-family: Verdana, sans-serif; } +.blog .blog-info p { border-bottom: 1px solid #DADADA; padding-bottom: 15px; margin-bottom: 0; } +.blog .blog-info .user { margin-right: 5px; } + +.blog .blog-wrapper { overflow: hidden; zoom: 1; margin-bottom: 40px; border-top: 1px solid #fff; padding: 20px 0 0; } +.blog .blog-wrapper .blog-admins { float: left; width: 50%; } +.blog .blog-wrapper .blog-mods { float: left; width: 50%; } +.blog .blog-wrapper .user-list li { float: left; width: 60px;text-align: center; overflow: hidden; } +.blog .blog-wrapper .user-list li img { display: block; margin: 0 auto 2px; } + +.blog-list-table { } +.blog-list-table thead td.blog-join-leave, .blog-list-table thead td.blog-readers-count, .blog-list-table thead td.blog-rating { text-align: center; width: 60px; } +.blog-list-table thead td.blog-join-leave { width: 100px; } +.blog-list-table tbody td.blog-join-leave, .blog-list-table tbody td.blog-readers-count, .blog-list-table tbody td.blog-rating { text-align: center; } +.blog-list-table tbody { color: #999; } +.blog-list-table td.blog-join-leave, .blog-list-table td.blog-readers-count, .blog-list-table td.blog-rating { text-align: center; width: 60px; } +.blog-list-table td.blog-join-leave { width: 100px; } +.blog-list-table td .avatar { float: left; position: relative; top: 2px; } +.blog-list-table td .title { font-size: 18px; line-height: 22px; } +.blog-list-table td .user { font-weight: bold; color: #999; background: url(../images/icons.gif) 0 -108px no-repeat; } +.blog-list-table td .private { position: relative; top: 2px; } +.blog-list-table td p { margin-bottom: 0; color: #999; } + + +/* User profile */ +.user-profile { margin-bottom: 20px; overflow: hidden; zoom: 1; position: relative; } +.user-profile .avatar { float: left; margin-right: 15px; } +.user-profile h3 { font-size: 24px; line-height: 1em; margin-bottom: 10px; } +.user-profile p.realname { font-size: 18px; color: #999; } + +.user-profile .voting { position: absolute; top: 0px; right: 85px; z-index: 100; } +.user-profile .voting .total { font-weight: normal; padding: 4px 10px 5px; font-size: 14px; } +.user-profile .voting .plus { margin: 4px 6px 0 0; } +.user-profile .voting .minus { margin: 4px 0 0 6px; } +.user-profile .voting .text { font-size: 10px; color: #aaa; text-align: center; clear: both; } +.user-profile .voting.positive .total { background: #68BF46; color: #fff; } +.user-profile .voting.negative .total { background: #FF3B3C; color: #fff; } + +.user-profile .strength { float: right; } +.user-profile .strength .total { background: #70AAE0; font-size: 14px; padding: 4px 10px 5px; font-weight: normal; color: #fff; } +.user-profile .strength .text { font-size: 10px; color: #aaa; text-align: center; } + +.user-profile-header { font-size: 18px; margin-bottom: 7px; border-bottom: 1px solid #ccc; } + +.user-profile-table { width: 100%; } +.user-profile-table td { vertical-align: top; padding: 0 0 5px; } +.user-profile-table td.var { width: 150px; font-weight: bold; color: #999; } +.user-profile-table td .user { margin-right: 7px; } + +/* Stat */ +.stat-performance { padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; } +.stat-performance table { } +.stat-performance table td { width: 200px; vertical-align: top; } +.stat-performance h4 { font-weight: bold; } + +/* Userfeed */ +.userfeed-get-more { display:block; width: 90%; margin: 0px auto; text-align: center; height: 2.5em; padding-top: 1em;} +.userfeed-get-more:hover { background: #f0f7fd;} +.userfeed_loading {background: #F7F7F7 url(../images/loader.gif) no-repeat center;} + +/* Stream */ +.stream-get-more { display: block; text-align: center; padding: 12px 0; background: #fafafa; color: #aaa; border-top: 1px solid #eee; text-decoration: none; } +.stream-get-more:hover { background: #f0f7fd; } +.stream_loading { background: #f7f7f7 url(../images/loader.gif) no-repeat center; } +.stream-comment-preview { padding: 5px 10px; background: #f3f3f3; margin-top: 5px; } + +.stream-list { margin: 0 0 20px; } +.stream-list li { margin-bottom: 5px; min-height: 48px; _height: 48px; background: #fafafa; padding: 10px 15px 10px 70px; position: relative; } +.stream-list li .avatar { position: absolute; top: 10px; left: 10px; } +.stream-list li .date { display: block; color: #999; } +.stream-list li a { text-decoration: none; } +.stream-list li a:hover { text-decoration: underline; } + +/* Userfields */ +.userfield-list { width: 450px; } +.userfield-list li { background: #f7f7f7; margin-bottom: 1px; padding: 10px 5px; overflow: hidden; zoom: 1; line-height: 12px; color: #777; } +.userfield-list li .uf-actions { float: right; } +.userfield-list li .uf-actions img { vertical-align: top; } +.userfield-list li .userfield_admin_name { font-weight: bold; color: #333; } + +.userfield-add { text-decoration: none; border-bottom: 1px dashed #70AAE0; } +.userfield-add:hover { color: #333; border-color: #333; } diff --git a/templates/skin/new-jquery/css/jquery.jqmodal.css b/templates/skin/new-jquery/css/jquery.jqmodal.css index c51b1192..6e3bf410 100644 --- a/templates/skin/new-jquery/css/jquery.jqmodal.css +++ b/templates/skin/new-jquery/css/jquery.jqmodal.css @@ -1,52 +1,52 @@ -/* jqModal base Styling courtesy of; - Brice Burgess */ - -/* The Window's CSS z-index value is respected (takes priority). If none is supplied, - the Window's z-index value will be set to 3000 by default (via jqModal.js). */ - -.jqmWindow { - display: none; - - position: fixed; - top: 25%; - left: 50%; - z-index: 200; - - background-color: #fff; - color: #333; - border: 1px solid #777; - padding: 20px 25px 25px; - - background: rgb(249,249,249); - background: -moz-linear-gradient(top, rgba(249,249,249,1) 0%, rgba(241,241,241,1) 50%, rgba(222,222,222,1) 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,249,249,1)), color-stop(50%,rgba(241,241,241,1)), color-stop(100%,rgba(222,222,222,1))); - background: -webkit-linear-gradient(top, rgba(249,249,249,1) 0%,rgba(241,241,241,1) 50%,rgba(222,222,222,1) 100%); - background: -o-linear-gradient(top, rgba(249,249,249,1) 0%,rgba(241,241,241,1) 50%,rgba(222,222,222,1) 100%); - background: -ms-linear-gradient(top, rgba(249,249,249,1) 0%,rgba(241,241,241,1) 50%,rgba(222,222,222,1) 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#dedede',GradientType=0 ); - background: linear-gradient(top, rgba(249,249,249,1) 0%,rgba(241,241,241,1) 50%,rgba(222,222,222,1) 100%); - - border-radius: 10px; - overflow: hidden; - zoom: 1; -} -.jqmWindow h3 { margin-bottom: 15px; color: #999; } -.jqmWindow label { color: #777; } -.jqmWindow .close { position: absolute; top: 5px; right: 5px; width: 14px; height: 14px; outline: none; background: url(../images/close.png) no-repeat; } - - -.jqmOverlay { background-color: #000; } - -/* Background iframe styling for IE6. Prevents ActiveX bleed-through ( form elements, etc.) */ +* iframe.jqm {position:absolute;top:0;left:0;z-index:-1; + width: expression(this.parentNode.offsetWidth+'px'); + height: expression(this.parentNode.offsetHeight+'px'); +} + +/* Fixed posistioning emulation for IE6 + Star selector used to hide definition from browsers other than IE6 + For valid CSS, use a conditional include instead */ +* html .jqmWindow { + position: absolute; + top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px'); } \ No newline at end of file diff --git a/templates/skin/new-jquery/css/jquery.notifier.css b/templates/skin/new-jquery/css/jquery.notifier.css index d29ae8e8..19156619 100644 --- a/templates/skin/new-jquery/css/jquery.notifier.css +++ b/templates/skin/new-jquery/css/jquery.notifier.css @@ -1,31 +1,31 @@ -#notifier { - width: 250px; - - position: fixed; - top: 10px; - right: 10px; - +#notifier { + width: 250px; + + position: fixed; + top: 10px; + right: 10px; + font-size: 12px; - z-index: 9999; - + z-index: 9999; + /* IE 6 Fix */ - _position: absolute; + _position: absolute; _top: expression( eval(document.documentElement.scrollTop) + 10 +"px" ); } -#notifier .n-box { - position: relative; - - padding: 10px 15px 11px; +#notifier .n-box { + position: relative; + + padding: 10px 15px 11px; margin-bottom: 10px; - - color: #fff; - background: #000; - + + color: #fff; + background: #000; + -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; - + cursor: pointer; } #notifier .n-box h3 { color: #fff; font-size: 14px; font-weight: bold; margin-bottom: 3px; } diff --git a/templates/skin/new-jquery/css/main.css b/templates/skin/new-jquery/css/main.css index 44031ab6..bfc7abbb 100644 --- a/templates/skin/new-jquery/css/main.css +++ b/templates/skin/new-jquery/css/main.css @@ -1,23 +1,13 @@ -body { - font: 12px/18px Tahoma, Arial, Sans-Serif; - color: #333; - background: #F7F8F9; -} - -h1, h2, h3, h4, h5, h6 { font: normal 18px Verdana, Arial, Sans-Serif; line-height: 1.3em; margin-bottom: 0.3em; color: #333; } -h2 { font-size: 22px; margin-bottom: 10px; } -h2 span { color: #6EC80D; } -h3 { font-size: 18px; } - -a { color: #70AAE0; } -a:hover { text-decoration: none; } - -a.dashed { text-decoration: none; border-bottom: 1px dashed #70AAE0; } - -p { margin-bottom: 18px; } - - - - - - +body { font: 12px/18px Tahoma, Arial, Sans-Serif; color: #333; background: #F7F8F9; } + +h1, h2, h3, h4, h5, h6 { font: normal 18px Verdana, Arial, Sans-Serif; line-height: 1.3em; margin-bottom: 0.3em; color: #333; } +h2 { font-size: 22px; margin-bottom: 10px; } +h2 span { color: #6EC80D; } +h3 { font-size: 18px; } + +a { color: #70AAE0; } +a:hover { text-decoration: none; } + +a.dashed { text-decoration: none; border-bottom: 1px dashed #70AAE0; } + +p { margin-bottom: 18px; } \ No newline at end of file diff --git a/templates/skin/new-jquery/css/popups.css b/templates/skin/new-jquery/css/popups.css index f4ff8786..22cebd51 100644 --- a/templates/skin/new-jquery/css/popups.css +++ b/templates/skin/new-jquery/css/popups.css @@ -1,36 +1,36 @@ -/* Login popup */ -.login-form { width: 400px; margin-left: -200px; left: 50%; top: 60px; background: #fff; display: none; } -.login-form p { margin-bottom: 15px; } -.login-form a { color: #555; } -.login-form label.label-remember { position: relative; top: 3px; } -.login-form input.input-text { border: 1px solid #ccc; width: 386px; padding: 4px 6px; font-size: 18px; font-family: Arial, sans-serif; } -.login-form .button{ float: right; } -.login-form .checkbox-label { color: #333; } -.login-form .checkbox { position: relative; top: 2px; margin-right: 5px; } - - -/* Upload image popup */ -.upload-form { width: 300px; margin-left: -150px; left: 50%; } -.upload-form h3 { margin-bottom: 15px; } -.upload-form .button { float: left; margin-right: 10px; } - - -/* Blog delete popup */ -.blog-delete-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; display: none; } -.blog-delete-form p { margin-bottom: 8px; } -.blog-delete-form select { width: 100%; } - - -/* Add friend popup */ -.add-friend-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; display: none; } -.add-friend-form textarea { width: 195px; margin-bottom: 5px; } - - -/* Add userfield popup */ -.userfield-form { width: 270px; padding: 15px; margin-left: -120px; top: 100px; left: 50%; display: none; } -.userfield-form p { margin-bottom: 10px; } -.userfield-form .input-text { width: 262px; border: 1px solid #ccc; margin: 0; padding: 3px; font-family: Arial, sans-serif; font-size: 12px; } -.userfield-form .button { float: left; margin-right: 10px; } - - - +/* Login popup */ +.login-form { width: 400px; margin-left: -200px; left: 50%; top: 60px; background: #fff; display: none; } +.login-form p { margin-bottom: 15px; } +.login-form a { color: #555; } +.login-form label.label-remember { position: relative; top: 3px; } +.login-form input.input-text { border: 1px solid #ccc; width: 386px; padding: 4px 6px; font-size: 18px; font-family: Arial, sans-serif; } +.login-form .button{ float: right; } +.login-form .checkbox-label { color: #333; } +.login-form .checkbox { position: relative; top: 2px; margin-right: 5px; } + + +/* Upload image popup */ +.upload-form { width: 300px; margin-left: -150px; left: 50%; } +.upload-form h3 { margin-bottom: 15px; } +.upload-form .button { float: left; margin-right: 10px; } + + +/* Blog delete popup */ +.blog-delete-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; display: none; } +.blog-delete-form p { margin-bottom: 8px; } +.blog-delete-form select { width: 100%; } + + +/* Add friend popup */ +.add-friend-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; display: none; } +.add-friend-form textarea { width: 195px; margin-bottom: 5px; } + + +/* Add userfield popup */ +.userfield-form { width: 270px; padding: 15px; margin-left: -120px; top: 100px; left: 50%; display: none; } +.userfield-form p { margin-bottom: 10px; } +.userfield-form .input-text { width: 262px; border: 1px solid #ccc; margin: 0; padding: 3px; font-family: Arial, sans-serif; font-size: 12px; } +.userfield-form .button { float: left; margin-right: 10px; } + + + diff --git a/templates/skin/new-jquery/css/reset.css b/templates/skin/new-jquery/css/reset.css index 0dd21425..018de964 100644 --- a/templates/skin/new-jquery/css/reset.css +++ b/templates/skin/new-jquery/css/reset.css @@ -1,32 +1,32 @@ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, font, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td { - margin: 0; - padding: 0; - border: 0; - outline: 0; - font-size: 100%; - vertical-align: baseline; - background: transparent; -} -body { line-height: 1; } -ol, ul { list-style: none; } -blockquote, q { quotes: none; } -blockquote:before, blockquote:after, -q:before, q:after { content: ''; content: none; } - -/* remember to define focus styles! */ -:focus { outline: 0; } - -/* remember to highlight inserts somehow! */ -ins { text-decoration: none; } -del { text-decoration: line-through; } - -/* tables still need 'cellspacing="0"' in the markup */ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + border: 0; + outline: 0; + font-size: 100%; + vertical-align: baseline; + background: transparent; +} +body { line-height: 1; } +ol, ul { list-style: none; } +blockquote, q { quotes: none; } +blockquote:before, blockquote:after, +q:before, q:after { content: ''; content: none; } + +/* remember to define focus styles! */ +:focus { outline: 0; } + +/* remember to highlight inserts somehow! */ +ins { text-decoration: none; } +del { text-decoration: line-through; } + +/* tables still need 'cellspacing="0"' in the markup */ table { border-collapse: collapse; border-spacing: 0; } \ No newline at end of file diff --git a/templates/skin/new-jquery/css/smoothness/jquery-ui.css b/templates/skin/new-jquery/css/smoothness/jquery-ui.css index 2a6819f2..cc9452fb 100644 --- a/templates/skin/new-jquery/css/smoothness/jquery-ui.css +++ b/templates/skin/new-jquery/css/smoothness/jquery-ui.css @@ -76,13 +76,13 @@ /* Interaction Cues ----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; } +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; } .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } /* Icons @@ -357,14 +357,14 @@ .ui-datepicker .ui-datepicker-next { right:2px; } .ui-datepicker .ui-datepicker-prev-hover { left:1px; } .ui-datepicker .ui-datepicker-next-hover { right:1px; } -.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } .ui-datepicker select.ui-datepicker-month-year {width: 100%;} .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { width: 49%;} .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } .ui-datepicker td { border: 0; padding: 1px; } .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } @@ -398,13 +398,13 @@ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ .ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ + display: none; /*sorry for IE5*/ + display/**/: block; /*sorry for IE5*/ + position: absolute; /*must have*/ + z-index: -1; /*must have*/ + filter: mask(); /*must have*/ + top: -4px; /*must have*/ + left: -4px; /*must have*/ + width: 200px; /*must have*/ + height: 200px; /*must have*/ } \ No newline at end of file diff --git a/templates/skin/new-jquery/css/topic.css b/templates/skin/new-jquery/css/topic.css index a55a5df5..7da450f6 100644 --- a/templates/skin/new-jquery/css/topic.css +++ b/templates/skin/new-jquery/css/topic.css @@ -1,114 +1,114 @@ -.topic { margin-bottom: 50px; padding-left: 20px; position: relative; zoom: 1;} - -/* Title */ -.topic .title { margin-bottom: 3px; font-size: 22px; font-family: Verdana, sans-serif; } -.topic .title a { } - -/* Content */ -.topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; font-size: 14px; font-family: Verdana, sans-serif; line-height: 20px; } -.topic .content p { margin-bottom: 18px; } -.topic .content h4 { font-size: 22px; line-height: 1.3em; margin-bottom: 10px; } -.topic .content h5 { font-size: 20px; line-height: 1.3em; margin-bottom: 10px; } -.topic .content h6 { font-size: 18px; line-height: 1.3em; margin-bottom: 10px; } -.topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; clear: both; } -.topic .content pre, .comment .content pre { overflow: auto; width: 95%; padding: 5px 2%; margin-bottom: 10px; background: #f8f8f8 url(../images/code.gif); border: 1px solid #dce6f0; clear: both; } -.topic .content ul { list-style-type: disc; margin-left: 17px; } -.topic .content ol { list-style-type: decimal; margin-left: 30px; } -.topic .content img[align="right"] { margin: 4px 0 5px 15px; } -.topic .content img[align="left"] { margin: 4px 15px 10px 0; } -.topic .content img.image-center { display: block; margin: 0 auto; } - -/* Tags */ -.topic .tags { margin: 0 0 6px; padding-left: 13px; background: url(../images/tag.png) no-repeat 0 5px; zoom: 1; } -.topic .tags li { display: inline; color: #777; } -.topic .tags li a { color: #777; text-decoration: none; } -.topic .tags li a:hover { color: #fff; background: #777; } - -/* Info */ -.topic .info-top { margin-bottom: 20px; } -.topic .info-top .title-blog { color: #aaa; margin-right: 15px; } - -.topic .info { overflow: hidden; zoom: 1; padding: 9px 0 0; font-size: 13px; background: url(../images/info_bg.png) repeat-x; } -.topic .info li { float: left; margin-right: 15px; } -.topic .info li a { text-decoration: none; } - -.topic .info li.date { color: #999; font-size: 11px; } -.topic .info li.username a { font-weight: bold; background: url(../images/icons.gif) no-repeat 0 -106px; padding-left: 13px; } -.topic .info li.username a:hover { text-decoration: underline; } -.topic .info li.voting { padding-right: 15px; } -.topic .info li.comments-link a { color: #f00; font-size: 11px; } -.topic .info li.comments-link a span { color: #390; } -.topic .info li.comments-link a:hover { background: #f00; color: #fff; } -.topic .info li.comments-link a:hover span { background: #390; color: #fff; } -.topic .info li.url a { padding-left: 16px; background: url(../images/topic_link.gif) 0 1px no-repeat; font-size: 11px; } - -.topic .favourite { position: absolute; top: 8px; left: -8px; height: 16px; width: 20px; background: url(../images/icons.gif) no-repeat 0 -40px; text-align: center; font-weight: bold; text-decoration: none; } -.topic .favourite:hover { background: url(../images/icons.gif) no-repeat -20px -40px; color: #fff; } -.topic .favourite.active { background: url(../images/icons.gif) no-repeat -20px -40px; color: #fff; } -.topic .favourite-count { color: #390; position: absolute;top: 15px; left: -7px; width: 32px; } - -/* Poll */ -.topic .poll { margin-bottom: 15px; font-size: 14px; } - -.topic .poll .poll-vote { margin-bottom: 10px; margin-left: 0; list-style-type: none; } -.topic .poll .poll-vote li { margin-bottom: 5px; } -.topic .poll .poll-vote li label { display: inline; } - -.topic .poll .poll-result { margin-bottom: 10px; margin-left: 0; list-style-type: none; font-family: Verdana, sans-serif; } -.topic .poll .poll-result li { margin-bottom: 20px; } -.topic .poll .poll-result li dl { overflow: hidden; zoom: 1; } -.topic .poll .poll-result li dl dt { float: left; width: 50px; text-align: right; padding-right: 15px; } -.topic .poll .poll-result li dl dt span { color: #aaa; } -.topic .poll .poll-result li dl dd { float: left; width: 400px; } -.topic .poll .poll-result li dl dd div { height: 5px; margin-top: 5px; background: #ccc; overflow: hidden; border-radius: 3px; box-shadow: 0 1px 0 #939393 inset; } -.topic .poll .poll-result li.most dl dd div { color: #fff; background: #83DC5F; border-color: #83DC5F; box-shadow: 0 1px 0 #75C656 inset; border-radius: 3px; } - -.topic .poll .poll-total { color: #aaa; } - -/* Topic Photo */ -.topic.photo { } -.topic.photo .topic-photo-preview { position: relative; margin-bottom: 15px; cursor: pointer; } -.topic.photo .topic-photo-preview img { vertical-align: top; } -.topic.photo .topic-photo-preview .topic-photo-count { display: none; cursor: pointer; position: absolute; top: 5px; right: 5px; background: #000; color: #6bd24b; padding: 4px 7px; background: rgba(0,0,0,.6); } -.topic.photo .topic-photo-preview .topic-photo-desc { display: none; width: 96%; padding: 7px 2%; position: absolute; bottom: 0; left: 0; background: #000; color: #6bd24b; color: #fff; line-height: 16px; background: rgba(0,0,0,.7); } - -.topic.photo .topic-photo-images { padding-top: 10px; margin-bottom: 15px; } -.topic.photo .topic-photo-images h2 { border-bottom: 1px solid #ddd; padding-bottom: 4px; margin-bottom: 15px; } -.topic.photo .topic-photo-images ul { overflow: hidden; zoom: 1; } -.topic.photo .topic-photo-images ul li { float: left; margin: 0 9px 9px 0; position: relative; } -.topic.photo .topic-photo-images ul li .image-number { display: none; position: absolute; top: 5px; right: 5px; background: #000; color: #6bd24b; padding: 1px 6px; font-size: 11px; background: rgba(0,0,0,.6); } -.topic.photo .topic-photo-images ul li:hover .image-number { display: block; } -.topic.photo .topic-photo-images ul li img { vertical-align: top; } -.topic.photo .topic-photo-images .topic-photo-more { display: block; border-top: 1px solid #dbe6f0; text-align: center; padding: 10px 0; margin-bottom: 15px; text-decoration: none; background: #f3f7fa; color: #7b90a5; } -.topic.photo .topic-photo-images .topic-photo-more:hover { background: #eaf2f8; } - -.topic-photo-upload { background: #fafafa; padding: 15px 15px 15px; margin-bottom: 20px; } -.topic-photo-upload h2 { margin-bottom: 15px; } -.topic-photo-upload ul { overflow: hidden; zoom: 1; } -.topic-photo-upload ul li { min-height: 100px; _height: 100px; margin-bottom: 10px; padding-left: 110px; position: relative; } -.topic-photo-upload ul li img { position: absolute; top: 0; left: 0; } -.topic-photo-upload ul li label { color: #aaa; } -.topic-photo-upload ul li textarea { border: 1px solid #ddd; width: 350px; height: 60px; padding: 3px; font-size: 12px; font-family: Arial, sans-serif; color: #333; } -.topic-photo-upload ul li .image-delete { text-decoration: none; margin-right: 15px; } -.topic-photo-upload ul li .image-delete:hover { color: #f00; } -.topic-photo-upload ul li.marked-as-preview .mark-as-preview { display: inline; color: #43c70f; font-weight: bold; } -.topic-photo-upload ul li .mark-as-preview { display: none; text-decoration: none; } -.topic-photo-upload ul li:hover .mark-as-preview { display: inline; } -.topic-photo-upload .topic-photo-upload-rules { color: #888; margin-bottom: 15px; } -.topic-photo-upload .topic-photo-upload-input { margin-bottom: 20px; } -.topic-photo-upload .topic-photo-upload-input input { margin-top: 3px; } - -#photoset-upload-form { - width: 270px; - padding: 15px; - position: absolute; - top:70%; - display: none; - background-color: #fff; - border: 1px solid #ccc; - -moz-box-shadow: 0 0 10px #ddd; - -webkit-box-shadow: 0 0 10px #ddd; - box-shadow: 0 0 10px #ddd; -} -#photoset-upload-form p { margin-bottom: 10px; } +.topic { margin-bottom: 50px; padding-left: 20px; position: relative; zoom: 1;} + +/* Title */ +.topic .title { margin-bottom: 3px; font-size: 22px; font-family: Verdana, sans-serif; } +.topic .title a { } + +/* Content */ +.topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; font-size: 14px; font-family: Verdana, sans-serif; line-height: 20px; } +.topic .content p { margin-bottom: 18px; } +.topic .content h4 { font-size: 22px; line-height: 1.3em; margin-bottom: 10px; } +.topic .content h5 { font-size: 20px; line-height: 1.3em; margin-bottom: 10px; } +.topic .content h6 { font-size: 18px; line-height: 1.3em; margin-bottom: 10px; } +.topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; clear: both; } +.topic .content pre, .comment .content pre { overflow: auto; width: 95%; padding: 5px 2%; margin-bottom: 10px; background: #f8f8f8 url(../images/code.gif); border: 1px solid #dce6f0; clear: both; } +.topic .content ul { list-style-type: disc; margin-left: 17px; } +.topic .content ol { list-style-type: decimal; margin-left: 30px; } +.topic .content img[align="right"] { margin: 4px 0 5px 15px; } +.topic .content img[align="left"] { margin: 4px 15px 10px 0; } +.topic .content img.image-center { display: block; margin: 0 auto; } + +/* Tags */ +.topic .tags { margin: 0 0 6px; padding-left: 13px; background: url(../images/tag.png) no-repeat 0 5px; zoom: 1; } +.topic .tags li { display: inline; color: #777; } +.topic .tags li a { color: #777; text-decoration: none; } +.topic .tags li a:hover { color: #fff; background: #777; } + +/* Info */ +.topic .info-top { margin-bottom: 20px; } +.topic .info-top .title-blog { color: #aaa; margin-right: 15px; } + +.topic .info { overflow: hidden; zoom: 1; padding: 9px 0 0; font-size: 13px; background: url(../images/info_bg.png) repeat-x; } +.topic .info li { float: left; margin-right: 15px; } +.topic .info li a { text-decoration: none; } + +.topic .info li.date { color: #999; font-size: 11px; } +.topic .info li.username a { font-weight: bold; background: url(../images/icons.gif) no-repeat 0 -106px; padding-left: 13px; } +.topic .info li.username a:hover { text-decoration: underline; } +.topic .info li.voting { padding-right: 15px; } +.topic .info li.comments-link a { color: #f00; font-size: 11px; } +.topic .info li.comments-link a span { color: #390; } +.topic .info li.comments-link a:hover { background: #f00; color: #fff; } +.topic .info li.comments-link a:hover span { background: #390; color: #fff; } +.topic .info li.url a { padding-left: 16px; background: url(../images/topic_link.gif) 0 1px no-repeat; font-size: 11px; } + +.topic .favourite { position: absolute; top: 8px; left: -8px; height: 16px; width: 20px; background: url(../images/icons.gif) no-repeat 0 -40px; text-align: center; font-weight: bold; text-decoration: none; } +.topic .favourite:hover { background: url(../images/icons.gif) no-repeat -20px -40px; color: #fff; } +.topic .favourite.active { background: url(../images/icons.gif) no-repeat -20px -40px; color: #fff; } +.topic .favourite-count { color: #390; position: absolute;top: 15px; left: -7px; width: 32px; } + +/* Poll */ +.topic .poll { margin-bottom: 15px; font-size: 14px; } + +.topic .poll .poll-vote { margin-bottom: 10px; margin-left: 0; list-style-type: none; } +.topic .poll .poll-vote li { margin-bottom: 5px; } +.topic .poll .poll-vote li label { display: inline; } + +.topic .poll .poll-result { margin-bottom: 10px; margin-left: 0; list-style-type: none; font-family: Verdana, sans-serif; } +.topic .poll .poll-result li { margin-bottom: 20px; } +.topic .poll .poll-result li dl { overflow: hidden; zoom: 1; } +.topic .poll .poll-result li dl dt { float: left; width: 50px; text-align: right; padding-right: 15px; } +.topic .poll .poll-result li dl dt span { color: #aaa; } +.topic .poll .poll-result li dl dd { float: left; width: 400px; } +.topic .poll .poll-result li dl dd div { height: 5px; margin-top: 5px; background: #ccc; overflow: hidden; border-radius: 3px; box-shadow: 0 1px 0 #939393 inset; } +.topic .poll .poll-result li.most dl dd div { color: #fff; background: #83DC5F; border-color: #83DC5F; box-shadow: 0 1px 0 #75C656 inset; border-radius: 3px; } + +.topic .poll .poll-total { color: #aaa; } + +/* Topic Photo */ +.topic.photo { } +.topic.photo .topic-photo-preview { position: relative; margin-bottom: 15px; cursor: pointer; } +.topic.photo .topic-photo-preview img { vertical-align: top; } +.topic.photo .topic-photo-preview .topic-photo-count { display: none; cursor: pointer; position: absolute; top: 5px; right: 5px; background: #000; color: #6bd24b; padding: 4px 7px; background: rgba(0,0,0,.6); } +.topic.photo .topic-photo-preview .topic-photo-desc { display: none; width: 96%; padding: 7px 2%; position: absolute; bottom: 0; left: 0; background: #000; color: #6bd24b; color: #fff; line-height: 16px; background: rgba(0,0,0,.7); } + +.topic.photo .topic-photo-images { padding-top: 10px; margin-bottom: 15px; } +.topic.photo .topic-photo-images h2 { border-bottom: 1px solid #ddd; padding-bottom: 4px; margin-bottom: 15px; } +.topic.photo .topic-photo-images ul { overflow: hidden; zoom: 1; } +.topic.photo .topic-photo-images ul li { float: left; margin: 0 9px 9px 0; position: relative; } +.topic.photo .topic-photo-images ul li .image-number { display: none; position: absolute; top: 5px; right: 5px; background: #000; color: #6bd24b; padding: 1px 6px; font-size: 11px; background: rgba(0,0,0,.6); } +.topic.photo .topic-photo-images ul li:hover .image-number { display: block; } +.topic.photo .topic-photo-images ul li img { vertical-align: top; } +.topic.photo .topic-photo-images .topic-photo-more { display: block; border-top: 1px solid #dbe6f0; text-align: center; padding: 10px 0; margin-bottom: 15px; text-decoration: none; background: #f3f7fa; color: #7b90a5; } +.topic.photo .topic-photo-images .topic-photo-more:hover { background: #eaf2f8; } + +.topic-photo-upload { background: #fafafa; padding: 15px 15px 15px; margin-bottom: 20px; } +.topic-photo-upload h2 { margin-bottom: 15px; } +.topic-photo-upload ul { overflow: hidden; zoom: 1; } +.topic-photo-upload ul li { min-height: 100px; _height: 100px; margin-bottom: 10px; padding-left: 110px; position: relative; } +.topic-photo-upload ul li img { position: absolute; top: 0; left: 0; } +.topic-photo-upload ul li label { color: #aaa; } +.topic-photo-upload ul li textarea { border: 1px solid #ddd; width: 350px; height: 60px; padding: 3px; font-size: 12px; font-family: Arial, sans-serif; color: #333; } +.topic-photo-upload ul li .image-delete { text-decoration: none; margin-right: 15px; } +.topic-photo-upload ul li .image-delete:hover { color: #f00; } +.topic-photo-upload ul li.marked-as-preview .mark-as-preview { display: inline; color: #43c70f; font-weight: bold; } +.topic-photo-upload ul li .mark-as-preview { display: none; text-decoration: none; } +.topic-photo-upload ul li:hover .mark-as-preview { display: inline; } +.topic-photo-upload .topic-photo-upload-rules { color: #888; margin-bottom: 15px; } +.topic-photo-upload .topic-photo-upload-input { margin-bottom: 20px; } +.topic-photo-upload .topic-photo-upload-input input { margin-top: 3px; } + +#photoset-upload-form { + width: 270px; + padding: 15px; + position: absolute; + top:70%; + display: none; + background-color: #fff; + border: 1px solid #ccc; + -moz-box-shadow: 0 0 10px #ddd; + -webkit-box-shadow: 0 0 10px #ddd; + box-shadow: 0 0 10px #ddd; +} +#photoset-upload-form p { margin-bottom: 10px; } #photoset-upload-form .input-text { width: 262px; border: 1px solid #ccc; margin: 0; padding: 3px; font-family: Arial, sans-serif; font-size: 12px; } \ No newline at end of file diff --git a/templates/skin/new-jquery/footer.tpl b/templates/skin/new-jquery/footer.tpl index bb2a1541..bd195e7f 100644 --- a/templates/skin/new-jquery/footer.tpl +++ b/templates/skin/new-jquery/footer.tpl @@ -11,7 +11,7 @@ diff --git a/templates/skin/new-jquery/header.light.tpl b/templates/skin/new-jquery/header.light.tpl index 13d654c1..5d70da5d 100644 --- a/templates/skin/new-jquery/header.light.tpl +++ b/templates/skin/new-jquery/header.light.tpl @@ -1,16 +1,16 @@ - + - + {hook run='html_head_begin'} {$sHtmlTitle} - - + + {$aHtmlHeadFiles.css} - + {if $bRefreshToHome} - + {/if} {hook run='html_head_end'} @@ -21,7 +21,7 @@ - + {if !$noShowSystemMessage} {include file='system_message.tpl'} {/if} \ No newline at end of file diff --git a/templates/skin/new-jquery/header.tpl b/templates/skin/new-jquery/header.tpl index f6b60936..d54823e6 100644 --- a/templates/skin/new-jquery/header.tpl +++ b/templates/skin/new-jquery/header.tpl @@ -1,12 +1,12 @@ - + - + {hook run='html_head_begin'} - + {$sHtmlTitle} - - + + @@ -18,37 +18,37 @@ {if $aHtmlRssAlternate} {/if} - + {if $bRefreshToHome} - - {/if} - - {$aHtmlHeadFiles.js} - - - + {hook run='html_head_end'} @@ -64,5 +64,5 @@
              {include file='window_login.tpl'} {include file='system_message.tpl'} - - {hook run='content_begin'} \ No newline at end of file + + {hook run='content_begin'} diff --git a/templates/skin/new-jquery/header_top.tpl b/templates/skin/new-jquery/header_top.tpl index 17e2f1c1..546398b2 100644 --- a/templates/skin/new-jquery/header_top.tpl +++ b/templates/skin/new-jquery/header_top.tpl @@ -4,7 +4,7 @@ {$oUserCurrent->getLogin()}
              {else} {/if} - + - - + +
              \ No newline at end of file diff --git a/templates/skin/new-jquery/js/blocks.js b/templates/skin/new-jquery/js/blocks.js index 2a9338c0..9559380d 100644 --- a/templates/skin/new-jquery/js/blocks.js +++ b/templates/skin/new-jquery/js/blocks.js @@ -35,7 +35,7 @@ ls.blocks = (function ($) { this.load = function(obj, block, params){ var id = $(obj).attr('id'); params=$.extend(true,{},this.options.type[id].params || {},params || {}); - + var content = $('#'+block+'_content'); this.showProgress(content); diff --git a/templates/skin/new-jquery/js/blog.js b/templates/skin/new-jquery/js/blog.js index cda8ba06..0442fc1d 100644 --- a/templates/skin/new-jquery/js/blog.js +++ b/templates/skin/new-jquery/js/blog.js @@ -4,7 +4,7 @@ var ls = ls || {}; * JS функционал для блогов */ ls.blog = (function ($) { - + /** * Вступить или покинуть блог */ @@ -48,7 +48,7 @@ ls.blog = (function ($) { }); } }); - + return false; } @@ -63,10 +63,10 @@ ls.blog = (function ($) { ls.msg.notice(null, result.sMsg); } }); - + return false; } - + /** * Отображение информации о блоге */ @@ -79,13 +79,13 @@ ls.blog = (function ($) { } }); } - + /** * Отображение информации о типе блога */ this.loadInfoType = function(type) { $('#blog_type_note').text($('#blog_type_note_'+type).text()); } - + return this; }).call(ls.blog || {},jQuery); \ No newline at end of file diff --git a/templates/skin/new-jquery/js/comments.js b/templates/skin/new-jquery/js/comments.js index b555fa9d..56f5ef2e 100644 --- a/templates/skin/new-jquery/js/comments.js +++ b/templates/skin/new-jquery/js/comments.js @@ -1,333 +1,333 @@ -var ls = ls || {}; - -/** -* Обработка комментариев -*/ -ls.comments = (function ($) { - /** - * Опции - */ - this.options = { - type: { - topic: { - url_add: aRouter.blog+'ajaxaddcomment/', - url_response: aRouter.blog+'ajaxresponsecomment/' - }, - talk: { - url_add: aRouter.talk+'ajaxaddcomment/', - url_response: aRouter.talk+'ajaxresponsecomment/' - } - }, - classes: { - form_loader: 'loader', - comment_new: 'new', - comment_current: 'current', - comment_deleted: 'deleted', - comment_self: 'self', - comment: 'comment', - comment_goto_parent: 'goto-comment-parent', - comment_goto_child: 'goto-comment-child' - }, - wysiwyg: null - }; - - this.iCurrentShowFormComment=0; - this.iCurrentViewComment=null; - this.aCommentNew=[]; - - // Добавляет комментарий - this.add = function(formObj, targetId, targetType) { - if (this.options.wysiwyg) { - $('#'+formObj+' textarea').val(tinyMCE.activeEditor.getContent()); - } - formObj = $('#'+formObj); - - $('#form_comment_text').addClass(this.options.classes.form_loader).attr('readonly',true); - $('#comment-button-submit').attr('disabled', 'disabled'); - - ls.ajax(this.options.type[targetType].url_add, formObj.serializeJSON(), function(result){ - $('#comment-button-submit').removeAttr('disabled'); - if (!result) { - this.enableFormComment(); - ls.msg.error('Error','Please try again later'); - return; - } - if (result.bStateError) { - this.enableFormComment(); - ls.msg.error(null,result.sMsg); - } else { - this.enableFormComment(); - $('#form_comment_text').val(''); - - // Load new comments - this.load(targetId, targetType, result.sCommentId, true); - } - }.bind(this)); - } - - - // Активирует форму - this.enableFormComment = function() { - $('#form_comment_text').removeClass(this.options.classes.form_loader).attr('readonly',false); - } - - - // Показывает/скрывает форму комментирования - this.toggleCommentForm = function(idComment, bNoFocus) { - $('#comment_preview_'+this.iCurrentShowFormComment).html('').css('display','none'); - if (this.iCurrentShowFormComment==idComment && $('#reply_'+idComment).css('display')=='block') { - $('#reply_'+idComment).hide(); - return; - } - if (this.options.wysiwyg) { - tinyMCE.execCommand('mceRemoveControl',true,'form_comment_text'); - } - $('#form_comment').appendTo("#reply_"+idComment); - $('#form_comment_text').val(''); - $('#form_comment_reply').val(idComment); - $('.reply').hide(); - $('#reply_'+idComment).css('display','block'); - this.iCurrentShowFormComment=idComment; - if (this.options.wysiwyg) { - tinyMCE.execCommand('mceAddControl',true,'form_comment_text'); - } - if (!bNoFocus) $('#form_comment_text').focus(); - } - - - // Подгружает новые комментарии - this.load = function(idTarget, typeTarget, selfIdComment, bNotFlushNew) { - var idCommentLast = $("#comment_last_id").val(); - - // Удаляем подсветку у комментариев - if (!bNotFlushNew) { - $('.comment').each(function(index, item){ - $(item).removeClass(this.options.classes.comment_new+' '+this.options.classes.comment_current); - }.bind(this)); - } - - objImg = $('#update-comments'); - objImg.addClass('active'); - - var params = { idCommentLast: idCommentLast, idTarget: idTarget, typeTarget: typeTarget }; - if (selfIdComment) { - params.selfIdComment = selfIdComment; - } - if ($('#comment_use_paging').val()) { - params.bUsePaging = 1; - } - - ls.ajax(this.options.type[typeTarget].url_response, params, function(result) { - objImg.removeClass('active'); - - if (!result) { ls.msg.error('Error','Please try again later'); } - if (result.bStateError) { - ls.msg.error(null,result.sMsg); - } else { - var aCmt = result.aComments; - if (aCmt.length > 0 && result.iMaxIdComment) { - $("#comment_last_id").val(result.iMaxIdComment); - $('#count-comments').text(parseInt($('#count-comments').text())+aCmt.length); - if ($('#block_stream_item_comment').length && ls.blocks) { - ls.blocks.load($('#block_stream_item_comment'), 'block_stream'); - } - } - var iCountOld=0; - if (bNotFlushNew) { - iCountOld=this.aCommentNew.length; - } else { - this.aCommentNew=[]; - } - if (selfIdComment) { - this.toggleCommentForm(this.iCurrentShowFormComment, true); - this.setCountNewComment(aCmt.length-1+iCountOld); - } else { - this.setCountNewComment(aCmt.length+iCountOld); - } - - $.each(aCmt, function(index, item) { - if (!(selfIdComment && selfIdComment==item.id)) { - this.aCommentNew.push(item.id); - } - this.inject(item.idParent, item.id, item.html); - }.bind(this)); - - if (selfIdComment && $('#comment_id_'+selfIdComment).length) { - this.scrollToComment(selfIdComment); - } - this.checkFolding(); - } - }.bind(this)); - } - - - // Вставка комментария - this.inject = function(idCommentParent, idComment, sHtml) { - var newComment = $('
              ', {'class': 'comment-wrapper', id: 'comment_wrapper_id_'+idComment}).html(sHtml); - if (idCommentParent) { - $('#comment_wrapper_id_'+idCommentParent).append(newComment); - } else { - $('#comments').append(newComment); - } - } - - - // Удалить/восстановить комментарий - this.toggle = function(obj, commentId) { - ls.ajax(aRouter['ajax']+'comment/delete/', { idComment: commentId }, function(result){ - if (!result) { - ls.msg.error('Error','Please try again later'); - } - if (result.bStateError) { - ls.msg.error(null,result.sMsg); - } else { - ls.msg.notice(null,result.sMsg); - - $('#comment_id_'+commentId).removeClass(this.options.classes.comment_self+' '+this.options.classes.comment_new+' '+this.options.classes.comment_deleted+' '+this.options.classes.comment_current); - if (result.bState) { - $('#comment_id_'+commentId).addClass(this.options.classes.comment_deleted); - } - $(obj).text(result.sTextToggle); - } - }.bind(this)); - } - - - // Предпросмотр комментария - this.preview = function() { - if (this.options.wysiwyg) { - $("#form_comment_text").val(tinyMCE.activeEditor.getContent()); - } - if ($("#form_comment_text").val() == '') return; - $("#comment_preview_"+this.iCurrentShowFormComment).css('display', 'block'); - ls.tools.textPreview('form_comment_text', false, 'comment_preview_'+this.iCurrentShowFormComment); - } - - - // Устанавливает число новых комментариев - this.setCountNewComment = function(count) { - if (count > 0) { - $('#new_comments_counter').css('display','block').text(count); - } else { - $('#new_comments_counter').text(0).hide(); - } - } - - - // Вычисляет кол-во новых комментариев - this.calcNewComments = function() { - var aCommentsNew = $('.'+this.options.classes.comment+'.'+this.options.classes.comment_new); - this.setCountNewComment(aCommentsNew.length); - $.each(aCommentsNew,function(k,v){ - this.aCommentNew.push(parseInt($(v).attr('id').replace('comment_id_',''))); - }.bind(this)); - } - - - // Переход к следующему комментарию - this.goToNextComment = function() { - if (this.aCommentNew[0]) { - if ($('#comment_id_'+this.aCommentNew[0]).length) { - this.scrollToComment(this.aCommentNew[0]); - } - this.aCommentNew.shift(); - } - this.setCountNewComment(this.aCommentNew.length); - } - - - // Прокрутка к комментарию - this.scrollToComment = function(idComment) { - $.scrollTo('#comment_id_'+idComment, 1000, {offset: -250}); - - if (this.iCurrentViewComment) { - $('#comment_id_'+this.iCurrentViewComment).removeClass(this.options.classes.comment_current); - } - $('#comment_id_'+idComment).addClass(this.options.classes.comment_current); - this.iCurrentViewComment=idComment; - } - - - // Прокрутка к родительскому комментарию - this.goToParentComment = function(id, pid) { - thisObj = this; - $('.'+this.options.classes.comment_goto_child).hide().find('a').unbind(); - - $("#comment_id_"+pid).find('.'+this.options.classes.comment_goto_child).show().find("a").bind("click", function(){ - $(this).parent('.'+thisObj.options.classes.comment_goto_child).hide(); - thisObj.scrollToComment(id); - return false; - }); - this.scrollToComment(pid); - return false; - } - - - // Сворачивание комментариев - this.checkFolding = function() { - $(".folding").each(function(index, element){ - if ($(element).parent(".comment").next(".comment-wrapper").length == 0) { - $(element).hide(); - } else { - $(element).show(); - } - }); - return false; - } - - this.expandComment = function(folding) { - $(folding).removeClass("folded").parent().nextAll(".comment-wrapper").show(); - } - - this.collapseComment = function(folding) { - $(folding).addClass("folded").parent().nextAll(".comment-wrapper").hide(); - } - - this.expandCommentAll = function() { - $.each($(".folding"),function(k,v){ - this.expandComment(v); - }.bind(this)) - } - - this.collapseCommentAll = function() { - $.each($(".folding"),function(k,v){ - this.collapseComment(v); - }.bind(this)) - } - - this.init = function() { - this.initEvent(); - this.calcNewComments(); - this.checkFolding(); - this.toggleCommentForm(this.iCurrentShowFormComment); - - if (typeof(this.options.wysiwyg)!='number') { - this.options.wysiwyg = Boolean(BLOG_USE_TINYMCE && tinyMCE); - } - } - - this.initEvent = function() { - $('#form_comment_text').bind('keyup', function(e) { - key = e.keyCode || e.which; - if(e.ctrlKey && (key == 13)) { - $('#comment-button-submit').click(); - return false; - } - }); - - $(".folding").click(function(e){ - if ($(e.target).hasClass("folded")) { - this.expandComment(e.target); - } else { - this.collapseComment(e.target); - } - }.bind(this)); - } - - return this; -}).call(ls.comments || {},jQuery); - - -jQuery(document).ready(function(){ - ls.comments.init(); +var ls = ls || {}; + +/** +* Обработка комментариев +*/ +ls.comments = (function ($) { + /** + * Опции + */ + this.options = { + type: { + topic: { + url_add: aRouter.blog+'ajaxaddcomment/', + url_response: aRouter.blog+'ajaxresponsecomment/' + }, + talk: { + url_add: aRouter.talk+'ajaxaddcomment/', + url_response: aRouter.talk+'ajaxresponsecomment/' + } + }, + classes: { + form_loader: 'loader', + comment_new: 'new', + comment_current: 'current', + comment_deleted: 'deleted', + comment_self: 'self', + comment: 'comment', + comment_goto_parent: 'goto-comment-parent', + comment_goto_child: 'goto-comment-child' + }, + wysiwyg: null + }; + + this.iCurrentShowFormComment=0; + this.iCurrentViewComment=null; + this.aCommentNew=[]; + + // Добавляет комментарий + this.add = function(formObj, targetId, targetType) { + if (this.options.wysiwyg) { + $('#'+formObj+' textarea').val(tinyMCE.activeEditor.getContent()); + } + formObj = $('#'+formObj); + + $('#form_comment_text').addClass(this.options.classes.form_loader).attr('readonly',true); + $('#comment-button-submit').attr('disabled', 'disabled'); + + ls.ajax(this.options.type[targetType].url_add, formObj.serializeJSON(), function(result){ + $('#comment-button-submit').removeAttr('disabled'); + if (!result) { + this.enableFormComment(); + ls.msg.error('Error','Please try again later'); + return; + } + if (result.bStateError) { + this.enableFormComment(); + ls.msg.error(null,result.sMsg); + } else { + this.enableFormComment(); + $('#form_comment_text').val(''); + + // Load new comments + this.load(targetId, targetType, result.sCommentId, true); + } + }.bind(this)); + } + + + // Активирует форму + this.enableFormComment = function() { + $('#form_comment_text').removeClass(this.options.classes.form_loader).attr('readonly',false); + } + + + // Показывает/скрывает форму комментирования + this.toggleCommentForm = function(idComment, bNoFocus) { + $('#comment_preview_'+this.iCurrentShowFormComment).html('').css('display','none'); + if (this.iCurrentShowFormComment==idComment && $('#reply_'+idComment).css('display')=='block') { + $('#reply_'+idComment).hide(); + return; + } + if (this.options.wysiwyg) { + tinyMCE.execCommand('mceRemoveControl',true,'form_comment_text'); + } + $('#form_comment').appendTo("#reply_"+idComment); + $('#form_comment_text').val(''); + $('#form_comment_reply').val(idComment); + $('.reply').hide(); + $('#reply_'+idComment).css('display','block'); + this.iCurrentShowFormComment=idComment; + if (this.options.wysiwyg) { + tinyMCE.execCommand('mceAddControl',true,'form_comment_text'); + } + if (!bNoFocus) $('#form_comment_text').focus(); + } + + + // Подгружает новые комментарии + this.load = function(idTarget, typeTarget, selfIdComment, bNotFlushNew) { + var idCommentLast = $("#comment_last_id").val(); + + // Удаляем подсветку у комментариев + if (!bNotFlushNew) { + $('.comment').each(function(index, item){ + $(item).removeClass(this.options.classes.comment_new+' '+this.options.classes.comment_current); + }.bind(this)); + } + + objImg = $('#update-comments'); + objImg.addClass('active'); + + var params = { idCommentLast: idCommentLast, idTarget: idTarget, typeTarget: typeTarget }; + if (selfIdComment) { + params.selfIdComment = selfIdComment; + } + if ($('#comment_use_paging').val()) { + params.bUsePaging = 1; + } + + ls.ajax(this.options.type[typeTarget].url_response, params, function(result) { + objImg.removeClass('active'); + + if (!result) { ls.msg.error('Error','Please try again later'); } + if (result.bStateError) { + ls.msg.error(null,result.sMsg); + } else { + var aCmt = result.aComments; + if (aCmt.length > 0 && result.iMaxIdComment) { + $("#comment_last_id").val(result.iMaxIdComment); + $('#count-comments').text(parseInt($('#count-comments').text())+aCmt.length); + if ($('#block_stream_item_comment').length && ls.blocks) { + ls.blocks.load($('#block_stream_item_comment'), 'block_stream'); + } + } + var iCountOld=0; + if (bNotFlushNew) { + iCountOld=this.aCommentNew.length; + } else { + this.aCommentNew=[]; + } + if (selfIdComment) { + this.toggleCommentForm(this.iCurrentShowFormComment, true); + this.setCountNewComment(aCmt.length-1+iCountOld); + } else { + this.setCountNewComment(aCmt.length+iCountOld); + } + + $.each(aCmt, function(index, item) { + if (!(selfIdComment && selfIdComment==item.id)) { + this.aCommentNew.push(item.id); + } + this.inject(item.idParent, item.id, item.html); + }.bind(this)); + + if (selfIdComment && $('#comment_id_'+selfIdComment).length) { + this.scrollToComment(selfIdComment); + } + this.checkFolding(); + } + }.bind(this)); + } + + + // Вставка комментария + this.inject = function(idCommentParent, idComment, sHtml) { + var newComment = $('
              ', {'class': 'comment-wrapper', id: 'comment_wrapper_id_'+idComment}).html(sHtml); + if (idCommentParent) { + $('#comment_wrapper_id_'+idCommentParent).append(newComment); + } else { + $('#comments').append(newComment); + } + } + + + // Удалить/восстановить комментарий + this.toggle = function(obj, commentId) { + ls.ajax(aRouter['ajax']+'comment/delete/', { idComment: commentId }, function(result){ + if (!result) { + ls.msg.error('Error','Please try again later'); + } + if (result.bStateError) { + ls.msg.error(null,result.sMsg); + } else { + ls.msg.notice(null,result.sMsg); + + $('#comment_id_'+commentId).removeClass(this.options.classes.comment_self+' '+this.options.classes.comment_new+' '+this.options.classes.comment_deleted+' '+this.options.classes.comment_current); + if (result.bState) { + $('#comment_id_'+commentId).addClass(this.options.classes.comment_deleted); + } + $(obj).text(result.sTextToggle); + } + }.bind(this)); + } + + + // Предпросмотр комментария + this.preview = function() { + if (this.options.wysiwyg) { + $("#form_comment_text").val(tinyMCE.activeEditor.getContent()); + } + if ($("#form_comment_text").val() == '') return; + $("#comment_preview_"+this.iCurrentShowFormComment).css('display', 'block'); + ls.tools.textPreview('form_comment_text', false, 'comment_preview_'+this.iCurrentShowFormComment); + } + + + // Устанавливает число новых комментариев + this.setCountNewComment = function(count) { + if (count > 0) { + $('#new_comments_counter').css('display','block').text(count); + } else { + $('#new_comments_counter').text(0).hide(); + } + } + + + // Вычисляет кол-во новых комментариев + this.calcNewComments = function() { + var aCommentsNew = $('.'+this.options.classes.comment+'.'+this.options.classes.comment_new); + this.setCountNewComment(aCommentsNew.length); + $.each(aCommentsNew,function(k,v){ + this.aCommentNew.push(parseInt($(v).attr('id').replace('comment_id_',''))); + }.bind(this)); + } + + + // Переход к следующему комментарию + this.goToNextComment = function() { + if (this.aCommentNew[0]) { + if ($('#comment_id_'+this.aCommentNew[0]).length) { + this.scrollToComment(this.aCommentNew[0]); + } + this.aCommentNew.shift(); + } + this.setCountNewComment(this.aCommentNew.length); + } + + + // Прокрутка к комментарию + this.scrollToComment = function(idComment) { + $.scrollTo('#comment_id_'+idComment, 1000, {offset: -250}); + + if (this.iCurrentViewComment) { + $('#comment_id_'+this.iCurrentViewComment).removeClass(this.options.classes.comment_current); + } + $('#comment_id_'+idComment).addClass(this.options.classes.comment_current); + this.iCurrentViewComment=idComment; + } + + + // Прокрутка к родительскому комментарию + this.goToParentComment = function(id, pid) { + thisObj = this; + $('.'+this.options.classes.comment_goto_child).hide().find('a').unbind(); + + $("#comment_id_"+pid).find('.'+this.options.classes.comment_goto_child).show().find("a").bind("click", function(){ + $(this).parent('.'+thisObj.options.classes.comment_goto_child).hide(); + thisObj.scrollToComment(id); + return false; + }); + this.scrollToComment(pid); + return false; + } + + + // Сворачивание комментариев + this.checkFolding = function() { + $(".folding").each(function(index, element){ + if ($(element).parent(".comment").next(".comment-wrapper").length == 0) { + $(element).hide(); + } else { + $(element).show(); + } + }); + return false; + } + + this.expandComment = function(folding) { + $(folding).removeClass("folded").parent().nextAll(".comment-wrapper").show(); + } + + this.collapseComment = function(folding) { + $(folding).addClass("folded").parent().nextAll(".comment-wrapper").hide(); + } + + this.expandCommentAll = function() { + $.each($(".folding"),function(k,v){ + this.expandComment(v); + }.bind(this)) + } + + this.collapseCommentAll = function() { + $.each($(".folding"),function(k,v){ + this.collapseComment(v); + }.bind(this)) + } + + this.init = function() { + this.initEvent(); + this.calcNewComments(); + this.checkFolding(); + this.toggleCommentForm(this.iCurrentShowFormComment); + + if (typeof(this.options.wysiwyg)!='number') { + this.options.wysiwyg = Boolean(BLOG_USE_TINYMCE && tinyMCE); + } + } + + this.initEvent = function() { + $('#form_comment_text').bind('keyup', function(e) { + key = e.keyCode || e.which; + if(e.ctrlKey && (key == 13)) { + $('#comment-button-submit').click(); + return false; + } + }); + + $(".folding").click(function(e){ + if ($(e.target).hasClass("folded")) { + this.expandComment(e.target); + } else { + this.collapseComment(e.target); + } + }.bind(this)); + } + + return this; +}).call(ls.comments || {},jQuery); + + +jQuery(document).ready(function(){ + ls.comments.init(); }); \ No newline at end of file diff --git a/templates/skin/new-jquery/js/favourite.js b/templates/skin/new-jquery/js/favourite.js index 04561d0f..2b4c7996 100644 --- a/templates/skin/new-jquery/js/favourite.js +++ b/templates/skin/new-jquery/js/favourite.js @@ -29,14 +29,16 @@ ls.favourite = (function ($) { * Переключение избранного */ this.toggle = function(idTarget, objFavourite, type) { - if (!this.options.type[type]) { return false; } + if (!this.options.type[type]) { + return false; + } this.objFavourite = $(objFavourite); - + var params = {}; params['type'] = !this.objFavourite.hasClass(this.options.active); params[this.options.type[type].targetName] = idTarget; - + ls.ajax(this.options.type[type].url, params, function(result) { $(this).trigger('toggle',[idTarget,objFavourite,type,params,result]); if (result.bStateError) { @@ -48,7 +50,7 @@ ls.favourite = (function ($) { this.objFavourite.addClass(this.options.active); } - $('#fav_count_'+type+'_'+idTarget).text((result.iCount>0) ? result.iCount : ''); + $('#fav_count_'+type+'_'+idTarget).text((result.iCount>0) ? result.iCount : ''); } }.bind(this)); return false; diff --git a/templates/skin/new-jquery/js/friend.js b/templates/skin/new-jquery/js/friend.js index deae5223..0a379f10 100644 --- a/templates/skin/new-jquery/js/friend.js +++ b/templates/skin/new-jquery/js/friend.js @@ -4,7 +4,7 @@ var ls = ls || {}; * Управление пользователями */ ls.user = (function ($) { - + /** * Добавление в друзья */ @@ -54,6 +54,6 @@ ls.user = (function ($) { }); return false; } - + return this; }).call(ls.user || {},jQuery); \ No newline at end of file diff --git a/templates/skin/new-jquery/js/main.js b/templates/skin/new-jquery/js/main.js index f5ffc85c..af2c97ca 100644 --- a/templates/skin/new-jquery/js/main.js +++ b/templates/skin/new-jquery/js/main.js @@ -26,14 +26,14 @@ ls.msg = (function ($) { this.notice = function(title,msg){ $.notifier.broadcast(title, msg, this.options.class_notice); }; - + /** - * Отображение сообщения об ошибке + * Отображение сообщения об ошибке */ this.error = function(title,msg){ $.notifier.broadcast(title, msg, this.options.class_error); }; - + return this; }).call(ls.msg || {},jQuery); @@ -53,9 +53,9 @@ ls.lang = (function ($) { this.load = function(msgs){ $.extend(true,this.msgs,msgs); }; - + /** - * Отображение сообщения об ошибке + * Отображение сообщения об ошибке */ this.get = function(name,replace){ if (this.msgs[name]) { @@ -69,7 +69,7 @@ ls.lang = (function ($) { } return ''; }; - + return this; }).call(ls.lang || {},jQuery); @@ -78,11 +78,11 @@ ls.lang = (function ($) { * Flash загрузчик */ ls.swfupload = (function ($) { - + this.swfu = null; - + this.initOptions = function() { - + this.swfOptions = { // Backend Settings upload_url: aRouter['photoset']+"upload", @@ -115,15 +115,15 @@ ls.swfupload = (function ($) { // Flash Settings flash_url : DIR_ROOT_ENGINE_LIB+'/external/swfupload/swfupload.swf', - custom_settings : { + custom_settings : { }, // Debug Settings debug: false }; - + } - + this.loadSwf = function() { $.getScript(DIR_ROOT_ENGINE_LIB+'/external/swfupload/swfupload.swfobject.js',function(){ @@ -134,7 +134,7 @@ ls.swfupload = (function ($) { $(this).trigger('load'); }.bind(this)); } - + this.init = function(opt) { if (opt) { $.extend(true,this.swfOptions,opt); @@ -142,31 +142,31 @@ ls.swfupload = (function ($) { this.swfu = new SWFUpload(this.swfOptions); return this.swfu; } - + this.handlerFileQueueError = function(file, errorCode, message) { $(this).trigger('eFileQueueError',[file, errorCode, message]); } - + this.handlerFileDialogComplete = function(numFilesSelected, numFilesQueued) { $(this).trigger('eFileDialogComplete',[numFilesSelected, numFilesQueued]); if (numFilesQueued>0) { this.startUpload(); } } - + this.handlerUploadProgress = function(file, bytesLoaded) { var percent = Math.ceil((bytesLoaded / file.size) * 100); $(this).trigger('eUploadProgress',[file, bytesLoaded, percent]); } - + this.handlerUploadError = function(file, errorCode, message) { $(this).trigger('eUploadError',[file, errorCode, message]); } - + this.handlerUploadSuccess = function(file, serverData) { $(this).trigger('eUploadSuccess',[file, serverData]); } - + this.handlerUploadComplete = function(file) { var next = this.getStats().files_queued; if (next > 0) { @@ -174,7 +174,7 @@ ls.swfupload = (function ($) { } $(this).trigger('eUploadComplete',[file, next]); } - + return this; }).call(ls.swfupload || {},jQuery); @@ -191,7 +191,7 @@ ls.tools = (function ($) { var f = str.charAt(0).toUpperCase(); return f + str.substr(1, str.length-1); } - + /** * Выделяет все chekbox с определенным css классом */ @@ -209,7 +209,7 @@ ls.tools = (function ($) { * Предпросмотр */ this.textPreview = function(textId, save, divPreview) { - var text =(BLOG_USE_TINYMCE) ? tinyMCE.activeEditor.getContent() : $('#'+textId).val(); + var text =(BLOG_USE_TINYMCE) ? tinyMCE.activeEditor.getContent() : $('#'+textId).val(); ls.ajax(aRouter['ajax']+'preview/text/', {text: text, save: save}, function(result){ if (!result) { ls.msg.error('Error','Please try again later'); @@ -226,7 +226,7 @@ ls.tools = (function ($) { } }); } - + /** * Возвращает выделенный текст на странице */ @@ -245,7 +245,7 @@ ls.tools = (function ($) { } return text; } - + return this; }).call(ls.tools || {},jQuery); @@ -254,12 +254,12 @@ ls.tools = (function ($) { * Дополнительные функции */ ls = (function ($) { - + /** * Глобальные опции */ this.options = this.options || {} - + /** * Выполнение AJAX запроса, автоматически передает security key */ @@ -267,17 +267,17 @@ ls = (function ($) { more=more || {}; params=params || {}; params.security_ls_key=LIVESTREET_SECURITY_KEY; - + $.each(params,function(k,v){ if (typeof(v) == "boolean") { params[k]=v ? 1 : 0; } }) - + if (url.indexOf('http://')!=0 && url.indexOf('https://')!=0) { url=aRouter['ajax']+url+'/'; } - + return $.ajax({ type: more.type || "POST", url: url, @@ -296,21 +296,21 @@ ls = (function ($) { ls.debug(msg); }.bind(this) }); - + }; - + /** * Выполнение AJAX отправки формы, включая загрузку файлов */ this.ajaxSubmit = function(url,form,callback,more) { - more=more || {}; + more=more || {}; if (typeof(form)=='string') { form=$('#'+form); } if (url.indexOf('http://')!=0 && url.indexOf('https://')!=0) { url=aRouter['ajax']+url+'/'; } - + var options={ type: 'POST', url: url, @@ -326,7 +326,7 @@ ls = (function ($) { }.bind(this) } - + form.ajaxSubmit(options); } @@ -344,7 +344,7 @@ ls = (function ($) { } }); } - + /** * Дебаг сообщений */ @@ -364,7 +364,7 @@ ls = (function ($) { //alert(msg); } } - + return this; }).call(ls || {},jQuery); @@ -422,11 +422,11 @@ ls.autocomplete = (function ($) { this.split = function(val) { return val.split( /,\s*/ ); } - + this.extractLast = function(term) { return ls.autocomplete.split(term).pop(); } - + return this; }).call(ls.autocomplete || {},jQuery); @@ -444,44 +444,44 @@ jQuery(document).ready(function($){ $('#add_friend_form').jqm({trigger: '#add_friend_show'}); $('#form_upload_img').jqm(); $('#userfield_form').jqm(); - + // Datepicker - $('.date-picker').datepicker({ + $('.date-picker').datepicker({ dateFormat: 'dd.mm.yy', dayNamesMin: ['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'], monthNames: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'], firstDay: 1 }); - - + + // Поиск по тегам $('#tag_search_form').submit(function(){ window.location = aRouter['tag']+$('#tag_search').val()+'/'; return false; }); - - + + // Автокомплит ls.autocomplete.add($(".autocomplete-tags-sep"), aRouter['ajax']+'autocompleter/tag/', true); ls.autocomplete.add($(".autocomplete-users"), aRouter['ajax']+'autocompleter/user/', true); ls.autocomplete.add($(".autocomplete-city"), aRouter['ajax']+'autocompleter/city/', false); ls.autocomplete.add($(".autocomplete-country"), aRouter['ajax']+'autocompleter/country/', false); - + // Скролл $(window)._scrollable(); - - + + // Show blog info $("#show_blog_info").click(function(){ $("#blog_info").slideToggle(500); $("#show_blog_info").toggleClass("inactive"); return false; }); - - + + // Detecting IE6-IE8 - if ($.browser.msie && $.browser.version.substr(0,1) <= 8) { + if ($.browser.msie && $.browser.version.substr(0,1) <= 8) { $(".switcher li:first-child").addClass("first-child"); $(".switcher li:last-child").addClass("last-child"); } diff --git a/templates/skin/new-jquery/js/markup_settings.js b/templates/skin/new-jquery/js/markup_settings.js index 02da50cf..e5d0276f 100644 --- a/templates/skin/new-jquery/js/markup_settings.js +++ b/templates/skin/new-jquery/js/markup_settings.js @@ -1,64 +1,64 @@ -// ---------------------------------------------------------------------------- -// markItUp! -// ---------------------------------------------------------------------------- -// Copyright (C) 2008 Jay Salvat -// http://markitup.jaysalvat.com/ -// ---------------------------------------------------------------------------- -// Html tags -// http://en.wikipedia.org/wiki/html -// ---------------------------------------------------------------------------- -// Basic set. Feel free to add more tags -// ---------------------------------------------------------------------------- - -function getMarkitupSettings() { - return { - onShiftEnter: {keepDefault:false, replaceWith:'
              \n'}, - onTab: {keepDefault:false, replaceWith:' '}, - markupSet: [ - {name:'H4', className:'editor-h4', openWith:'

              ', closeWith:'

              ' }, - {name:'H5', className:'editor-h5', openWith:'
              ', closeWith:'
              ' }, - {name:'H6', className:'editor-h6', openWith:'
              ', closeWith:'
              ' }, - {separator:'---------------' }, - {name: ls.lang.get('panel_b'), className:'editor-bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, - {name: ls.lang.get('panel_i'), className:'editor-italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, - {name: ls.lang.get('panel_s'), className:'editor-stroke', key:'S', openWith:'', closeWith:'' }, - {name: ls.lang.get('panel_u'), className:'editor-underline', key:'U', openWith:'', closeWith:'' }, - {name: ls.lang.get('panel_quote'), className:'editor-quote', key:'Q', replaceWith: function(m) { if (m.selectionOuter) return '
              '+m.selectionOuter+'
              '; else if (m.selection) return '
              '+m.selection+'
              '; else return '
              ' } }, - {name: ls.lang.get('panel_code'), className:'editor-code', openWith:'', closeWith:'' }, - {separator:'---------------' }, - {name: ls.lang.get('panel_list'), className:'editor-ul', openWith:'
            • ', closeWith:'
            • ', multiline: true, openBlockWith:'
                \n', closeBlockWith:'\n
              ' }, - {name: ls.lang.get('panel_list'), className:'editor-ol', openWith:'
            • ', closeWith:'
            • ', multiline: true, openBlockWith:'
                \n', closeBlockWith:'\n
              ' }, - {separator:'---------------' }, - {name: ls.lang.get('panel_image'), className:'editor-picture', key:'P', beforeInsert: function(h) { $('#form_upload_img').jqmShow(); } }, - {name: ls.lang.get('panel_image'), className:'editor-image', replaceWith:'' }, - {name: ls.lang.get('panel_video'), className:'editor-video', replaceWith:'' }, - {name: ls.lang.get('panel_url'), className:'editor-link', key:'L', openWith:'', closeWith:'', placeHolder:'Your text to link...' }, - {name: ls.lang.get('panel_user'), className:'editor-user', replaceWith:'' }, - {separator:'---------------' }, - {name: ls.lang.get('panel_clear_tags'), className:'editor-clean', replaceWith: function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } }, - {name: ls.lang.get('panel_cut'), className:'editor-cut', replaceWith: function(markitup) { if (markitup.selection) return ''; else return '' }} - ] - } -} - -function getMarkitupCommentSettings() { - return { - onShiftEnter: {keepDefault:false, replaceWith:'
              \n'}, - onTab: {keepDefault:false, replaceWith:' '}, - markupSet: [ - {name: ls.lang.get('panel_b'), className:'editor-bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, - {name: ls.lang.get('panel_i'), className:'editor-italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, - {name: ls.lang.get('panel_s'), className:'editor-stroke', key:'S', openWith:'', closeWith:'' }, - {name: ls.lang.get('panel_u'), className:'editor-underline', key:'U', openWith:'', closeWith:'' }, - {separator:'---------------' }, - {name: ls.lang.get('panel_quote'), className:'editor-quote', key:'Q', replaceWith: function(m) { if (m.selectionOuter) return '
              '+m.selectionOuter+'
              '; else if (m.selection) return '
              '+m.selection+'
              '; else return '
              ' } }, - {name: ls.lang.get('panel_code'), className:'editor-code', openWith:'', closeWith:'' }, - {name: ls.lang.get('panel_image'), className:'editor-picture', key:'P', beforeInsert: function(h) { $('#form_upload_img').jqmShow(); } }, - {name: ls.lang.get('panel_image'), className:'editor-image', replaceWith:'' }, - {name: ls.lang.get('panel_url'), className:'editor-link', key:'L', openWith:'', closeWith:'', placeHolder:'Your text to link...' }, - {name: ls.lang.get('panel_user'), className:'editor-user', replaceWith:'' }, - {separator:'---------------' }, - {name: ls.lang.get('panel_clear_tags'), className:'editor-clean', replaceWith: function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } } - ] - } -} +// ---------------------------------------------------------------------------- +// markItUp! +// ---------------------------------------------------------------------------- +// Copyright (C) 2008 Jay Salvat +// http://markitup.jaysalvat.com/ +// ---------------------------------------------------------------------------- +// Html tags +// http://en.wikipedia.org/wiki/html +// ---------------------------------------------------------------------------- +// Basic set. Feel free to add more tags +// ---------------------------------------------------------------------------- + +function getMarkitupSettings() { + return { + onShiftEnter: {keepDefault:false, replaceWith:'
              \n'}, + onTab: {keepDefault:false, replaceWith:' '}, + markupSet: [ + {name:'H4', className:'editor-h4', openWith:'

              ', closeWith:'

              ' }, + {name:'H5', className:'editor-h5', openWith:'
              ', closeWith:'
              ' }, + {name:'H6', className:'editor-h6', openWith:'
              ', closeWith:'
              ' }, + {separator:'---------------' }, + {name: ls.lang.get('panel_b'), className:'editor-bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, + {name: ls.lang.get('panel_i'), className:'editor-italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, + {name: ls.lang.get('panel_s'), className:'editor-stroke', key:'S', openWith:'', closeWith:'' }, + {name: ls.lang.get('panel_u'), className:'editor-underline', key:'U', openWith:'', closeWith:'' }, + {name: ls.lang.get('panel_quote'), className:'editor-quote', key:'Q', replaceWith: function(m) { if (m.selectionOuter) return '
              '+m.selectionOuter+'
              '; else if (m.selection) return '
              '+m.selection+'
              '; else return '
              ' } }, + {name: ls.lang.get('panel_code'), className:'editor-code', openWith:'', closeWith:'' }, + {separator:'---------------' }, + {name: ls.lang.get('panel_list'), className:'editor-ul', openWith:'
            • ', closeWith:'
            • ', multiline: true, openBlockWith:'
                \n', closeBlockWith:'\n
              ' }, + {name: ls.lang.get('panel_list'), className:'editor-ol', openWith:'
            • ', closeWith:'
            • ', multiline: true, openBlockWith:'
                \n', closeBlockWith:'\n
              ' }, + {separator:'---------------' }, + {name: ls.lang.get('panel_image'), className:'editor-picture', key:'P', beforeInsert: function(h) { $('#form_upload_img').jqmShow(); } }, + {name: ls.lang.get('panel_image'), className:'editor-image', replaceWith:'' }, + {name: ls.lang.get('panel_video'), className:'editor-video', replaceWith:'' }, + {name: ls.lang.get('panel_url'), className:'editor-link', key:'L', openWith:'', closeWith:'', placeHolder:'Your text to link...' }, + {name: ls.lang.get('panel_user'), className:'editor-user', replaceWith:'' }, + {separator:'---------------' }, + {name: ls.lang.get('panel_clear_tags'), className:'editor-clean', replaceWith: function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } }, + {name: ls.lang.get('panel_cut'), className:'editor-cut', replaceWith: function(markitup) { if (markitup.selection) return ''; else return '' }} + ] + } +} + +function getMarkitupCommentSettings() { + return { + onShiftEnter: {keepDefault:false, replaceWith:'
              \n'}, + onTab: {keepDefault:false, replaceWith:' '}, + markupSet: [ + {name: ls.lang.get('panel_b'), className:'editor-bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, + {name: ls.lang.get('panel_i'), className:'editor-italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, + {name: ls.lang.get('panel_s'), className:'editor-stroke', key:'S', openWith:'', closeWith:'' }, + {name: ls.lang.get('panel_u'), className:'editor-underline', key:'U', openWith:'', closeWith:'' }, + {separator:'---------------' }, + {name: ls.lang.get('panel_quote'), className:'editor-quote', key:'Q', replaceWith: function(m) { if (m.selectionOuter) return '
              '+m.selectionOuter+'
              '; else if (m.selection) return '
              '+m.selection+'
              '; else return '
              ' } }, + {name: ls.lang.get('panel_code'), className:'editor-code', openWith:'', closeWith:'' }, + {name: ls.lang.get('panel_image'), className:'editor-picture', key:'P', beforeInsert: function(h) { $('#form_upload_img').jqmShow(); } }, + {name: ls.lang.get('panel_image'), className:'editor-image', replaceWith:'' }, + {name: ls.lang.get('panel_url'), className:'editor-link', key:'L', openWith:'', closeWith:'', placeHolder:'Your text to link...' }, + {name: ls.lang.get('panel_user'), className:'editor-user', replaceWith:'' }, + {separator:'---------------' }, + {name: ls.lang.get('panel_clear_tags'), className:'editor-clean', replaceWith: function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } } + ] + } +} diff --git a/templates/skin/new-jquery/js/photoset.js b/templates/skin/new-jquery/js/photoset.js index ee26c9f1..99181fad 100644 --- a/templates/skin/new-jquery/js/photoset.js +++ b/templates/skin/new-jquery/js/photoset.js @@ -1,16 +1,16 @@ var ls = ls || {}; ls.photoset =( function ($) { - + this.idLast=0; this.isLoading=false; this.swfu; - + this.initSwfUpload = function(opt) { opt=opt || {}; opt.button_placeholder_id = 'photoset-start-upload'; opt.post_params.ls_photoset_target_tmp = $.cookie('ls_photoset_target_tmp') ? $.cookie('ls_photoset_target_tmp') : 0; - + $(ls.swfupload).bind('load',function() { this.swfu = ls.swfupload.init(opt); @@ -19,36 +19,36 @@ ls.photoset =( function ($) { $(this.swfu).bind('eUploadSuccess',this.swfHandlerUploadSuccess); $(this.swfu).bind('eUploadComplete',this.swfHandlerUploadComplete); }.bind(this)); - + ls.swfupload.loadSwf(); } - + this.swfHandlerUploadProgress = function(e, file, bytesLoaded, percent) { $('#photoset_photo_empty_progress').text(file.name+': '+( percent==100 ? 'resize..' : percent +'%')); } - + this.swfHandlerFileDialogComplete = function(e, numFilesSelected, numFilesQueued) { if (numFilesQueued>0) { ls.photoset.addPhotoEmpty(); } } - + this.swfHandlerUploadSuccess = function(e, file, serverData) { ls.photoset.addPhoto(jQuery.parseJSON(serverData)); } - + this.swfHandlerUploadComplete = function(e, file, next) { if (next>0) { ls.photoset.addPhotoEmpty(); } } - + this.addPhotoEmpty = function() { template = '
            • image' +'

            • '; $('#swfu_images').append(template); } - + this.addPhoto = function(response) { $('#photoset_photo_empty').remove(); if (!response.bStateError) { @@ -92,7 +92,7 @@ ls.photoset =( function ($) { this.setPreviewDescription = function(id, text) { - ls.ajax(aRouter['photoset']+'setimagedescription', {'id':id, 'text':text}, function(result){ + ls.ajax(aRouter['photoset']+'setimagedescription', {'id':id, 'text':text}, function(result){ if (!result.bStateError) { } else { @@ -106,7 +106,7 @@ ls.photoset =( function ($) { { if (this.isLoading) return; this.isLoading=true; - + ls.ajax(aRouter['photoset']+'getmore', {'topic_id':topic_id, 'last_id':this.idLast}, function(result){ this.isLoading=false; if (!result.bStateError) { @@ -159,18 +159,18 @@ ls.photoset =( function ($) { var pos = $select.offset(); w = $select.outerWidth(); h = $select.outerHeight(); - t = pos.top + h - 30 + 'px'; + t = pos.top + h - 30 + 'px'; l = pos.left - 15 + 'px'; $('#photoset-upload-form').css({'top':t,'left':l}); } $('#photoset-upload-form').show(); } - + this.showMainPhoto = function(id) { $('#photoset-main-preview-'+id).css('width',$('#photoset-main-image-'+id).outerWidth()); $('#photoset-photo-count-'+id).show(); $('#photoset-photo-desc-'+id).show(); } - + return this; }).call(ls.photoset || {},jQuery); \ No newline at end of file diff --git a/templates/skin/new-jquery/js/poll.js b/templates/skin/new-jquery/js/poll.js index 0db1ae60..82d8ebd5 100644 --- a/templates/skin/new-jquery/js/poll.js +++ b/templates/skin/new-jquery/js/poll.js @@ -4,7 +4,7 @@ var ls = ls || {}; * Опросы */ ls.poll = (function ($) { - + /** * Голосование в опросе */ @@ -34,7 +34,7 @@ ls.poll = (function ($) { }.bind(this))); newItem.find('input').val(''); } - + /** * Удаляет вариант ответа */ @@ -42,6 +42,6 @@ ls.poll = (function ($) { $(obj).parent("li").remove(); return false; } - + return this; }).call(ls.poll || {},jQuery); \ No newline at end of file diff --git a/templates/skin/new-jquery/js/stream.js b/templates/skin/new-jquery/js/stream.js index 700cbf9b..d053b165 100644 --- a/templates/skin/new-jquery/js/stream.js +++ b/templates/skin/new-jquery/js/stream.js @@ -1,74 +1,86 @@ var ls = ls || {}; ls.stream =( function ($) { - this.isBusy = false; - this.subscribe = function (iTargetUserId) { - ls.ajax(aRouter['stream']+'subscribe/', {'id':iTargetUserId}, function(data) { - if (data.bStateError) { - ls.msg.error(data.sMsgTitle,data.sMsg); - } else { - ls.msg.notice(data.sMsgTitle,data.sMsg); - } - - }); - } - this.unsubscribe = function (iId) { - ls.ajax(aRouter['stream']+'unsubscribe/', {'id':iId}, function(data) { - if (!data.bStateError) { - ls.msg.notice(data.sMsgTitle,data.sMsg); - } - }); - } - this.switchEventType = function (iType) { - ls.ajax(aRouter['stream']+'switchEventType/', { 'type':iType}, function(data) { - if (!data.bStateError) { - ls.msg.notice(data.sMsgTitle,data.sMsg); - } - }); - } - this.appendUser = function() { - var sLogin = $('#stream_users_complete').val(); - if (!sLogin) return; - ls.ajax(aRouter['stream']+'subscribeByLogin/', {'login':sLogin}, function(data) { - if (!data.bStateError) { - $('#stream_no_subscribed_users').remove(); - var checkbox = $('#strm_u_'+data.uid); - if (checkbox.length) { - if (checkbox.attr('checked')) { - ls.msg.error(ls.lang.get('error'),ls.lang.get('stream_subscribes_already_subscribed')); - } else { - checkbox.attr('checked', 'on'); - ls.msg.notice(data.sMsgTitle,data.sMsg); - } - } else { - var liElement='
            • '+data.user_login+'
            • '; - $('#stream_block_users_list').append(liElement); - ls.msg.notice(data.sMsgTitle,data.sMsg); - } - } else { - ls.msg.error(data.sMsgTitle,data.sMsg); - } - }); - } - this.getMore = function () { - if (this.isBusy) { - return; - } - var lastId = $('#stream_last_id').val(); - if (!lastId) return; - $('#stream_get_more').addClass('stream_loading'); - this.isBusy = true; - ls.ajax(aRouter['stream']+'get_more/', {'last_id':lastId}, function(data) { - if (!data.bStateError && data.events_count) { - $('#stream-list').append(data.result); - $('#stream_last_id').attr('value', data.iStreamLastId); - } - if (!data.events_count) { - $('#stream_get_more').css({'display':'none'}); - } - $('#stream_get_more').removeClass('stream_loading'); - this.isBusy = false; - }.bind(this)); - } - return this; + this.isBusy = false; + this.subscribe = function (iTargetUserId) { + ls.ajax(aRouter['stream']+'subscribe/', { + 'id':iTargetUserId + }, function(data) { + if (data.bStateError) { + ls.msg.error(data.sMsgTitle,data.sMsg); + } else { + ls.msg.notice(data.sMsgTitle,data.sMsg); + } + + }); + } + this.unsubscribe = function (iId) { + ls.ajax(aRouter['stream']+'unsubscribe/', { + 'id':iId + }, function(data) { + if (!data.bStateError) { + ls.msg.notice(data.sMsgTitle,data.sMsg); + } + }); + } + this.switchEventType = function (iType) { + ls.ajax(aRouter['stream']+'switchEventType/', { + 'type':iType + }, function(data) { + if (!data.bStateError) { + ls.msg.notice(data.sMsgTitle,data.sMsg); + } + }); + } + this.appendUser = function() { + var sLogin = $('#stream_users_complete').val(); + if (!sLogin) return; + ls.ajax(aRouter['stream']+'subscribeByLogin/', { + 'login':sLogin + }, function(data) { + if (!data.bStateError) { + $('#stream_no_subscribed_users').remove(); + var checkbox = $('#strm_u_'+data.uid); + if (checkbox.length) { + if (checkbox.attr('checked')) { + ls.msg.error(ls.lang.get('error'),ls.lang.get('stream_subscribes_already_subscribed')); + } else { + checkbox.attr('checked', 'on'); + ls.msg.notice(data.sMsgTitle,data.sMsg); + } + } else { + var liElement='
            • '+data.user_login+'
            • '; + $('#stream_block_users_list').append(liElement); + ls.msg.notice(data.sMsgTitle,data.sMsg); + } + } else { + ls.msg.error(data.sMsgTitle,data.sMsg); + } + }); + } + this.getMore = function () { + if (this.isBusy) { + return; + } + var lastId = $('#stream_last_id').val(); + if (!lastId) return; + $('#stream_get_more').addClass('stream_loading'); + this.isBusy = true; + ls.ajax(aRouter['stream']+'get_more/', { + 'last_id':lastId + }, function(data) { + if (!data.bStateError && data.events_count) { + $('#stream-list').append(data.result); + $('#stream_last_id').attr('value', data.iStreamLastId); + } + if (!data.events_count) { + $('#stream_get_more').css({ + 'display':'none' + }); + } + $('#stream_get_more').removeClass('stream_loading'); + this.isBusy = false; + }.bind(this)); + } + return this; }).call(ls.stream || {},jQuery); \ No newline at end of file diff --git a/templates/skin/new-jquery/js/talk.js b/templates/skin/new-jquery/js/talk.js index 76c7235d..346e970f 100644 --- a/templates/skin/new-jquery/js/talk.js +++ b/templates/skin/new-jquery/js/talk.js @@ -4,7 +4,7 @@ var ls = ls || {}; * Функционал личных сообщений */ ls.talk = (function ($) { - + /** * Добавляет пользователя к переписке */ @@ -12,7 +12,7 @@ ls.talk = (function ($) { var sUsers = $('#talk_speaker_add').val(); if(!sUsers) return false; $('#talk_speaker_add').val(''); - + ls.ajax(aRouter['talk']+'ajaxaddtalkuser/', {users: sUsers, idTalk: idTalk}, function(result) { if (result.bStateError) { ls.msg.error(null, result.sMsg); @@ -37,7 +37,7 @@ ls.talk = (function ($) { */ this.removeFromTalk = function(link, idTalk) { link = $(link); - + $('#'+link.attr('id')+'_area').fadeOut(500,function(){ $(this).remove(); }); @@ -56,7 +56,7 @@ ls.talk = (function ($) { return false; } - + /** * Добавляет пользователя в черный список */ @@ -64,7 +64,7 @@ ls.talk = (function ($) { var sUsers = $('#talk_blacklist_add').val(); if(!sUsers) return false; $('#talk_blacklist_add').val(''); - + ls.ajax(aRouter['talk']+'ajaxaddtoblacklist/', {users: sUsers}, function(result) { if (result.bStateError) { ls.msg.error(null, result.sMsg); @@ -83,13 +83,13 @@ ls.talk = (function ($) { }); return false; } - + /** * Удаляет пользователя из черного списка */ this.removeFromBlackList = function(link) { link = $(link); - + $('#'+link.attr('id')+'_area').fadeOut(500,function(){ $(this).remove(); }); @@ -107,7 +107,7 @@ ls.talk = (function ($) { }); return false; } - + /** * Добавляет или удаляет друга из списка получателей */ @@ -119,7 +119,7 @@ ls.talk = (function ($) { if (add) { to.push(login); to = $.richArray.unique(to); } else { to = $.richArray.without(to, login); } $('#talk_users').val(to.join(', ')); } - + return this; }).call(ls.talk || {},jQuery); @@ -129,7 +129,7 @@ jQuery(document).ready(function($){ $('#friends input:checkbox').change(function(){ ls.talk.toggleRecipient($('#'+$(this).attr('id')+'_label').text(), $(this).attr('checked')); }); - + // Добавляем всех друзей в список получателей $('#friend_check_all').click(function(){ $('#friends input:checkbox').each(function(index, item){ @@ -138,7 +138,7 @@ jQuery(document).ready(function($){ }); return false; }); - + // Удаляем всех друзей из списка получателей $('#friend_uncheck_all').click(function(){ $('#friends input:checkbox').each(function(index, item){ @@ -147,13 +147,13 @@ jQuery(document).ready(function($){ }); return false; }); - + // Удаляем пользователя из черного списка $("#black_list_block").delegate("a.delete", "click", function(){ ls.talk.removeFromBlackList(this); return false; }); - + // Удаляем пользователя из переписки $("#speaker_list_block").delegate("a.delete", "click", function(){ ls.talk.removeFromTalk(this, $('#talk_id').val()); diff --git a/templates/skin/new-jquery/js/userfeed.js b/templates/skin/new-jquery/js/userfeed.js index 0d328f8a..19db990f 100644 --- a/templates/skin/new-jquery/js/userfeed.js +++ b/templates/skin/new-jquery/js/userfeed.js @@ -1,64 +1,76 @@ var ls = ls || {}; ls.userfeed =( function ($) { - this.isBusy = false; - this.subscribe = function (sType, iId) { - ls.ajax(aRouter['feed']+'subscribe/', {'type':sType, 'id':iId}, function(data) { - if (!data.bStateError) { - ls.msg.notice(data.sMsgTitle,data.sMsg); - } - }); - } - this.unsubscribe = function (sType, iId) { - ls.ajax(aRouter['feed']+'unsubscribe/', {'type':sType, 'id':iId}, function(data) { - if (!data.bStateError) { - ls.msg.notice(data.sMsgTitle,data.sMsg); - } - }); - } - this.appendUser = function() { - var sLogin = $('#userfeed_users_complete').val(); - if (!sLogin) return; - ls.ajax(aRouter['feed']+'subscribeByLogin/', {'login':sLogin}, function(data) { - if (data.bStateError) { - ls.msg.error(data.sMsgTitle,data.sMsg); - } else { - $('#userfeed_no_subscribed_users').remove(); - var checkbox = $('#usf_u_'+data.uid); - if (checkbox.length) { - if (checkbox.attr('checked')) { - ls.msg.error(data.lang_error_title,data.lang_error_msg); - } else { - checkbox.attr('checked', 'on'); - ls.msg.notice(data.sMsgTitle,data.sMsg); - } - } else { - var liElement='
            • '+data.user_login+'
            • '; - $('#userfeed_block_users_list').append(liElement); - ls.msg.notice(data.sMsgTitle,data.sMsg); - } - } - }); - } - this.getMore = function () { - if (this.isBusy) { - return; - } - var lastId = $('#userfeed_last_id').val(); - if (!lastId) return; - $('#userfeed_get_more').addClass('userfeed_loading'); - this.isBusy = true; - ls.ajax(aRouter['feed']+'get_more/', {'last_id':lastId}, function(data) { - if (!data.bStateError && data.topics_count) { - $('#userfeed_loaded_topics').append(data.result); - $('#userfeed_last_id').attr('value', data.iUserfeedLastId); - } - if (!data.topics_count) { - $('#userfeed_get_more').css({'display':'none'}); - } - $('#userfeed_get_more').removeClass('userfeed_loading'); - this.isBusy = false; - }.bind(this)); - } - return this; + this.isBusy = false; + this.subscribe = function (sType, iId) { + ls.ajax(aRouter['feed']+'subscribe/', { + 'type':sType, + 'id':iId + }, function(data) { + if (!data.bStateError) { + ls.msg.notice(data.sMsgTitle,data.sMsg); + } + }); + } + this.unsubscribe = function (sType, iId) { + ls.ajax(aRouter['feed']+'unsubscribe/', { + 'type':sType, + 'id':iId + }, function(data) { + if (!data.bStateError) { + ls.msg.notice(data.sMsgTitle,data.sMsg); + } + }); + } + this.appendUser = function() { + var sLogin = $('#userfeed_users_complete').val(); + if (!sLogin) return; + ls.ajax(aRouter['feed']+'subscribeByLogin/', { + 'login':sLogin + }, function(data) { + if (data.bStateError) { + ls.msg.error(data.sMsgTitle,data.sMsg); + } else { + $('#userfeed_no_subscribed_users').remove(); + var checkbox = $('#usf_u_'+data.uid); + if (checkbox.length) { + if (checkbox.attr('checked')) { + ls.msg.error(data.lang_error_title,data.lang_error_msg); + } else { + checkbox.attr('checked', 'on'); + ls.msg.notice(data.sMsgTitle,data.sMsg); + } + } else { + var liElement='
            • '+data.user_login+'
            • '; + $('#userfeed_block_users_list').append(liElement); + ls.msg.notice(data.sMsgTitle,data.sMsg); + } + } + }); + } + this.getMore = function () { + if (this.isBusy) { + return; + } + var lastId = $('#userfeed_last_id').val(); + if (!lastId) return; + $('#userfeed_get_more').addClass('userfeed_loading'); + this.isBusy = true; + ls.ajax(aRouter['feed']+'get_more/', { + 'last_id':lastId + }, function(data) { + if (!data.bStateError && data.topics_count) { + $('#userfeed_loaded_topics').append(data.result); + $('#userfeed_last_id').attr('value', data.iUserfeedLastId); + } + if (!data.topics_count) { + $('#userfeed_get_more').css({ + 'display':'none' + }); + } + $('#userfeed_get_more').removeClass('userfeed_loading'); + this.isBusy = false; + }.bind(this)); + } + return this; }).call(ls.userfeed || {},jQuery); \ No newline at end of file diff --git a/templates/skin/new-jquery/js/userfield.js b/templates/skin/new-jquery/js/userfield.js index 514226c4..06b23f37 100644 --- a/templates/skin/new-jquery/js/userfield.js +++ b/templates/skin/new-jquery/js/userfield.js @@ -1,82 +1,98 @@ var ls = ls || {}; ls.userfield =( function ($) { - this.showAddForm = function(){ - $('#user_fields_form_name').val( ''); - $('#user_fields_form_title').val( ''); - $('#user_fields_form_id').val( ''); - $('#user_fields_form_action').val('add'); - $('#userfield_form').jqmShow(); - } - - this.showEditForm = function(id) { - $('#user_fields_form_action').val('update'); - var name = $('#field_'+id+' .userfield_admin_name').text(); - var title = $('#field_'+id+' .userfield_admin_title').text(); - var pattern = $('#field_'+id+' .userfield_admin_pattern').text(); - $('#user_fields_form_name').val(name); - $('#user_fields_form_title').val(title); - $('#user_fields_form_pattern').val(pattern); - $('#user_fields_form_id').val(id); - $('#userfield_form').jqmShow(); - } + this.showAddForm = function(){ + $('#user_fields_form_name').val( ''); + $('#user_fields_form_title').val( ''); + $('#user_fields_form_id').val( ''); + $('#user_fields_form_action').val('add'); + $('#userfield_form').jqmShow(); + } - this.applyForm = function(){ - $('#userfield_form').jqmHide(); - if ($('#user_fields_form_action').val() == 'add') { - this.addUserfield(); - } else if ($('#user_fields_form_action').val() == 'update') { - this.updateUserfield(); - } - } + this.showEditForm = function(id) { + $('#user_fields_form_action').val('update'); + var name = $('#field_'+id+' .userfield_admin_name').text(); + var title = $('#field_'+id+' .userfield_admin_title').text(); + var pattern = $('#field_'+id+' .userfield_admin_pattern').text(); + $('#user_fields_form_name').val(name); + $('#user_fields_form_title').val(title); + $('#user_fields_form_pattern').val(pattern); + $('#user_fields_form_id').val(id); + $('#userfield_form').jqmShow(); + } - this.addUserfield = function() { - var name = $('#user_fields_form_name').val(); - var title = $('#user_fields_form_title').val(); - var pattern = $('#user_fields_form_pattern').val(); - ls.ajax(aRouter['admin']+'userfields', {'action':'add', 'name':name, 'title':title, 'pattern':pattern}, function(data) { - if (!data.bStateError) { - liElement = '
            • / / '+ + this.applyForm = function(){ + $('#userfield_form').jqmHide(); + if ($('#user_fields_form_action').val() == 'add') { + this.addUserfield(); + } else if ($('#user_fields_form_action').val() == 'update') { + this.updateUserfield(); + } + } + + this.addUserfield = function() { + var name = $('#user_fields_form_name').val(); + var title = $('#user_fields_form_title').val(); + var pattern = $('#user_fields_form_pattern').val(); + ls.ajax(aRouter['admin']+'userfields', { + 'action':'add', + 'name':name, + 'title':title, + 'pattern':pattern + }, function(data) { + if (!data.bStateError) { + liElement = '
            • / / '+ '
              '+ '
              '; - $('#user_field_list').append(liElement); - $('#field_'+data.id+' .userfield_admin_name').text(name); - $('#field_'+data.id+' .userfield_admin_title').text(title); - $('#field_'+data.id+' .userfield_admin_pattern').text(pattern); - ls.msg.notice(data.sMsgTitle,data.sMsg); - } else { - ls.msg.error(data.sMsgTitle,data.sMsg); - } - }); - } + $('#user_field_list').append(liElement); + $('#field_'+data.id+' .userfield_admin_name').text(name); + $('#field_'+data.id+' .userfield_admin_title').text(title); + $('#field_'+data.id+' .userfield_admin_pattern').text(pattern); + ls.msg.notice(data.sMsgTitle,data.sMsg); + } else { + ls.msg.error(data.sMsgTitle,data.sMsg); + } + }); + } - this.updateUserfield = function() { - var id = $('#user_fields_form_id').val(); - var name = $('#user_fields_form_name').val(); - var title = $('#user_fields_form_title').val(); - var pattern = $('#user_fields_form_pattern').val(); - ls.ajax(aRouter['admin']+'userfields', {'action':'update', 'id':id, 'name':name, 'title':title, 'pattern':pattern}, function(data) { - if (!data.bStateError) { - $('#field_'+id+' .userfield_admin_name').text(name); - $('#field_'+id+' .userfield_admin_title').text(title); - $('#field_'+id+' .userfield_admin_pattern').text(pattern); - ls.msg.notice(data.sMsgTitle,data.sMsg); - } else { - ls.msg.error(data.sMsgTitle,data.sMsg); - } - }); - } + this.updateUserfield = function() { + var id = $('#user_fields_form_id').val(); + var name = $('#user_fields_form_name').val(); + var title = $('#user_fields_form_title').val(); + var pattern = $('#user_fields_form_pattern').val(); + ls.ajax(aRouter['admin']+'userfields', { + 'action':'update', + 'id':id, + 'name':name, + 'title':title, + 'pattern':pattern + }, function(data) { + if (!data.bStateError) { + $('#field_'+id+' .userfield_admin_name').text(name); + $('#field_'+id+' .userfield_admin_title').text(title); + $('#field_'+id+' .userfield_admin_pattern').text(pattern); + ls.msg.notice(data.sMsgTitle,data.sMsg); + } else { + ls.msg.error(data.sMsgTitle,data.sMsg); + } + }); + } - this.deleteUserfield = function(id) { - if (!confirm(ls.lang.get('user_field_delete_confirm'))) {return;} - ls.ajax(aRouter['admin']+'userfields', {'action':'delete', 'id':id}, function(data) { - if (!data.bStateError) { - $('#field_'+id).remove(); - ls.msg.notice(data.sMsgTitle,data.sMsg); - } else { - ls.msg.error(data.sMsgTitle,data.sMsg); - } - }); - } - return this; + this.deleteUserfield = function(id) { + if (!confirm(ls.lang.get('user_field_delete_confirm'))) { + return; + } + ls.ajax(aRouter['admin']+'userfields', { + 'action':'delete', + 'id':id + }, function(data) { + if (!data.bStateError) { + $('#field_'+id).remove(); + ls.msg.notice(data.sMsgTitle,data.sMsg); + } else { + ls.msg.error(data.sMsgTitle,data.sMsg); + } + }); + } + return this; }).call(ls.userfield || {},jQuery); \ No newline at end of file diff --git a/templates/skin/new-jquery/js/vote.js b/templates/skin/new-jquery/js/vote.js index 4d7a8c38..12878316 100644 --- a/templates/skin/new-jquery/js/vote.js +++ b/templates/skin/new-jquery/js/vote.js @@ -9,15 +9,15 @@ ls.vote = (function ($) { */ this.options = { classes: { - voted: 'voted', - plus: 'plus', - minus: 'minus', + voted: 'voted', + plus: 'plus', + minus: 'minus', positive: 'positive', - negative: 'negative' + negative: 'negative' }, - prefix_area: 'vote_area_', - prefix_total: 'vote_total_', - prefix_count: 'vote_count_', + prefix_area: 'vote_area_', + prefix_total: 'vote_total_', + prefix_count: 'vote_count_', type: { comment: { url: aRouter['ajax']+'vote/comment/', @@ -40,12 +40,12 @@ ls.vote = (function ($) { this.vote = function(idTarget, objVote, value, type) { if (!this.options.type[type]) return false; - + objVote = $(objVote); var params = {}; params['value'] = value; params[this.options.type[type].targetName] = idTarget; - + ls.ajax(this.options.type[type].url, params, function(result) { this.onVote(idTarget, objVote, value, type, result); }.bind(this)); @@ -57,7 +57,7 @@ ls.vote = (function ($) { ls.msg.error(null, result.sMsg); } else { ls.msg.notice(null, result.sMsg); - + var divVoting = $('#'+this.options.prefix_area+type+'_'+idTarget); divVoting.addClass(this.options.classes.voted); @@ -67,10 +67,10 @@ ls.vote = (function ($) { if (value < 0) { divVoting.addClass(this.options.classes.minus); } - + var divTotal = $('#'+this.options.prefix_total+type+'_'+idTarget); var divCount = $('#'+this.options.prefix_count+type+'_'+idTarget); - + if (divCount.length>0 && result.iCountVote) { divCount.text(parseInt(result.iCountVote)); } @@ -99,7 +99,7 @@ ls.vote = (function ($) { } $(this).trigger('vote',[idTarget, objVote, value, type, result]); } - + this.onVoteUser = function(idTarget, objVote, value, type, result) { $('#user_skill_'+idTarget).text(result.iSkill); } diff --git a/templates/skin/new-jquery/menu.blog.tpl b/templates/skin/new-jquery/menu.blog.tpl index f60684d2..217cba9d 100644 --- a/templates/skin/new-jquery/menu.blog.tpl +++ b/templates/skin/new-jquery/menu.blog.tpl @@ -33,17 +33,17 @@ {/if}
            • - + {if $oUserCurrent}
            • {$aLang.userfeed_title}
            • {/if} - +
            • {$aLang.blog_menu_top} {if $sMenuItemSelect=='top'} - \ No newline at end of file diff --git a/templates/skin/new-jquery/menu.profile.tpl b/templates/skin/new-jquery/menu.profile.tpl index bf03cb4c..b82eb599 100644 --- a/templates/skin/new-jquery/menu.profile.tpl +++ b/templates/skin/new-jquery/menu.profile.tpl @@ -20,6 +20,6 @@ {/if}
            • - + {hook run='menu_profile'} \ No newline at end of file diff --git a/templates/skin/new-jquery/menu.settings.tpl b/templates/skin/new-jquery/menu.settings.tpl index 6246df08..cfb8800d 100644 --- a/templates/skin/new-jquery/menu.settings.tpl +++ b/templates/skin/new-jquery/menu.settings.tpl @@ -22,8 +22,4 @@ {/if} {hook run='menu_settings'} - - - - - + \ No newline at end of file diff --git a/templates/skin/new-jquery/menu.talk.tpl b/templates/skin/new-jquery/menu.talk.tpl index 9f4df591..5622f3b5 100644 --- a/templates/skin/new-jquery/menu.talk.tpl +++ b/templates/skin/new-jquery/menu.talk.tpl @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/templates/skin/new-jquery/nav.tpl b/templates/skin/new-jquery/nav.tpl index 4392f6bb..526afe3e 100644 --- a/templates/skin/new-jquery/nav.tpl +++ b/templates/skin/new-jquery/nav.tpl @@ -3,16 +3,16 @@ {if $oUserCurrent and ($sAction=='blog' or $sAction=='index' or $sAction=='new' or $sAction=='personal_blog' or $sAction=='feed' or $sAction=='top')} {$aLang.topic_create} {/if} - - + + {if $menu} {if in_array($menu,$aMenuContainers)}{$aMenuFetch.$menu}{else}{include file="menu.$menu.tpl"}{/if} {/if} - - + +
              -
              +
              \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/english/notify.blog_invite_new.tpl b/templates/skin/new-jquery/notify/english/notify.blog_invite_new.tpl index 6896f38c..738176ef 100644 --- a/templates/skin/new-jquery/notify/english/notify.blog_invite_new.tpl +++ b/templates/skin/new-jquery/notify/english/notify.blog_invite_new.tpl @@ -1,4 +1,4 @@ -The user «{$oUserFrom->getLogin()}» invites you to join the blog "{$oBlog->getTitle()}". +The user «{$oUserFrom->getLogin()}» invites you to join the blog "{$oBlog->getTitle()}".

              Have a look at the invitation (Don't forget to register before!)
              diff --git a/templates/skin/new-jquery/notify/english/notify.comment_new.tpl b/templates/skin/new-jquery/notify/english/notify.comment_new.tpl index f7e5a785..b82c35d5 100644 --- a/templates/skin/new-jquery/notify/english/notify.comment_new.tpl +++ b/templates/skin/new-jquery/notify/english/notify.comment_new.tpl @@ -1,6 +1,6 @@ -The user {$oUserComment->getLogin()} left a new comment to your topic «{$oTopic->getTitle()|escape:'html'}», you can read it by clicking on this link
              +The user {$oUserComment->getLogin()} left a new comment to your topic «{$oTopic->getTitle()|escape:'html'}», you can read it by clicking on this link
              {if $oConfig->GetValue('sys.mail.include_comment')} - Message: {$oComment->getText()} -{/if} + Message: {$oComment->getText()} +{/if}

              Best regards, site administration {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/english/notify.comment_reply.tpl b/templates/skin/new-jquery/notify/english/notify.comment_reply.tpl index 2d36b849..da5b5087 100644 --- a/templates/skin/new-jquery/notify/english/notify.comment_reply.tpl +++ b/templates/skin/new-jquery/notify/english/notify.comment_reply.tpl @@ -1,6 +1,6 @@ -The user {$oUserComment->getLogin()} replied your comment in the topic «{$oTopic->getTitle()|escape:'html'}», you can read it by clicking on this link
              +The user {$oUserComment->getLogin()} replied your comment in the topic «{$oTopic->getTitle()|escape:'html'}», you can read it by clicking on this link
              {if $oConfig->GetValue('sys.mail.include_comment')} - Message: {$oComment->getText()} -{/if} + Message: {$oComment->getText()} +{/if}

              Best regards, site administration {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/english/notify.invite.tpl b/templates/skin/new-jquery/notify/english/notify.invite.tpl index 41484ada..5b8c14bd 100644 --- a/templates/skin/new-jquery/notify/english/notify.invite.tpl +++ b/templates/skin/new-jquery/notify/english/notify.invite.tpl @@ -1,6 +1,5 @@ The user {$oUserFrom->getLogin()} invited you to register on the site {cfg name='view.name'}
              -The invitation code: {$oInvite->getCode()}
              -To register you need to enter the invitation code on the main page +The invitation code: {$oInvite->getCode()}
              +To register you need to enter the invitation code on the main page

              -Best regards, site administration {cfg name='view.name'} - \ No newline at end of file +Best regards, site administration {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/english/notify.registration.tpl b/templates/skin/new-jquery/notify/english/notify.registration.tpl index cf610d9a..052dddc2 100644 --- a/templates/skin/new-jquery/notify/english/notify.registration.tpl +++ b/templates/skin/new-jquery/notify/english/notify.registration.tpl @@ -1,6 +1,6 @@ You have been registered on the site {cfg name='view.name'}
              Your credentials:
                 login: {$oUser->getLogin()}
              -   password: {$sPassword}
              +   password: {$sPassword}


              Best regards, site administration {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/english/notify.registration_activate.tpl b/templates/skin/new-jquery/notify/english/notify.registration_activate.tpl index b575240f..df5a2878 100644 --- a/templates/skin/new-jquery/notify/english/notify.registration_activate.tpl +++ b/templates/skin/new-jquery/notify/english/notify.registration_activate.tpl @@ -3,7 +3,7 @@ Your credentials:
                 login: {$oUser->getLogin()}
                 password: {$sPassword}

              -To complete registration you need to activate your account by clicking this link: +To complete registration you need to activate your account by clicking this link: {router page='registration'}activate/{$oUser->getActivateKey()}/

              diff --git a/templates/skin/new-jquery/notify/english/notify.reminder_code.tpl b/templates/skin/new-jquery/notify/english/notify.reminder_code.tpl index bd8d3150..5b602ee4 100644 --- a/templates/skin/new-jquery/notify/english/notify.reminder_code.tpl +++ b/templates/skin/new-jquery/notify/english/notify.reminder_code.tpl @@ -1,4 +1,4 @@ -If you want to change your password on the site, {cfg name='view.name'}, then click on the link below: +If you want to change your password on the site, {cfg name='view.name'}, then click on the link below: {router page='login'}reminder/{$oReminder->getCode()}/

              diff --git a/templates/skin/new-jquery/notify/english/notify.talk_comment_new.tpl b/templates/skin/new-jquery/notify/english/notify.talk_comment_new.tpl index 989d9bdf..d673c941 100644 --- a/templates/skin/new-jquery/notify/english/notify.talk_comment_new.tpl +++ b/templates/skin/new-jquery/notify/english/notify.talk_comment_new.tpl @@ -1,7 +1,7 @@ -The user {$oUserFrom->getLogin()} left a new comment to the letter «{$oTalk->getTitle()|escape:'html'}», you can read it by clicking on this link
              +The user {$oUserFrom->getLogin()} left a new comment to the letter «{$oTalk->getTitle()|escape:'html'}», you can read it by clicking on this link
              {if $oConfig->GetValue('sys.mail.include_talk')} - Message: {$oTalkComment->getText()}
              + Message: {$oTalkComment->getText()}
              {/if} -Do not forget to register before! +Do not forget to register before!

              Best regards, site administration {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/english/notify.talk_new.tpl b/templates/skin/new-jquery/notify/english/notify.talk_new.tpl index c1cf9516..1b3de88e 100644 --- a/templates/skin/new-jquery/notify/english/notify.talk_new.tpl +++ b/templates/skin/new-jquery/notify/english/notify.talk_new.tpl @@ -1,7 +1,7 @@ You have a new incoming letter from the user {$oUserFrom->getLogin()}, you can read and answer it by clicking on this link
              Letter topic: {$oTalk->getTitle()|escape:'html'}
              {if $oConfig->GetValue('sys.mail.include_talk')} - Message: {$oTalk->getText()}
              + Message: {$oTalk->getText()}
              {/if} Don't forget to register before!

              diff --git a/templates/skin/new-jquery/notify/english/notify.topic_new.tpl b/templates/skin/new-jquery/notify/english/notify.topic_new.tpl index 829f2153..18b0393d 100644 --- a/templates/skin/new-jquery/notify/english/notify.topic_new.tpl +++ b/templates/skin/new-jquery/notify/english/notify.topic_new.tpl @@ -1,4 +1,4 @@ -The user {$oUserTopic->getLogin()} posted a new topic - {$oTopic->getTitle()|escape:'html'}
              in a blog «{$oBlog->getTitle()|escape:'html'}» - +The user {$oUserTopic->getLogin()} posted a new topic - {$oTopic->getTitle()|escape:'html'}
              in a blog «{$oBlog->getTitle()|escape:'html'}» +

              Best regards, site administration {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/english/notify.user_friend_new.tpl b/templates/skin/new-jquery/notify/english/notify.user_friend_new.tpl index 9fb27d2b..0fc3909e 100644 --- a/templates/skin/new-jquery/notify/english/notify.user_friend_new.tpl +++ b/templates/skin/new-jquery/notify/english/notify.user_friend_new.tpl @@ -1,4 +1,4 @@ -The user «{$oUserFrom->getLogin()}» wants to add you to Friends. +The user «{$oUserFrom->getLogin()}» wants to add you to Friends.

              {$sText}See application (Dont forget to register before!) diff --git a/templates/skin/new-jquery/notify/russian/notify.blog_invite_new.tpl b/templates/skin/new-jquery/notify/russian/notify.blog_invite_new.tpl index 8a2174d0..c1e8d983 100644 --- a/templates/skin/new-jquery/notify/russian/notify.blog_invite_new.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.blog_invite_new.tpl @@ -1,4 +1,4 @@ -Пользователь «{$oUserFrom->getLogin()}» приглашает вас вступить в блог "{$oBlog->getTitle()}". +Пользователь «{$oUserFrom->getLogin()}» приглашает вас вступить в блог "{$oBlog->getTitle()}".

              Посмотреть приглашение (Не забудьте предварительно авторизоваться!)
              diff --git a/templates/skin/new-jquery/notify/russian/notify.comment_new.tpl b/templates/skin/new-jquery/notify/russian/notify.comment_new.tpl index 7e92ce04..368e0df8 100644 --- a/templates/skin/new-jquery/notify/russian/notify.comment_new.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.comment_new.tpl @@ -1,6 +1,6 @@ -Пользователь {$oUserComment->getLogin()} оставил новый комментарий к вашему топику «{$oTopic->getTitle()|escape:'html'}», прочитать его можно перейдя по этой ссылке
              +Пользователь {$oUserComment->getLogin()} оставил новый комментарий к вашему топику «{$oTopic->getTitle()|escape:'html'}», прочитать его можно перейдя по этой ссылке
              {if $oConfig->GetValue('sys.mail.include_comment')} - Текст сообщения: {$oComment->getText()} -{/if} + Текст сообщения: {$oComment->getText()} +{/if}

              С уважением, администрация сайта {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/russian/notify.comment_reply.tpl b/templates/skin/new-jquery/notify/russian/notify.comment_reply.tpl index 0b76c10c..db8bfce6 100644 --- a/templates/skin/new-jquery/notify/russian/notify.comment_reply.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.comment_reply.tpl @@ -1,6 +1,6 @@ -Пользователь {$oUserComment->getLogin()} ответил на ваш комментарий в топике «{$oTopic->getTitle()|escape:'html'}», прочитать его можно перейдя по этой ссылке
              +Пользователь {$oUserComment->getLogin()} ответил на ваш комментарий в топике «{$oTopic->getTitle()|escape:'html'}», прочитать его можно перейдя по этой ссылке
              {if $oConfig->GetValue('sys.mail.include_comment')} - Текст сообщения: {$oComment->getText()} -{/if} + Текст сообщения: {$oComment->getText()} +{/if}

              С уважением, администрация сайта {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/russian/notify.invite.tpl b/templates/skin/new-jquery/notify/russian/notify.invite.tpl index 88591d77..286313a7 100644 --- a/templates/skin/new-jquery/notify/russian/notify.invite.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.invite.tpl @@ -1,6 +1,5 @@ -Пользователь {$oUserFrom->getLogin()} пригласил вас зарегистрироваться на сайте {cfg name='view.name'}
              -Код приглашения: {$oInvite->getCode()}
              -Для регистрации вам будет необходимо ввести код приглашения на странице входа +Пользователь {$oUserFrom->getLogin()} пригласил вас зарегистрироваться на сайте {cfg name='view.name'}
              +Код приглашения: {$oInvite->getCode()}
              +Для регистрации вам будет необходимо ввести код приглашения на странице входа

              -С уважением, администрация сайта {cfg name='view.name'} - \ No newline at end of file +С уважением, администрация сайта {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/russian/notify.registration.tpl b/templates/skin/new-jquery/notify/russian/notify.registration.tpl index 4d33dfd7..f7ebed62 100644 --- a/templates/skin/new-jquery/notify/russian/notify.registration.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.registration.tpl @@ -1,6 +1,6 @@ Вы зарегистрировались на сайте {cfg name='view.name'}
              Ваши регистрационные данные:
                 логин: {$oUser->getLogin()}
              -   пароль: {$sPassword}
              +   пароль: {$sPassword}


              С уважением, администрация сайта {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/russian/notify.registration_activate.tpl b/templates/skin/new-jquery/notify/russian/notify.registration_activate.tpl index d06ad3fc..d47a4df4 100644 --- a/templates/skin/new-jquery/notify/russian/notify.registration_activate.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.registration_activate.tpl @@ -3,7 +3,7 @@    логин: {$oUser->getLogin()}
                 пароль: {$sPassword}

              -Для завершения регистрации вам необходимо активировать аккаунт пройдя по ссылке: +Для завершения регистрации вам необходимо активировать аккаунт пройдя по ссылке: {router page='registration'}activate/{$oUser->getActivateKey()}/

              diff --git a/templates/skin/new-jquery/notify/russian/notify.reminder_code.tpl b/templates/skin/new-jquery/notify/russian/notify.reminder_code.tpl index fc4299c6..154786d6 100644 --- a/templates/skin/new-jquery/notify/russian/notify.reminder_code.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.reminder_code.tpl @@ -1,4 +1,4 @@ -Если вы хотите сменить себе пароль на сайте {cfg name='view.name'}, то перейдите по ссылке ниже: +Если вы хотите сменить себе пароль на сайте {cfg name='view.name'}, то перейдите по ссылке ниже: {router page='login'}reminder/{$oReminder->getCode()}/

              diff --git a/templates/skin/new-jquery/notify/russian/notify.talk_comment_new.tpl b/templates/skin/new-jquery/notify/russian/notify.talk_comment_new.tpl index b97bed7a..20f0542a 100644 --- a/templates/skin/new-jquery/notify/russian/notify.talk_comment_new.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.talk_comment_new.tpl @@ -1,7 +1,7 @@ -Пользователь {$oUserFrom->getLogin()} оставил новый комментарий к письму «{$oTalk->getTitle()|escape:'html'}», прочитать его можно перейдя по этой ссылке
              +Пользователь {$oUserFrom->getLogin()} оставил новый комментарий к письму «{$oTalk->getTitle()|escape:'html'}», прочитать его можно перейдя по этой ссылке
              {if $oConfig->GetValue('sys.mail.include_talk')} - Текст сообщения: {$oTalkComment->getText()}
              + Текст сообщения: {$oTalkComment->getText()}
              {/if} -Не забудьте предварительно авторизоваться! +Не забудьте предварительно авторизоваться!

              С уважением, администрация сайта {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/russian/notify.talk_new.tpl b/templates/skin/new-jquery/notify/russian/notify.talk_new.tpl index 1d55bae3..f60bd866 100644 --- a/templates/skin/new-jquery/notify/russian/notify.talk_new.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.talk_new.tpl @@ -1,7 +1,7 @@ Вам пришло новое письмо от пользователя {$oUserFrom->getLogin()}, прочитать и ответить на него можно перейдя по этой ссылке
              Тема письма: {$oTalk->getTitle()|escape:'html'}
              {if $oConfig->GetValue('sys.mail.include_talk')} - Текст сообщения: {$oTalk->getText()}
              + Текст сообщения: {$oTalk->getText()}
              {/if} Не забудьте предварительно авторизоваться!

              diff --git a/templates/skin/new-jquery/notify/russian/notify.topic_new.tpl b/templates/skin/new-jquery/notify/russian/notify.topic_new.tpl index b069cd13..12adbb4f 100644 --- a/templates/skin/new-jquery/notify/russian/notify.topic_new.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.topic_new.tpl @@ -1,4 +1,4 @@ -Пользователь {$oUserTopic->getLogin()} опубликовал в блоге «{$oBlog->getTitle()|escape:'html'}» новый топик - {$oTopic->getTitle()|escape:'html'}
              - +Пользователь {$oUserTopic->getLogin()} опубликовал в блоге «{$oBlog->getTitle()|escape:'html'}» новый топик - {$oTopic->getTitle()|escape:'html'}
              +

              С уважением, администрация сайта {cfg name='view.name'} \ No newline at end of file diff --git a/templates/skin/new-jquery/notify/russian/notify.user_friend_new.tpl b/templates/skin/new-jquery/notify/russian/notify.user_friend_new.tpl index 7a839cfd..0e84f0b0 100644 --- a/templates/skin/new-jquery/notify/russian/notify.user_friend_new.tpl +++ b/templates/skin/new-jquery/notify/russian/notify.user_friend_new.tpl @@ -1,4 +1,4 @@ -Пользователь «{$oUserFrom->getLogin()}» хочет добавить вас в друзья. +Пользователь «{$oUserFrom->getLogin()}» хочет добавить вас в друзья.

              {$sText}Посмотреть заявку (Не забудьте предварительно авторизоваться!) diff --git a/templates/skin/new-jquery/paging.tpl b/templates/skin/new-jquery/paging.tpl index 0402d9d5..f9864284 100644 --- a/templates/skin/new-jquery/paging.tpl +++ b/templates/skin/new-jquery/paging.tpl @@ -1,7 +1,7 @@ -{if $aPaging and $aPaging.iCountPage>1} +{if $aPaging and $aPaging.iCountPage>1} {/if} \ No newline at end of file diff --git a/templates/skin/new-jquery/question_result.tpl b/templates/skin/new-jquery/question_result.tpl index 6c497000..d9653942 100644 --- a/templates/skin/new-jquery/question_result.tpl +++ b/templates/skin/new-jquery/question_result.tpl @@ -1,15 +1,15 @@
                - {foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer} -
              • getQuestionAnswerMax()==$aAnswer.count}class="most"{/if}> -
                -
                - {$oTopic->getQuestionAnswerPercent($key)}%
                - ({$aAnswer.count}) -
                -
                {$aAnswer.text|escape:'html'}
                -
                -
              • - {/foreach} + {foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer} +
              • getQuestionAnswerMax()==$aAnswer.count}class="most"{/if}> +
                +
                + {$oTopic->getQuestionAnswerPercent($key)}%
                + ({$aAnswer.count}) +
                +
                {$aAnswer.text|escape:'html'}
                +
                +
              • + {/foreach}

              {$aLang.topic_question_vote_result}: {$oTopic->getQuestionCountVote()} | {$aLang.topic_question_abstain_result}: {$oTopic->getQuestionCountVoteAbstain()}

              \ No newline at end of file diff --git a/templates/skin/new-jquery/statistics_performance.tpl b/templates/skin/new-jquery/statistics_performance.tpl index 8ba46887..22a4a2e0 100644 --- a/templates/skin/new-jquery/statistics_performance.tpl +++ b/templates/skin/new-jquery/statistics_performance.tpl @@ -1,5 +1,5 @@ {if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()} -
              +
              {$aLang.blogs_title}{$aLang.blog_join_leave}{$aLang.blogs_readers}{$aLang.blogs_rating}{$aLang.blogs_title}{$aLang.blog_join_leave}{$aLang.blogs_readers}{$aLang.blogs_rating}
              + {$oBlog->getTitle()|escape:'html'} {if $oBlog->getType()=='close'}[x]{/if}

              {$aLang.blogs_owner}: {$oUserOwner->getLogin()}

              + {if $oUserCurrent->getId()!=$oBlog->getOwnerId() and $oBlog->getType()=='open'}
              {else} @@ -27,8 +27,8 @@ {/if}
              {$oBlog->getCountUser()}{$oBlog->getRating()}{$oBlog->getCountUser()}{$oBlog->getRating()}
              diff --git a/templates/skin/new-jquery/topic_link.tpl b/templates/skin/new-jquery/topic_link.tpl index a5633faf..ef80b96c 100644 --- a/templates/skin/new-jquery/topic_link.tpl +++ b/templates/skin/new-jquery/topic_link.tpl @@ -2,22 +2,24 @@ {assign var="oUser" value=$oTopic->getUser()} {assign var="oVote" value=$oTopic->getVote()} -
              +

              - {if $oTopic->getPublish()==0} + {if $oTopic->getPublish()==0} {$aLang.topic_unpublish} {/if} {$oTopic->getTitle()|escape:'html'} {$aLang.topic_link}

              - - {if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else} {/if} - + + {if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else} {/if} + + +
              {$oBlog->getTitle()|escape:'html'} - - + + {if $oUserCurrent and ($oUserCurrent->getId()==$oTopic->getUserId() or $oUserCurrent->isAdministrator() or $oBlog->getUserIsAdministrator() or $oBlog->getUserIsModerator() or $oBlog->getOwnerId()==$oUserCurrent->getId())} {$aLang.topic_edit} {/if} @@ -37,19 +39,19 @@ {$oTopic->getCutText()} {else} {$aLang.topic_read_more} - {/if} + {/if} {/if} {else} {$oTopic->getText()} {/if} -
              +
                {foreach from=$oTopic->getTagsArray() item=sTag name=tags_list}
              • {$sTag|escape:'html'}{if !$smarty.foreach.tags_list.last}, {/if}
              • - {/foreach} + {/foreach}
                @@ -75,4 +77,4 @@ {if !$bTopicList} {hook run='topic_show_end' topic=$oTopic} {/if} -
              \ No newline at end of file + diff --git a/templates/skin/new-jquery/topic_list.tpl b/templates/skin/new-jquery/topic_list.tpl index 1c885056..616fa879 100644 --- a/templates/skin/new-jquery/topic_list.tpl +++ b/templates/skin/new-jquery/topic_list.tpl @@ -1,10 +1,10 @@ {if count($aTopics)>0} - {foreach from=$aTopics item=oTopic} - {assign var="sTopicTemplateName" value="topic_`$oTopic->getType()`.tpl"} - {include file=$sTopicTemplateName bTopicList=true} - {/foreach} - - {include file='paging.tpl' aPaging="$aPaging"} + {foreach from=$aTopics item=oTopic} + {assign var="sTopicTemplateName" value="topic_`$oTopic->getType()`.tpl"} + {include file=$sTopicTemplateName bTopicList=true} + {/foreach} + + {include file='paging.tpl' aPaging="$aPaging"} {else}
              {$aLang.blog_no_topic}
              {/if} \ No newline at end of file diff --git a/templates/skin/new-jquery/topic_photoset.tpl b/templates/skin/new-jquery/topic_photoset.tpl index 1dfe7447..1f29fdae 100644 --- a/templates/skin/new-jquery/topic_photoset.tpl +++ b/templates/skin/new-jquery/topic_photoset.tpl @@ -3,14 +3,14 @@ {assign var="oVote" value=$oTopic->getVote()}

              - {if $oTopic->getPublish()==0} + {if $oTopic->getPublish()==0} {$aLang.topic_unpublish} {/if} {if $bTopicList} @@ -19,15 +19,17 @@ jQuery(window).load(function($) { {$oTopic->getTitle()|escape:'html'} {/if}

              - - {if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else} {/if} - - + + {if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else} {/if} + + + +
              {$oBlog->getTitle()|escape:'html'} - - + + {if $oUserCurrent and ($oUserCurrent->getId()==$oTopic->getUserId() or $oUserCurrent->isAdministrator() or $oBlog->getUserIsAdministrator() or $oBlog->getUserIsModerator() or $oBlog->getOwnerId()==$oUserCurrent->getId())} {$aLang.topic_edit} {/if} @@ -37,17 +39,17 @@ jQuery(window).load(function($) {
              - - + +
              - {assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()} + {assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()}
              {$oTopic->getPhotosetCount()} {$aLang.topic_photoset_photos}
              {if $oMainPhoto->getDescription()}
              {$oMainPhoto->getDescription()}
              {/if} image
              - + {assign var=iPhotosCount value=$oTopic->getPhotosetCount()}
              {if $bTopicList} @@ -58,37 +60,37 @@ jQuery(window).load(function($) { {$oTopic->getCutText()} {else} {$aLang.topic_photoset_show_all|ls_lang:"COUNT%%`$iPhotosCount`"} → - {/if} + {/if} {/if} {else} {$oTopic->getText()} {/if} -
              +
              {if !$bTopicList} - + - +

              {$oTopic->getPhotosetCount()} {$oTopic->getPhotosetCount()|declension:$aLang.topic_photoset_count_images}

                {assign var=aPhotos value=$oTopic->getPhotosetPhotos(0, $oConfig->get('module.topic.photoset.per_page'))} - {if count($aPhotos)} + {if count($aPhotos)} {foreach from=$aPhotos item=oPhoto} -
              • {$oPhoto->getDescription()}
              • +
              • {$oPhoto->getDescription()}
              • {assign var=iLastPhotoId value=$oPhoto->getId()} {/foreach} {/if} @@ -106,7 +108,7 @@ jQuery(window).load(function($) {
                  {foreach from=$oTopic->getTagsArray() item=sTag name=tags_list}
                • {$sTag|escape:'html'}{if !$smarty.foreach.tags_list.last}, {/if}
                • - {/foreach} + {/foreach}
                @@ -133,4 +135,4 @@ jQuery(window).load(function($) { {if !$bTopicList} {hook run='topic_show_end' topic=$oTopic} {/if} -
              \ No newline at end of file + diff --git a/templates/skin/new-jquery/topic_question.tpl b/templates/skin/new-jquery/topic_question.tpl index f146ae8f..34301516 100644 --- a/templates/skin/new-jquery/topic_question.tpl +++ b/templates/skin/new-jquery/topic_question.tpl @@ -5,7 +5,7 @@

              - {if $oTopic->getPublish()==0} + {if $oTopic->getPublish()==0} {$aLang.topic_unpublish} {/if} {if $bTopicList} @@ -14,15 +14,17 @@ {$oTopic->getTitle()|escape:'html'} {/if}

              - - {if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else} {/if} - - + + {if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else} {/if} + + + +
              {$oBlog->getTitle()|escape:'html'} - - + + {if $oUserCurrent and ($oUserCurrent->getId()==$oTopic->getUserId() or $oUserCurrent->isAdministrator() or $oBlog->getUserIsAdministrator() or $oBlog->getUserIsModerator() or $oBlog->getOwnerId()==$oUserCurrent->getId())} {$aLang.topic_edit} {/if} @@ -44,7 +46,7 @@ - +

              {$aLang.topic_question_vote_result}: {$oTopic->getQuestionCountVote()} | {$aLang.topic_question_abstain_result}: {$oTopic->getQuestionCountVoteAbstain()}

              {else}
                @@ -64,9 +66,9 @@

                {$aLang.topic_question_vote_result}: {$oTopic->getQuestionCountVote()} | {$aLang.topic_question_abstain_result}: {$oTopic->getQuestionCountVoteAbstain()}

                {/if}
              - - + +
              {if $bTopicList} @@ -77,20 +79,20 @@ {$oTopic->getCutText()} {else} {$aLang.topic_read_more} - {/if} + {/if} {/if} {else} {$oTopic->getText()} {/if} -
              +
                {foreach from=$oTopic->getTagsArray() item=sTag name=tags_list}
              • {$sTag|escape:'html'}{if !$smarty.foreach.tags_list.last}, {/if}
              • - {/foreach} + {/foreach}
              @@ -117,4 +119,4 @@ {if !$bTopicList} {hook run='topic_show_end' topic=$oTopic} {/if} - \ No newline at end of file + diff --git a/templates/skin/new-jquery/topic_topic.tpl b/templates/skin/new-jquery/topic_topic.tpl index a63d694f..3e329823 100644 --- a/templates/skin/new-jquery/topic_topic.tpl +++ b/templates/skin/new-jquery/topic_topic.tpl @@ -4,7 +4,7 @@

              - {if $oTopic->getPublish()==0} + {if $oTopic->getPublish()==0} {$aLang.topic_unpublish} {/if} {if $bTopicList} @@ -13,15 +13,17 @@ {$oTopic->getTitle()|escape:'html'} {/if}

              - - {if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else} {/if} - - + + {if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else} {/if} + + + +
              {$oBlog->getTitle()|escape:'html'} - - + + {if $oUserCurrent and ($oUserCurrent->getId()==$oTopic->getUserId() or $oUserCurrent->isAdministrator() or $oBlog->getUserIsAdministrator() or $oBlog->getUserIsModerator() or $oBlog->getOwnerId()==$oUserCurrent->getId())} {$aLang.topic_edit} {/if} @@ -41,20 +43,20 @@ {$oTopic->getCutText()} {else} {$aLang.topic_read_more} - {/if} + {/if} {/if} {else} {$oTopic->getText()} {/if} -
              +
                {foreach from=$oTopic->getTagsArray() item=sTag name=tags_list}
              • {$sTag|escape:'html'}{if !$smarty.foreach.tags_list.last}, {/if}
              • - {/foreach} + {/foreach}
              @@ -81,4 +83,4 @@ {if !$bTopicList} {hook run='topic_show_end' topic=$oTopic} {/if} - \ No newline at end of file + diff --git a/templates/skin/new-jquery/window_load_img.tpl b/templates/skin/new-jquery/window_load_img.tpl index 9bf4ccc1..04b5ed02 100644 --- a/templates/skin/new-jquery/window_load_img.tpl +++ b/templates/skin/new-jquery/window_load_img.tpl @@ -1,8 +1,8 @@ - +

              {$aLang.uploadimg}

              +

              {hook run="uploadimg_source"}

              - - @@ -23,5 +23,4 @@ {hook run="uploadimg_additional"} - - \ No newline at end of file + \ No newline at end of file diff --git a/templates/skin/new-jquery/window_login.tpl b/templates/skin/new-jquery/window_login.tpl index f0b8e82f..42c591cb 100644 --- a/templates/skin/new-jquery/window_login.tpl +++ b/templates/skin/new-jquery/window_login.tpl @@ -1,7 +1,7 @@ {if !$oUserCurrent}

              @@ -15,7 +15,7 @@ time: {$aStatsPerformance.cache.time} -

              PHP

              +

              PHP

              time load modules: {$aStatsPerformance.engine.time_load_module}
              full time: {$iTimeFullPerformance}