1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 01:14:24 +03:00

Merge pull request #33 from stfalcon-studio/crlf

поправил ошибки валидации, переводы строк, пробелы в конце строк и отступы
This commit is contained in:
Mzhelskiy Maxim 2011-10-10 02:44:35 -07:00
commit 49e9ac31c2
145 changed files with 3308 additions and 3404 deletions

View file

@ -1,29 +1,29 @@
code#copytext { code#copytext {
white-space: pre; white-space: pre;
font-family: Verdana; font-family: Verdana;
} }
.at { .at {
color:darkblue; color:darkblue;
} }
.format { .format {
color:gray; color:gray;
} }
.property { .property {
color:green; color:green;
} }
.selector { .selector {
color:blue; color:blue;
} }
.value { .value {
color:red; color:red;
left: 500px; left: 500px;
} }
.comment { .comment {
color:orange; color:orange;
} }

View file

@ -1,311 +1,311 @@
<?php <?php
/** /**
* Localization of CSS Optimiser Interface of CSSTidy * Localization of CSS Optimiser Interface of CSSTidy
* *
* Copyright 2005, 2006, 2007 Florian Schmitz * Copyright 2005, 2006, 2007 Florian Schmitz
* *
* This file is part of CSSTidy. * This file is part of CSSTidy.
* *
* CSSTidy is free software; you can redistribute it and/or modify * CSSTidy is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by * it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or * the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* CSSTidy is distributed in the hope that it will be useful, * CSSTidy is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
* @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License * @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
* @package csstidy * @package csstidy
* @author Florian Schmitz (floele at gmail dot com) 2005-2007 * @author Florian Schmitz (floele at gmail dot com) 2005-2007
* @author Brett Zamir (brettz9 at yahoo dot com) 2007 * @author Brett Zamir (brettz9 at yahoo dot com) 2007
*/ */
if(isset($_GET['lang'])) { if(isset($_GET['lang'])) {
$l = $_GET['lang']; $l = $_GET['lang'];
} }
else if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { else if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
$l = $_SERVER['HTTP_ACCEPT_LANGUAGE']; $l = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
$l = strtolower(substr($l, 0, 2)); $l = strtolower(substr($l, 0, 2));
} }
else { else {
$l = ''; $l = '';
} }
$l = (in_array($l, array('de', 'fr', 'zh'))) ? $l : 'en'; $l = (in_array($l, array('de', 'fr', 'zh'))) ? $l : 'en';
// note 5 in all but French, and 40 in all are orphaned // note 5 in all but French, and 40 in all are orphaned
$lang = array(); $lang = array();
$lang['en'][0] = 'CSS Formatter and Optimiser/Optimizer (based on CSSTidy '; $lang['en'][0] = 'CSS Formatter and Optimiser/Optimizer (based on CSSTidy ';
$lang['en'][1] = 'CSS Formatter and Optimiser'; $lang['en'][1] = 'CSS Formatter and Optimiser';
$lang['en'][2] = '(based on'; $lang['en'][2] = '(based on';
$lang['en'][3] = '(plaintext)'; $lang['en'][3] = '(plaintext)';
$lang['en'][4] = 'Important Note:'; $lang['en'][4] = 'Important Note:';
$lang['en'][6] = 'Your code should be well-formed. This is <strong>not a validator</strong> which points out errors in your CSS code. To make sure that your code is valid, use the <a href="http://jigsaw.w3.org/css-validator/">W3C Validator</a>.'; $lang['en'][6] = 'Your code should be well-formed. This is <strong>not a validator</strong> which points out errors in your CSS code. To make sure that your code is valid, use the <a href="http://jigsaw.w3.org/css-validator/">W3C Validator</a>.';
$lang['en'][7] = 'all comments are removed'; $lang['en'][7] = 'all comments are removed';
$lang['en'][8] = 'CSS Input:'; $lang['en'][8] = 'CSS Input:';
$lang['en'][9] = 'CSS-Code:'; $lang['en'][9] = 'CSS-Code:';
$lang['en'][10] = 'CSS from URL:'; $lang['en'][10] = 'CSS from URL:';
$lang['en'][11] = 'Code Layout:'; $lang['en'][11] = 'Code Layout:';
$lang['en'][12] = 'Compression&#160;(code&#160;layout):'; $lang['en'][12] = 'Compression&#160;(code&#160;layout):';
$lang['en'][13] = 'Highest (no readability, smallest size)'; $lang['en'][13] = 'Highest (no readability, smallest size)';
$lang['en'][14] = 'High (moderate readability, smaller size)'; $lang['en'][14] = 'High (moderate readability, smaller size)';
$lang['en'][15] = 'Standard (balance between readability and size)'; $lang['en'][15] = 'Standard (balance between readability and size)';
$lang['en'][16] = 'Low (higher readability)'; $lang['en'][16] = 'Low (higher readability)';
$lang['en'][17] = 'Custom (enter below)'; $lang['en'][17] = 'Custom (enter below)';
$lang['en'][18] = 'Custom <a href="http://csstidy.sourceforge.net/templates.php">template</a>'; $lang['en'][18] = 'Custom <a href="http://csstidy.sourceforge.net/templates.php">template</a>';
$lang['en'][19] = 'Options'; $lang['en'][19] = 'Options';
$lang['en'][20] = 'Sort Selectors (caution)'; $lang['en'][20] = 'Sort Selectors (caution)';
$lang['en'][21] = 'Sort Properties'; $lang['en'][21] = 'Sort Properties';
$lang['en'][22] = 'Regroup selectors'; $lang['en'][22] = 'Regroup selectors';
$lang['en'][23] = 'Optimise shorthands'; $lang['en'][23] = 'Optimise shorthands';
$lang['en'][24] = 'Compress colors'; $lang['en'][24] = 'Compress colors';
$lang['en'][25] = 'Lowercase selectors'; $lang['en'][25] = 'Lowercase selectors';
$lang['en'][26] = 'Case for properties:'; $lang['en'][26] = 'Case for properties:';
$lang['en'][27] = 'Lowercase'; $lang['en'][27] = 'Lowercase';
$lang['en'][28] = 'No or invalid CSS input or wrong URL!'; $lang['en'][28] = 'No or invalid CSS input or wrong URL!';
$lang['en'][29] = 'Uppercase'; $lang['en'][29] = 'Uppercase';
$lang['en'][30] = 'lowercase elementnames needed for XHTML'; $lang['en'][30] = 'lowercase elementnames needed for XHTML';
$lang['en'][31] = 'Remove unnecessary backslashes'; $lang['en'][31] = 'Remove unnecessary backslashes';
$lang['en'][32] = 'convert !important-hack'; $lang['en'][32] = 'convert !important-hack';
$lang['en'][33] = 'Output as file'; $lang['en'][33] = 'Output as file';
$lang['en'][34] = 'Bigger compression because of smaller newlines (copy &#38; paste doesn\'t work)'; $lang['en'][34] = 'Bigger compression because of smaller newlines (copy &#38; paste doesn\'t work)';
$lang['en'][35] = 'Process CSS'; $lang['en'][35] = 'Process CSS';
$lang['en'][36] = 'Compression Ratio'; $lang['en'][36] = 'Compression Ratio';
$lang['en'][37] = 'Input'; $lang['en'][37] = 'Input';
$lang['en'][38] = 'Output'; $lang['en'][38] = 'Output';
$lang['en'][39] = 'Language'; $lang['en'][39] = 'Language';
$lang['en'][41] = 'Attention: This may change the behaviour of your CSS Code!'; $lang['en'][41] = 'Attention: This may change the behaviour of your CSS Code!';
$lang['en'][42] = 'Remove last ;'; $lang['en'][42] = 'Remove last ;';
$lang['en'][43] = 'Discard invalid properties'; $lang['en'][43] = 'Discard invalid properties';
$lang['en'][44] = 'Only safe optimisations'; $lang['en'][44] = 'Only safe optimisations';
$lang['en'][45] = 'Compress font-weight'; $lang['en'][45] = 'Compress font-weight';
$lang['en'][46] = 'Save comments'; $lang['en'][46] = 'Save comments';
$lang['en'][47] = 'Do not change anything'; $lang['en'][47] = 'Do not change anything';
$lang['en'][48] = 'Only seperate selectors (split at ,)'; $lang['en'][48] = 'Only seperate selectors (split at ,)';
$lang['en'][49] = 'Merge selectors with the same properties (fast)'; $lang['en'][49] = 'Merge selectors with the same properties (fast)';
$lang['en'][50] = 'Merge selectors intelligently (slow)'; $lang['en'][50] = 'Merge selectors intelligently (slow)';
$lang['en'][51] = 'Preserve CSS'; $lang['en'][51] = 'Preserve CSS';
$lang['en'][52] = 'Save comments, hacks, etc. Most optimisations can *not* be applied if this is enabled.'; $lang['en'][52] = 'Save comments, hacks, etc. Most optimisations can *not* be applied if this is enabled.';
$lang['en'][53] = 'None'; $lang['en'][53] = 'None';
$lang['en'][54] = 'Don\'t optimise'; $lang['en'][54] = 'Don\'t optimise';
$lang['en'][55] = 'Safe optimisations'; $lang['en'][55] = 'Safe optimisations';
$lang['en'][56] = 'All optimisations'; $lang['en'][56] = 'All optimisations';
$lang['en'][57] = 'Add timestamp'; $lang['en'][57] = 'Add timestamp';
$lang['en'][58] = 'Copy to clipboard'; $lang['en'][58] = 'Copy to clipboard';
$lang['en'][59] = 'Back to top'; $lang['en'][59] = 'Back to top';
$lang['en'][60] = 'Your browser doesn\'t support copy to clipboard.'; $lang['en'][60] = 'Your browser doesn\'t support copy to clipboard.';
$lang['en'][61] = 'For bugs and suggestions feel free to'; $lang['en'][61] = 'For bugs and suggestions feel free to';
$lang['en'][62] = 'contact me'; $lang['en'][62] = 'contact me';
$lang['en'][63] = 'Output CSS code as complete HTML document'; $lang['en'][63] = 'Output CSS code as complete HTML document';
$lang['en'][64] = 'Code'; $lang['en'][64] = 'Code';
$lang['en'][65] = 'CSS to style CSS output'; $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['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'][0] = 'CSS Formatierer und Optimierer (basierend auf CSSTidy ';
$lang['de'][1] = 'CSS Formatierer und Optimierer'; $lang['de'][1] = 'CSS Formatierer und Optimierer';
$lang['de'][2] = '(basierend auf'; $lang['de'][2] = '(basierend auf';
$lang['de'][3] = '(Textversion)'; $lang['de'][3] = '(Textversion)';
$lang['de'][4] = 'Wichtiger Hinweis:'; $lang['de'][4] = 'Wichtiger Hinweis:';
$lang['de'][6] = 'Der CSS Code sollte wohlgeformt sein. Der CSS Code wird <strong>nicht auf Gültigkeit überprüft</strong>. Um sicherzugehen dass dein Code valide ist, benutze den <a href="http://jigsaw.w3.org/css-validator/">W3C Validierungsservice</a>.'; $lang['de'][6] = 'Der CSS Code sollte wohlgeformt sein. Der CSS Code wird <strong>nicht auf Gültigkeit überprüft</strong>. Um sicherzugehen dass dein Code valide ist, benutze den <a href="http://jigsaw.w3.org/css-validator/">W3C Validierungsservice</a>.';
$lang['de'][7] = 'alle Kommentare werden entfernt'; $lang['de'][7] = 'alle Kommentare werden entfernt';
$lang['de'][8] = 'CSS Eingabe:'; $lang['de'][8] = 'CSS Eingabe:';
$lang['de'][9] = 'CSS-Code:'; $lang['de'][9] = 'CSS-Code:';
$lang['de'][10] = 'CSS von URL:'; $lang['de'][10] = 'CSS von URL:';
$lang['de'][11] = 'Code Layout:'; $lang['de'][11] = 'Code Layout:';
$lang['de'][12] = 'Komprimierung&#160;(Code&#160;Layout):'; $lang['de'][12] = 'Komprimierung&#160;(Code&#160;Layout):';
$lang['de'][13] = 'Höchste (keine Lesbarkeit, niedrigste Größe)'; $lang['de'][13] = 'Höchste (keine Lesbarkeit, niedrigste Größe)';
$lang['de'][14] = 'Hoch (mittelmäßige Lesbarkeit, geringe Größe)'; $lang['de'][14] = 'Hoch (mittelmäßige Lesbarkeit, geringe Größe)';
$lang['de'][15] = 'Standard (Kompromiss zwischen Lesbarkeit und Größe)'; $lang['de'][15] = 'Standard (Kompromiss zwischen Lesbarkeit und Größe)';
$lang['de'][16] = 'Niedrig (höhere Lesbarkeit)'; $lang['de'][16] = 'Niedrig (höhere Lesbarkeit)';
$lang['de'][17] = 'Benutzerdefiniert (unten eingeben)'; $lang['de'][17] = 'Benutzerdefiniert (unten eingeben)';
$lang['de'][18] = 'Benutzerdefinierte <a href="http://csstidy.sourceforge.net/templates.php">Vorlage</a>'; $lang['de'][18] = 'Benutzerdefinierte <a href="http://csstidy.sourceforge.net/templates.php">Vorlage</a>';
$lang['de'][19] = 'Optionen'; $lang['de'][19] = 'Optionen';
$lang['de'][20] = 'Selektoren sortieren (Vorsicht)'; $lang['de'][20] = 'Selektoren sortieren (Vorsicht)';
$lang['de'][21] = 'Eigenschaften sortieren'; $lang['de'][21] = 'Eigenschaften sortieren';
$lang['de'][22] = 'Selektoren umgruppieren'; $lang['de'][22] = 'Selektoren umgruppieren';
$lang['de'][23] = 'Shorthands optimieren'; $lang['de'][23] = 'Shorthands optimieren';
$lang['de'][24] = 'Farben komprimieren'; $lang['de'][24] = 'Farben komprimieren';
$lang['de'][25] = 'Selektoren in Kleinbuchstaben'; $lang['de'][25] = 'Selektoren in Kleinbuchstaben';
$lang['de'][26] = 'Groß-/Kleinschreibung für Eigenschaften'; $lang['de'][26] = 'Groß-/Kleinschreibung für Eigenschaften';
$lang['de'][27] = 'Kleinbuchstaben'; $lang['de'][27] = 'Kleinbuchstaben';
$lang['de'][28] = 'Keine oder ungültige CSS Eingabe oder falsche URL!'; $lang['de'][28] = 'Keine oder ungültige CSS Eingabe oder falsche URL!';
$lang['de'][29] = 'Großbuchstaben'; $lang['de'][29] = 'Großbuchstaben';
$lang['de'][30] = 'kleingeschriebene Elementnamen benötigt für XHTML'; $lang['de'][30] = 'kleingeschriebene Elementnamen benötigt für XHTML';
$lang['de'][31] = 'Unnötige Backslashes entfernen'; $lang['de'][31] = 'Unnötige Backslashes entfernen';
$lang['de'][32] = '!important-Hack konvertieren'; $lang['de'][32] = '!important-Hack konvertieren';
$lang['de'][33] = 'Als Datei ausgeben'; $lang['de'][33] = 'Als Datei ausgeben';
$lang['de'][34] = 'Größere Komprimierung augrund von kleineren Neuezeile-Zeichen'; $lang['de'][34] = 'Größere Komprimierung augrund von kleineren Neuezeile-Zeichen';
$lang['de'][35] = 'CSS verarbeiten'; $lang['de'][35] = 'CSS verarbeiten';
$lang['de'][36] = 'Komprimierungsrate'; $lang['de'][36] = 'Komprimierungsrate';
$lang['de'][37] = 'Eingabe'; $lang['de'][37] = 'Eingabe';
$lang['de'][38] = 'Ausgabe'; $lang['de'][38] = 'Ausgabe';
$lang['de'][39] = 'Sprache'; $lang['de'][39] = 'Sprache';
$lang['de'][41] = 'Achtung: Dies könnte das Verhalten ihres CSS-Codes verändern!'; $lang['de'][41] = 'Achtung: Dies könnte das Verhalten ihres CSS-Codes verändern!';
$lang['de'][42] = 'Letztes ; entfernen'; $lang['de'][42] = 'Letztes ; entfernen';
$lang['de'][43] = 'Ungültige Eigenschaften entfernen'; $lang['de'][43] = 'Ungültige Eigenschaften entfernen';
$lang['de'][44] = 'Nur sichere Optimierungen'; $lang['de'][44] = 'Nur sichere Optimierungen';
$lang['de'][45] = 'font-weight komprimieren'; $lang['de'][45] = 'font-weight komprimieren';
$lang['de'][46] = 'Kommentare beibehalten'; $lang['de'][46] = 'Kommentare beibehalten';
$lang['de'][47] = 'Nichts ändern'; $lang['de'][47] = 'Nichts ändern';
$lang['de'][48] = 'Selektoren nur trennen (am Komma)'; $lang['de'][48] = 'Selektoren nur trennen (am Komma)';
$lang['de'][49] = 'Selektoren mit gleichen Eigenschaften zusammenfassen (schnell)'; $lang['de'][49] = 'Selektoren mit gleichen Eigenschaften zusammenfassen (schnell)';
$lang['de'][50] = 'Selektoren intelligent zusammenfassen (langsam!)'; $lang['de'][50] = 'Selektoren intelligent zusammenfassen (langsam!)';
$lang['de'][51] = 'CSS erhalten'; $lang['de'][51] = 'CSS erhalten';
$lang['de'][52] = 'Kommentare, Hacks, etc. speichern. Viele Optimierungen sind dann aber nicht mehr möglich.'; $lang['de'][52] = 'Kommentare, Hacks, etc. speichern. Viele Optimierungen sind dann aber nicht mehr möglich.';
$lang['de'][53] = 'Keine'; $lang['de'][53] = 'Keine';
$lang['de'][54] = 'Nicht optimieren'; $lang['de'][54] = 'Nicht optimieren';
$lang['de'][55] = 'Sichere Optimierungen'; $lang['de'][55] = 'Sichere Optimierungen';
$lang['de'][56] = 'Alle Optimierungen'; $lang['de'][56] = 'Alle Optimierungen';
$lang['de'][57] = 'Zeitstempel hinzufügen'; $lang['de'][57] = 'Zeitstempel hinzufügen';
$lang['de'][58] = 'Copy to clipboard'; $lang['de'][58] = 'Copy to clipboard';
$lang['de'][59] = 'Back to top'; $lang['de'][59] = 'Back to top';
$lang['de'][60] = 'Your browser doesn\'t support copy to clipboard.'; $lang['de'][60] = 'Your browser doesn\'t support copy to clipboard.';
$lang['de'][61] = 'For bugs and suggestions feel free to'; $lang['de'][61] = 'For bugs and suggestions feel free to';
$lang['de'][62] = 'contact me'; $lang['de'][62] = 'contact me';
$lang['de'][63] = 'Output CSS code as complete HTML document'; $lang['de'][63] = 'Output CSS code as complete HTML document';
$lang['de'][64] = 'Code'; $lang['de'][64] = 'Code';
$lang['de'][65] = 'CSS to style CSS output'; $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['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'][0] = 'CSS Formatteur et Optimiseur (basé sur CSSTidy ';
$lang['fr'][1] = 'CSS Formatteur et Optimiseur'; $lang['fr'][1] = 'CSS Formatteur et Optimiseur';
$lang['fr'][2] = '(basé sur '; $lang['fr'][2] = '(basé sur ';
$lang['fr'][3] = '(Version texte)'; $lang['fr'][3] = '(Version texte)';
$lang['fr'][4] = 'Note Importante&#160;:'; $lang['fr'][4] = 'Note Importante&#160;:';
$lang['fr'][6] = 'Votre code doit être valide. Ce nest <strong>pas un validateur</strong> qui signale les erreurs dans votre code CSS. Pour être sûr que votre code est correct, utilisez le validateur&#160;: <a href="http://jigsaw.w3.org/css-validator/">W3C Validator</a>.'; $lang['fr'][6] = 'Votre code doit être valide. Ce nest <strong>pas un validateur</strong> qui signale les erreurs dans votre code CSS. Pour être sûr que votre code est correct, utilisez le validateur&#160;: <a href="http://jigsaw.w3.org/css-validator/">W3C Validator</a>.';
$lang['fr'][7] = 'tous les commentaires sont enlevés'; $lang['fr'][7] = 'tous les commentaires sont enlevés';
$lang['fr'][8] = 'Champ CSS&#160;:'; $lang['fr'][8] = 'Champ CSS&#160;:';
$lang['fr'][9] = 'Code CSS&#160;:'; $lang['fr'][9] = 'Code CSS&#160;:';
$lang['fr'][10] = 'CSS en provenance dune URL&#160;:<br />'; $lang['fr'][10] = 'CSS en provenance dune URL&#160;:<br />';
$lang['fr'][11] = 'Mise en page du code&#160;:'; $lang['fr'][11] = 'Mise en page du code&#160;:';
$lang['fr'][12] = 'Compression (mise en page du code)&#160;:'; $lang['fr'][12] = 'Compression (mise en page du code)&#160;:';
$lang['fr'][13] = 'La plus élevée (aucune lisibilité, taille minimale)'; $lang['fr'][13] = 'La plus élevée (aucune lisibilité, taille minimale)';
$lang['fr'][14] = 'Élevée (lisibilité modérée, petite taille)'; $lang['fr'][14] = 'Élevée (lisibilité modérée, petite taille)';
$lang['fr'][15] = 'Normale (équilibre entre lisibilité et taille)'; $lang['fr'][15] = 'Normale (équilibre entre lisibilité et taille)';
$lang['fr'][16] = 'Faible (lisibilité élevée)'; $lang['fr'][16] = 'Faible (lisibilité élevée)';
$lang['fr'][17] = 'Sur mesure (entrer ci-dessous)'; $lang['fr'][17] = 'Sur mesure (entrer ci-dessous)';
$lang['fr'][18] = '<a href="http://csstidy.sourceforge.net/templates.php">Gabarit</a> sur mesure'; $lang['fr'][18] = '<a href="http://csstidy.sourceforge.net/templates.php">Gabarit</a> sur mesure';
$lang['fr'][19] = 'Options'; $lang['fr'][19] = 'Options';
$lang['fr'][20] = 'Trier les sélecteurs (attention)'; $lang['fr'][20] = 'Trier les sélecteurs (attention)';
$lang['fr'][21] = 'Trier les propriétés'; $lang['fr'][21] = 'Trier les propriétés';
$lang['fr'][22] = 'Regrouper les sélecteurs'; $lang['fr'][22] = 'Regrouper les sélecteurs';
$lang['fr'][23] = 'Propriétés raccourcies'; $lang['fr'][23] = 'Propriétés raccourcies';
$lang['fr'][24] = 'Compresser les couleurs'; $lang['fr'][24] = 'Compresser les couleurs';
$lang['fr'][25] = 'Sélecteurs en minuscules'; $lang['fr'][25] = 'Sélecteurs en minuscules';
$lang['fr'][26] = 'Case pour les propriétés&#160;:'; $lang['fr'][26] = 'Case pour les propriétés&#160;:';
$lang['fr'][27] = 'Minuscule'; $lang['fr'][27] = 'Minuscule';
$lang['fr'][28] = 'CSS non valide ou URL incorrecte&#160;!'; $lang['fr'][28] = 'CSS non valide ou URL incorrecte&#160;!';
$lang['fr'][29] = 'Majuscule'; $lang['fr'][29] = 'Majuscule';
$lang['fr'][30] = 'les noms des éléments en minuscules (indispensables pour XHTML)'; $lang['fr'][30] = 'les noms des éléments en minuscules (indispensables pour XHTML)';
$lang['fr'][31] = 'enlever les antislashs inutiles'; $lang['fr'][31] = 'enlever les antislashs inutiles';
$lang['fr'][32] = 'convertir !important-hack'; $lang['fr'][32] = 'convertir !important-hack';
$lang['fr'][33] = 'Sauver en tant que fichier'; $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 &#38; coller ne marche pas)'; $lang['fr'][34] = 'Meilleure compression grâce aux caractères de saut de ligne plus petits (copier &#38; coller ne marche pas)';
$lang['fr'][35] = 'Compresser la CSS'; $lang['fr'][35] = 'Compresser la CSS';
$lang['fr'][36] = 'Facteur de Compression'; $lang['fr'][36] = 'Facteur de Compression';
$lang['fr'][37] = 'Entrée'; $lang['fr'][37] = 'Entrée';
$lang['fr'][38] = 'Sortie'; $lang['fr'][38] = 'Sortie';
$lang['fr'][39] = 'Langue'; $lang['fr'][39] = 'Langue';
$lang['fr'][41] = 'Attention&#160;: ceci peut changer le comportement de votre code CSS&#160;!'; $lang['fr'][41] = 'Attention&#160;: ceci peut changer le comportement de votre code CSS&#160;!';
$lang['fr'][42] = 'Enlever le dernier ;'; $lang['fr'][42] = 'Enlever le dernier ;';
$lang['fr'][43] = 'Supprimer les propriétés non valide'; $lang['fr'][43] = 'Supprimer les propriétés non valide';
$lang['fr'][44] = 'Seulement les optimisations sûres'; $lang['fr'][44] = 'Seulement les optimisations sûres';
$lang['fr'][45] = 'Compresser font-weight'; $lang['fr'][45] = 'Compresser font-weight';
$lang['fr'][46] = 'Sauvegarder les commentaires '; $lang['fr'][46] = 'Sauvegarder les commentaires ';
$lang['fr'][47] = 'Ne rien changer'; $lang['fr'][47] = 'Ne rien changer';
$lang['fr'][48] = 'Sépare les sélecteurs (sépare au niveau de ,)'; $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'][49] = 'Fusionne les sélecteurs avec les mêmes propriétés (rapide)';
$lang['fr'][50] = 'Fusionne les sélecteurs intelligemment (lent)'; $lang['fr'][50] = 'Fusionne les sélecteurs intelligemment (lent)';
$lang['fr'][51] = 'Préserver la CSS'; $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'][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'][53] = 'Aucun';
$lang['fr'][54] = 'Ne pas optimiser'; $lang['fr'][54] = 'Ne pas optimiser';
$lang['fr'][55] = 'Optimisations sûres'; $lang['fr'][55] = 'Optimisations sûres';
$lang['fr'][56] = 'Toutes les optimisations'; $lang['fr'][56] = 'Toutes les optimisations';
$lang['fr'][57] = 'Ajouter un timestamp'; $lang['fr'][57] = 'Ajouter un timestamp';
$lang['fr'][58] = 'Copier dans le presse-papiers'; $lang['fr'][58] = 'Copier dans le presse-papiers';
$lang['fr'][59] = 'Retour en haut'; $lang['fr'][59] = 'Retour en haut';
$lang['fr'][60] = 'Votre navigateur ne suporte pas la copie vers le presse-papiers.'; $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'][61] = 'Pour signaler des bugs ou pour des suggestions,';
$lang['fr'][62] = 'contactez-moi'; $lang['fr'][62] = 'contactez-moi';
$lang['fr'][63] = 'Sauver le code CSS comme document complet HTML'; $lang['fr'][63] = 'Sauver le code CSS comme document complet HTML';
$lang['fr'][64] = 'Code'; $lang['fr'][64] = 'Code';
$lang['fr'][65] = 'CSS pour colorier la sortie CSS'; $lang['fr'][65] = 'CSS pour colorier la sortie CSS';
$lang['fr'][66] = 'Vous devez aller dans about:config dans votre barre dadresse, 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['fr'][66] = 'Vous devez aller dans about:config dans votre barre dadresse, 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'][0] = 'CSS整形與最佳化工具(使用 CSSTidy ';
$lang['zh'][1] = 'CSS整形與最佳化工具'; $lang['zh'][1] = 'CSS整形與最佳化工具';
$lang['zh'][2] = '(使用'; $lang['zh'][2] = '(使用';
$lang['zh'][3] = '(純文字)'; $lang['zh'][3] = '(純文字)';
$lang['zh'][4] = '重要事項:'; $lang['zh'][4] = '重要事項:';
$lang['zh'][6] = '你的原始碼必須是良構的(well-formed). 這個工具<strong>沒有內建驗證器(validator)</strong>. 驗證器能夠指出你CSS原始碼裡的錯誤. 請使用 <a href="http://jigsaw.w3.org/css-validator/">W3C 驗證器</a>, 確保你的原始碼合乎規範.'; $lang['zh'][6] = '你的原始碼必須是良構的(well-formed). 這個工具<strong>沒有內建驗證器(validator)</strong>. 驗證器能夠指出你CSS原始碼裡的錯誤. 請使用 <a href="http://jigsaw.w3.org/css-validator/">W3C 驗證器</a>, 確保你的原始碼合乎規範.';
$lang['zh'][7] = '所有註解都移除了'; $lang['zh'][7] = '所有註解都移除了';
$lang['zh'][8] = 'CSS 輸入:'; $lang['zh'][8] = 'CSS 輸入:';
$lang['zh'][9] = 'CSS 原始碼:'; $lang['zh'][9] = 'CSS 原始碼:';
$lang['zh'][10] = 'CSS 檔案網址(URL):'; $lang['zh'][10] = 'CSS 檔案網址(URL):';
$lang['zh'][11] = '原始碼規劃:'; $lang['zh'][11] = '原始碼規劃:';
$lang['zh'][12] = '壓縮程度(原始碼規劃):'; $lang['zh'][12] = '壓縮程度(原始碼規劃):';
$lang['zh'][13] = '最高 (沒有辦法讀, 檔案最小)'; $lang['zh'][13] = '最高 (沒有辦法讀, 檔案最小)';
$lang['zh'][14] = '高 (適度的可讀性, 檔案小)'; $lang['zh'][14] = '高 (適度的可讀性, 檔案小)';
$lang['zh'][15] = '標準 (兼顧可讀性與檔案大小)'; $lang['zh'][15] = '標準 (兼顧可讀性與檔案大小)';
$lang['zh'][16] = '低 (注重可讀性)'; $lang['zh'][16] = '低 (注重可讀性)';
$lang['zh'][17] = '自訂 (在下方設定)'; $lang['zh'][17] = '自訂 (在下方設定)';
$lang['zh'][18] = '自訂<a href="http://csstidy.sourceforge.net/templates.php">樣板</a>'; $lang['zh'][18] = '自訂<a href="http://csstidy.sourceforge.net/templates.php">樣板</a>';
$lang['zh'][19] = '選項'; $lang['zh'][19] = '選項';
$lang['zh'][20] = '整理選擇符(請謹慎使用)'; $lang['zh'][20] = '整理選擇符(請謹慎使用)';
$lang['zh'][21] = '整理屬性'; $lang['zh'][21] = '整理屬性';
$lang['zh'][22] = '重組選擇符'; $lang['zh'][22] = '重組選擇符';
$lang['zh'][23] = '速記法(shorthand)最佳化'; $lang['zh'][23] = '速記法(shorthand)最佳化';
$lang['zh'][24] = '壓縮色彩語法'; $lang['zh'][24] = '壓縮色彩語法';
$lang['zh'][25] = '改用小寫選擇符'; $lang['zh'][25] = '改用小寫選擇符';
$lang['zh'][26] = '屬性的字形:'; $lang['zh'][26] = '屬性的字形:';
$lang['zh'][27] = '小寫'; $lang['zh'][27] = '小寫';
$lang['zh'][28] = '沒有輸入CSS, 語法不符合規定, 或是網址錯誤!'; $lang['zh'][28] = '沒有輸入CSS, 語法不符合規定, 或是網址錯誤!';
$lang['zh'][29] = '大寫'; $lang['zh'][29] = '大寫';
$lang['zh'][30] = 'XHTML必須使用小寫的元素名稱'; $lang['zh'][30] = 'XHTML必須使用小寫的元素名稱';
$lang['zh'][31] = '移除不必要的反斜線'; $lang['zh'][31] = '移除不必要的反斜線';
$lang['zh'][32] = '轉換 !important-hack'; $lang['zh'][32] = '轉換 !important-hack';
$lang['zh'][33] = '輸出成檔案形式'; $lang['zh'][33] = '輸出成檔案形式';
$lang['zh'][34] = '由於比較少換行字元, 會有更大的壓縮比率(複製&#38;貼上沒有用)'; $lang['zh'][34] = '由於比較少換行字元, 會有更大的壓縮比率(複製&#38;貼上沒有用)';
$lang['zh'][35] = '執行'; $lang['zh'][35] = '執行';
$lang['zh'][36] = '壓縮比率'; $lang['zh'][36] = '壓縮比率';
$lang['zh'][37] = '輸入'; $lang['zh'][37] = '輸入';
$lang['zh'][38] = '輸出'; $lang['zh'][38] = '輸出';
$lang['zh'][39] = '語言'; $lang['zh'][39] = '語言';
$lang['zh'][41] = '注意: 這或許會變更你CSS原始碼的行為!'; $lang['zh'][41] = '注意: 這或許會變更你CSS原始碼的行為!';
$lang['zh'][42] = '除去最後一個分號'; $lang['zh'][42] = '除去最後一個分號';
$lang['zh'][43] = '拋棄不符合規定的屬性'; $lang['zh'][43] = '拋棄不符合規定的屬性';
$lang['zh'][44] = '只安全地最佳化'; $lang['zh'][44] = '只安全地最佳化';
$lang['zh'][45] = '壓縮 font-weight'; $lang['zh'][45] = '壓縮 font-weight';
$lang['zh'][46] = '保留註解'; $lang['zh'][46] = '保留註解';
$lang['zh'][47] = '什麼都不要改'; $lang['zh'][47] = '什麼都不要改';
$lang['zh'][48] = '只分開原本用逗號分隔的選擇符'; $lang['zh'][48] = '只分開原本用逗號分隔的選擇符';
$lang['zh'][49] = '合併有相同屬性的選擇符(快速)'; $lang['zh'][49] = '合併有相同屬性的選擇符(快速)';
$lang['zh'][50] = '聰明地合併選擇符(慢速)'; $lang['zh'][50] = '聰明地合併選擇符(慢速)';
$lang['zh'][51] = '保護CSS'; $lang['zh'][51] = '保護CSS';
$lang['zh'][52] = '保留註解與 hack 等等. 如果啟用這個選項, 大多數的最佳化程序都不會執行.'; $lang['zh'][52] = '保留註解與 hack 等等. 如果啟用這個選項, 大多數的最佳化程序都不會執行.';
$lang['zh'][53] = '不改變'; $lang['zh'][53] = '不改變';
$lang['zh'][54] = '不做最佳化'; $lang['zh'][54] = '不做最佳化';
$lang['zh'][55] = '安全地最佳化'; $lang['zh'][55] = '安全地最佳化';
$lang['zh'][56] = '全部最佳化'; $lang['zh'][56] = '全部最佳化';
$lang['zh'][57] = '加上時間戳記'; $lang['zh'][57] = '加上時間戳記';
$lang['zh'][58] = '复制到剪贴板'; $lang['zh'][58] = '复制到剪贴板';
$lang['zh'][59] = '回到页面上方'; $lang['zh'][59] = '回到页面上方';
$lang['zh'][60] = '你的浏览器不支持复制到剪贴板。'; $lang['zh'][60] = '你的浏览器不支持复制到剪贴板。';
$lang['zh'][61] = '如果程序有错误或你有建议,欢迎'; $lang['zh'][61] = '如果程序有错误或你有建议,欢迎';
$lang['zh'][62] = '和我联系'; $lang['zh'][62] = '和我联系';
$lang['zh'][63] = 'Output CSS code as complete HTML document'; $lang['zh'][63] = 'Output CSS code as complete HTML document';
$lang['zh'][64] = '代码'; $lang['zh'][64] = '代码';
$lang['zh'][65] = 'CSS to style CSS output'; $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.'; $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.';

View file

@ -1,32 +1,32 @@
#container { width: expression((documentElement.offsetWidth || document.body.offsetWidth) < 900 ? '900px' : 'auto'); } #container { width: expression((documentElement.offsetWidth || document.body.offsetWidth) < 900 ? '900px' : 'auto'); }
#header h1 { padding-top: 29px; } #header h1 { padding-top: 29px; }
#header .nav-main { padding-top: 31px; } #header .nav-main { padding-top: 31px; }
#nav .nav-blog li ul li a { padding: 4px 11px 4px 0; } #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, .topic, .topic .action, .topic .voting, #sidebar .tags ul, .people.top-blogs td.name,
.stream .stream-nav, #footer,, .profile-blog .about .content ul.admin-list, .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, #wrapper.white-back, .block.stat .gender,
.profile-blog .about .content ul.reader-list, .profile-user .name, #pagination ul, .profile-blog .about .content ul.reader-list, .profile-user .name, #pagination ul,
.block-nav, .profile-blog, .poll li dl { zoom: 1; } .block-nav, .profile-blog, .poll li dl { zoom: 1; }
.update { position:absolute; top:expression( eval(document.documentElement.scrollTop) + 220 +"px" ); } .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.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 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 td.name a.author { line-height: 25px; }
.people.top-blogs .join a { position: relative; top: 2px; } .people.top-blogs .join a { position: relative; top: 2px; }
.profile-blog .about { position: relative; top: -15px; } .profile-blog .about { position: relative; top: -15px; }
.comment .info img.avatar { margin: 2px 7px 0 0; } .comment .info img.avatar { margin: 2px 7px 0 0; }
.block-nav li a { margin: 0 4px; } .block-nav li a { margin: 0 4px; }
.block-nav li em { margin-left: 0px; } .block-nav li em { margin-left: 0px; }
.topic .favorite.guest a { background: none; cursor: default; } .topic .favorite.guest a { background: none; cursor: default; }
.overlay { zoom: 1; background: #000; filter: alpha(opacity=50); } .overlay { zoom: 1; background: #000; filter: alpha(opacity=50); }
.login-popup .content { padding-right: 38px; } .login-popup .content { padding-right: 38px; }

View file

@ -1,10 +1,10 @@
#header h1 { padding-top: 29px; } #header h1 { padding-top: 29px; }
#header .nav-main { padding-top: 31px; } #header .nav-main { padding-top: 31px; }
.comment .info img.avatar { margin: 2px 7px 0 0; } .comment .info img.avatar { margin: 2px 7px 0 0; }
#nav .nav-blog li ul li a { padding: 4px 11px 4px 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.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 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 td.name a.author { line-height: 25px; }
.people.top-blogs .join a { position: relative; top: 1px; } .people.top-blogs .join a { position: relative; top: 1px; }
.overlay { zoom: 1; background: #000; filter: alpha(opacity=50); } .overlay { zoom: 1; background: #000; filter: alpha(opacity=50); }
.login-popup .content { padding-right: 38px; } .login-popup .content { padding-right: 38px; }

View file

@ -1,141 +1,141 @@
/* Reset /* Reset
-------------------------------------------------------------------*/ -------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, small, strike, strong, sub, sup, tt, var,
b, u, i, center, b, u, i, center,
dl, dt, dd, ol, ul, li, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { padding: 0; margin: 0; } table, caption, tbody, tfoot, thead, tr, th, td { padding: 0; margin: 0; }
ul, ol { list-style: none; } ul, ol { list-style: none; }
img { border: none; } img { border: none; }
/* Body /* Body
-------------------------------------------------------------------*/ -------------------------------------------------------------------*/
html, body { height: 100%; } html, body { height: 100%; }
body { font: 12px/18px Tahoma, Arial, Helvetica, sans-serif; color: #333; background: #f7f8f9; } 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, h2, h3, h4, h5, h6 { font: normal 18px Verdana; color: #333; }
h1 { font-size: 22px; line-height: 26px; margin-bottom: 10px; } h1 { font-size: 22px; line-height: 26px; margin-bottom: 10px; }
h2 { font-size: 20px; line-height: 24px; margin-bottom: 7px; } h2 { font-size: 20px; line-height: 24px; margin-bottom: 7px; }
h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; }
h4 { 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; } h5 { font-size: 18px; line-height: 22px; margin-bottom: 5px; }
h6 { font-size: 18px; line-height: 22px; margin-bottom: 5px; } h6 { font-size: 18px; line-height: 22px; margin-bottom: 5px; }
a { color: #70aae0; } a { color: #70aae0; }
a:hover { text-decoration: none; } a:hover { text-decoration: none; }
.voting a { outline: none; } .voting a { outline: none; }
h1 span { color: #ccc; } h1 span { color: #ccc; }
/* Generic Blocks /* Generic Blocks
-------------------------------------------------------------------*/ -------------------------------------------------------------------*/
#container { min-width: 900px; } #container { min-width: 900px; }
#header { height: 80px; clear: both; overflow: hidden; zoom: 1; background: #000 url(../images/header-bg.gif) repeat-x; } #header { height: 80px; clear: both; overflow: hidden; zoom: 1; background: #000 url(../images/header-bg.gif) repeat-x; }
#nav { clear: both; background: #e8e8e8; } #nav { clear: both; background: #e8e8e8; }
#wrapper { overflow: hidden; zoom: 1; margin-bottom: 30px; padding: 20px 46px 30px 20px; } #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; } #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; } #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; } #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; } .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 { background: #fff; margin: 0 20px 30px 20px; padding-bottom: 15px ; padding-left: 20px; }
.white-back #content { clear: none; padding-top: 0; } .white-back #content { clear: none; padding-top: 0; }
.page-talk { padding-left: 3px !important; margin-right: 50px !important; } .page-talk { padding-left: 3px !important; margin-right: 50px !important; }
/* Forms /* Forms
-------------------------------------------------------------------*/ -------------------------------------------------------------------*/
label { margin-bottom: 2px; } label { margin-bottom: 2px; }
form p { margin-bottom: 20px; } form p { margin-bottom: 20px; }
form .note { float: right; font-size: 11px; } form .note { float: right; font-size: 11px; }
form .buttons { overflow: hidden; } form .buttons { overflow: hidden; }
form .right { float: right; font-size: 18px; font-family: Tahoma; color: #333; padding: 5px; } form .right { float: right; font-size: 18px; font-family: Tahoma; color: #333; padding: 5px; }
textarea { width: 99%; height: 200px; margin-bottom: 5px; } textarea { width: 99%; height: 200px; margin-bottom: 5px; }
textarea.small { width: 300px; height: 70px; margin-bottom: 5px; } textarea.small { width: 300px; height: 70px; margin-bottom: 5px; }
select { width: 99%; } select { width: 99%; }
.w50 { width: 50px; } .w50 { width: 50px; }
.w70 { width: 70px; } .w70 { width: 70px; }
.w100 { width: 100px; } .w100 { width: 100px; }
.w200 { width: 200px; } .w200 { width: 200px; }
.w300 { width: 300px; } .w300 { width: 300px; }
.w100p { width: 99%; } .w100p { width: 99%; }
.radio { position: relative; top: 2px; } .radio { position: relative; top: 2px; }
.checkbox { position: relative; top: 2px; margin-left: 0; } .checkbox { position: relative; top: 2px; margin-left: 0; }
.form-tags { padding: 10px; background: #fafafa; color: #999; } .form-tags { padding: 10px; background: #fafafa; color: #999; }
.form-tags input { width: 99%; } .form-tags input { width: 99%; }
.form_note { font-size: 11px; color: #aaa; } .form_note { font-size: 11px; color: #aaa; }
/* Login and Lite Pages /* Login and Lite Pages
-------------------------------------------------------------------*/ -------------------------------------------------------------------*/
.lite-header { padding: 30px 20px; } .lite-header { padding: 30px 20px; }
.lite-header a { color: #c7c7c7; font-size: 26px; text-decoration: none; } .lite-header a { color: #c7c7c7; font-size: 26px; text-decoration: none; }
.lite-header a span { color: #dedede; } .lite-header a span { color: #dedede; }
.lite-header a:hover { color: #333; } .lite-header a:hover { color: #333; }
.lite-header a:hover span { color: #777; } .lite-header a:hover span { color: #777; }
.lite-center { margin: 0 auto 20px; top: 200px; width: 400px; color: #888; } .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 h3, .login-popup h3 { color: #bec0bf; margin-bottom: 20px; }
.lite-center button, .login-popup button { float: right; } .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-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, .login-popup .input-checkbox { padding-top: 7px; }
.lite-center .input-checkbox input, .login-popup .input-checkbox input { position: relative; top: 2px; } .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 .input-note { display: block; color: #bbb; font-size: 11px; line-height: 14px; }
.lite-center.error h1 { font-size: 28px; color: #888; } .lite-center.error h1 { font-size: 28px; color: #888; }
.lite-center.error p { margin-bottom: 10px; color: #888; } .lite-center.error p { margin-bottom: 10px; color: #888; }
.lite-center.register { position: static; margin: 0 auto; } .lite-center.register { position: static; margin: 0 auto; }
.lite-note { overflow: hidden; zoom: 1; } .lite-note { overflow: hidden; zoom: 1; }
.lite-note a { float: right; font-size: 11px; } .lite-note a { float: right; font-size: 11px; }
.login-popup { z-index: 100; width: 492px; } .login-popup { z-index: 100; width: 492px; }
.login-popup .input-text { width: 402px; padding: 4px 5px; } .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 .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-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 .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; } .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 p { margin-bottom: 5px; }
.upload-image label { color: #aaa; } .upload-image label { color: #aaa; }
.tags-input { width: 400px; font-size: 18px; padding: 4px 4px 6px; border: 1px solid #ccc; color: #555; background: #fafafa; } .tags-input { width: 400px; font-size: 18px; padding: 4px 4px 6px; border: 1px solid #ccc; color: #555; background: #fafafa; }
/* Button /* 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, 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, 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 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; } 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 { font-size: 12px; text-decoration: none; }
a.button.small span, a.button.small em { height: 22px; line-height: 22px; } 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 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; } 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_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; } #system_messages_notice { background: #dafad8; border: 1px solid #83c460; padding: 15px; margin-bottom: 15px; color: #4bb23b; }

View file

@ -1,23 +1,24 @@
<?php <?php
/*-------------------------------------------------------
* /* -------------------------------------------------------
* LiveStreet Engine Social Networking *
* Copyright © 2008 Mzhelskiy Maxim * LiveStreet Engine Social Networking
* * Copyright © 2008 Mzhelskiy Maxim
*-------------------------------------------------------- *
* * --------------------------------------------------------
* Official site: www.livestreet.ru *
* Contact e-mail: rus.engine@gmail.com * Official site: www.livestreet.ru
* * Contact e-mail: rus.engine@gmail.com
* GNU General Public License, version 2: *
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * GNU General Public License, version 2:
* * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
--------------------------------------------------------- *
*/ ---------------------------------------------------------
*/
/** /**
* English language file. * English language file.
* *
*/ */
return array( return array(
/** /**
@ -31,7 +32,6 @@ return array(
'blogs_personal_title' => "Blogger's name", 'blogs_personal_title' => "Blogger's name",
'blogs_personal_description' => 'This is your personal blog.', 'blogs_personal_description' => 'This is your personal blog.',
'blog_closed' => 'Private blog', 'blog_closed' => 'Private blog',
'blog_no_topic' => 'No one posted here yet', 'blog_no_topic' => 'No one posted here yet',
'blog_rss' => 'RSS feed', 'blog_rss' => 'RSS feed',
'blog_rating' => 'Rating', 'blog_rating' => 'Rating',
@ -50,9 +50,9 @@ return array(
'blog_user_administrators' => 'Administrators', 'blog_user_administrators' => 'Administrators',
'blog_user_moderators' => 'Moderators', 'blog_user_moderators' => 'Moderators',
'blog_user_moderators_empty' => 'No moderators here', 'blog_user_moderators_empty' => 'No moderators here',
'blog_user_readers' => 'Readers', 'blog_user_readers' => 'Readers',
'blog_user_readers_all' => 'All readers', 'blog_user_readers_all' => 'All readers',
'blog_user_readers_empty' => 'No readers here', 'blog_user_readers_empty' => 'No readers here',
/** /**
* Blog votings * Blog votings
*/ */
@ -67,12 +67,12 @@ return array(
/** /**
* Register/Unregister to the blog * Register/Unregister to the blog
*/ */
'blog_join' => 'Join the blog', 'blog_join' => 'Join the blog',
'blog_join_ok' => 'You joined this blog', 'blog_join_ok' => 'You joined this blog',
'blog_join_error_invite' => 'You can join this blog only by invitation!', '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_join_error_self' => "Why would you join this blog? You're already it's owner!",
'blog_leave' => 'Unjoin this blog', 'blog_leave' => 'Unjoin this blog',
'blog_leave_ok' => "You're unjoined this blog", 'blog_leave_ok' => "You're unjoined this blog",
'blog_join_leave' => 'Join/Unjoin', 'blog_join_leave' => 'Join/Unjoin',
/** /**
* Blog menu * Blog menu
@ -96,7 +96,7 @@ return array(
'blog_menu_top_period_24h' => 'For the last 24 hours', 'blog_menu_top_period_24h' => 'For the last 24 hours',
'blog_menu_top_period_7d' => 'For the last 7 days', 'blog_menu_top_period_7d' => 'For the last 7 days',
'blog_menu_top_period_30d' => 'For the last 30 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', 'blog_menu_create' => 'Create blog',
/** /**
* Create/Edit 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_notice' => "After pushing \"Save\" button, user's permissions will be saved",
'blog_admin_users_submit_ok' => 'Permissions saved', 'blog_admin_users_submit_ok' => 'Permissions saved',
'blog_admin_users_submit_error' => "Hmm... Something's wrong", 'blog_admin_users_submit_error' => "Hmm... Something's wrong",
'blog_admin_delete_confirm' => 'Are you sure you want to create blog?', 'blog_admin_delete_confirm' => 'Are you sure you want to create blog?',
'blog_admin_delete_move' => 'Move topics to the blog', 'blog_admin_delete_move' => 'Move topics to the blog',
'blog_delete_clear' => 'Delete topics', '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_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_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_delete_move_personal' => "Can't move topics to personal blog",
'blog_admin_user_add_label' => 'Invite users:', 'blog_admin_user_add_label' => 'Invite users:',
'blog_admin_user_invited' => 'List of invitees:', '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", '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_accept' => 'Invitation accepted',
'blog_user_invite_reject' => 'Invitation rejected', 'blog_user_invite_reject' => 'Invitation rejected',
'blog_user_invite_readd' => 'Re-add', 'blog_user_invite_readd' => 'Re-add',
/** /**
* Topics * Topics
*/ */
@ -196,7 +193,6 @@ return array(
'topic_favourite_del' => 'Remove from favourites', 'topic_favourite_del' => 'Remove from favourites',
'topic_favourite_del_ok' => 'Topic removed 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', 'error_favorite_topic_is_draft' => 'Topic of the draft can not be added to favorites',
'block_stream_comments_all' => 'All comment block', 'block_stream_comments_all' => 'All comment block',
'block_stream_topics_all' => 'All topics block', 'block_stream_topics_all' => 'All topics block',
'comments_all' => 'All comments', '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_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: <cut> 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_notice' => "Note: <cut> 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_create_error' => "During topic creation we've experienced some technical difficulties. Please try again later.",
'topic_edit' => 'Edit', 'topic_edit' => 'Edit',
'topic_delete' => 'Delete', 'topic_delete' => 'Delete',
'topic_delete_confirm' => 'Do you really want to delete this topic?', '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' => 'Question',
'topic_question_create_title_notice' => 'Question should be meaningful to reflect the meaning of the poll.', '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_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_add' => 'Add answer',
'topic_question_create_answers_delete' => 'Delete', 'topic_question_create_answers_delete' => 'Delete',
'topic_question_create_answers_error' => 'Answer should consist of 1 upto 100 chars', '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_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_max' => 'Maximium available answers should is 20',
'topic_question_create_text' => 'Short description (mx. 500 chars, HTML tags forbidden)', 'topic_question_create_text' => 'Short description (mx. 500 chars, HTML tags forbidden)',
'topic_question_create_text_notice' => 'HTML tags forbidden', 'topic_question_create_text_notice' => 'HTML tags forbidden',
'topic_question_create_text_error' => 'Poll description should be 500 chars or less', 'topic_question_create_text_error' => 'Poll description should be 500 chars or less',
@ -293,7 +288,7 @@ return array(
* Topic voting * Topic voting
*/ */
'topic_vote_up' => 'I like this', '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_already' => "You've already voteed for this topic!",
'topic_vote_error_self' => "You can't vote for your own 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', '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' => 'Your vote counted',
'topic_vote_ok_abstain' => 'You\'ve abstained in order to view topic raiting', 'topic_vote_ok_abstain' => 'You\'ve abstained in order to view topic raiting',
'topic_vote_count' => 'All votes', 'topic_vote_count' => 'All votes',
/** /**
* Photoset * Photoset
*/ */
@ -332,11 +326,10 @@ return array(
'topic_photoset_title_create' => 'Create a photoset', 'topic_photoset_title_create' => 'Create a photoset',
'topic_photoset_error_bad_filesize' => 'Photo size must be less than %%MAX%% Kb', 'topic_photoset_error_bad_filesize' => 'Photo size must be less than %%MAX%% Kb',
'topic_photoset_photos' => 'photos', 'topic_photoset_photos' => 'photos',
/** /**
* Comments * Comments
*/ */
'comment_title' => 'Comments', 'comment_title' => 'Comments',
'comment_collapse' => 'Collapse comments', 'comment_collapse' => 'Collapse comments',
'comment_expand' => 'Expand comments', 'comment_expand' => 'Expand comments',
'comment_goto_parent' => 'Reply to', '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_self' => "You can't vote for your own comment!",
'comment_vote_error_noexists' => "You're voting for comment wich doesn't exist!", 'comment_vote_error_noexists' => "You're voting for comment wich doesn't exist!",
'comment_vote_ok' => 'Your vote counted', 'comment_vote_ok' => 'Your vote counted',
'comment_favourite_add' => 'Add to favoutites', 'comment_favourite_add' => 'Add to favoutites',
'comment_favourite_add_ok' => 'Comment added to favourites', 'comment_favourite_add_ok' => 'Comment added to favourites',
'comment_favourite_add_no' => 'This comment is not in your 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_add_already' => 'This comment is already in your favourites',
'comment_favourite_del' => 'Delete from favourites', 'comment_favourite_del' => 'Delete from favourites',
'comment_favourite_del_ok' => 'Comment deleted from favourites', 'comment_favourite_del_ok' => 'Comment deleted from favourites',
/** /**
* People * People
*/ */
'people' => 'People', 'people' => 'People',
/** /**
* User * User
*/ */
@ -401,7 +389,6 @@ return array(
'user_authorization' => 'Authorisation', 'user_authorization' => 'Authorisation',
'user_registration' => 'Registration', 'user_registration' => 'Registration',
'user_write_prvmsg' => 'Write private message', 'user_write_prvmsg' => 'Write private message',
'user_friend_add' => 'Add to friends', 'user_friend_add' => 'Add to friends',
'user_friend_add_ok' => 'You\'ve got a new friend', 'user_friend_add_ok' => 'You\'ve got a new friend',
'user_friend_add_self' => 'Your friend is - yourself!', '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_ok' => 'You\'re no longer friends with this user',
'user_friend_del_no' => 'Friend not found!', 'user_friend_del_no' => 'Friend not found!',
'user_friend_offer_reject' => 'Friendship request rejected', '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_already_exist' => 'This user is already your friend',
'user_friend_offer_title' => 'User %%login%% wants to be 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.<br/><br/>%%user_text%%<br/><br/><a href='%%accept_path%%'>Accept</a> - <a href='%%reject_path%%'>Reject</a>", 'user_friend_offer_text' => "User %%login%% wants to add you to friends list.<br/><br/>%%user_text%%<br/><br/><a href='%%accept_path%%'>Accept</a> - <a href='%%reject_path%%'>Reject</a>",
@ -422,10 +409,9 @@ return array(
'user_friend_accept_notice_title' => 'Your request accepted', 'user_friend_accept_notice_title' => 'Your request accepted',
'user_friend_accept_notice_text' => 'User %%login%% accepted your friendship request', 'user_friend_accept_notice_text' => 'User %%login%% accepted your friendship request',
'user_friend_reject_notice_title' => 'Your request denied', '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_title' => 'You\'ve been removed from friendship list',
'user_friend_del_notice_text' => 'User %%login%% is not your friend anymore', 'user_friend_del_notice_text' => 'User %%login%% is not your friend anymore',
'user_rating' => 'Rating', 'user_rating' => 'Rating',
'user_skill' => 'Power', 'user_skill' => 'Power',
'user_date_last' => 'Last visit', 'user_date_last' => 'Last visit',
@ -438,10 +424,8 @@ return array(
'user_stats_sex_man' => 'Males', 'user_stats_sex_man' => 'Males',
'user_stats_sex_woman' => 'Females', 'user_stats_sex_woman' => 'Females',
'user_stats_sex_other' => 'Gender not specified', 'user_stats_sex_other' => 'Gender not specified',
'user_not_found' => 'User <b>%%login%%</b> wasn\'t not found', 'user_not_found' => 'User <b>%%login%%</b> wasn\'t not found',
'user_not_found_by_id' => 'User <b>#%%id%%</b> wasn\'t not found', 'user_not_found_by_id' => 'User <b>#%%id%%</b> wasn\'t not found',
/** /**
* User's profile menu * User's profile menu
*/ */
@ -449,7 +433,6 @@ return array(
'people_menu_users_all' => 'All', 'people_menu_users_all' => 'All',
'people_menu_users_online' => 'Online', 'people_menu_users_online' => 'Online',
'people_menu_users_new' => 'New', 'people_menu_users_new' => 'New',
/** /**
* Registration * Registration
*/ */
@ -481,34 +464,29 @@ return array(
'registration_captcha_error' => 'Wrong code', 'registration_captcha_error' => 'Wrong code',
'registration_submit' => 'Submit registration', 'registration_submit' => 'Submit registration',
'registration_ok' => 'Congratulation with successful registration!', 'registration_ok' => 'Congratulation with successful registration!',
/** /**
* Vote for users * Vote for users
*/ */
'user_vote_up' => 'Like', '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_already' => 'You\'ve already voted for this yser!',
'user_vote_error_self' => 'You can\'t vote for yourself!', 'user_vote_error_self' => 'You can\'t vote for yourself!',
'user_vote_error_guest' => 'You have to logon before voting', '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_error_acl' => 'You don\'t have enough rating and power to vote!',
'user_vote_ok' => 'Your vote counted', 'user_vote_ok' => 'Your vote counted',
'user_vote_count' => 'Votes', 'user_vote_count' => 'Votes',
/** /**
* User profile menu * User profile menu
*/ */
'user_menu_profile' => 'Profile', 'user_menu_profile' => 'Profile',
'user_menu_profile_whois' => 'Whois', 'user_menu_profile_whois' => 'Whois',
'user_menu_profile_favourites' => 'Favourite topics', 'user_menu_profile_favourites' => 'Favourite topics',
'user_menu_profile_favourites_comments' => 'Favourite comments', 'user_menu_profile_favourites_comments' => 'Favourite comments',
'user_menu_profile_tags' => 'Tags', 'user_menu_profile_tags' => 'Tags',
'user_menu_publication' => 'Publications', 'user_menu_publication' => 'Publications',
'user_menu_publication_blog' => 'Blog', 'user_menu_publication_blog' => 'Blog',
'user_menu_publication_comment' => 'Comments', 'user_menu_publication_comment' => 'Comments',
'user_menu_publication_comment_rss' => 'RSS feed', 'user_menu_publication_comment_rss' => 'RSS feed',
/** /**
* Profile * Profile
*/ */
@ -532,7 +510,6 @@ return array(
'profile_date_registration' => 'Registered at', 'profile_date_registration' => 'Registered at',
'profile_date_last' => 'Last visit', 'profile_date_last' => 'Last visit',
'profile_social_contacts' => 'Contacts and social services', 'profile_social_contacts' => 'Contacts and social services',
/** /**
* UserFields * 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_name' => 'You must specify the name of the field',
'user_field_error_add_no_title' => 'You must specify a title field', 'user_field_error_add_no_title' => 'You must specify a title field',
'user_field_error_name_exists' => 'Field with that name already exists', 'user_field_error_name_exists' => 'Field with that name already exists',
/** /**
* Configs. * Configs.
*/ */
@ -608,8 +583,6 @@ return array(
'settings_tuning_notice_new_friend' => 'On joining to a friends list', 'settings_tuning_notice_new_friend' => 'On joining to a friends list',
'settings_tuning_submit' => 'Save configs', 'settings_tuning_submit' => 'Save configs',
'settings_tuning_submit_ok' => 'Configs saved', 'settings_tuning_submit_ok' => 'Configs saved',
/** /**
* Configs menu * Configs menu
*/ */
@ -617,7 +590,6 @@ return array(
'settings_menu_profile' => 'Profile', 'settings_menu_profile' => 'Profile',
'settings_menu_tuning' => 'Configs', 'settings_menu_tuning' => 'Configs',
'settings_menu_invite' => 'Invites', 'settings_menu_invite' => 'Invites',
/** /**
* Password restore * Password restore
*/ */
@ -628,7 +600,6 @@ return array(
'password_reminder_send_link' => 'Link for password reset sent to your e-mail address.', '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_code' => 'Wrong code for password reset.',
'password_reminder_bad_email' => 'Can\'t find user with this e-mail address', 'password_reminder_bad_email' => 'Can\'t find user with this e-mail address',
/** /**
* Panel * Panel
*/ */
@ -656,7 +627,6 @@ return array(
'panel_clear_tags' => 'clean up the tags', 'panel_clear_tags' => 'clean up the tags',
'panel_user' => 'user inserted', 'panel_user' => 'user inserted',
'panel_user_promt' => 'Enter the user login', 'panel_user_promt' => 'Enter the user login',
/** /**
* Blocks * Blocks
*/ */
@ -678,15 +648,12 @@ return array(
'block_stream_comments' => 'Comments', 'block_stream_comments' => 'Comments',
'block_stream_comments_no' => 'No comments.', 'block_stream_comments_no' => 'No comments.',
'block_stream_comments_all' => 'All comments', 'block_stream_comments_all' => 'All comments',
'block_friends' => 'Friends', 'block_friends' => 'Friends',
'block_friends_check' => 'Check all', 'block_friends_check' => 'Check all',
'block_friends_uncheck' => 'Uncheck', 'block_friends_uncheck' => 'Uncheck',
'block_friends_empty' => 'Empty friends list', 'block_friends_empty' => 'Empty friends list',
'site_history_back' => 'Go back', 'site_history_back' => 'Go back',
'site_go_main' => 'Go to the main page', 'site_go_main' => 'Go to the main page',
/** /**
* Search * Search
*/ */
@ -696,7 +663,6 @@ return array(
'search_results_empty' => 'Thats strange. No results found.', 'search_results_empty' => 'Thats strange. No results found.',
'search_results_count_topics' => 'topics', 'search_results_count_topics' => 'topics',
'search_results_count_comments' => 'comments', 'search_results_count_comments' => 'comments',
/** /**
* Malbox * Malbox
*/ */
@ -722,16 +688,14 @@ return array(
'talk_create_text_error' => 'Message text should consist of 2 upto 3000 chars', 'talk_create_text_error' => 'Message text should consist of 2 upto 3000 chars',
'talk_create_submit' => 'Send', 'talk_create_submit' => 'Send',
'talk_time_limit' => 'You can\'t send messages in such a frequent rate', 'talk_time_limit' => 'You can\'t send messages in such a frequent rate',
'talk_favourite_inbox' => 'Favourite messages', 'talk_favourite_inbox' => 'Favourite messages',
'talk_favourite_add' => 'Add to favourites', 'talk_favourite_add' => 'Add to favourites',
'talk_favourite_add_ok' => 'Message added 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_no' => 'This message is not in your Favourites\' list',
'talk_favourite_add_already' => 'This message is already 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' => '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_favourite_empty' => 'No letters to favorites',
'talk_filter_title' => 'Filter', 'talk_filter_title' => 'Filter',
'talk_filter_erase' => 'Remove filter', 'talk_filter_erase' => 'Remove filter',
'talk_filter_erase_form' => 'Empty form', 'talk_filter_erase_form' => 'Empty form',
@ -746,7 +710,6 @@ return array(
'talk_filter_error_date_format' => 'Wrong date format', 'talk_filter_error_date_format' => 'Wrong date format',
'talk_filter_result_count' => 'Found %%count%% messages', 'talk_filter_result_count' => 'Found %%count%% messages',
'talk_filter_result_empty' => 'No messages found according to specified criteria', 'talk_filter_result_empty' => 'No messages found according to specified criteria',
'talk_user_in_blacklist' => 'User <b>%%login%%</b> blacklisted your messages', 'talk_user_in_blacklist' => 'User <b>%%login%%</b> blacklisted your messages',
'talk_blacklist_title' => 'Blacklist messages from:', 'talk_blacklist_title' => 'Blacklist messages from:',
'talk_blacklist_empty' => 'Accept from all', 'talk_blacklist_empty' => 'Accept from all',
@ -758,7 +721,6 @@ return array(
'talk_blacklist_delete_ok' => 'User <b>%%login%%</b> removed from blacklist', 'talk_blacklist_delete_ok' => 'User <b>%%login%%</b> removed from blacklist',
'talk_blacklist_user_not_found' => 'User <b>%%login%%</b> is not in your black list', 'talk_blacklist_user_not_found' => 'User <b>%%login%%</b> is not in your black list',
'talk_blacklist_add_self' => 'You can\'t add yourself to the blacklist', 'talk_blacklist_add_self' => 'You can\'t add yourself to the blacklist',
'talk_speaker_title' => 'Message members', 'talk_speaker_title' => 'Message members',
'talk_speaker_add_label' => 'Add member', 'talk_speaker_add_label' => 'Add member',
'talk_speaker_delete_ok' => 'Member <b>%%login%%</b> deleted successfully', 'talk_speaker_delete_ok' => 'Member <b>%%login%%</b> deleted successfully',
@ -767,77 +729,64 @@ return array(
'talk_speaker_add_ok' => 'User <b>%%login%%</b> added successfully', 'talk_speaker_add_ok' => 'User <b>%%login%%</b> added successfully',
'talk_speaker_delete_by_self' => 'Member <b>%%login%%</b> deleted this message', 'talk_speaker_delete_by_self' => 'Member <b>%%login%%</b> deleted this message',
'talk_speaker_add_self' => 'You can\'t add yourself as a member', 'talk_speaker_add_self' => 'You can\'t add yourself as a member',
'talk_not_found' => 'Message not found', 'talk_not_found' => 'Message not found',
/** /**
* Userfeed * Userfeed
*/ */
'userfeed_block_blogs_title' => 'Blogs', 'userfeed_block_blogs_title' => 'Blogs',
'userfeed_block_users_title' => 'Users', 'userfeed_block_users_title' => 'Users',
'userfeed_block_users_append' => 'Add', 'userfeed_block_users_append' => 'Add',
'userfeed_block_users_friends' => 'Friends', 'userfeed_block_users_friends' => 'Friends',
'userfeed_subscribes_already_subscribed' => 'You are already subscribed to the topics of this user', 'userfeed_subscribes_already_subscribed' => 'You are already subscribed to the topics of this user',
'userfeed_subscribes_updated' => 'Settings saved', 'userfeed_subscribes_updated' => 'Settings saved',
'userfeed_get_more' => 'Get more topics', 'userfeed_get_more' => 'Get more topics',
'userfeed_title' => 'Feed', 'userfeed_title' => 'Feed',
'userfeed_settings_note_follow_blogs' => 'Choose the blogs that you\'d like to read',
'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_user' => 'Add users, topics you\'d like to read', 'userfeed_settings_note_follow_friend' => 'Select friends 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_no_subscribed_users' => 'You have not yet subscribed to the user', 'userfeed_error_subscribe_to_yourself' => 'You can not sign up for yourself',
'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 'stream_block_users_title' => 'Users',
*/ 'stream_block_config_append' => 'Add',
'stream_block_config_title' => 'Settings stream', 'stream_block_users_friends' => 'Friends',
'stream_block_users_title' => 'Users', 'stream_subscribes_already_subscribed' => 'You are already subscribed to this member',
'stream_block_config_append' => 'Add', 'stream_subscribes_updated' => 'Settings saved',
'stream_block_users_friends' => 'Friends', 'stream_get_more' => 'Get more events',
'stream_subscribes_already_subscribed' => 'You are already subscribed to this member', 'stream_event_type_add_topic' => 'Add a topic',
'stream_subscribes_updated' => 'Settings saved', 'stream_event_type_add_comment' => 'Add comment',
'stream_get_more' => 'Get more events', 'stream_event_type_add_blog' => 'Adding a blog',
'stream_event_type_add_topic' => 'Add a topic', 'stream_event_type_vote_topic' => 'Vote for Topic',
'stream_event_type_add_comment' => 'Add comment', 'stream_event_type_vote_comment' => 'Vote for your comment',
'stream_event_type_add_blog' => 'Adding a blog', 'stream_event_type_vote_blog' => 'Vote for blog',
'stream_event_type_vote_topic' => 'Vote for Topic', 'stream_event_type_vote_user' => 'Voting for the user',
'stream_event_type_vote_comment' => 'Vote for your comment', 'stream_event_type_add_friend' => 'Add to Friends',
'stream_event_type_vote_blog' => 'Vote for blog', 'stream_event_type_join_blog' => 'Join to Blog',
'stream_event_type_vote_user' => 'Voting for the user', 'stream_no_subscribed_users' => 'You have not yet subscribed to the user',
'stream_event_type_add_friend' => 'Add to Friends', 'stream_no_events' => 'Stream is empty',
'stream_event_type_join_blog' => 'Join to Blog', 'stream_error_subscribe_to_yourself' => 'You can not sign up for yourself',
'stream_no_subscribed_users' => 'You have not yet subscribed to the user', 'stream_list_user' => 'User',
'stream_no_events' => 'Stream is empty', 'stream_list_event_add_topic' => 'added a new topic',
'stream_error_subscribe_to_yourself' => 'You can not sign up for yourself', 'stream_list_event_add_blog' => 'added a new blog',
'stream_list_event_add_comment' => 'commented on the topic',
'stream_list_user' => 'User', 'stream_list_event_vote_topic' => 'voted topic',
'stream_list_event_add_topic' => 'added a new topic', 'stream_list_event_vote_blog' => 'voted blog',
'stream_list_event_add_blog' => 'added a new blog', 'stream_list_event_vote_user' => 'voted user',
'stream_list_event_add_comment' => 'commented on the topic', 'stream_list_event_vote_comment' => 'voted comment',
'stream_list_event_vote_topic' => 'voted topic', 'stream_list_event_join_blog' => 'join to blog',
'stream_list_event_vote_blog' => 'voted blog', 'stream_list_event_add_friend' => 'add to friends',
'stream_list_event_vote_user' => 'voted user', 'stream_personal_title' => 'Stream',
'stream_list_event_vote_comment' => 'voted comment', 'stream_settings_note_filter' => 'Select the actions that will be tracked',
'stream_list_event_join_blog' => 'join to blog', 'stream_settings_note_follow_user' => 'Add people to the activity that you would like to watch',
'stream_list_event_add_friend' => 'add to friends', 'stream_settings_note_follow_friend' => 'Choose your friends for the activity that you would like to watch',
'admin_list_plugins' => 'Manage plugins',
'stream_personal_title' => 'Stream', 'admin_list_userfields' => 'Configuring custom fields',
'admin_list_restorecomment' => 'Rebuilding a tree comments',
'stream_settings_note_filter' => 'Select the actions that will be tracked', 'admin_list_recalcfavourite' => 'Recalculate counters of favorites',
'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 * Rating TOP
*/ */
@ -845,12 +794,10 @@ return array(
'top_blogs' => 'TOP Blogs', 'top_blogs' => 'TOP Blogs',
'top_topics' => 'TOP Topics', 'top_topics' => 'TOP Topics',
'top_comments' => 'TOP Comments', 'top_comments' => 'TOP Comments',
/** /**
* Tag search * Tag search
*/ */
'tag_title' => 'Tag search', 'tag_title' => 'Tag search',
/** /**
* Paging * Paging
*/ */
@ -859,7 +806,6 @@ return array(
'paging_last' => 'Last', 'paging_last' => 'Last',
'paging_first' => 'First', 'paging_first' => 'First',
'paging' => 'Pages', 'paging' => 'Pages',
/** /**
* Image upload * Image upload
*/ */
@ -879,7 +825,6 @@ return array(
'uploadimg_submit' => 'Submit', 'uploadimg_submit' => 'Submit',
'uploadimg_cancel' => 'Cancel', 'uploadimg_cancel' => 'Cancel',
'uploadimg_title' => 'Title', 'uploadimg_title' => 'Title',
/** /**
* Notifications * Notifications
*/ */
@ -895,14 +840,12 @@ return array(
'notify_subject_blog_invite_new' => 'You\'ve got a blog membership offer', 'notify_subject_blog_invite_new' => 'You\'ve got a blog membership offer',
'notify_subject_reminder_code' => 'Password reminder', 'notify_subject_reminder_code' => 'Password reminder',
'notify_subject_reminder_password' => 'New password', 'notify_subject_reminder_password' => 'New password',
/** /**
* Админка * Админка
*/ */
'admin_title' => 'Admin', 'admin_title' => 'Admin',
'admin_comment_restore_tree' => 'Tree comments restore successful', '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 * Plugin administration page
*/ */
@ -924,8 +867,6 @@ return array(
'plugins_activation_requires_error' => 'Plugin requires activated <b>%%plugin%%</b> plugin', 'plugins_activation_requires_error' => 'Plugin requires activated <b>%%plugin%%</b> plugin',
'plugins_submit_delete' => 'Delete plugins', 'plugins_submit_delete' => 'Delete plugins',
'plugins_delete_confirm' => 'Do you really want to delete those 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_args' => 'Wrong number of arguments during event addition',
'system_error_event_method' => 'Added event method not found', '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.', '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_cache_type' => 'Wrong cache type',
'system_error_template' => 'Can\'t find template', 'system_error_template' => 'Can\'t find template',
'system_error_template_block' => 'Can\'t find template of added blog', 'system_error_template_block' => 'Can\'t find template of added blog',
'error' => 'Error', 'error' => 'Error',
'attention' => 'Attention', 'attention' => 'Attention',
'system_error' => 'System error. Please try later.', 'system_error' => 'System error. Please try later.',
@ -942,30 +882,27 @@ return array(
'need_authorization' => 'Please login!', 'need_authorization' => 'Please login!',
'or' => 'or', 'or' => 'or',
'window_close' => 'close', 'window_close' => 'close',
'not_access' => 'No access', 'not_access' => 'No access',
'install_directory_exists' => 'To continue your work with portal please delete /install directory.', 'install_directory_exists' => 'To continue your work with portal please delete /install directory.',
'login' => 'Login', 'login' => 'Login',
'delete' => 'Delete', 'delete' => 'Delete',
'date_day' => 'day', 'date_day' => 'day',
'date_month' => 'month', 'date_month' => 'month',
'month_array' => array( 'month_array' => array(
1=>array('January','January','January'), 1 => array('January', 'January', 'January'),
2=>array('February','February','February'), 2 => array('February', 'February', 'February'),
3=>array('March','March','March'), 3 => array('March', 'March', 'March'),
4=>array('April','April','April'), 4 => array('April', 'April', 'April'),
5=>array('May','May','May'), 5 => array('May', 'May', 'May'),
6=>array('June','June','June'), 6 => array('June', 'June', 'June'),
7=>array('July','July','July'), 7 => array('July', 'July', 'July'),
8=>array('August','August','August'), 8 => array('August', 'August', 'August'),
9=>array('September','September','September'), 9 => array('September', 'September', 'September'),
10=>array('October','October','October'), 10 => array('October', 'October', 'October'),
11=>array('November','November','November'), 11 => array('November', 'November', 'November'),
12=>array('December','December','December'), 12 => array('December', 'December', 'December'),
), ),
'date_year' => 'year', 'date_year' => 'year',
'date_now' => 'Today\'s date', 'date_now' => 'Today\'s date',
'date_today' => 'Today at', 'date_today' => 'Today at',
'date_yesterday' => 'Yesterday 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' => '%%hours%% hours ago; %%hours%% hours ago; %%hours%% hours ago',
'date_hours_back_less' => 'Less than an hour ago', 'date_hours_back_less' => 'Less than an hour ago',
); );
?> ?>

View file

@ -1,19 +1,20 @@
<?php <?php
/*-------------------------------------------------------
* /* -------------------------------------------------------
* LiveStreet Engine Social Networking *
* Copyright © 2008 Mzhelskiy Maxim * LiveStreet Engine Social Networking
* * Copyright © 2008 Mzhelskiy Maxim
*-------------------------------------------------------- *
* * --------------------------------------------------------
* Official site: www.livestreet.ru *
* Contact e-mail: rus.engine@gmail.com * Official site: www.livestreet.ru
* * Contact e-mail: rus.engine@gmail.com
* GNU General Public License, version 2: *
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * GNU General Public License, version 2:
* * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
--------------------------------------------------------- *
*/ ---------------------------------------------------------
*/
/** /**
* Русский языковой файл. * Русский языковой файл.
@ -31,7 +32,6 @@ return array(
'blogs_personal_title' => 'Блог им.', 'blogs_personal_title' => 'Блог им.',
'blogs_personal_description' => 'Это ваш персональный блог.', 'blogs_personal_description' => 'Это ваш персональный блог.',
'blog_closed' => 'Закрытый блог', 'blog_closed' => 'Закрытый блог',
'blog_no_topic' => 'Сюда еще никто не успел написать', 'blog_no_topic' => 'Сюда еще никто не успел написать',
'blog_rss' => 'RSS лента', 'blog_rss' => 'RSS лента',
'blog_rating' => 'Рейтинг', 'blog_rating' => 'Рейтинг',
@ -148,7 +148,6 @@ return array(
'blog_admin_users_submit_notice' => 'После нажатия на кнопку «Сохранить» права пользователей будут сохранены', 'blog_admin_users_submit_notice' => 'После нажатия на кнопку «Сохранить» права пользователей будут сохранены',
'blog_admin_users_submit_ok' => 'Права сохранены', 'blog_admin_users_submit_ok' => 'Права сохранены',
'blog_admin_users_submit_error' => 'Что-то не так', 'blog_admin_users_submit_error' => 'Что-то не так',
'blog_admin_delete_confirm' => 'Вы уверены, что хотите удалить блог?', 'blog_admin_delete_confirm' => 'Вы уверены, что хотите удалить блог?',
'blog_admin_delete_move' => 'Переместить топики в блог', 'blog_admin_delete_move' => 'Переместить топики в блог',
'blog_delete_clear' => 'Удалить топики', 'blog_delete_clear' => 'Удалить топики',
@ -156,7 +155,6 @@ return array(
'blog_admin_delete_not_empty' => 'Вы не можете удалить блок с записями. Предварительно удалите из блога все записи.', 'blog_admin_delete_not_empty' => 'Вы не можете удалить блок с записями. Предварительно удалите из блога все записи.',
'blog_admin_delete_move_error' => 'Не удалось переместить топики из удаляемого блога', 'blog_admin_delete_move_error' => 'Не удалось переместить топики из удаляемого блога',
'blog_admin_delete_move_personal' => 'Нельзя перемещать топики в персональный блог', 'blog_admin_delete_move_personal' => 'Нельзя перемещать топики в персональный блог',
'blog_admin_user_add_label' => 'Пригласить пользователей:', 'blog_admin_user_add_label' => 'Пригласить пользователей:',
'blog_admin_user_invited' => 'Список приглашенных:', 'blog_admin_user_invited' => 'Список приглашенных:',
'blog_close_show' => 'Это закрытый блог, у вас нет прав на просмотр контента', 'blog_close_show' => 'Это закрытый блог, у вас нет прав на просмотр контента',
@ -171,7 +169,6 @@ return array(
'blog_user_invite_accept' => 'Приглашение принято', 'blog_user_invite_accept' => 'Приглашение принято',
'blog_user_invite_reject' => 'Приглашение отклонено', 'blog_user_invite_reject' => 'Приглашение отклонено',
'blog_user_invite_readd' => 'повторить', 'blog_user_invite_readd' => 'повторить',
/** /**
* Топики * Топики
*/ */
@ -206,7 +203,7 @@ return array(
'topic_menu_add_topic' => 'Топик', 'topic_menu_add_topic' => 'Топик',
'topic_menu_add_question' => 'Опрос', 'topic_menu_add_question' => 'Опрос',
'topic_menu_add_link' => 'Ссылка', 'topic_menu_add_link' => 'Ссылка',
'topic_menu_add_photoset' => 'Фотосет', 'topic_menu_add_photoset' => 'Фотосет',
'topic_menu_saved' => 'Черновики', 'topic_menu_saved' => 'Черновики',
'topic_menu_published' => 'Опубликованные', 'topic_menu_published' => 'Опубликованные',
/** /**
@ -242,7 +239,6 @@ return array(
'topic_create_submit_notice' => 'Если нажать кнопку «Сохранить в черновиках», текст топика будет виден только Вам, а рядом с его заголовком будет отображаться замочек. Чтобы топик был виден всем, нажмите «Опубликовать».', 'topic_create_submit_notice' => 'Если нажать кнопку «Сохранить в черновиках», текст топика будет виден только Вам, а рядом с его заголовком будет отображаться замочек. Чтобы топик был виден всем, нажмите «Опубликовать».',
'topic_create_notice' => 'Не забывайте: тег <cut> сокращает длинные записи, скрывая их целиком или частично под ссылкой («читать дальше»). Скрытая часть не видна в блоге, но доступна в полной записи на странице топика.', 'topic_create_notice' => 'Не забывайте: тег <cut> сокращает длинные записи, скрывая их целиком или частично под ссылкой («читать дальше»). Скрытая часть не видна в блоге, но доступна в полной записи на странице топика.',
'topic_create_error' => 'Возникли технические неполадки при добавлении топика. Пожалуйста, повторите позже.', 'topic_create_error' => 'Возникли технические неполадки при добавлении топика. Пожалуйста, повторите позже.',
'topic_edit' => 'Редактировать', 'topic_edit' => 'Редактировать',
'topic_delete' => 'Удалить', 'topic_delete' => 'Удалить',
'topic_delete_confirm' => 'Вы действительно хотите удалить топик?', 'topic_delete_confirm' => 'Вы действительно хотите удалить топик?',
@ -302,37 +298,34 @@ return array(
'topic_vote_ok' => 'Ваш голос учтен', 'topic_vote_ok' => 'Ваш голос учтен',
'topic_vote_ok_abstain' => 'Вы воздержались для просмотра рейтинга топика', 'topic_vote_ok_abstain' => 'Вы воздержались для просмотра рейтинга топика',
'topic_vote_count' => 'всего проголосовало', 'topic_vote_count' => 'всего проголосовало',
/**
/** * Фотосет
* Фотосет */
*/ 'topic_photoset_create' => 'Создание фотосета',
'topic_photoset_create' => 'Создание фотосета', 'topic_photoset_edit' => 'Редактирование фотосета',
'topic_photoset_edit' => 'Редактирование фотосета', 'topic_photoset_upload_title' => 'Загрузка изображений',
'topic_photoset_upload_title' => 'Загрузка изображений', 'topic_photoset_upload_choose' => 'Загрузить фото',
'topic_photoset_upload_choose' => 'Загрузить фото', 'topic_photoset_upload_close' => 'Закрыть',
'topic_photoset_upload_close' => 'Закрыть', 'topic_photoset_upload_rules' => 'Доступна загрузка изображений в формат JPG, PNG, GIF<br />Размер изображений не должен превышать %%SIZE%% Kб<br />Максимальное число загружаемых изображений: %%COUNT%%',
'topic_photoset_upload_rules' => 'Доступна загрузка изображений в формат JPG, PNG, GIF<br />Размер изображений не должен превышать %%SIZE%% Kб<br />Максимальное число загружаемых изображений: %%COUNT%%', 'topic_photoset_choose_image' => 'Выберите изображение для загрузки',
'topic_photoset_choose_image' => 'Выберите изображение для загрузки', 'topic_photoset_is_preview' => 'Отмечено как превью к топику',
'topic_photoset_is_preview' => 'Отмечено как превью к топику', 'topic_photoset_mark_as_preview' => 'Отметить как превью',
'topic_photoset_mark_as_preview' => 'Отметить как превью', 'topic_photoset_show_all' => 'Показать все %%COUNT%% фото',
'topic_photoset_show_all' => 'Показать все %%COUNT%% фото', 'topic_photoset_count_images' => 'изображение;изображения;изображений',
'topic_photoset_count_images' => 'изображение;изображения;изображений', 'topic_photoset_show_more' => 'Показать ещё фото',
'topic_photoset_show_more' => 'Показать ещё фото', 'topic_photoset_error_count_photos' => 'В топике может быть от %%MIN%% до %%MAX%% фото',
'topic_photoset_error_count_photos' => 'В топике может быть от %%MIN%% до %%MAX%% фото', 'topic_photoset_error_size' => 'У изображения слишком большое разрешение',
'topic_photoset_error_size' => 'У изображения слишком большое разрешение', 'topic_photoset_title' => 'Фотосет',
'topic_photoset_title' => 'Фотосет', 'topic_photoset_photo_deleted' => 'Фото удалено',
'topic_photoset_photo_deleted' => 'Фото удалено', 'topic_photoset_photo_deleted_error_last' => 'Нельзя удалить последню фотографию',
'topic_photoset_photo_deleted_error_last' => 'Нельзя удалить последню фотографию', 'topic_photoset_photo_delete' => 'Удалить',
'topic_photoset_photo_delete' => 'Удалить', 'topic_photoset_photo_delete_confirm' => 'Удалить фото?',
'topic_photoset_photo_delete_confirm' => 'Удалить фото?', 'topic_photoset_photo_added' => 'Фото добавлено',
'topic_photoset_photo_added' => 'Фото добавлено', 'topic_photoset_error_too_much_photos' => 'Топик может содержать не более %%MAX%% фото',
'topic_photoset_error_too_much_photos' => 'Топик может содержать не более %%MAX%% фото', 'topic_photoset_title_edit' => 'Редактирование фотосета',
'topic_photoset_title_edit' => 'Редактирование фотосета', 'topic_photoset_title_create' => 'Создание фотосета',
'topic_photoset_title_create' => 'Создание фотосета', 'topic_photoset_error_bad_filesize' => 'Размер фото должен быть не более %%MAX%% Кб',
'topic_photoset_error_bad_filesize' => 'Размер фото должен быть не более %%MAX%% Кб', 'topic_photoset_photos' => 'фото',
'topic_photoset_photos' => 'фото',
/** /**
* Комментарии * Комментарии
*/ */
@ -362,21 +355,16 @@ return array(
'comment_vote_error_self' => 'Вы не можете голосовать за свой комментарий!', 'comment_vote_error_self' => 'Вы не можете голосовать за свой комментарий!',
'comment_vote_error_noexists' => 'Вы голосуете за несуществующий комментарий!', 'comment_vote_error_noexists' => 'Вы голосуете за несуществующий комментарий!',
'comment_vote_ok' => 'Ваш голос учтен', 'comment_vote_ok' => 'Ваш голос учтен',
'comment_favourite_add' => 'добавить в избранное', 'comment_favourite_add' => 'добавить в избранное',
'comment_favourite_add_ok' => 'Комментарий добавлен в избранное', 'comment_favourite_add_ok' => 'Комментарий добавлен в избранное',
'comment_favourite_add_no' => 'Этого комментария нет в вашем избранном', 'comment_favourite_add_no' => 'Этого комментария нет в вашем избранном',
'comment_favourite_add_already' => 'Этот комментарий уже есть в вашем избранном', 'comment_favourite_add_already' => 'Этот комментарий уже есть в вашем избранном',
'comment_favourite_del' => 'удалить из избранного', 'comment_favourite_del' => 'удалить из избранного',
'comment_favourite_del_ok' => 'Комментарий удален из избранного', 'comment_favourite_del_ok' => 'Комментарий удален из избранного',
/** /**
* Люди * Люди
*/ */
'people' => 'Люди', 'people' => 'Люди',
/** /**
* Пользователь * Пользователь
*/ */
@ -401,7 +389,6 @@ return array(
'user_authorization' => 'Авторизация', 'user_authorization' => 'Авторизация',
'user_registration' => 'Регистрация', 'user_registration' => 'Регистрация',
'user_write_prvmsg' => 'Написать письмо', 'user_write_prvmsg' => 'Написать письмо',
'user_friend_add' => 'Добавить в друзья', 'user_friend_add' => 'Добавить в друзья',
'user_friend_add_ok' => 'У вас появился новый друг', 'user_friend_add_ok' => 'У вас появился новый друг',
'user_friend_add_self' => 'Ваш друг - это вы!', 'user_friend_add_self' => 'Ваш друг - это вы!',
@ -425,7 +412,6 @@ return array(
'user_friend_reject_notice_text' => 'Пользователь %%login%% отказался с вами дружить', 'user_friend_reject_notice_text' => 'Пользователь %%login%% отказался с вами дружить',
'user_friend_del_notice_title' => 'Вас удалили из друзей', 'user_friend_del_notice_title' => 'Вас удалили из друзей',
'user_friend_del_notice_text' => 'У вас больше нет друга %%login%%', 'user_friend_del_notice_text' => 'У вас больше нет друга %%login%%',
'user_rating' => 'Рейтинг', 'user_rating' => 'Рейтинг',
'user_skill' => 'Сила', 'user_skill' => 'Сила',
'user_date_last' => 'Последний визит', 'user_date_last' => 'Последний визит',
@ -438,10 +424,8 @@ return array(
'user_stats_sex_man' => 'Мужчины', 'user_stats_sex_man' => 'Мужчины',
'user_stats_sex_woman' => 'Женщины', 'user_stats_sex_woman' => 'Женщины',
'user_stats_sex_other' => 'Пол не указан', 'user_stats_sex_other' => 'Пол не указан',
'user_not_found' => 'Пользователь <b>%%login%%</b> не найден', 'user_not_found' => 'Пользователь <b>%%login%%</b> не найден',
'user_not_found_by_id' => 'Пользователь <b>#%%id%%</b> не найден', 'user_not_found_by_id' => 'Пользователь <b>#%%id%%</b> не найден',
/** /**
* Меню профиля пользователя * Меню профиля пользователя
*/ */
@ -449,7 +433,6 @@ return array(
'people_menu_users_all' => 'Все', 'people_menu_users_all' => 'Все',
'people_menu_users_online' => 'Онлайн', 'people_menu_users_online' => 'Онлайн',
'people_menu_users_new' => 'Новые', 'people_menu_users_new' => 'Новые',
/** /**
* Регистрация * Регистрация
*/ */
@ -481,7 +464,6 @@ return array(
'registration_captcha_error' => 'Неверный код', 'registration_captcha_error' => 'Неверный код',
'registration_submit' => 'Зарегистрироваться', 'registration_submit' => 'Зарегистрироваться',
'registration_ok' => 'Поздравляем! Регистрация прошла успешно', 'registration_ok' => 'Поздравляем! Регистрация прошла успешно',
/** /**
* Голосование за пользователя * Голосование за пользователя
*/ */
@ -493,22 +475,18 @@ return array(
'user_vote_error_acl' => 'У вас не хватает рейтинга и силы для голосования!', 'user_vote_error_acl' => 'У вас не хватает рейтинга и силы для голосования!',
'user_vote_ok' => 'Ваш голос учтен', 'user_vote_ok' => 'Ваш голос учтен',
'user_vote_count' => 'голосов', 'user_vote_count' => 'голосов',
/** /**
* Меню профиля пользователя * Меню профиля пользователя
*/ */
'user_menu_profile' => 'Профиль', 'user_menu_profile' => 'Профиль',
'user_menu_profile_whois' => 'Whois', 'user_menu_profile_whois' => 'Whois',
'user_menu_profile_favourites' => 'Избранные топики', 'user_menu_profile_favourites' => 'Избранные топики',
'user_menu_profile_favourites_comments' => 'Избранные комментарии', 'user_menu_profile_favourites_comments' => 'Избранные комментарии',
'user_menu_profile_tags' => 'Метки', 'user_menu_profile_tags' => 'Метки',
'user_menu_publication' => 'Публикации', 'user_menu_publication' => 'Публикации',
'user_menu_publication_blog' => 'Блог', 'user_menu_publication_blog' => 'Блог',
'user_menu_publication_comment' => 'Комментарии', 'user_menu_publication_comment' => 'Комментарии',
'user_menu_publication_comment_rss' => 'RSS лента', 'user_menu_publication_comment_rss' => 'RSS лента',
/** /**
* Профиль * Профиль
*/ */
@ -532,27 +510,24 @@ return array(
'profile_date_registration' => 'Зарегистрирован', 'profile_date_registration' => 'Зарегистрирован',
'profile_date_last' => 'Последний визит', 'profile_date_last' => 'Последний визит',
'profile_social_contacts' => 'Контакты и социальные сервисы', 'profile_social_contacts' => 'Контакты и социальные сервисы',
/**
/** * UserFields
* UserFields */
*/ 'user_field_admin_title' => 'Поля контактов пользователей',
'user_field_admin_title' => 'Поля контактов пользователей', 'user_field_add' => 'Добавить',
'user_field_add' => 'Добавить', 'user_field_cancel' => 'Отмена',
'user_field_cancel' => 'Отмена', 'user_field_added' => 'Поле успешно добавлено',
'user_field_added' => 'Поле успешно добавлено', 'user_field_update' => 'Изменить',
'user_field_update' => 'Изменить', 'user_field_updated' => 'Поле успешно изменено',
'user_field_updated' => 'Поле успешно изменено', 'user_field_delete' => 'Удалить',
'user_field_delete' => 'Удалить', 'user_field_delete_confirm' => 'Удалить поле?',
'user_field_delete_confirm' => 'Удалить поле?', 'user_field_deleted' => 'Поле удалено',
'user_field_deleted' => 'Поле удалено', 'userfield_form_name' => 'Имя',
'userfield_form_name' => 'Имя', 'userfield_form_title' => 'Заголовок',
'userfield_form_title' => 'Заголовок', 'userfield_form_pattern' => 'Шаблон (значение подставляется в токен {*})',
'userfield_form_pattern' => 'Шаблон (значение подставляется в токен {*})', 'user_field_error_add_no_name' => 'Необходимо указать название поля',
'user_field_error_add_no_name' => 'Необходимо указать название поля', 'user_field_error_add_no_title' => 'Необходимо указать заголовок поля',
'user_field_error_add_no_title' => 'Необходимо указать заголовок поля', 'user_field_error_name_exists' => 'Поле с таким именем уже существует',
'user_field_error_name_exists' => 'Поле с таким именем уже существует',
/** /**
* Настройки * Настройки
*/ */
@ -608,8 +583,6 @@ return array(
'settings_tuning_notice_new_friend' => 'при добавлении вас в друзья', 'settings_tuning_notice_new_friend' => 'при добавлении вас в друзья',
'settings_tuning_submit' => 'сохранить настройки', 'settings_tuning_submit' => 'сохранить настройки',
'settings_tuning_submit_ok' => 'Настройки успешно сохранены', 'settings_tuning_submit_ok' => 'Настройки успешно сохранены',
/** /**
* Меню настроек * Меню настроек
*/ */
@ -617,7 +590,6 @@ return array(
'settings_menu_profile' => 'Профиль', 'settings_menu_profile' => 'Профиль',
'settings_menu_tuning' => 'Тюнинг', 'settings_menu_tuning' => 'Тюнинг',
'settings_menu_invite' => 'Инвайты', 'settings_menu_invite' => 'Инвайты',
/** /**
* Восстановление пароля * Восстановление пароля
*/ */
@ -628,7 +600,6 @@ return array(
'password_reminder_send_link' => 'Ссылка для восстановления пароля отправлена на ваш адрес электронной почты.', 'password_reminder_send_link' => 'Ссылка для восстановления пароля отправлена на ваш адрес электронной почты.',
'password_reminder_bad_code' => 'Неверный код на восстановление пароля.', 'password_reminder_bad_code' => 'Неверный код на восстановление пароля.',
'password_reminder_bad_email' => 'Пользователь с таким e-mail не найден', 'password_reminder_bad_email' => 'Пользователь с таким e-mail не найден',
/** /**
* Панель * Панель
*/ */
@ -656,7 +627,6 @@ return array(
'panel_clear_tags' => 'очистить от тегов', 'panel_clear_tags' => 'очистить от тегов',
'panel_user' => 'вставить пользователя', 'panel_user' => 'вставить пользователя',
'panel_user_promt' => 'Введите логин пользователя', 'panel_user_promt' => 'Введите логин пользователя',
/** /**
* Блоки * Блоки
*/ */
@ -678,15 +648,12 @@ return array(
'block_stream_comments' => 'Комментарии', 'block_stream_comments' => 'Комментарии',
'block_stream_comments_no' => 'Нет комментариев.', 'block_stream_comments_no' => 'Нет комментариев.',
'block_stream_comments_all' => 'Весь эфир', 'block_stream_comments_all' => 'Весь эфир',
'block_friends' => 'Друзья', 'block_friends' => 'Друзья',
'block_friends_check' => 'Отметить всех', 'block_friends_check' => 'Отметить всех',
'block_friends_uncheck' => 'Снять отметку', 'block_friends_uncheck' => 'Снять отметку',
'block_friends_empty' => 'Список ваших друзей пуст', 'block_friends_empty' => 'Список ваших друзей пуст',
'site_history_back' => 'Вернуться назад', 'site_history_back' => 'Вернуться назад',
'site_go_main' => 'перейти на главную', 'site_go_main' => 'перейти на главную',
/** /**
* Поиск * Поиск
*/ */
@ -696,7 +663,6 @@ return array(
'search_results_empty' => 'Удивительно, но поиск не дал результатов', 'search_results_empty' => 'Удивительно, но поиск не дал результатов',
'search_results_count_topics' => 'топиков', 'search_results_count_topics' => 'топиков',
'search_results_count_comments' => 'комментариев', 'search_results_count_comments' => 'комментариев',
/** /**
* Почта * Почта
*/ */
@ -722,7 +688,6 @@ return array(
'talk_create_text_error' => 'Текст сообщения должен быть от 2 до 3000 символов', 'talk_create_text_error' => 'Текст сообщения должен быть от 2 до 3000 символов',
'talk_create_submit' => 'Отправить', 'talk_create_submit' => 'Отправить',
'talk_time_limit' => 'Вам нельзя отправлять инбоксы слишком часто', 'talk_time_limit' => 'Вам нельзя отправлять инбоксы слишком часто',
'talk_favourite_inbox' => 'Избранные письма', 'talk_favourite_inbox' => 'Избранные письма',
'talk_favourite_add' => 'добавить в избранное', 'talk_favourite_add' => 'добавить в избранное',
'talk_favourite_add_ok' => 'Письмо добавлено в избранное', 'talk_favourite_add_ok' => 'Письмо добавлено в избранное',
@ -731,7 +696,6 @@ return array(
'talk_favourite_del' => 'удалить из избранного', 'talk_favourite_del' => 'удалить из избранного',
'talk_favourite_del_ok' => 'Письмо удалено из избранного', 'talk_favourite_del_ok' => 'Письмо удалено из избранного',
'talk_favourite_empty' => 'Нет писем в избранном', 'talk_favourite_empty' => 'Нет писем в избранном',
'talk_filter_title' => 'Фильтровать', 'talk_filter_title' => 'Фильтровать',
'talk_filter_erase' => 'Сбросить фильтр', 'talk_filter_erase' => 'Сбросить фильтр',
'talk_filter_erase_form' => 'Очистить форму', 'talk_filter_erase_form' => 'Очистить форму',
@ -746,7 +710,6 @@ return array(
'talk_filter_error_date_format' => 'Указан неверный формат даты', 'talk_filter_error_date_format' => 'Указан неверный формат даты',
'talk_filter_result_count' => 'Найдено писем: %%count%%', 'talk_filter_result_count' => 'Найдено писем: %%count%%',
'talk_filter_result_empty' => 'По вашим критериям писем не найдено', 'talk_filter_result_empty' => 'По вашим критериям писем не найдено',
'talk_user_in_blacklist' => 'Пользователь <b>%%login%%</b> не принимает от вас писем', 'talk_user_in_blacklist' => 'Пользователь <b>%%login%%</b> не принимает от вас писем',
'talk_blacklist_title' => 'Не принимать писем от:', 'talk_blacklist_title' => 'Не принимать писем от:',
'talk_blacklist_empty' => 'Принимать от всех', 'talk_blacklist_empty' => 'Принимать от всех',
@ -758,7 +721,6 @@ return array(
'talk_blacklist_delete_ok' => 'Пользователь <b>%%login%%</b> успешно удален', 'talk_blacklist_delete_ok' => 'Пользователь <b>%%login%%</b> успешно удален',
'talk_blacklist_user_not_found' => 'Пользователя <b>%%login%%</b> нет в вашем black list`е', 'talk_blacklist_user_not_found' => 'Пользователя <b>%%login%%</b> нет в вашем black list`е',
'talk_blacklist_add_self' => 'Нельзя добавлять в black list себя', 'talk_blacklist_add_self' => 'Нельзя добавлять в black list себя',
'talk_speaker_title' => 'Участники разговора', 'talk_speaker_title' => 'Участники разговора',
'talk_speaker_add_label' => 'Добавить пользователя', 'talk_speaker_add_label' => 'Добавить пользователя',
'talk_speaker_delete_ok' => 'Участник <b>%%login%%</b> успешно удален', 'talk_speaker_delete_ok' => 'Участник <b>%%login%%</b> успешно удален',
@ -767,75 +729,64 @@ return array(
'talk_speaker_add_ok' => 'Участник <b>%%login%%</b> успешно добавлен', 'talk_speaker_add_ok' => 'Участник <b>%%login%%</b> успешно добавлен',
'talk_speaker_delete_by_self' => 'Участник <b>%%login%%</b> удалил этот разговор', 'talk_speaker_delete_by_self' => 'Участник <b>%%login%%</b> удалил этот разговор',
'talk_speaker_add_self' => 'Нельзя добавлять в участники себя', 'talk_speaker_add_self' => 'Нельзя добавлять в участники себя',
'talk_not_found' => 'Разговор не найден', 'talk_not_found' => 'Разговор не найден',
/**
/** * Userfeed
* Userfeed */
*/ 'userfeed_block_blogs_title' => 'Блоги',
'userfeed_block_blogs_title' => 'Блоги', 'userfeed_block_users_title' => 'Люди',
'userfeed_block_users_title' => 'Люди', 'userfeed_block_users_append' => 'Добавить',
'userfeed_block_users_append' => 'Добавить', 'userfeed_block_users_friends' => 'Друзья',
'userfeed_block_users_friends' => 'Друзья', 'userfeed_subscribes_already_subscribed' => 'Вы уже подписаны на топики этого пользователя',
'userfeed_subscribes_already_subscribed' => 'Вы уже подписаны на топики этого пользователя', 'userfeed_subscribes_updated' => 'Настройки ленты сохранены',
'userfeed_subscribes_updated' => 'Настройки ленты сохранены', 'userfeed_get_more' => 'Получить ещё топики',
'userfeed_get_more' => 'Получить ещё топики',
'userfeed_title' => 'Лента', 'userfeed_title' => 'Лента',
'userfeed_settings_note_follow_blogs' => 'Выберите блоги которые вы хотели бы читать',
'userfeed_settings_note_follow_blogs' => 'Выберите блоги которые вы хотели бы читать', 'userfeed_settings_note_follow_user' => 'Добавьте людей, топики которых вы хотели бы читать',
'userfeed_settings_note_follow_user' => 'Добавьте людей, топики которых вы хотели бы читать', 'userfeed_settings_note_follow_friend' => 'Выберите друзей, топики которых вы хотели бы читать',
'userfeed_settings_note_follow_friend' => 'Выберите друзей, топики которых вы хотели бы читать', 'userfeed_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чьи топики хотите видеть',
'userfeed_no_blogs' => 'Вы не вступили ни в один блог',
'userfeed_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чьи топики хотите видеть', 'userfeed_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя',
'userfeed_no_blogs' => 'Вы не вступили ни в один блог', /**
'userfeed_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя', * Stream
*/
/** 'stream_block_config_title' => 'Настройка событий',
* Stream 'stream_block_users_title' => 'Люди',
*/ 'stream_block_config_append' => 'Добавить',
'stream_block_config_title' => 'Настройка событий', 'stream_block_users_friends' => 'Друзья',
'stream_block_users_title' => 'Люди', 'stream_subscribes_already_subscribed' => 'Вы уже подписаны на этого пользователя',
'stream_block_config_append' => 'Добавить', 'stream_subscribes_updated' => 'Настройки ленты сохранены',
'stream_block_users_friends' => 'Друзья', 'stream_get_more' => 'Получить ещё события',
'stream_subscribes_already_subscribed' => 'Вы уже подписаны на этого пользователя', 'stream_event_type_add_topic' => 'Добавление топика',
'stream_subscribes_updated' => 'Настройки ленты сохранены', 'stream_event_type_add_comment' => 'Добавление комментария',
'stream_get_more' => 'Получить ещё события', 'stream_event_type_add_blog' => 'Добавление блога',
'stream_event_type_add_topic' => 'Добавление топика', 'stream_event_type_vote_topic' => 'Голосование за топик',
'stream_event_type_add_comment' => 'Добавление комментария', 'stream_event_type_vote_comment' => 'Голосование за комментарий',
'stream_event_type_add_blog' => 'Добавление блога', 'stream_event_type_vote_blog' => 'Голосование за блог',
'stream_event_type_vote_topic' => 'Голосование за топик', 'stream_event_type_vote_user' => 'Голосование за пользователя',
'stream_event_type_vote_comment' => 'Голосование за комментарий', 'stream_event_type_add_friend' => 'Добавление в друзья',
'stream_event_type_vote_blog' => 'Голосование за блог', 'stream_event_type_join_blog' => 'Вступление в блог',
'stream_event_type_vote_user' => 'Голосование за пользователя', 'stream_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чью активность хотите видеть',
'stream_event_type_add_friend' => 'Добавление в друзья', 'stream_no_events' => 'Лента активности пуста',
'stream_event_type_join_blog' => 'Вступление в блог', 'stream_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя',
'stream_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чью активность хотите видеть', 'stream_list_user' => 'Пользователь',
'stream_no_events' => 'Лента активности пуста', 'stream_list_event_add_topic' => 'добавил новый топик',
'stream_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя', 'stream_list_event_add_blog' => 'добавил новый блог',
'stream_list_event_add_comment' => 'прокомментировал топик',
'stream_list_user' => 'Пользователь', 'stream_list_event_vote_topic' => 'оценил топик',
'stream_list_event_add_topic' => 'добавил новый топик', 'stream_list_event_vote_blog' => 'оценил блог',
'stream_list_event_add_blog' => 'добавил новый блог', 'stream_list_event_vote_user' => 'оценил пользователя',
'stream_list_event_add_comment' => 'прокомментировал топик', 'stream_list_event_vote_comment' => 'оценил комментарий к топику',
'stream_list_event_vote_topic' => 'оценил топик', 'stream_list_event_join_blog' => 'вступил в блог',
'stream_list_event_vote_blog' => 'оценил блог', 'stream_list_event_add_friend' => 'добавил в друзья пользователя',
'stream_list_event_vote_user' => 'оценил пользователя', 'stream_personal_title' => 'Активность',
'stream_list_event_vote_comment' => 'оценил комментарий к топику', 'stream_settings_note_filter' => 'Выберите действия которые будут отслеживаться',
'stream_list_event_join_blog' => 'вступил в блог', 'stream_settings_note_follow_user' => 'Добавьте людей за активностью которых вы хотели бы следить',
'stream_list_event_add_friend' => 'добавил в друзья пользователя', 'stream_settings_note_follow_friend' => 'Выберите друзей за активностью которых вы хотели бы следить',
'admin_list_plugins' => 'Управление плагинами',
'stream_personal_title' => 'Активность', 'admin_list_userfields' => 'Настройка пользовательских полей',
'admin_list_restorecomment' => 'Перестроение дерева комментариев',
'stream_settings_note_filter' => 'Выберите действия которые будут отслеживаться', 'admin_list_recalcfavourite' => 'Пересчитать счетчики избранных',
'stream_settings_note_follow_user' => 'Добавьте людей за активностью которых вы хотели бы следить',
'stream_settings_note_follow_friend' => 'Выберите друзей за активностью которых вы хотели бы следить',
'admin_list_plugins' => 'Управление плагинами',
'admin_list_userfields' => 'Настройка пользовательских полей',
'admin_list_restorecomment' => 'Перестроение дерева комментариев',
'admin_list_recalcfavourite' => 'Пересчитать счетчики избранных',
/** /**
* Рейтинг TOP * Рейтинг TOP
*/ */
@ -843,12 +794,10 @@ return array(
'top_blogs' => 'TOP Блогов', 'top_blogs' => 'TOP Блогов',
'top_topics' => 'TOP топиков', 'top_topics' => 'TOP топиков',
'top_comments' => 'TOP комментариев', 'top_comments' => 'TOP комментариев',
/** /**
* Поиск по тегам * Поиск по тегам
*/ */
'tag_title' => 'Поиск по тегам', 'tag_title' => 'Поиск по тегам',
/** /**
* Постраничность * Постраничность
*/ */
@ -857,7 +806,6 @@ return array(
'paging_last' => 'последняя', 'paging_last' => 'последняя',
'paging_first' => 'первая', 'paging_first' => 'первая',
'paging' => 'Страницы', 'paging' => 'Страницы',
/** /**
* Загрузка изображений * Загрузка изображений
*/ */
@ -877,7 +825,6 @@ return array(
'uploadimg_submit' => 'Загрузить', 'uploadimg_submit' => 'Загрузить',
'uploadimg_cancel' => 'Отмена', 'uploadimg_cancel' => 'Отмена',
'uploadimg_title' => 'Описание', 'uploadimg_title' => 'Описание',
/** /**
* Уведомления * Уведомления
*/ */
@ -893,14 +840,12 @@ return array(
'notify_subject_blog_invite_new' => 'Вас пригласили вступить в блог', 'notify_subject_blog_invite_new' => 'Вас пригласили вступить в блог',
'notify_subject_reminder_code' => 'Восстановление пароля', 'notify_subject_reminder_code' => 'Восстановление пароля',
'notify_subject_reminder_password' => 'Новый пароль', 'notify_subject_reminder_password' => 'Новый пароль',
/** /**
* Админка * Админка
*/ */
'admin_title' => 'Админка', 'admin_title' => 'Админка',
'admin_comment_restore_tree' => 'Дерево комментариев перестроенно', 'admin_comment_restore_tree' => 'Дерево комментариев перестроенно',
'admin_favourites_recalculated' => 'Счетчики избранных пересчитаны', 'admin_favourites_recalculated' => 'Счетчики избранных пересчитаны',
/** /**
* Страница администрирования плагинов * Страница администрирования плагинов
*/ */
@ -922,8 +867,6 @@ return array(
'plugins_activation_requires_error' => 'Для работы плагина необходим активированный плагин <b>%%plugin%%</b>', 'plugins_activation_requires_error' => 'Для работы плагина необходим активированный плагин <b>%%plugin%%</b>',
'plugins_submit_delete' => 'Удалить плагины', 'plugins_submit_delete' => 'Удалить плагины',
'plugins_delete_confirm' => 'Вы уверены, что желаете удалить указанные плагины?', 'plugins_delete_confirm' => 'Вы уверены, что желаете удалить указанные плагины?',
'system_error_event_args' => 'Некорректное число аргументов при добавлении евента', 'system_error_event_args' => 'Некорректное число аргументов при добавлении евента',
'system_error_event_method' => 'Добавляемый метод евента не найден', 'system_error_event_method' => 'Добавляемый метод евента не найден',
'system_error_404' => 'К сожалению, такой страницы не существует. Вероятно, она была удалена с сервера, либо ее здесь никогда не было.', 'system_error_404' => 'К сожалению, такой страницы не существует. Вероятно, она была удалена с сервера, либо ее здесь никогда не было.',
@ -932,7 +875,6 @@ return array(
'system_error_cache_type' => 'Неверный тип кеширования', 'system_error_cache_type' => 'Неверный тип кеширования',
'system_error_template' => 'Не найден шаблон', 'system_error_template' => 'Не найден шаблон',
'system_error_template_block' => 'Не найден шаблон подключаемого блока', 'system_error_template_block' => 'Не найден шаблон подключаемого блока',
'error' => 'Ошибка', 'error' => 'Ошибка',
'attention' => 'Внимание', 'attention' => 'Внимание',
'system_error' => 'Системная ошибка, повторите позже', 'system_error' => 'Системная ошибка, повторите позже',
@ -946,24 +888,21 @@ return array(
'delete' => 'Удалить', 'delete' => 'Удалить',
'date_day' => 'день', 'date_day' => 'день',
'date_month' => 'месяц', 'date_month' => 'месяц',
'month_array' => array( 'month_array' => array(
1=>array('январь','января','январе'), 1 => array('январь', 'января', 'январе'),
2=>array('февраль','февраля','феврале'), 2 => array('февраль', 'февраля', 'феврале'),
3=>array('март','марта','марте'), 3 => array('март', 'марта', 'марте'),
4=>array('апрель','апреля','апреле'), 4 => array('апрель', 'апреля', 'апреле'),
5=>array('май','мая','мае'), 5 => array('май', 'мая', 'мае'),
6=>array('июнь','июня','июне'), 6 => array('июнь', 'июня', 'июне'),
7=>array('июль','июля','июле'), 7 => array('июль', 'июля', 'июле'),
8=>array('август','августа','августе'), 8 => array('август', 'августа', 'августе'),
9=>array('сентябрь','сентября','сентябре'), 9 => array('сентябрь', 'сентября', 'сентябре'),
10=>array('октябрь','октября','октябре'), 10 => array('октябрь', 'октября', 'октябре'),
11=>array('ноябрь','ноября','ноябре'), 11 => array('ноябрь', 'ноября', 'ноябре'),
12=>array('декабрь','декабря','декабре'), 12 => array('декабрь', 'декабря', 'декабре'),
), ),
'date_year' => 'год', 'date_year' => 'год',
'date_now' => 'Только что', 'date_now' => 'Только что',
'date_today' => 'Сегодня в', 'date_today' => 'Сегодня в',
'date_yesterday' => 'Вчера в', 'date_yesterday' => 'Вчера в',
@ -973,5 +912,4 @@ return array(
'date_hours_back' => '%%hours%% час назад; %%hours%% часа назад; %%hours%% часов назад', 'date_hours_back' => '%%hours%% час назад; %%hours%% часа назад; %%hours%% часов назад',
'date_hours_back_less' => 'Менее часа назад', 'date_hours_back_less' => 'Менее часа назад',
); );
?> ?>

View file

@ -1,77 +1,77 @@
/* Voting */ /* Voting */
.voting { overflow: hidden; zoom: 1; } .voting { overflow: hidden; zoom: 1; }
.voting .total { float: left; padding: 0 7px; font-weight: bold; color: #aaa; } .voting .total { float: left; padding: 0 7px; font-weight: bold; color: #aaa; }
.voting .total a { text-decoration: none; color: #999; outline: none; } .voting .total a { text-decoration: none; color: #999; outline: none; }
.voting.positive .total { color: #390; } .voting.positive .total { color: #390; }
.voting.negative .total { color: #f00; } .voting.negative .total { color: #f00; }
.voting .plus, .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 .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 .plus { background-position: 0 0; }
.voting .minus { background-position: -20px 0; } .voting .minus { background-position: -20px 0; }
.voting .plus:hover { background-position: -10px 0; } .voting .plus:hover { background-position: -10px 0; }
.voting .minus:hover { background-position: -30px 0; } .voting .minus:hover { background-position: -30px 0; }
.voting.voted.plus .plus { background-position: -10px 0; } .voting.voted.plus .plus { background-position: -10px 0; }
.voting.voted.minus .minus { background-position: -30px 0; } .voting.voted.minus .minus { background-position: -30px 0; }
.voting.voted.plus .minus:hover { background-position: -20px 0; } .voting.voted.plus .minus:hover { background-position: -20px 0; }
.voting.voted.minus .plus:hover { background-position: 0 0; } .voting.voted.minus .plus:hover { background-position: 0 0; }
.voting.guest .plus:hover { background-position: 0 0; } .voting.guest .plus:hover { background-position: 0 0; }
.voting.guest .minus:hover { background-position: -20px 0; } .voting.guest .minus:hover { background-position: -20px 0; }
/* Favorite */ /* Favorite */
.favourite { background: url(../images/favorite.png) no-repeat; display: block; height: 16px; width: 16px; position: relative; top: 1px; float: left;} .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:hover { background-position: 0 -16px !important; }
.favourite.active { background-position: 0 -16px; } .favourite.active { background-position: 0 -16px; }
.favourite-count { color: #333; font-weight: bold; float: left; margin-left: 2px; } .favourite-count { color: #333; font-weight: bold; float: left; margin-left: 2px; }
/* Pagination */ /* Pagination */
.pagination ul li { display: inline; margin-right: 5px; } .pagination ul li { display: inline; margin-right: 5px; }
.pagination ul li.active { color: #aaa; } .pagination ul li.active { color: #aaa; }
.pagination.pagination-comments { margin-bottom: 15px; } .pagination.pagination-comments { margin-bottom: 15px; }
/* Switcher */ /* Switcher */
.switcher { overflow: hidden; zoom: 1; margin-bottom: 10px; } .switcher { overflow: hidden; zoom: 1; margin-bottom: 10px; }
.switcher li { float: left; margin-right: 3px; } .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 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 li.active a { border: 0; color: #eee; background: #555; }
.switcher-block { overflow: hidden; zoom: 1; margin-bottom: 10px; } .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 { float: left; padding: 1px 10px 2px; margin-right: 3px; color: #777; background: #eee; cursor: pointer; }
.switcher-block li:hover { background: #ddd; } .switcher-block li:hover { background: #ddd; }
.switcher-block li.active { color: #eee; background: #555; } .switcher-block li.active { color: #eee; background: #555; }
/* System messages */ /* System messages */
.system-message-error { background: #f0c8c8; color: #b22626; padding: 10px 15px; margin-bottom: 15px; } .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; } .system-message-notice { background: #dafad8; color: #4bb23b; padding: 10px 15px; margin-bottom: 15px; }
/* Actions */ /* Actions */
.actions { overflow: hidden; zoom: 1; margin-bottom: 10px; } .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 a { overflow: hidden; zoom: 1; margin-bottom: 10px; color: #333; text-decoration: none; }
.actions li { float: left; margin-right: 10px; } .actions li { float: left; margin-right: 10px; }
.actions li .edit { padding-left: 15px; background: url(../images/edit.png) no-repeat 0 1px; } .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 .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 .rss { padding-left: 15px; background: url(../images/rss.png) no-repeat 0 1px; }
.actions li a:hover { text-decoration: underline; } .actions li a:hover { text-decoration: underline; }
/* Misc */ /* Misc */
.user, .ls-user { padding-left: 12px; background: url(../images/user.png) no-repeat 0 2px; color: #555; } .user, .ls-user { padding-left: 12px; background: url(../images/user.png) no-repeat 0 2px; color: #555; }
.user.inactive { color: #888; } .user.inactive { color: #888; }
.center { width: 300px; margin: 0 auto; } .center { width: 300px; margin: 0 auto; }
.table { width: 100%; margin-bottom: 15px; } .table { width: 100%; margin-bottom: 15px; }
.table thead td { background: #fafafa; } .table thead td { background: #fafafa; }
.table td { border: 1px solid #eee; padding: 5px; } .table td { border: 1px solid #eee; padding: 5px; }
.table tr.active td { background: #F1FCEF; } .table tr.active td { background: #F1FCEF; }
.right { float: right; } .right { float: right; }

View file

@ -1,11 +1,11 @@
{include file='header.tpl'} {include file='header.tpl'}
<ul> <ul>
<li><a href="{router page="admin"}plugins">{$aLang.admin_list_plugins}</a></li> <li><a href="{router page="admin"}plugins">{$aLang.admin_list_plugins}</a></li>
<li><a href="{router page="admin"}userfields">{$aLang.admin_list_userfields}</a></li> <li><a href="{router page="admin"}userfields">{$aLang.admin_list_userfields}</a></li>
<li><a href="{router page="admin"}restorecomment">{$aLang.admin_list_restorecomment}</a></li> <li><a href="{router page="admin"}restorecomment">{$aLang.admin_list_restorecomment}</a></li>
<li><a href="{router page="admin"}recalcfavourite">{$aLang.admin_list_recalcfavourite}</a></li> <li><a href="{router page="admin"}recalcfavourite">{$aLang.admin_list_recalcfavourite}</a></li>
{hook run='admin_action_item'} {hook run='admin_action_item'}
</ul> </ul>
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -3,18 +3,18 @@
<form action="{router page='admin'}plugins/" method="post" id="form_plugins_list"> <form action="{router page='admin'}plugins/" method="post" id="form_plugins_list">
<table class="table"> <table class="table plugins-list">
<thead> <thead>
<tr> <tr>
<td width="20"><input type="checkbox" name="" onclick="ls.tools.checkAll('form_plugins_checkbox', this, true);" /></td> <td width="20"><input type="checkbox" name="" onclick="ls.tools.checkAll('form_plugins_checkbox', this, true);" /></td>
<td>{$aLang.plugins_plugin_name}</td> <td>{$aLang.plugins_plugin_name}</td>
<td>{$aLang.plugins_plugin_version}</td> <td>{$aLang.plugins_plugin_version}</td>
<td>{$aLang.plugins_plugin_author}</td> <td>{$aLang.plugins_plugin_author}</td>
<td>{$aLang.plugins_plugin_settings}</td> <td>{$aLang.plugins_plugin_settings}</td>
<td>{$aLang.plugins_plugin_action}</td> <td>{$aLang.plugins_plugin_action}</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$aPlugins item=aPlugin} {foreach from=$aPlugins item=aPlugin}
<tr {if $aPlugin.is_active}class="active"{/if}> <tr {if $aPlugin.is_active}class="active"{/if}>
@ -25,13 +25,13 @@
{$aPlugin.property->homepage} {$aPlugin.property->homepage}
</td> </td>
<td>{$aPlugin.property->version|escape:'html'}</td> <td>{$aPlugin.property->version|escape:'html'}</td>
<td>{$aPlugin.property->author->data|escape:'html'}</td> <td>{$aPlugin.property->author->data|escape:'html'}</td>
<td>{if $aPlugin.is_active}<a href="{$aPlugin.property->settings}">{$aPlugin.property->settings}</a>{else}{$aPlugin.property->settings}{/if}</td> <td>{if $aPlugin.is_active}<a href="{$aPlugin.property->settings}">{$aPlugin.property->settings}</a>{else}{$aPlugin.property->settings}{/if}</td>
<td> <td>
{if $aPlugin.is_active} {if $aPlugin.is_active}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=deactivate&security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_deactivate}</a> <a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&amp;action=deactivate&amp;security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_deactivate}</a>
{else} {else}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=activate&security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_activate}</a> <a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&amp;action=activate&amp;security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_activate}</a>
{/if} {/if}
</td> </td>
</tr> </tr>
@ -39,9 +39,9 @@
</tbody> </tbody>
</table> </table>
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" /> <input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<input type="submit" name="submit_plugins_del" value="{$aLang.plugins_submit_delete}" onclick="return ($$('.form_plugins_checkbox:checked').length==0)?false:confirm('{$aLang.plugins_delete_confirm}');" /> <input type="submit" name="submit_plugins_del" value="{$aLang.plugins_submit_delete}" onclick="return ($$('.form_plugins_checkbox:checked').length==0)?false:confirm('{$aLang.plugins_delete_confirm}');" />
</form> </form>
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -5,23 +5,23 @@
<div class="userfield-form jqmWindow" id="userfield_form"> <div class="userfield-form jqmWindow" id="userfield_form">
<p><label for="user_fields_add_name">{$aLang.userfield_form_name}</label><br /> <p><label for="user_fields_form_name">{$aLang.userfield_form_name}</label><br />
<input type="text" id="user_fields_form_name" class="input-text" /></p> <input type="text" id="user_fields_form_name" class="input-text" /></p>
<p><label for="user_fields_add_title">{$aLang.userfield_form_title}</label><br /> <p><label for="user_fields_form_title">{$aLang.userfield_form_title}</label><br />
<input type="text" id="user_fields_form_title" class="input-text" /></p> <input type="text" id="user_fields_form_title" class="input-text" /></p>
<p><label for="user_fields_add_pattern">{$aLang.userfield_form_pattern}</label><br /> <p><label for="user_fields_form_pattern">{$aLang.userfield_form_pattern}</label><br />
<input type="text" id="user_fields_form_pattern" class="input-text" /></p> <input type="text" id="user_fields_form_pattern" class="input-text" /></p>
<input type="hidden" id="user_fields_form_action" /> <input type="hidden" id="user_fields_form_action" />
<input type="hidden" id="user_fields_form_id" /> <input type="hidden" id="user_fields_form_id" />
<input type="button" value="{$aLang.user_field_add}" class="button" onclick="ls.userfield.applyForm(); return false;" /> <input type="button" value="{$aLang.user_field_add}" class="button" onclick="ls.userfield.applyForm(); return false;" />
<input type="button" value="{$aLang.user_field_cancel}" class="button jqmClose" /> <input type="button" value="{$aLang.user_field_cancel}" class="button jqmClose" />
</div> </div>
<a href="javascript:ls.userfield.showAddForm()" class="userfield-add" id="userfield_form_show">{$aLang.user_field_add}</a> <a href="javascript:ls.userfield.showAddForm()" class="userfield-add" id="userfield_form_show">{$aLang.user_field_add}</a>
<br /><br /> <br /><br />
@ -29,15 +29,15 @@
{foreach from=$aUserFields item=oField} {foreach from=$aUserFields item=oField}
<li id="field_{$oField->getId()}"><span class="userfield_admin_name">{$oField->getName()|escape:"html"}</span> <li id="field_{$oField->getId()}"><span class="userfield_admin_name">{$oField->getName()|escape:"html"}</span>
/ <span class="userfield_admin_title">{$oField->getTitle()|escape:"html"}</span> / <span class="userfield_admin_title">{$oField->getTitle()|escape:"html"}</span>
/ <span class="userfield_admin_pattern">{$oField->getPattern()|escape:"html"}</span> / <span class="userfield_admin_pattern">{$oField->getPattern()|escape:"html"}</span>
<div class="uf-actions"> <div class="uf-actions">
<a href="javascript:ls.userfield.showEditForm({$oField->getId()})" title="{$aLang.user_field_update}"><img src="{cfg name='path.static.skin'}/images/edit.gif" alt="image" /></a> <a href="javascript:ls.userfield.showEditForm({$oField->getId()})" title="{$aLang.user_field_update}"><img src="{cfg name='path.static.skin'}/images/edit.gif" alt="image" /></a>
<a href="javascript:ls.userfield.deleteUserfield({$oField->getId()})" title="{$aLang.user_field_delete}"><img src="{cfg name='path.static.skin'}/images/delete.gif" alt="image" /></a> <a href="javascript:ls.userfield.deleteUserfield({$oField->getId()})" title="{$aLang.user_field_delete}"><img src="{cfg name='path.static.skin'}/images/delete.gif" alt="image" /></a>
</div> </div>
</li> </li>
{/foreach} {/foreach}
</ul> </ul>
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -16,50 +16,50 @@
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script> <script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script>
<script type="text/javascript"> <script type="text/javascript">
{literal} {literal}
tinyMCE.init({ tinyMCE.init({
mode : "textareas", mode : "textareas",
theme : "advanced", theme : "advanced",
theme_advanced_toolbar_location : "top", theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left", theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code", theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "", theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "", theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom", theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true, theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0, theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0, theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false, theme_advanced_path : false,
object_resizing : true, object_resizing : true,
force_br_newlines : true, force_br_newlines : true,
forced_root_block : '', // Needed for 3.x forced_root_block : '', // Needed for 3.x
force_p_newlines : false, force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak", plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false, convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]", extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>", pagebreak_separator :"<cut>",
media_strict : false, media_strict : false,
language : TINYMCE_LANG, language : TINYMCE_LANG,
inline_styles:false, inline_styles:false,
formats : { formats : {
underline : {inline : 'u', exact : true}, underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true} strikethrough : {inline : 's', exact : true}
} }
}); });
{/literal} {/literal}
</script> </script>
{else} {else}
{include file='window_load_img.tpl' sToLoad='topic_text'} {include file='window_load_img.tpl' sToLoad='topic_text'}
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li"}); ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li"});
// Подключаем редактор // Подключаем редактор
$('#blog_description').markItUp(getMarkitupSettings()); $('#blog_description').markItUp(getMarkitupSettings());
}); });
</script> </script>
{/if} {/if}
<form action="" method="POST" enctype="multipart/form-data"> <form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_blog_begin'} {hook run='form_add_blog_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" /> <input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -80,9 +80,9 @@
<span id="blog_type_note_open" style="display:none;">{$aLang.blog_create_type_open_notice}</span> <span id="blog_type_note_open" style="display:none;">{$aLang.blog_create_type_open_notice}</span>
<span id="blog_type_note_close" style="display:none;">{$aLang.blog_create_type_close_notice}</span></p> <span id="blog_type_note_close" style="display:none;">{$aLang.blog_create_type_close_notice}</span></p>
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.blog.loadInfoType($('#blog_type').val()); ls.blog.loadInfoType($('#blog_type').val());
}); });
</script> </script>
<p><label for="blog_description">{$aLang.blog_create_description}:</label><br /> <p><label for="blog_description">{$aLang.blog_create_description}:</label><br />

View file

@ -2,7 +2,7 @@
{include file='menu.blog_edit.tpl'} {include file='menu.blog_edit.tpl'}
{if $aBlogUsers} {if $aBlogUsers}
<form action="" method="POST" enctype="multipart/form-data"> <form action="#" method="POST" enctype="multipart/form-data">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" /> <input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<table class="table"> <table class="table">
<thead> <thead>

View file

@ -7,7 +7,7 @@
{if $oUserCurrent and $oUserCurrent->isAdministrator()} {if $oUserCurrent and $oUserCurrent->isAdministrator()}
<form id="blog_delete_form" class="blog-delete-form jqmWindow" action="{router page='blog'}delete/{$oBlog->getId()}/" method="POST"> <form id="blog_delete_form" class="blog-delete-form jqmWindow" action="{router page='blog'}delete/{$oBlog->getId()}/" method="POST">
<a href="#" class="close jqmClose"></a> <a href="#" class="close jqmClose"></a>
<p>{$aLang.blog_admin_delete_move}</p> <p>{$aLang.blog_admin_delete_move}</p>
<p><select name="topic_move_to"> <p><select name="topic_move_to">
<option value="-1">{$aLang.blog_delete_clear}</option> <option value="-1">{$aLang.blog_delete_clear}</option>
@ -19,7 +19,7 @@
</optgroup> </optgroup>
{/if} {/if}
</select></p> </select></p>
<input type="hidden" value="{$LIVESTREET_SECURITY_KEY}" name="security_ls_key" /> <input type="hidden" value="{$LIVESTREET_SECURITY_KEY}" name="security_ls_key" />
<input type="submit" value="{$aLang.blog_delete}" /> <input type="submit" value="{$aLang.blog_delete}" />
</form> </form>
@ -35,14 +35,14 @@
<a href="#" class="minus" onclick="return ls.vote.vote({$oBlog->getId()},this,-1,'blog');"></a> <a href="#" class="minus" onclick="return ls.vote.vote({$oBlog->getId()},this,-1,'blog');"></a>
<div class="text">{$aLang.blog_vote_count}: <span id="vote_count_blog_{$oBlog->getId()}">{$oBlog->getCountVote()}</span></div> <div class="text">{$aLang.blog_vote_count}: <span id="vote_count_blog_{$oBlog->getId()}">{$oBlog->getCountVote()}</span></div>
</div> </div>
<div class="blog-header"> <div class="blog-header">
<img src="{$oBlog->getAvatarPath(24)}" alt="avatar" class="avatar" /> <img src="{$oBlog->getAvatarPath(24)}" alt="avatar" class="avatar" />
<h2 id="show_blog_info"><a href="#">{$oBlog->getTitle()|escape:'html'}</a></h2> <h2 id="show_blog_info"><a href="#">{$oBlog->getTitle()|escape:'html'}</a></h2>
</div> </div>
<ul class="actions"> <ul class="actions">
<li><a href="{router page='rss'}blog/{$oBlog->getUrl()}/" class="rss"></a></li> <li><a href="{router page='rss'}blog/{$oBlog->getUrl()}/" class="rss"></a></li>
{if $oUserCurrent and $oUserCurrent->getId()!=$oBlog->getOwnerId()} {if $oUserCurrent and $oUserCurrent->getId()!=$oBlog->getOwnerId()}
@ -59,13 +59,13 @@
</li> </li>
{/if} {/if}
</ul> </ul>
<div class="blog-info" id="blog_info"> <div class="blog-info" id="blog_info">
<h3>{$aLang.blog_about}</h3> <h3>{$aLang.blog_about}</h3>
<p>{$oBlog->getDescription()|nl2br}</p> <p>{$oBlog->getDescription()|nl2br}</p>
<div class="blog-wrapper"> <div class="blog-wrapper">
<div class="blog-admins"> <div class="blog-admins">
<h3>{$aLang.blog_user_administrators} ({$iCountBlogAdministrators})</h3> <h3>{$aLang.blog_user_administrators} ({$iCountBlogAdministrators})</h3>
@ -75,39 +75,39 @@
<a href="{$oUserOwner->getUserWebPath()}"><img src="{$oUserOwner->getProfileAvatarPath(48)}" alt="avatar" title="{$oUserOwner->getLogin()}"/></a> <a href="{$oUserOwner->getUserWebPath()}"><img src="{$oUserOwner->getProfileAvatarPath(48)}" alt="avatar" title="{$oUserOwner->getLogin()}"/></a>
<a href="{$oUserOwner->getUserWebPath()}">{$oUserOwner->getLogin()}</a> <a href="{$oUserOwner->getUserWebPath()}">{$oUserOwner->getLogin()}</a>
</li> </li>
{if $aBlogAdministrators} {if $aBlogAdministrators}
{foreach from=$aBlogAdministrators item=oBlogUser} {foreach from=$aBlogAdministrators item=oBlogUser}
{assign var="oUser" value=$oBlogUser->getUser()} {assign var="oUser" value=$oBlogUser->getUser()}
<li> <li>
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" alt="" title="{$oUser->getLogin()}"/></a> <a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" alt="" title="{$oUser->getLogin()}"/></a>
<a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a> <a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
</li> </li>
{/foreach} {/foreach}
{/if} {/if}
</ul> </ul>
</div> </div>
<div class="blog-mods"> <div class="blog-mods">
<h3>{$aLang.blog_user_moderators} ({$iCountBlogModerators})</h3> <h3>{$aLang.blog_user_moderators} ({$iCountBlogModerators})</h3>
{if $aBlogModerators} {if $aBlogModerators}
<ul class="user-list"> <ul class="user-list">
{foreach from=$aBlogModerators item=oBlogUser} {foreach from=$aBlogModerators item=oBlogUser}
{assign var="oUser" value=$oBlogUser->getUser()} {assign var="oUser" value=$oBlogUser->getUser()}
<li> <li>
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" alt="" title="{$oUser->getLogin()}"/></a> <a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" alt="" title="{$oUser->getLogin()}"/></a>
<a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a> <a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
</li> </li>
{/foreach} {/foreach}
</ul> </ul>
{else} {else}
{$aLang.blog_user_moderators_empty} {$aLang.blog_user_moderators_empty}
{/if} {/if}
</div> </div>
</div> </div>
<h3>{$aLang.blog_user_readers} ({$iCountBlogUsers})</h3> <h3>{$aLang.blog_user_readers} ({$iCountBlogUsers})</h3>
{if $aBlogUsers} {if $aBlogUsers}
{foreach from=$aBlogUsers item=oBlogUser} {foreach from=$aBlogUsers item=oBlogUser}
@ -119,7 +119,7 @@
{/if} {/if}
{else} {else}
{$aLang.blog_user_readers_empty} {$aLang.blog_user_readers_empty}
{/if} {/if}
</div> </div>
</div> </div>

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu='blog'} {include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'} {include file='topic_list.tpl'}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -4,7 +4,7 @@
<input type="text" id="blog_admin_user_add" name="add" class="input-200 autocomplete-users" /></label></p> <input type="text" id="blog_admin_user_add" name="add" class="input-200 autocomplete-users" /></label></p>
</form> </form>
<h2>{$aLang.blog_admin_user_invited}</h2> <h2>{$aLang.blog_admin_user_invited}</h2>
<div id="invited_list_block"> <div id="invited_list_block">
@ -12,7 +12,7 @@
<ul class="list" id="invited_list"> <ul class="list" id="invited_list">
{foreach from=$aBlogUsersInvited item=oBlogUser} {foreach from=$aBlogUsersInvited item=oBlogUser}
{assign var='oUser' value=$oBlogUser->getUser()} {assign var='oUser' value=$oBlogUser->getUser()}
<li><a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> - <a href="#" onclick="return ls.blog.repeatInvite({$oUser->getId()}, {$oBlogEdit->getId()});">{$aLang.blog_user_invite_readd}</a></li> <li><a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> - <a href="#" onclick="return ls.blog.repeatInvite({$oUser->getId()}, {$oBlogEdit->getId()});">{$aLang.blog_user_invite_readd}</a></li>
{/foreach} {/foreach}
</ul> </ul>
{/if} {/if}

View file

@ -2,8 +2,8 @@
{include file='topic.tpl'} {include file='topic.tpl'}
{include {include
file='comment_tree.tpl' file='comment_tree.tpl'
iTargetId=$oTopic->getId() iTargetId=$oTopic->getId()
sTargetType='topic' sTargetType='topic'
iCountComment=$oTopic->getCountComment() iCountComment=$oTopic->getCountComment()
@ -11,7 +11,7 @@
bAllowNewComment=$oTopic->getForbidComment() bAllowNewComment=$oTopic->getForbidComment()
sNoticeNotAllow=$aLang.topic_comment_notallow sNoticeNotAllow=$aLang.topic_comment_notallow
sNoticeCommentAdd=$aLang.topic_comment_add sNoticeCommentAdd=$aLang.topic_comment_add
aPagingCmt=$aPagingCmt} aPagingCmt=$aPagingCmt}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,7 +1,7 @@
{include file='header.tpl'} {include file='header.tpl'}
<h2>{$aLang.blog_user_readers_all} ({$iCountBlogUsers}): <a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()}</a></h2> <h2>{$aLang.blog_user_readers_all} ({$iCountBlogUsers}): <a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()}</a></h2>
<div class="page people"> <div class="page people">
{if $aBlogUsers} {if $aBlogUsers}
@ -13,24 +13,24 @@
<td align="center" width="60">{$aLang.user_rating}</td> <td align="center" width="60">{$aLang.user_rating}</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$aBlogUsers item=oBlogUser} {foreach from=$aBlogUsers item=oBlogUser}
{assign var="oUser" value=$oBlogUser->getUser()} {assign var="oUser" value=$oBlogUser->getUser()}
<tr> <tr>
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td> <td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td align="center" class="strength">{$oUser->getSkill()}</td> <td align="center" class="strength">{$oUser->getSkill()}</td>
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td> <td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
<br/> <br/>
{include file='paging.tpl' aPaging=$aPaging} {include file='paging.tpl' aPaging=$aPaging}
{else} {else}
{$aLang.blog_user_readers_empty} {$aLang.blog_user_readers_empty}
{/if} {/if}
</div> </div>

View file

@ -3,5 +3,4 @@
<h2>{$aLang.comments_all}</h2> <h2>{$aLang.comments_all}</h2>
{include file='comment_list.tpl'} {include file='comment_list.tpl'}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu='blog'} {include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'} {include file='topic_list.tpl'}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -12,7 +12,7 @@
{/if} {/if}
{hook run='add_topic_link_begin'} {hook run='add_topic_link_begin'}
<form action="" method="POST" enctype="multipart/form-data"> <form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_link_begin'} {hook run='form_add_topic_link_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" /> <input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -25,12 +25,12 @@
{/foreach} {/foreach}
</select></p> </select></p>
<script language="JavaScript" type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.blog.loadInfo($('#blog_id').val()); ls.blog.loadInfo($('#blog_id').val());
}); });
</script> </script>
<p><label for="topic_title">{$aLang.topic_create_title}:</label><br /> <p><label for="topic_title">{$aLang.topic_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br /> <input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br />
<span class="note">{$aLang.topic_create_title_notice}</span></p> <span class="note">{$aLang.topic_create_title_notice}</span></p>
@ -55,7 +55,7 @@
{$aLang.topic_create_publish_index}</label><br /> {$aLang.topic_create_publish_index}</label><br />
<span class="note">{$aLang.topic_create_publish_index_notice}</span></p> <span class="note">{$aLang.topic_create_publish_index_notice}</span></p>
{/if} {/if}
{hook run='form_add_topic_link_end'} {hook run='form_add_topic_link_end'}
<p class="buttons"> <p class="buttons">

View file

@ -14,10 +14,10 @@
<p><label>{$aLang.user_login}<br /><input type="text" name="login" class="input-text" /></label></p> <p><label>{$aLang.user_login}<br /><input type="text" name="login" class="input-text" /></label></p>
<p><label>{$aLang.user_password}<br /><input type="password" name="password" class="input-text" /></label></p> <p><label>{$aLang.user_password}<br /><input type="password" name="password" class="input-text" /></label></p>
<input type="submit" name="submit_login" class="button button-login" value="{$aLang.user_login_submit}" /> <input type="submit" name="submit_login" class="button button-login" value="{$aLang.user_login_submit}" />
<label><input type="checkbox" name="remember" checked class="checkbox" />{$aLang.user_login_remember}</label> <label><input type="checkbox" name="remember" checked class="checkbox" />{$aLang.user_login_remember}</label>
<br /><br /> <br /><br />
<p><a href="{router page='registration'}">{$aLang.user_registration}</a><br /> <p><a href="{router page='registration'}">{$aLang.user_registration}</a><br />
<a href="{router page='login'}reminder/">{$aLang.user_password_reminder}</a></p> <a href="{router page='login'}reminder/">{$aLang.user_password_reminder}</a></p>

View file

@ -7,7 +7,7 @@
<h2>{$aLang.password_reminder}</h2> <h2>{$aLang.password_reminder}</h2>
<p><label for="mail">{$aLang.password_reminder_email}<br /> <p><label for="mail">{$aLang.password_reminder_email}<br />
<input type="text" name="mail" id="name" class="input-200" /></label></p> <input type="text" name="mail" id="mail" class="input-200" /></label></p>
<input type="submit" name="submit_reminder" class="button" value="{$aLang.password_reminder_submit}" /> <input type="submit" name="submit_reminder" class="button" value="{$aLang.password_reminder_submit}" />
</form> </form>

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu="profile"} {include file='header.tpl' menu="profile"}
{include file='topic_list.tpl'} {include file='topic_list.tpl'}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu='blog'} {include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'} {include file='topic_list.tpl'}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,37 +1,37 @@
{include file='header.tpl' menu='people'} {include file='header.tpl' menu='people'}
<h2>{$aLang.user_list}: <span>{$oCity->getName()|escape:'html'}</span></h2> <h2>{$aLang.user_list}: <span>{$oCity->getName()|escape:'html'}</span></h2>
{if $aUsersCity} {if $aUsersCity}
<table class="table table-people"> <table class="table table-people">
<thead> <thead>
<tr> <tr>
<td>{$aLang.user}</td> <td>{$aLang.user}</td>
<td align="center" width="160">{$aLang.user_date_last}</td> <td align="center" width="160">{$aLang.user_date_last}</td>
<td align="center" width="160">{$aLang.user_date_registration}</td> <td align="center" width="160">{$aLang.user_date_registration}</td>
<td align="center" width="60">{$aLang.user_skill}</td> <td align="center" width="60">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td> <td align="center" width="80">{$aLang.user_rating}</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$aUsersCity item=oUser} {foreach from=$aUsersCity item=oUser}
{assign var="oSession" value=$oUser->getSession()} {assign var="oSession" value=$oUser->getSession()}
<tr> <tr>
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td> <td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td align="center" class="date">{if $oSession}{date_format date=$oSession->getDateLast()}{/if}</td> <td align="center" class="date">{if $oSession}{date_format date=$oSession->getDateLast()}{/if}</td>
<td align="center" class="date">{date_format date=$oUser->getDateRegister()}</td> <td align="center" class="date">{date_format date=$oUser->getDateRegister()}</td>
<td align="center" class="strength">{$oUser->getSkill()}</td> <td align="center" class="strength">{$oUser->getSkill()}</td>
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td> <td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
{else} {else}
{$aLang.user_empty} {$aLang.user_empty}
{/if} {/if}
{include file='paging.tpl' aPaging="$aPaging"} {include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -7,8 +7,8 @@
<table class="table table-people"> <table class="table table-people">
<thead> <thead>
<tr> <tr>
<td >{$aLang.user}</td> <td >{$aLang.user}</td>
<td align="center" width="160">{$aLang.user_date_last}</td> <td align="center" width="160">{$aLang.user_date_last}</td>
<td align="center" width="160">{$aLang.user_date_registration}</td> <td align="center" width="160">{$aLang.user_date_registration}</td>
<td align="center" width="60">{$aLang.user_skill}</td> <td align="center" width="60">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td> <td align="center" width="80">{$aLang.user_rating}</td>
@ -19,13 +19,13 @@
{foreach from=$aUsersCountry item=oUser} {foreach from=$aUsersCountry item=oUser}
{assign var="oSession" value=$oUser->getSession()} {assign var="oSession" value=$oUser->getSession()}
<tr> <tr>
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td> <td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td align="center" class="date">{if $oSession}{date_format date=$oSession->getDateLast()}{/if}</td> <td align="center" class="date">{if $oSession}{date_format date=$oSession->getDateLast()}{/if}</td>
<td align="center" class="date">{date_format date=$oUser->getDateRegister()}</td> <td align="center" class="date">{date_format date=$oUser->getDateRegister()}</td>
<td align="center" class="strength">{$oUser->getSkill()}</td> <td align="center" class="strength">{$oUser->getSkill()}</td>
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td> <td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
{else} {else}

View file

@ -1,6 +1,6 @@
{include file='header.tpl' menu='people'} {include file='header.tpl' menu='people'}
<h2>{$aLang.user_list} <span>({$aStat.count_all})</span></h2> <h2>{$aLang.user_list} <span>({$aStat.count_all})</span></h2>
<ul class="switcher"> <ul class="switcher">
@ -12,24 +12,24 @@
<table class="table table-people"> <table class="table table-people">
<thead> <thead>
<tr> <tr>
<td>{$aLang.user}</td> <td class="user-login">{$aLang.user}</td>
<td align="center" width="60">{$aLang.user_skill}</td> <td class="user-skill">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td> <td class="user-rating">{$aLang.user_rating}</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$aUsersRating item=oUser} {foreach from=$aUsersRating item=oUser}
<tr> <tr>
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td> <td class="user-login"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td align="center" class="strength">{$oUser->getSkill()}</td> <td class="user-skill strength">{$oUser->getSkill()}</td>
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td> <td class="user-rating rating"><strong>{$oUser->getRating()}</strong></td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
{else} {else}
{$aLang.user_empty} {$aLang.user_empty}
{/if} {/if}

View file

@ -1,28 +1,28 @@
{include file='header.tpl' menu='people'} {include file='header.tpl' menu='people'}
<h2>{$aLang.user_list_new}</h2> <h2>{$aLang.user_list_new}</h2>
{if $aUsersRegister} {if $aUsersRegister}
<table class="table table-people"> <table class="table table-people">
<thead> <thead>
<tr> <tr>
<td>{$aLang.user}</td> <td class="user-login">{$aLang.user}</td>
<td align="center" width="170">{$aLang.user_date_registration}</td> <td class="user-date-registration">{$aLang.user_date_registration}</td>
<td align="center" width="60">{$aLang.user_skill}</td> <td class="user-skill">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td> <td class="user-rating">{$aLang.user_rating}</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$aUsersRegister item=oUser} {foreach from=$aUsersRegister item=oUser}
<tr> <tr>
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td> <td class="user-login"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td align="center" class="date">{date_format date=$oUser->getDateRegister()}</td> <td class="user-date-registration date">{date_format date=$oUser->getDateRegister()}</td>
<td align="center" class="strength">{$oUser->getSkill()}</td> <td class="user-skill strength">{$oUser->getSkill()}</td>
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td> <td class="user-rating rating"><strong>{$oUser->getRating()}</strong></td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
{else} {else}

View file

@ -1,35 +1,35 @@
{include file='header.tpl' menu='people'} {include file='header.tpl' menu='people'}
<h2>{$aLang.user_list_online_last}</h2> <h2>{$aLang.user_list_online_last}</h2>
{if $aUsersLast} {if $aUsersLast}
<table class="table table-people"> <table class="table table-people">
<thead> <thead>
<tr> <tr>
<td>{$aLang.user}</td> <td class="user-login">{$aLang.user}</td>
<td align="center" width="170">{$aLang.user_date_last}</td> <td class="user-date-last">{$aLang.user_date_last}</td>
<td align="center" width="80">{$aLang.user_skill}</td> <td class="user-skill">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td> <td class="user-rating">{$aLang.user_rating}</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$aUsersLast item=oUser} {foreach from=$aUsersLast item=oUser}
{assign var="oSession" value=$oUser->getSession()} {assign var="oSession" value=$oUser->getSession()}
<tr> <tr>
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td> <td class="user-login"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td align="center" class="date">{date_format date=$oSession->getDateLast()}</td> <td class="user-date-last date">{date_format date=$oSession->getDateLast()}</td>
<td align="center" class="strength">{$oUser->getSkill()}</td> <td class="user-skill strength">{$oUser->getSkill()}</td>
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td> <td class="user-rating rating"><strong>{$oUser->getRating()}</strong></td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
{else} {else}
{$aLang.user_empty} {$aLang.user_empty}
{/if} {/if}
{include file='paging.tpl' aPaging="$aPaging"} {include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,14 +1,14 @@
<div class="block"> <div class="block">
<h2>{$aLang.user_stats}</h2> <h2>{$aLang.user_stats}</h2>
<ul> <ul>
<li>{$aLang.user_stats_all}: <strong>{$aStat.count_all}</strong></li> <li>{$aLang.user_stats_all}: <strong>{$aStat.count_all}</strong></li>
<li>{$aLang.user_stats_active}: <strong>{$aStat.count_active}</strong></li> <li>{$aLang.user_stats_active}: <strong>{$aStat.count_active}</strong></li>
<li>{$aLang.user_stats_noactive}: <strong>{$aStat.count_inactive}</strong></li> <li>{$aLang.user_stats_noactive}: <strong>{$aStat.count_inactive}</strong></li>
</ul> </ul>
<br /> <br />
<ul> <ul>
<li>{$aLang.user_stats_sex_man}: <strong>{$aStat.count_sex_man}</strong></li> <li>{$aLang.user_stats_sex_man}: <strong>{$aStat.count_sex_man}</strong></li>
<li>{$aLang.user_stats_sex_woman}: <strong>{$aStat.count_sex_woman}</strong></li> <li>{$aLang.user_stats_sex_woman}: <strong>{$aStat.count_sex_woman}</strong></li>

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu='blog'} {include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'} {include file='topic_list.tpl'}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -5,56 +5,56 @@
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script> <script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script>
<script type="text/javascript"> <script type="text/javascript">
{literal} {literal}
tinyMCE.init({ tinyMCE.init({
mode : "textareas", mode : "textareas",
theme : "advanced", theme : "advanced",
theme_advanced_toolbar_location : "top", theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left", theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code", theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "", theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "", theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom", theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true, theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0, theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0, theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false, theme_advanced_path : false,
object_resizing : true, object_resizing : true,
force_br_newlines : true, force_br_newlines : true,
forced_root_block : '', // Needed for 3.x forced_root_block : '', // Needed for 3.x
force_p_newlines : false, force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak", plugins : "lseditor,safari,inlinepopups,media,pagebreak",
inline_styles:false, inline_styles:false,
formats : { formats : {
underline : {inline : 'u', exact : true}, underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true} strikethrough : {inline : 's', exact : true}
}, },
convert_urls : false, convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]", extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>", pagebreak_separator :"<cut>",
media_strict : false, media_strict : false,
language : TINYMCE_LANG language : TINYMCE_LANG
}); });
{/literal} {/literal}
</script> </script>
{else} {else}
{include file='window_load_img.tpl' sToLoad='topic_text'} {include file='window_load_img.tpl' sToLoad='topic_text'}
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"}); ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор // Подключаем редактор
$('#topic_text').markItUp(getMarkitupSettings()); $('#topic_text').markItUp(getMarkitupSettings());
}); });
</script> </script>
{/if} {/if}
<script type="text/javascript"> <script type="text/javascript">
if (jQuery.browser.flash) { if (jQuery.browser.flash) {
ls.photoset.initSwfUpload({ ls.photoset.initSwfUpload({
post_params: { 'topic_id':'{$_aRequest.topic_id}' } post_params: { 'topic_id':'{$_aRequest.topic_id}' }
}); });
} }
</script> </script>
<div class="topic" style="display: none;"> <div class="topic" style="display: none;">
@ -67,38 +67,39 @@ if (jQuery.browser.flash) {
{else} {else}
<h2>{$aLang.topic_photoset_edit}</h2> <h2>{$aLang.topic_photoset_edit}</h2>
{/if} {/if}
<form id="photoset-upload-form" method="POST" enctype="multipart/form-data" onsubmit="return false;">
<p id="topic-photo-upload-input" class="topic-photo-upload-input">
<label for="">{$aLang.topic_photoset_choose_image}:</label><br />
<input type="file" id="photoset-upload-file" name="Filedata" /><br><br>
<button onclick="ls.photoset.upload();">{$aLang.topic_photoset_upload_choose}</button> <form id="photoset-upload-form" method="POST" enctype="multipart/form-data" onsubmit="return false;">
<button onclick="ls.photoset.closeForm();">{$aLang.topic_photoset_upload_close}</button> <p id="topic-photo-upload-input" class="topic-photo-upload-input">
<input type="hidden" name="is_iframe" value="true" /> <label for="photoset-upload-file">{$aLang.topic_photoset_choose_image}:</label><br />
<input type="hidden" name="topic_id" value="{$_aRequest.topic_id}" /> <input type="file" id="photoset-upload-file" name="Filedata" /><br><br>
</p>
</form> <button onclick="ls.photoset.upload();">{$aLang.topic_photoset_upload_choose}</button>
<button onclick="ls.photoset.closeForm();">{$aLang.topic_photoset_upload_close}</button>
<input type="hidden" name="is_iframe" value="true" />
<input type="hidden" name="topic_id" value="{$_aRequest.topic_id}" />
</p>
</form>
{hook run='add_topic_photoset_begin'} {hook run='add_topic_photoset_begin'}
<form action="" method="POST" enctype="multipart/form-data"> <form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_photoset_begin'} {hook run='form_add_topic_photoset_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" /> <input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p><label for="blog_id">{$aLang.topic_create_blog}</label><br /> <p><label for="blog_id">{$aLang.topic_create_blog}</label><br />
<select name="blog_id" id="blog_id" onChange="ls.blog.loadInfo(this.value);" class="input-wide"> <select name="blog_id" id="blog_id" onChange="ls.blog.loadInfo(this.value);" class="input-wide">
<option value="0">{$aLang.topic_create_blog_personal}</option> <option value="0">{$aLang.topic_create_blog_personal}</option>
{foreach from=$aBlogsAllow item=oBlog} {foreach from=$aBlogsAllow item=oBlog}
<option value="{$oBlog->getId()}" {if $_aRequest.blog_id==$oBlog->getId()}selected{/if}>{$oBlog->getTitle()|escape:'html'}</option> <option value="{$oBlog->getId()}" {if $_aRequest.blog_id==$oBlog->getId()}selected{/if}>{$oBlog->getTitle()|escape:'html'}</option>
{/foreach} {/foreach}
</select></p> </select></p>
<script language="JavaScript" type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.blog.loadInfo($('#blog_id').val()); ls.blog.loadInfo($('#blog_id').val());
}); });
</script> </script>
<p><label for="topic_title">{$aLang.topic_create_title}:</label><br /> <p><label for="topic_title">{$aLang.topic_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br /> <input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br />
<span class="note">{$aLang.topic_create_title_notice}</span> <span class="note">{$aLang.topic_create_title_notice}</span>
@ -108,42 +109,42 @@ if (jQuery.browser.flash) {
<label for="topic_text">{$aLang.topic_create_text}{if !$oConfig->GetValue('view.tinymce')} ({$aLang.topic_create_text_notice}){/if}:</label> <label for="topic_text">{$aLang.topic_create_text}{if !$oConfig->GetValue('view.tinymce')} ({$aLang.topic_create_text_notice}){/if}:</label>
<textarea name="topic_text" id="topic_text" rows="20" class="input-wide">{$_aRequest.topic_text}</textarea> <textarea name="topic_text" id="topic_text" rows="20" class="input-wide">{$_aRequest.topic_text}</textarea>
</p> </p>
<!-- Topic Photo Add --> <!-- Topic Photo Add -->
<div class="topic-photo-upload"> <div class="topic-photo-upload">
<h2>{$aLang.topic_photoset_upload_title}</h2> <h2>{$aLang.topic_photoset_upload_title}</h2>
<div class="topic-photo-upload-rules"> <div class="topic-photo-upload-rules">
{$aLang.topic_photoset_upload_rules|ls_lang:"SIZE%%`$oConfig->get('module.topic.photoset.photo_max_size')`":"COUNT%%`$oConfig->get('module.topic.photoset.count_photos_max')`"} {$aLang.topic_photoset_upload_rules|ls_lang:"SIZE%%`$oConfig->get('module.topic.photoset.photo_max_size')`":"COUNT%%`$oConfig->get('module.topic.photoset.count_photos_max')`"}
</div> </div>
<input type="hidden" name="topic_main_photo" id="topic_main_photo" value="{$_aRequest.topic_main_photo}" /> <input type="hidden" name="topic_main_photo" id="topic_main_photo" value="{$_aRequest.topic_main_photo}" />
<ul id="swfu_images"> <ul id="swfu_images">
{if count($aPhotos)} {if count($aPhotos)}
{foreach from=$aPhotos item=oPhoto} {foreach from=$aPhotos item=oPhoto}
{if $_aRequest.topic_main_photo && $_aRequest.topic_main_photo == $oPhoto->getId()} {if $_aRequest.topic_main_photo && $_aRequest.topic_main_photo == $oPhoto->getId()}
{assign var=bIsMainPhoto value=true} {assign var=bIsMainPhoto value=true}
{/if} {/if}
<li id="photo_{$oPhoto->getId()}" {if $bIsMainPhoto}class="marked-as-preview"{/if}> <li id="photo_{$oPhoto->getId()}" {if $bIsMainPhoto}class="marked-as-preview"{/if}>
<img src="{$oPhoto->getWebPath('100crop')}" alt="image" /> <img src="{$oPhoto->getWebPath('100crop')}" alt="image" />
<textarea onBlur="ls.photoset.setPreviewDescription({$oPhoto->getId()}, this.value)">{$oPhoto->getDescription()}</textarea><br /> <textarea onBlur="ls.photoset.setPreviewDescription({$oPhoto->getId()}, this.value)">{$oPhoto->getDescription()}</textarea><br />
<a href="javascript:ls.photoset.deletePhoto({$oPhoto->getId()})" class="image-delete">{$aLang.topic_photoset_photo_delete}</a> <a href="javascript:ls.photoset.deletePhoto({$oPhoto->getId()})" class="image-delete">{$aLang.topic_photoset_photo_delete}</a>
<span id="photo_preview_state_{$oPhoto->getId()}" class="photo-preview-state"> <span id="photo_preview_state_{$oPhoto->getId()}" class="photo-preview-state">
{if $bIsMainPhoto} {if $bIsMainPhoto}
{$aLang.topic_photoset_is_preview} {$aLang.topic_photoset_is_preview}
{else} {else}
<a href="javascript:ls.photoset.setPreview({$oPhoto->getId()})" class="mark-as-preview">{$aLang.topic_photoset_mark_as_preview}</a> <a href="javascript:ls.photoset.setPreview({$oPhoto->getId()})" class="mark-as-preview">{$aLang.topic_photoset_mark_as_preview}</a>
{/if} {/if}
</span> </span>
</li> </li>
{assign var=bIsMainPhoto value=false} {assign var=bIsMainPhoto value=false}
{/foreach} {/foreach}
{/if} {/if}
</ul> </ul>
<a href="javascript:ls.photoset.showForm()" id="photoset-start-upload">{$aLang.topic_photoset_upload_choose}</a> <a href="javascript:ls.photoset.showForm()" id="photoset-start-upload">{$aLang.topic_photoset_upload_choose}</a>
</div> </div>
<!-- /Topic Photo Add --> <!-- /Topic Photo Add -->
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label><br /> <p><label for="topic_tags">{$aLang.topic_create_tags}:</label><br />
<input type="text" id="topic_tags" name="topic_tags" value="{$_aRequest.topic_tags}" class="input-wide autocomplete-tags-sep" /><br /> <input type="text" id="topic_tags" name="topic_tags" value="{$_aRequest.topic_tags}" class="input-wide autocomplete-tags-sep" /><br />
<span class="note">{$aLang.topic_create_tags_notice}</span></p> <span class="note">{$aLang.topic_create_tags_notice}</span></p>
@ -151,7 +152,7 @@ if (jQuery.browser.flash) {
<p><label for="topic_forbid_comment"><input type="checkbox" id="topic_forbid_comment" name="topic_forbid_comment" class="checkbox" value="1" {if $_aRequest.topic_forbid_comment==1}checked{/if} /> <p><label for="topic_forbid_comment"><input type="checkbox" id="topic_forbid_comment" name="topic_forbid_comment" class="checkbox" value="1" {if $_aRequest.topic_forbid_comment==1}checked{/if} />
{$aLang.topic_create_forbid_comment}</label><br /> {$aLang.topic_create_forbid_comment}</label><br />
<span class="note">{$aLang.topic_create_forbid_comment_notice}</span></p> <span class="note">{$aLang.topic_create_forbid_comment_notice}</span></p>
{if $oUserCurrent->isAdministrator()} {if $oUserCurrent->isAdministrator()}
<p><label for="topic_publish_index"><input type="checkbox" id="topic_publish_index" name="topic_publish_index" class="checkbox" value="1" {if $_aRequest.topic_publish_index==1}checked{/if} /> <p><label for="topic_publish_index"><input type="checkbox" id="topic_publish_index" name="topic_publish_index" class="checkbox" value="1" {if $_aRequest.topic_publish_index==1}checked{/if} />
{$aLang.topic_create_publish_index}</label><br /> {$aLang.topic_create_publish_index}</label><br />
@ -159,7 +160,7 @@ if (jQuery.browser.flash) {
{/if} {/if}
{hook run='form_add_topic_photoset_end'} {hook run='form_add_topic_photoset_end'}
<p class="buttons"> <p class="buttons">
<input type="submit" name="submit_topic_publish" value="{$aLang.topic_create_submit_publish}" class="right" /> <input type="submit" name="submit_topic_publish" value="{$aLang.topic_create_submit_publish}" class="right" />
<input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="jQuery('#text_preview').parent().show(); ls.tools.textPreview('topic_text',false); return false;" />&nbsp; <input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="jQuery('#text_preview').parent().show(); ls.tools.textPreview('topic_text',false); return false;" />&nbsp;

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu="profile"} {include file='header.tpl' menu="profile"}
{include file='topic_list.tpl'} {include file='topic_list.tpl'}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,23 +1,23 @@
{if $oUserFriend and ($oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_OFFER or $oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_ACCEPT)} {if $oUserFriend and ($oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_OFFER or $oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_ACCEPT)}
<li id="delete_friend_item"><a href="#" title="{$aLang.user_friend_del}" onclick="return ls.user.removeFriend(this,{$oUserProfile->getId()},'del');">{$aLang.user_friend_del}</a></li> <li id="delete_friend_item"><a href="#" title="{$aLang.user_friend_del}" onclick="return ls.user.removeFriend(this,{$oUserProfile->getId()},'del');">{$aLang.user_friend_del}</a></li>
{elseif $oUserFriend and $oUserFriend->getStatusTo()==$USER_FRIEND_REJECT and $oUserFriend->getStatusFrom()==$USER_FRIEND_OFFER and $oUserFriend->getUserTo()==$oUserCurrent->getId()} {elseif $oUserFriend and $oUserFriend->getStatusTo()==$USER_FRIEND_REJECT and $oUserFriend->getStatusFrom()==$USER_FRIEND_OFFER and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li> <li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_REJECT and $oUserFriend->getUserTo()!=$oUserCurrent->getId()} {elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_REJECT and $oUserFriend->getUserTo()!=$oUserCurrent->getId()}
<li>{$aLang.user_friend_offer_reject}</li> <li>{$aLang.user_friend_offer_reject}</li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserFrom()==$oUserCurrent->getId()} {elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserFrom()==$oUserCurrent->getId()}
<li>{$aLang.user_friend_offer_send}</li> <li>{$aLang.user_friend_offer_send}</li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserTo()==$oUserCurrent->getId()} {elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li> <li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li>
{elseif !$oUserFriend} {elseif !$oUserFriend}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" id="add_friend_show">{$aLang.user_friend_add}</a> <li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" id="add_friend_show">{$aLang.user_friend_add}</a>
<form id="add_friend_form" class="add-friend-form jqmWindow" onsubmit="return ls.user.addFriend(this,{$oUserProfile->getId()},'add');"> <form id="add_friend_form" class="add-friend-form jqmWindow" onsubmit="return ls.user.addFriend(this,{$oUserProfile->getId()},'add');">
<a href="#" class="close jqmClose"></a> <a href="#" class="close jqmClose"></a>
<label for="add_friend_text">{$aLang.user_friend_add_text_label}</label><br /> <label for="add_friend_text">{$aLang.user_friend_add_text_label}</label><br />
<textarea id="add_friend_text" rows="3"></textarea> <textarea id="add_friend_text" rows="3"></textarea>
<input type="submit" value="{$aLang.user_friend_add_submit}" /> <input type="submit" value="{$aLang.user_friend_add_submit}" />
</form> </form>
</li> </li>
{else} {else}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'link');">{$aLang.user_friend_add}</a></li> <li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'link');">{$aLang.user_friend_add}</a></li>

View file

@ -1,10 +1,10 @@
{if $oUserProfile} {if $oUserProfile}
{if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()} {if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
<div class="block"> <div class="block">
<ul id="profile_actions"> <ul id="profile_actions">
{include file='actions/ActionProfile/friend_item.tpl' oUserFriend=$oUserProfile->getUserFriend()} {include file='actions/ActionProfile/friend_item.tpl' oUserFriend=$oUserProfile->getUserFriend()}
<li><a href="{router page='talk'}add/?talk_users={$oUserProfile->getLogin()}">{$aLang.user_write_prvmsg}</a></li> <li><a href="{router page='talk'}add/?talk_users={$oUserProfile->getLogin()}">{$aLang.user_write_prvmsg}</a></li>
</ul> </ul>
</div> </div>
{/if} {/if}
@ -16,12 +16,12 @@
<ul> <ul>
{if $oUserProfile->getProfileIcq()} {if $oUserProfile->getProfileIcq()}
<li class="icq"><a href="http://www.icq.com/people/about_me.php?uin={$oUserProfile->getProfileIcq()|escape:'html'}" target="_blank">{$oUserProfile->getProfileIcq()}</a></li> <li class="icq"><a href="http://www.icq.com/people/about_me.php?uin={$oUserProfile->getProfileIcq()|escape:'html'}" target="_blank">{$oUserProfile->getProfileIcq()}</a></li>
{/if} {/if}
</ul> </ul>
{/if} {/if}
<br /> <br />
{if $oUserProfile->getProfileFoto()} {if $oUserProfile->getProfileFoto()}
<img src="{$oUserProfile->getProfileFoto()}" alt="photo" /> <img src="{$oUserProfile->getProfileFoto()}" alt="photo" />
{/if} {/if}

View file

@ -2,7 +2,7 @@
{assign var="oSession" value=$oUserProfile->getSession()} {assign var="oSession" value=$oUserProfile->getSession()}
{assign var="oVote" value=$oUserProfile->getVote()} {assign var="oVote" value=$oUserProfile->getVote()}
<div class="user-profile"> <div class="user-profile">
<div class="strength"> <div class="strength">
<div class="text">{$aLang.user_skill}</div> <div class="text">{$aLang.user_skill}</div>
@ -22,15 +22,15 @@
<img src="{$oUserProfile->getProfileAvatarPath(100)}" alt="avatar" class="avatar" /> <img src="{$oUserProfile->getProfileAvatarPath(100)}" alt="avatar" class="avatar" />
<h3>{$oUserProfile->getLogin()}</h3> <h3>{$oUserProfile->getLogin()}</h3>
{if $oUserProfile->getProfileName()} {if $oUserProfile->getProfileName()}
<p class="realname">{$oUserProfile->getProfileName()|escape:'html'} </p> <p class="realname">{$oUserProfile->getProfileName()|escape:'html'} </p>
{/if} {/if}
</div> </div>
{if $oUserProfile->getProfileSex()!='other' || $oUserProfile->getProfileBirthday() || ($oUserProfile->getProfileCountry() || $oUserProfile->getProfileRegion() || $oUserProfile->getProfileCity()) || $oUserProfile->getProfileAbout() || $oUserProfile->getProfileSite() || count($aUserFields)} {if $oUserProfile->getProfileSex()!='other' || $oUserProfile->getProfileBirthday() || ($oUserProfile->getProfileCountry() || $oUserProfile->getProfileRegion() || $oUserProfile->getProfileCity()) || $oUserProfile->getProfileAbout() || $oUserProfile->getProfileSite() || count($aUserFields)}
<h2 class="user-profile-header">{$aLang.profile_privat}</h2> <h2 class="user-profile-header">{$aLang.profile_privat}</h2>
<table class="user-profile-table"> <table class="user-profile-table">
{if $oUserProfile->getProfileSex()!='other'} {if $oUserProfile->getProfileSex()!='other'}
<tr> <tr>
<td class="var">{$aLang.profile_sex}:</td> <td class="var">{$aLang.profile_sex}:</td>
@ -43,35 +43,35 @@
</td> </td>
</tr> </tr>
{/if} {/if}
{if $oUserProfile->getProfileBirthday()} {if $oUserProfile->getProfileBirthday()}
<tr> <tr>
<td class="var">{$aLang.profile_birthday}:</td> <td class="var">{$aLang.profile_birthday}:</td>
<td>{date_format date=$oUserProfile->getProfileBirthday() format="j F Y"}</td> <td>{date_format date=$oUserProfile->getProfileBirthday() format="j F Y"}</td>
</tr> </tr>
{/if} {/if}
{if ($oUserProfile->getProfileCountry()|| $oUserProfile->getProfileRegion() || $oUserProfile->getProfileCity())} {if ($oUserProfile->getProfileCountry()|| $oUserProfile->getProfileRegion() || $oUserProfile->getProfileCity())}
<tr> <tr>
<td class="var">{$aLang.profile_place}:</td> <td class="var">{$aLang.profile_place}:</td>
<td> <td>
{if $oUserProfile->getProfileCountry()} {if $oUserProfile->getProfileCountry()}
<a href="{router page='people'}country/{$oUserProfile->getProfileCountry()|escape:'html'}/">{$oUserProfile->getProfileCountry()|escape:'html'}</a>{if $oUserProfile->getProfileCity()},{/if} <a href="{router page='people'}country/{$oUserProfile->getProfileCountry()|escape:'html'}/">{$oUserProfile->getProfileCountry()|escape:'html'}</a>{if $oUserProfile->getProfileCity()},{/if}
{/if} {/if}
{if $oUserProfile->getProfileCity()} {if $oUserProfile->getProfileCity()}
<a href="{router page='people'}city/{$oUserProfile->getProfileCity()|escape:'html'}/">{$oUserProfile->getProfileCity()|escape:'html'}</a> <a href="{router page='people'}city/{$oUserProfile->getProfileCity()|escape:'html'}/">{$oUserProfile->getProfileCity()|escape:'html'}</a>
{/if} {/if}
</td> </td>
</tr> </tr>
{/if} {/if}
{if $oUserProfile->getProfileAbout()} {if $oUserProfile->getProfileAbout()}
<tr> <tr>
<td class="var">{$aLang.profile_about}:</td> <td class="var">{$aLang.profile_about}:</td>
<td>{$oUserProfile->getProfileAbout()|escape:'html'}</td> <td>{$oUserProfile->getProfileAbout()|escape:'html'}</td>
</tr> </tr>
{/if} {/if}
{if $oUserProfile->getProfileSite()} {if $oUserProfile->getProfileSite()}
<tr> <tr>
<td class="var">{$aLang.profile_site}:</td> <td class="var">{$aLang.profile_site}:</td>
@ -86,14 +86,14 @@
</td> </td>
</tr> </tr>
{/if} {/if}
{if count($aUserFields)} {if count($aUserFields)}
{foreach from=$aUserFields item=oField} {foreach from=$aUserFields item=oField}
<tr> <tr>
<td class="var">{$oField->getTitle()|escape:'html'}:</td> <td class="var">{$oField->getTitle()|escape:'html'}:</td>
<td>{$oField->getValue(true,true)}</td> <td>{$oField->getValue(true,true)}</td>
</tr> </tr>
{/foreach} {/foreach}
{/if} {/if}
{hook run='profile_whois_privat_item' oUserProfile=$oUserProfile} {hook run='profile_whois_privat_item' oUserProfile=$oUserProfile}
</table> </table>
{/if} {/if}
@ -108,44 +108,44 @@
<tr> <tr>
<td class="var">{$aLang.profile_friends}:</td> <td class="var">{$aLang.profile_friends}:</td>
<td> <td>
{foreach from=$aUsersFriend item=oUser} {foreach from=$aUsersFriend item=oUser}
<a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> <a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a>
{/foreach} {/foreach}
</td> </td>
</tr> </tr>
{/if} {/if}
{if $oConfig->GetValue('general.reg.invite') and $oUserInviteFrom} {if $oConfig->GetValue('general.reg.invite') and $oUserInviteFrom}
<tr> <tr>
<td class="var">{$aLang.profile_invite_from}:</td> <td class="var">{$aLang.profile_invite_from}:</td>
<td> <td>
<a href="{$oUserInviteFrom->getUserWebPath()}">{$oUserInviteFrom->getLogin()}</a>&nbsp; <a href="{$oUserInviteFrom->getUserWebPath()}">{$oUserInviteFrom->getLogin()}</a>&nbsp;
</td> </td>
</tr> </tr>
{/if} {/if}
{if $oConfig->GetValue('general.reg.invite') and $aUsersInvite} {if $oConfig->GetValue('general.reg.invite') and $aUsersInvite}
<tr> <tr>
<td class="var">{$aLang.profile_invite_to}:</td> <td class="var">{$aLang.profile_invite_to}:</td>
<td> <td>
{foreach from=$aUsersInvite item=oUserInvite} {foreach from=$aUsersInvite item=oUserInvite}
<a href="{$oUserInvite->getUserWebPath()}">{$oUserInvite->getLogin()}</a>&nbsp; <a href="{$oUserInvite->getUserWebPath()}">{$oUserInvite->getLogin()}</a>&nbsp;
{/foreach} {/foreach}
</td> </td>
</tr> </tr>
{/if} {/if}
{if $aBlogsOwner} {if $aBlogsOwner}
<tr> <tr>
<td class="var">{$aLang.profile_blogs_self}:</td> <td class="var">{$aLang.profile_blogs_self}:</td>
<td> <td>
{foreach from=$aBlogsOwner item=oBlog name=blog_owner} {foreach from=$aBlogsOwner item=oBlog name=blog_owner}
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>{if !$smarty.foreach.blog_owner.last}, {/if} <a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>{if !$smarty.foreach.blog_owner.last}, {/if}
{/foreach} {/foreach}
</td> </td>
</tr> </tr>
{/if} {/if}
{if $aBlogAdministrators} {if $aBlogAdministrators}
<tr> <tr>
<td class="var">{$aLang.profile_blogs_administration}:</td> <td class="var">{$aLang.profile_blogs_administration}:</td>
@ -157,7 +157,7 @@
</td> </td>
</tr> </tr>
{/if} {/if}
{if $aBlogModerators} {if $aBlogModerators}
<tr> <tr>
<td class="var">{$aLang.profile_blogs_moderation}:</td> <td class="var">{$aLang.profile_blogs_moderation}:</td>
@ -169,7 +169,7 @@
</td> </td>
</tr> </tr>
{/if} {/if}
{if $aBlogUsers} {if $aBlogUsers}
<tr> <tr>
<td class="var">{$aLang.profile_blogs_join}:</td> <td class="var">{$aLang.profile_blogs_join}:</td>
@ -183,13 +183,13 @@
{/if} {/if}
{hook run='profile_whois_activity_item' oUserProfile=$oUserProfile} {hook run='profile_whois_activity_item' oUserProfile=$oUserProfile}
<tr> <tr>
<td class="var">{$aLang.profile_date_registration}:</td> <td class="var">{$aLang.profile_date_registration}:</td>
<td>{date_format date=$oUserProfile->getDateRegister()}</td> <td>{date_format date=$oUserProfile->getDateRegister()}</td>
</tr> </tr>
{if $oSession} {if $oSession}
<tr> <tr>
<td class="var">{$aLang.profile_date_last}:</td> <td class="var">{$aLang.profile_date_last}:</td>
<td>{date_format date=$oSession->getDateLast()}</td> <td>{date_format date=$oSession->getDateLast()}</td>

View file

@ -13,9 +13,9 @@
{/if} {/if}
{hook run='add_topic_question_begin'} {hook run='add_topic_question_begin'}
<form action="" method="POST" enctype="multipart/form-data"> <form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_question_begin'} {hook run='form_add_topic_question_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" /> <input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p><label for="blog_id">{$aLang.topic_create_blog}</label><br /> <p><label for="blog_id">{$aLang.topic_create_blog}</label><br />
@ -26,12 +26,12 @@
{/foreach} {/foreach}
</select></p> </select></p>
<script language="JavaScript" type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.blog.loadInfo($('#blog_id').val()); ls.blog.loadInfo($('#blog_id').val());
}); });
</script> </script>
<p><label for="topic_title">{$aLang.topic_question_create_title}:</label><br /> <p><label for="topic_title">{$aLang.topic_question_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" {if $bEditDisabled}disabled{/if} /><br /> <input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" {if $bEditDisabled}disabled{/if} /><br />
<span class="note">{$aLang.topic_question_create_title_notice}</span></p> <span class="note">{$aLang.topic_question_create_title_notice}</span></p>

View file

@ -24,7 +24,7 @@
<input type="password" value="" id="repass" name="password_confirm" class="input-text input-wide" /></label></p> <input type="password" value="" id="repass" name="password_confirm" class="input-text input-wide" /></label></p>
{$aLang.registration_captcha}<br /> {$aLang.registration_captcha}<br />
<img src="{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}" onclick="this.src='{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}&n='+Math.random();" /> <img src="{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}" onclick="this.src='{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}&amp;n='+Math.random();" alt="it's img captcha" />
<p><input type="text" name="captcha" value="" maxlength="3" class="input-text input-100" /></p> <p><input type="text" name="captcha" value="" maxlength="3" class="input-text input-100" /></p>

View file

@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel> <channel>
<title>{$aChannel.title}</title> <title>{$aChannel.title}</title>
<link>{$aChannel.link}</link> <link>{$aChannel.link}</link>
<atom:link href="{$PATH_WEB_CURRENT}/" rel="self" type="application/rss+xml" /> <atom:link href="{$PATH_WEB_CURRENT}/" rel="self" type="application/rss+xml" />
<description><![CDATA[{$aChannel.description}]]></description> <description><![CDATA[{$aChannel.description}]]></description>
<language>{$aChannel.language}</language> <language>{$aChannel.language}</language>
<managingEditor>{$aChannel.managingEditor} ({cfg name='path.root.web'})</managingEditor> <managingEditor>{$aChannel.managingEditor} ({cfg name='path.root.web'})</managingEditor>
<webMaster>{$aChannel.managingEditor} ({cfg name='path.root.web'})</webMaster> <webMaster>{$aChannel.managingEditor} ({cfg name='path.root.web'})</webMaster>
<copyright>{cfg name='path.root.web'}</copyright> <copyright>{cfg name='path.root.web'}</copyright>
<generator>{$aChannel.generator}</generator> <generator>{$aChannel.generator}</generator>
{foreach from=$aItems item=oItem} {foreach from=$aItems item=oItem}
<item> <item>
<title>{$oItem.title|escape:'html'}</title> <title>{$oItem.title|escape:'html'}</title>
<guid isPermaLink="true">{$oItem.guid}</guid> <guid isPermaLink="true">{$oItem.guid}</guid>
<link>{$oItem.link}</link> <link>{$oItem.link}</link>
<dc:creator>{$oItem.author}</dc:creator> <dc:creator>{$oItem.author}</dc:creator>
<description><![CDATA[{$oItem.description}]]></description> <description><![CDATA[{$oItem.description}]]></description>
<pubDate>{date_format date=$oItem.pubDate format="r"}</pubDate> <pubDate>{date_format date=$oItem.pubDate format="r"}</pubDate>
<category>{$oItem.category|replace:',':'</category> <category>{$oItem.category|replace:',':'</category>
<category>'}</category> <category>'}</category>
</item> </item>
{/foreach} {/foreach}
</channel> </channel>
</rss> </rss>

View file

@ -1,11 +1,11 @@
{include file='header.tpl'} {include file='header.tpl'}
<h2>{$aLang.search}</h2> <h2>{$aLang.search}</h2>
<form action="{router page='search'}topics/" method="GET"> <form action="{router page='search'}topics/" method="GET">
<input type="text" value="" name="q" /> <input type="text" value="" name="q" />
<input type="submit" value="{$aLang.search_submit}" /> <input type="submit" value="{$aLang.search_submit}" />
</form> </form>
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,18 +1,18 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>{cfg name='view.name'}</ShortName> <ShortName>{cfg name='view.name'}</ShortName>
<Description>{$sHtmlTitle}</Description> <Description>{$sHtmlTitle}</Description>
<Contact>{$sAdminMail}</Contact> <Contact>{$sAdminMail}</Contact>
<Url type="text/html" template="{router page='search'}topics/?q={literal}{searchTerms}{/literal}" /> <Url type="text/html" template="{router page='search'}topics/?q={literal}{searchTerms}{/literal}" />
<LongName>{$sHtmlDescription}</LongName> <LongName>{$sHtmlDescription}</LongName>
<Image height="64" width="64" type="image/png">{cfg name='path.static.skin'}/images/logo.png</Image> <Image height="64" width="64" type="image/png">{cfg name='path.static.skin'}/images/logo.png</Image>
<Image height="16" width="16" type="image/vnd.microsoft.icon">{cfg name='path.static.skin'}/images/favicon.ico</Image> <Image height="16" width="16" type="image/vnd.microsoft.icon">{cfg name='path.static.skin'}/images/favicon.ico</Image>
<Developer>{cfg name='view.name'} ({cfg name='path.root.web'})</Developer> <Developer>{cfg name='view.name'} ({cfg name='path.root.web'})</Developer>
<Attribution> <Attribution>
© «{cfg name='view.name'}» © «{cfg name='view.name'}»
</Attribution> </Attribution>
<SyndicationRight>open</SyndicationRight> <SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent> <AdultContent>false</AdultContent>
<Language>ru-ru</Language> <Language>ru-ru</Language>
<OutputEncoding>UTF-8</OutputEncoding> <OutputEncoding>UTF-8</OutputEncoding>
<InputEncoding>UTF-8</InputEncoding> <InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription> </OpenSearchDescription>

View file

@ -1,32 +1,32 @@
{include file='header.tpl'} {include file='header.tpl'}
<h2>{$aLang.search_results}: {$aReq.q|escape:'html'}</h2> <h2>{$aLang.search_results}: {$aReq.q|escape:'html'}</h2>
<ul class="switcher"> <ul class="switcher">
{foreach from=$aRes.aCounts item=iCount key=sType name="sTypes"} {foreach from=$aRes.aCounts item=iCount key=sType name="sTypes"}
<li {if $aReq.sType == $sType}class="active"{/if}> <li {if $aReq.sType == $sType}class="active"{/if}>
<a href="{router page='search'}{$sType}/?q={$aReq.q|escape:'html'}"> <a href="{router page='search'}{$sType}/?q={$aReq.q|escape:'html'}">
{$iCount} {$iCount}
{if $sType=="topics"} {if $sType=="topics"}
{$aLang.search_results_count_topics} {$aLang.search_results_count_topics}
{elseif $sType=="comments"} {elseif $sType=="comments"}
{$aLang.search_results_count_comments} {$aLang.search_results_count_comments}
{/if} {/if}
</a> </a>
</li> </li>
{/foreach} {/foreach}
</ul> </ul>
{if $bIsResults} {if $bIsResults}
{if $aReq.sType == 'topics'} {if $aReq.sType == 'topics'}
{include file='topic_list.tpl'} {include file='topic_list.tpl'}
{elseif $aReq.sType == 'comments'} {elseif $aReq.sType == 'comments'}
{include file='comment_list.tpl'} {include file='comment_list.tpl'}
{/if} {/if}
{else} {else}
{$aLang.search_results_empty} {$aLang.search_results_empty}
{/if} {/if}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -3,7 +3,7 @@
<h2>{$aLang.settings_invite}</h2> <h2>{$aLang.settings_invite}</h2>
<form action="" method="POST" enctype="multipart/form-data"> <form action="#" method="POST" enctype="multipart/form-data">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" /> <input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p> <p>

View file

@ -3,7 +3,7 @@
<h2>{$aLang.settings_profile_edit}</h2> <h2>{$aLang.settings_profile_edit}</h2>
<form action="" method="POST" enctype="multipart/form-data"> <form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_settings_profile_begin'} {hook run='form_settings_profile_begin'}
@ -23,10 +23,10 @@
{$aLang.settings_profile_sex}:<br /> {$aLang.settings_profile_sex}:<br />
<label><input type="radio" name="profile_sex" id="profile_sex_m" value="man" {if $oUserCurrent->getProfileSex()=='man'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_man}</label><br /> <label><input type="radio" name="profile_sex" id="profile_sex_m" value="man" {if $oUserCurrent->getProfileSex()=='man'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_man}</label><br />
<label><input type="radio" name="profile_sex" id="profile_sex_w" value="woman" {if $oUserCurrent->getProfileSex()=='woman'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_woman}</label><br /> <label><input type="radio" name="profile_sex" id="profile_sex_w" value="woman" {if $oUserCurrent->getProfileSex()=='woman'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_woman}</label><br />
<label><input type="radio" name="profile_sex" id="profile_sex_o" value="other" {if $oUserCurrent->getProfileSex()=='other'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_other}</label> <label><input type="radio" name="profile_sex" id="profile_sex_o" value="other" {if $oUserCurrent->getProfileSex()=='other'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_other}</label>
</p> </p>
<p> <p>
<label for="">{$aLang.settings_profile_birthday}:</label><br /> <label>{$aLang.settings_profile_birthday}:</label><br />
<select name="profile_birthday_day"> <select name="profile_birthday_day">
<option value="">{$aLang.date_day}</option> <option value="">{$aLang.date_day}</option>
{section name=date_day start=1 loop=32 step=1} {section name=date_day start=1 loop=32 step=1}
@ -59,11 +59,11 @@
<label for="profile_site"><input type="text" style="margin-bottom: 5px;" id="profile_site" name="profile_site" class="input-200" value="{$oUserCurrent->getProfileSite()|escape:'html'}" /> &mdash; {$aLang.settings_profile_site_url}</label><br /> <label for="profile_site"><input type="text" style="margin-bottom: 5px;" id="profile_site" name="profile_site" class="input-200" value="{$oUserCurrent->getProfileSite()|escape:'html'}" /> &mdash; {$aLang.settings_profile_site_url}</label><br />
<label for="profile_site_name"><input type="text" id="profile_site_name" name="profile_site_name" class="input-200" value="{$oUserCurrent->getProfileSiteName()|escape:'html'}" /> &mdash; {$aLang.settings_profile_site_name}</label> <label for="profile_site_name"><input type="text" id="profile_site_name" name="profile_site_name" class="input-200" value="{$oUserCurrent->getProfileSiteName()|escape:'html'}" /> &mdash; {$aLang.settings_profile_site_name}</label>
</p> </p>
{if count($aUserFields)} {if count($aUserFields)}
{foreach from=$aUserFields item=oField} {foreach from=$aUserFields item=oField}
<p><label for="profile_user_field_{$oField->getId()}">{$oField->getTitle()|escape:'html'}:</label><br /><input type="text" class="input-200" name="profile_user_field_{$oField->getId()}" id="profile_user_field_{$oField->getId()}" value="{$oField->getValue()|escape:'html'}"/></p> <p><label for="profile_user_field_{$oField->getId()}">{$oField->getTitle()|escape:'html'}:</label><br /><input type="text" class="input-200" name="profile_user_field_{$oField->getId()}" id="profile_user_field_{$oField->getId()}" value="{$oField->getValue()|escape:'html'}"/></p>
{/foreach} {/foreach}
{/if} {/if}
<p> <p>
<label for="profile_about">{$aLang.settings_profile_about}:</label><br /> <label for="profile_about">{$aLang.settings_profile_about}:</label><br />
<textarea cols="50" rows="5" name="profile_about" id="profile_about">{$oUserCurrent->getProfileAbout()|escape:'html'}</textarea> <textarea cols="50" rows="5" name="profile_about" id="profile_about">{$oUserCurrent->getProfileAbout()|escape:'html'}</textarea>

View file

@ -17,9 +17,9 @@
<label><input {if $oUserCurrent->getSettingsNoticeReplyComment()}checked{/if} type="checkbox" id="settings_notice_reply_comment" name="settings_notice_reply_comment" value="1" class="checkbox" />{$aLang.settings_tuning_notice_reply_comment}</label><br /> <label><input {if $oUserCurrent->getSettingsNoticeReplyComment()}checked{/if} type="checkbox" id="settings_notice_reply_comment" name="settings_notice_reply_comment" value="1" class="checkbox" />{$aLang.settings_tuning_notice_reply_comment}</label><br />
<label><input {if $oUserCurrent->getSettingsNoticeNewFriend()}checked{/if} type="checkbox" id="settings_notice_new_friend" name="settings_notice_new_friend" value="1" class="checkbox" />{$aLang.settings_tuning_notice_new_friend}</label> <label><input {if $oUserCurrent->getSettingsNoticeNewFriend()}checked{/if} type="checkbox" id="settings_notice_new_friend" name="settings_notice_new_friend" value="1" class="checkbox" />{$aLang.settings_tuning_notice_new_friend}</label>
</p> </p>
{hook run='form_settings_tuning_end'} {hook run='form_settings_tuning_end'}
<input type="submit" name="submit_settings_tuning" value="{$aLang.settings_tuning_submit}" /> <input type="submit" name="submit_settings_tuning" value="{$aLang.settings_tuning_submit}" />
</form> </form>

View file

@ -1,12 +1,12 @@
{if count($aStreamEvents)} {if count($aStreamEvents)}
{foreach from=$aStreamEvents item=oStreamEvent} {foreach from=$aStreamEvents item=oStreamEvent}
{assign var=oTarget value=$oStreamEvent->getTarget()} {assign var=oTarget value=$oStreamEvent->getTarget()}
<li class="stream-item-type-{$oStreamEvent->getEventType()}"> <li class="stream-item-type-{$oStreamEvent->getEventType()}">
<a href="{$oStreamEvent->getUser()->getUserWebPath()}"><img src="{$oStreamEvent->getUser()->getProfileAvatarPath(48)}" alt="avatar" class="avatar" /></a> <a href="{$oStreamEvent->getUser()->getUserWebPath()}"><img src="{$oStreamEvent->getUser()->getProfileAvatarPath(48)}" alt="avatar" class="avatar" /></a>
<span class="date" title="{date_format date=$oStreamEvent->getDateAdded()}">{date_format date=$oStreamEvent->getDateAdded() hours_back="12" minutes_back="60" now="60" day="day H:i" format="j F Y, H:i"}</span> <span class="date" title="{date_format date=$oStreamEvent->getDateAdded()}">{date_format date=$oStreamEvent->getDateAdded() hours_back="12" minutes_back="60" now="60" day="day H:i" format="j F Y, H:i"}</span>
<a href="{$oStreamEvent->getUser()->getUserWebPath()}"><strong>{$oStreamEvent->getUser()->getLogin()}</strong></a> <a href="{$oStreamEvent->getUser()->getUserWebPath()}"><strong>{$oStreamEvent->getUser()->getLogin()}</strong></a>
{if $oStreamEvent->getEventType() == 'add_topic'} {if $oStreamEvent->getEventType() == 'add_topic'}
{$aLang.stream_list_event_add_topic} <a href="{$oTarget->getUrl()}">{$oTarget->getTitle()|escape:'html'}</a> {$aLang.stream_list_event_add_topic} <a href="{$oTarget->getUrl()}">{$oTarget->getTitle()|escape:'html'}</a>
{elseif $oStreamEvent->getEventType() == 'add_comment'} {elseif $oStreamEvent->getEventType() == 'add_comment'}

View file

@ -8,12 +8,12 @@
{include file='actions/ActionStream/events.tpl'} {include file='actions/ActionStream/events.tpl'}
</ul> </ul>
{if !$bDisableGetMoreButton} {if !$bDisableGetMoreButton}
<input type="hidden" id="stream_last_id" value="{$iStreamLastId}" /> <input type="hidden" id="stream_last_id" value="{$iStreamLastId}" />
<a class="stream-get-more" id="stream_get_more" href="javascript:ls.stream.getMore()">{$aLang.stream_get_more} &darr;</a> <a class="stream-get-more" id="stream_get_more" href="javascript:ls.stream.getMore()">{$aLang.stream_get_more} &darr;</a>
{/if} {/if}
{else} {else}
{$aLang.stream_no_events} {$aLang.stream_no_events}
{/if} {/if}

View file

@ -1,8 +1,8 @@
{include file='header.tpl'} {include file='header.tpl'}
<form action="" method="GET" class="tags-search" id="tag_search_form"> <form action="#" method="GET" class="tags-search" id="tag_search_form">
<img src="{cfg name='path.static.skin'}/images/tagcloud.gif" border="0" style="margin-left: 13px;">&nbsp; <img src="{cfg name='path.static.skin'}/images/tagcloud.gif" class="tagcloud" alt="" />&nbsp;
<input type="text" name="tag" value="{$sTag|escape:'html'}" class="tags-input" id="tag_search" > <input type="text" name="tag" value="{$sTag|escape:'html'}" class="tags-input" id="tag_search" >
</form> </form>

View file

@ -4,46 +4,46 @@
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script> <script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script>
<script type="text/javascript"> <script type="text/javascript">
{literal} {literal}
tinyMCE.init({ tinyMCE.init({
mode : "textareas", mode : "textareas",
theme : "advanced", theme : "advanced",
theme_advanced_toolbar_location : "top", theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left", theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code", theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "", theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "", theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom", theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true, theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0, theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0, theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false, theme_advanced_path : false,
object_resizing : true, object_resizing : true,
force_br_newlines : true, force_br_newlines : true,
forced_root_block : '', // Needed for 3.x forced_root_block : '', // Needed for 3.x
force_p_newlines : false, force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak", plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false, convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]", extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>", pagebreak_separator :"<cut>",
media_strict : false, media_strict : false,
language : TINYMCE_LANG, language : TINYMCE_LANG,
inline_styles:false, inline_styles:false,
formats : { formats : {
underline : {inline : 'u', exact : true}, underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true} strikethrough : {inline : 's', exact : true}
} }
}); });
{/literal} {/literal}
</script> </script>
{else} {else}
{include file='window_load_img.tpl' sToLoad='talk_text'} {include file='window_load_img.tpl' sToLoad='talk_text'}
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"}); ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор // Подключаем редактор
$('#talk_text').markItUp(getMarkitupSettings()); $('#talk_text').markItUp(getMarkitupSettings());
}); });
</script> </script>
{/if} {/if}
@ -53,9 +53,9 @@
<h2>{$aLang.talk_create}</h2> <h2>{$aLang.talk_create}</h2>
<form action="" method="POST" enctype="multipart/form-data"> <form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_talk_begin'} {hook run='form_add_talk_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" /> <input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p><label for="talk_users">{$aLang.talk_create_users}:</label><br /> <p><label for="talk_users">{$aLang.talk_create_users}:</label><br />
@ -66,9 +66,9 @@
<p><label for="talk_text">{$aLang.talk_create_text}:</label> <p><label for="talk_text">{$aLang.talk_create_text}:</label>
<textarea name="talk_text" id="talk_text" rows="12" class="input-wide">{$_aRequest.talk_text}</textarea></p> <textarea name="talk_text" id="talk_text" rows="12" class="input-wide">{$_aRequest.talk_text}</textarea></p>
{hook run='form_add_talk_end'} {hook run='form_add_talk_end'}
<input type="submit" value="{$aLang.talk_create_submit}" name="submit_talk_add" /> <input type="submit" value="{$aLang.talk_create_submit}" name="submit_talk_add" />
<input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="jQuery('#text_preview').parent().show(); ls.tools.textPreview('talk_text',false); return false;" />&nbsp; <input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="jQuery('#text_preview').parent().show(); ls.tools.textPreview('talk_text',false); return false;" />&nbsp;
</form> </form>

View file

@ -1,6 +1,6 @@
<div class="block"> <div class="block">
<h2>{$aLang.talk_blacklist_title}</h2> <h2>{$aLang.talk_blacklist_title}</h2>
<form onsubmit="return ls.talk.addToBlackList();"> <form onsubmit="return ls.talk.addToBlackList();">
<p><label>{$aLang.talk_balcklist_add_label}:<br /> <p><label>{$aLang.talk_balcklist_add_label}:<br />

View file

@ -9,9 +9,9 @@
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
<div class="bottom"> <div class="bottom">
<a href="#" id="friend_check_all">{$aLang.block_friends_check}</a> | <a href="#" id="friend_check_all">{$aLang.block_friends_check}</a> |
<a href="#" id="friend_uncheck_all">{$aLang.block_friends_uncheck}</a> <a href="#" id="friend_uncheck_all">{$aLang.block_friends_uncheck}</a>
</div> </div>
{else} {else}

View file

@ -51,6 +51,6 @@
<input type="submit" name="submit_talk_del" value="{$aLang.talk_inbox_delete}" onclick="return ($('.form_talks_checkbox:checked').length==0)?false:confirm('{$aLang.talk_inbox_delete_confirm}');" /> <input type="submit" name="submit_talk_del" value="{$aLang.talk_inbox_delete}" onclick="return ($('.form_talks_checkbox:checked').length==0)?false:confirm('{$aLang.talk_inbox_delete_confirm}');" />
</form> </form>
{include file='paging.tpl' aPaging="$aPaging"} {include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -33,6 +33,6 @@
sNoticeCommentAdd=$aLang.topic_comment_add sNoticeCommentAdd=$aLang.topic_comment_add
bNoCommentFavourites=true} bNoCommentFavourites=true}
{/if} {/if}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,6 +1,6 @@
{include file='header.tpl' menu='blog'} {include file='header.tpl' menu='blog'}
<h2>{$aLang.top_blogs}</h2> <h2>{$aLang.top_blogs}</h2>
{include file='blog_list.tpl'} {include file='blog_list.tpl'}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,7 +1,7 @@
{include file='header.tpl' menu='blog'} {include file='header.tpl' menu='blog'}
<h2>{$aLang.top_comments}</h2> <h2>{$aLang.top_comments}</h2>
<ul class="switcher"> <ul class="switcher">
<li {if $aParams[0] and $aParams[0]=='24h'}class="active"{/if}><a href="{router page='top'}comment/24h/">{$aLang.blog_menu_top_period_24h}</a></li> <li {if $aParams[0] and $aParams[0]=='24h'}class="active"{/if}><a href="{router page='top'}comment/24h/">{$aLang.blog_menu_top_period_24h}</a></li>

View file

@ -12,6 +12,6 @@
</ul> </ul>
</div> </div>
{include file='topic_list.tpl'} {include file='topic_list.tpl'}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -5,46 +5,46 @@
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script> <script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script>
<script type="text/javascript"> <script type="text/javascript">
{literal} {literal}
tinyMCE.init({ tinyMCE.init({
mode : "textareas", mode : "textareas",
theme : "advanced", theme : "advanced",
theme_advanced_toolbar_location : "top", theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left", theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code", theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "", theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "", theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom", theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true, theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0, theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0, theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false, theme_advanced_path : false,
object_resizing : true, object_resizing : true,
force_br_newlines : true, force_br_newlines : true,
forced_root_block : '', // Needed for 3.x forced_root_block : '', // Needed for 3.x
force_p_newlines : false, force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak", plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false, convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]", extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>", pagebreak_separator :"<cut>",
media_strict : false, media_strict : false,
language : TINYMCE_LANG, language : TINYMCE_LANG,
inline_styles:false, inline_styles:false,
formats : { formats : {
underline : {inline : 'u', exact : true}, underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true} strikethrough : {inline : 's', exact : true}
} }
}); });
{/literal} {/literal}
</script> </script>
{else} {else}
{include file='window_load_img.tpl' sToLoad='topic_text'} {include file='window_load_img.tpl' sToLoad='topic_text'}
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"}); ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор // Подключаем редактор
$('#topic_text').markItUp(getMarkitupSettings()); $('#topic_text').markItUp(getMarkitupSettings());
}); });
</script> </script>
{/if} {/if}
@ -62,7 +62,7 @@
{/if} {/if}
{hook run='add_topic_topic_begin'} {hook run='add_topic_topic_begin'}
<form action="" method="POST" enctype="multipart/form-data"> <form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_topic_begin'} {hook run='form_add_topic_topic_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" /> <input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -75,12 +75,12 @@
{/foreach} {/foreach}
</select></p> </select></p>
<script language="JavaScript" type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.blog.loadInfo($('#blog_id').val()); ls.blog.loadInfo($('#blog_id').val());
}); });
</script> </script>
<p><label for="topic_title">{$aLang.topic_create_title}:</label><br /> <p><label for="topic_title">{$aLang.topic_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br /> <input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br />
<span class="note">{$aLang.topic_create_title_notice}</span></p> <span class="note">{$aLang.topic_create_title_notice}</span></p>
@ -108,7 +108,7 @@
<input type="submit" name="submit_topic_publish" value="{$aLang.topic_create_submit_publish}" class="right" /> <input type="submit" name="submit_topic_publish" value="{$aLang.topic_create_submit_publish}" class="right" />
<input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="jQuery('#text_preview').parent().show(); ls.tools.textPreview('topic_text',false); return false;" />&nbsp; <input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="jQuery('#text_preview').parent().show(); ls.tools.textPreview('topic_text',false); return false;" />&nbsp;
<input type="submit" name="submit_topic_save" value="{$aLang.topic_create_submit_save}" /> <input type="submit" name="submit_topic_save" value="{$aLang.topic_create_submit_save}" />
</p> </p>
</form> </form>
{hook run='add_topic_topic_end'} {hook run='add_topic_topic_end'}

View file

@ -4,13 +4,14 @@
{include file='topic_list.tpl'} {include file='topic_list.tpl'}
{if count($aTopics)} {if count($aTopics)}
{if !$bDisableGetMoreButton} {if !$bDisableGetMoreButton}
<div id="userfeed_loaded_topics"></div> <div id="userfeed_loaded_topics"></div>
<input type="hidden" id="userfeed_last_id" value="{$iUserfeedLastId}" /> <input type="hidden" id="userfeed_last_id" value="{$iUserfeedLastId}" />
<a class="stream-get-more" id="userfeed_get_more" href="javascript:ls.userfeed.getMore()">{$aLang.userfeed_get_more} &darr;</a> <a class="stream-get-more" id="userfeed_get_more" href="javascript:ls.userfeed.getMore()">{$aLang.userfeed_get_more} &darr;</a>
{/if} {/if}
{else} {else}
<p style="margin-left:30px">{$aLang.userfeed_no_events}</p> <p style="margin-left:30px">{$aLang.userfeed_no_events}</p>
{/if} {/if}
{include file='footer.tpl'} {include file='footer.tpl'}

View file

@ -1,9 +1,9 @@
<div class="block"> <div class="block">
<h2>{$aLang.block_blog_info}</h2> <h2>{$aLang.block_blog_info}</h2>
<p id="block_blog_info"></p> <p id="block_blog_info"></p>
</div> </div>
<div class="block"> <div class="block">
<h2>{$aLang.block_blog_info_note}</h2> <h2>{$aLang.block_blog_info_note}</h2>
<p>{$aLang.block_blog_info_note_text}</p> <p>{$aLang.block_blog_info_note_text}</p>
</div> </div>

View file

@ -1,7 +1,7 @@
<div class="block blogs" id="block_blogs"> <div class="block blogs" id="block_blogs">
<h2>{$aLang.block_blogs}</h2> <h2>{$aLang.block_blogs}</h2>
<ul class="switcher"> <ul class="switcher">
<li id="block_blogs_item_top" class="active">{$aLang.block_blogs_top}</li> <li id="block_blogs_item_top" class="active">{$aLang.block_blogs_top}</li>
{if $oUserCurrent} {if $oUserCurrent}
@ -9,13 +9,13 @@
<li id="block_blogs_item_self">{$aLang.block_blogs_self}</li> <li id="block_blogs_item_self">{$aLang.block_blogs_self}</li>
{/if} {/if}
</ul> </ul>
<div class="block-content" id="block_blogs_content"> <div class="block-content" id="block_blogs_content">
{$sBlogsTop} {$sBlogsTop}
</div> </div>
<div class="bottom"> <div class="bottom">
<a href="{router page='blogs'}">{$aLang.block_blogs_all}</a> <a href="{router page='blogs'}">{$aLang.block_blogs_all}</a>
</div> </div>

View file

@ -2,8 +2,8 @@
{foreach from=$aBlogs item=oBlog} {foreach from=$aBlogs item=oBlog}
<li> <li>
<span class="rating">{$oBlog->getRating()}</span> <span class="rating">{$oBlog->getRating()}</span>
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a> <a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>
{if $oBlog->getType()=='close'}<img src="{cfg name='path.static.skin'}/images/lock.png" alt="[x]" title="{$aLang.blog_closed}" />{/if} {if $oBlog->getType()=='close'}<img src="{cfg name='path.static.skin'}/images/lock.png" alt="[x]" title="{$aLang.blog_closed}" />{/if}
</li> </li>
{/foreach} {/foreach}
</ul> </ul>

View file

@ -1,15 +1,15 @@
<div class="block stream" id="block_stream"> <div class="block stream" id="block_stream">
<h2>{$aLang.block_stream}</h2> <h2>{$aLang.block_stream}</h2>
<ul class="switcher"> <ul class="switcher">
<li id="block_stream_item_comment" class="active">{$aLang.block_stream_comments}</li> <li id="block_stream_item_comment" class="active">{$aLang.block_stream_comments}</li>
<li id="block_stream_item_topic">{$aLang.block_stream_topics}</li> <li id="block_stream_item_topic">{$aLang.block_stream_topics}</li>
{hook run='block_stream_nav_item'} {hook run='block_stream_nav_item'}
</ul> </ul>
<div class="block-content" id="block_stream_content"> <div class="block-content" id="block_stream_content">
{$sStreamComments} {$sStreamComments}
</div> </div>

View file

@ -1,20 +1,20 @@
{if $oUserCurrent} {if $oUserCurrent}
{literal} {literal}
<script language="JavaScript" type="text/javascript"> <script type="text/javascript">
jQuery(document).ready( function() { jQuery(document).ready( function() {
ls.autocomplete.add(jQuery('#stream_users_complete'), aRouter['ajax']+'autocompleter/user/?security_ls_key='+LIVESTREET_SECURITY_KEY); ls.autocomplete.add(jQuery('#stream_users_complete'), aRouter['ajax']+'autocompleter/user/?security_ls_key='+LIVESTREET_SECURITY_KEY);
jQuery('#stream_users_complete').keydown(function (event) { jQuery('#stream_users_complete').keydown(function (event) {
if (event.which == 13) { if (event.which == 13) {
ls.stream.appendUser() ls.stream.appendUser()
} }
}); });
}); });
</script> </script>
{/literal} {/literal}
<div class="block stream-settings"> <div class="block stream-settings">
<h2>{$aLang.stream_block_config_title}</h2> <h2>{$aLang.stream_block_config_title}</h2>
<p class="note">{$aLang.stream_settings_note_filter}</p> <p class="note">{$aLang.stream_settings_note_filter}</p>
<ul class="stream-settings-filter"> <ul class="stream-settings-filter">
@ -34,42 +34,42 @@
{/if} {/if}
{/foreach} {/foreach}
</ul> </ul>
<h3>{$aLang.stream_block_users_title}</h3> <h3>{$aLang.stream_block_users_title}</h3>
<p class="note">{$aLang.stream_settings_note_follow_user}</p> <p class="note">{$aLang.stream_settings_note_follow_user}</p>
<div class="stream-settings-userlist"> <div class="stream-settings-userlist">
<p><input type="text" id="stream_users_complete" autocomplete="off" /> <p><input type="text" id="stream_users_complete" autocomplete="off" />
<a href="javascript:ls.stream.appendUser()">{$aLang.stream_block_config_append}</a></p> <a href="javascript:ls.stream.appendUser()">{$aLang.stream_block_config_append}</a></p>
{if count($aStreamSubscribedUsers)} {if count($aStreamSubscribedUsers)}
<ul id="stream_block_users_list"> <ul id="stream_block_users_list">
{foreach from=$aStreamSubscribedUsers item=oUser} {foreach from=$aStreamSubscribedUsers item=oUser}
{assign var=iUserId value=$oUser->getId()} {assign var=iUserId value=$oUser->getId()}
{if !isset($aStreamFriends.$iUserId)} {if !isset($aStreamFriends.$iUserId)}
<li><input class="streamUserCheckbox input-checkbox" <li><input class="streamUserCheckbox input-checkbox"
type="checkbox" type="checkbox"
id="strm_u_{$iUserId}" id="strm_u_{$iUserId}"
checked="checked" checked="checked"
onClick="if (jQuery(this).prop('checked')) { ls.stream.subscribe({$iUserId}) } else { ls.stream.unsubscribe({$iUserId}) } " /> onClick="if (jQuery(this).prop('checked')) { ls.stream.subscribe({$iUserId}) } else { ls.stream.unsubscribe({$iUserId}) } " />
<a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a> <a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
</li> </li>
{/if} {/if}
{/foreach} {/foreach}
</ul> </ul>
{else} {else}
<ul id="stream_block_users_list"></ul> <ul id="stream_block_users_list"></ul>
<p id="stream_no_subscribed_users">{$aLang.stream_no_subscribed_users}</p> <p id="stream_no_subscribed_users">{$aLang.stream_no_subscribed_users}</p>
{/if} {/if}
</div> </div>
{if count($aStreamFriends)} {if count($aStreamFriends)}
<h3>{$aLang.stream_block_users_friends}</h3> <h3>{$aLang.stream_block_users_friends}</h3>
<p class="note">{$aLang.stream_settings_note_follow_friend}</p> <p class="note">{$aLang.stream_settings_note_follow_friend}</p>
<ul class="stream-settings-friends"> <ul class="stream-settings-friends">
{foreach from=$aStreamFriends item=oUser} {foreach from=$aStreamFriends item=oUser}
{assign var=iUserId value=$oUser->getId()} {assign var=iUserId value=$oUser->getId()}

View file

@ -3,7 +3,7 @@
{assign var="oUser" value=$oComment->getUser()} {assign var="oUser" value=$oComment->getUser()}
{assign var="oTopic" value=$oComment->getTarget()} {assign var="oTopic" value=$oComment->getTarget()}
{assign var="oBlog" value=$oTopic->getBlog()} {assign var="oBlog" value=$oTopic->getBlog()}
<li {if $smarty.foreach.cmt.iteration % 2 == 1}class="even"{/if}> <li {if $smarty.foreach.cmt.iteration % 2 == 1}class="even"{/if}>
<a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> &rarr; <a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> &rarr;
<span class="stream-comment-icon"></span> <span class="stream-comment-icon"></span>

View file

@ -1,20 +1,19 @@
<ul class="list"> <ul class="list">
{foreach from=$oTopics item=oTopic name="cmt"} {foreach from=$oTopics item=oTopic name="cmt"}
{assign var="oUser" value=$oTopic->getUser()} {assign var="oUser" value=$oTopic->getUser()}
{assign var="oBlog" value=$oTopic->getBlog()} {assign var="oBlog" value=$oTopic->getBlog()}
<li {if $smarty.foreach.cmt.iteration % 2 == 1}class="even"{/if}> <li {if $smarty.foreach.cmt.iteration % 2 == 1}class="even"{/if}>
<a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> &rarr; <a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> &rarr;
<span class="stream-topic-icon"></span> <span class="stream-topic-icon"></span>
<a href="{$oTopic->getUrl()}" class="topic-title">{$oTopic->getTitle()|escape:'html'}</a> <a href="{$oTopic->getUrl()}" class="topic-title">{$oTopic->getTitle()|escape:'html'}</a>
<span>{$oTopic->getCountComment()}</span> &rarr; <span>{$oTopic->getCountComment()}</span> &rarr;
<a href="{$oBlog->getUrlFull()}" class="blog-title">{$oBlog->getTitle()|escape:'html'}</a> <a href="{$oBlog->getUrlFull()}" class="blog-title">{$oBlog->getTitle()|escape:'html'}</a>
</li> </li>
{/foreach} {/foreach}
</ul> </ul>
<div class="bottom"> <div class="bottom">
<a href="{router page='new'}">{$aLang.block_stream_topics_all}</a> | <a href="{router page='rss'}new/">RSS</a> <a href="{router page='new'}">{$aLang.block_stream_topics_all}</a> | <a href="{router page='rss'}new/">RSS</a>
</div> </div>

View file

@ -1,7 +1,7 @@
<div class="block tags"> <div class="block tags">
<ul class="cloud"> <ul class="cloud">
{foreach from=$aTags item=oTag} {foreach from=$aTags item=oTag}
<li><a class="w{$oTag->getSize()}" rel="tag" href="{router page='tag'}{$oTag->getText()|escape:'url'}/">{$oTag->getText()|escape:'html'}</a></li> <li><a class="w{$oTag->getSize()}" rel="tag" href="{router page='tag'}{$oTag->getText()|escape:'url'}/">{$oTag->getText()|escape:'html'}</a></li>
{/foreach} {/foreach}
</ul> </ul>
</div> </div>

View file

@ -1,10 +1,10 @@
{if $aCityList && count($aCityList)>0} {if $aCityList && count($aCityList)>0}
<div class="block"> <div class="block">
<h2>{$aLang.block_city_tags}</h2> <h2>{$aLang.block_city_tags}</h2>
<ul class="cloud"> <ul class="cloud">
{foreach from=$aCityList item=aCity} {foreach from=$aCityList item=aCity}
<li><a class="w{$aCity.size}" rel="tag" href="{router page='people'}city/{$aCity.name|escape:'url'}/" >{$aCity.name|escape:'html'}</a></li> <li><a class="w{$aCity.size}" rel="tag" href="{router page='people'}city/{$aCity.name|escape:'url'}/" >{$aCity.name|escape:'html'}</a></li>
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
{/if} {/if}

View file

@ -1,10 +1,10 @@
{if $aCountryList && count($aCountryList)>0} {if $aCountryList && count($aCountryList)>0}
<div class="block"> <div class="block">
<h2>{$aLang.block_country_tags}</h2> <h2>{$aLang.block_country_tags}</h2>
<ul class="cloud"> <ul class="cloud">
{foreach from=$aCountryList item=aCountry} {foreach from=$aCountryList item=aCountry}
<li><a class="w{$aCountry.size}" rel="tag" href="{router page='people'}country/{$aCountry.name|escape:'url'}/">{$aCountry.name|escape:'html'}</a></li> <li><a class="w{$aCountry.size}" rel="tag" href="{router page='people'}country/{$aCountry.name|escape:'url'}/">{$aCountry.name|escape:'html'}</a></li>
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
{/if} {/if}

View file

@ -1,7 +1,7 @@
{if $oUserCurrent} {if $oUserCurrent}
<div class="block stream-settings"> <div class="block stream-settings">
<h2>{$aLang.userfeed_block_blogs_title}</h2> <h2>{$aLang.userfeed_block_blogs_title}</h2>
<p class="sp-note">{$aLang.userfeed_settings_note_follow_blogs}</p> <p class="sp-note">{$aLang.userfeed_settings_note_follow_blogs}</p>
{if count($aUserfeedBlogs)} {if count($aUserfeedBlogs)}
@ -17,7 +17,7 @@
{/foreach} {/foreach}
</ul> </ul>
{else} {else}
<p>{$aLang.userfeed_no_blogs}</p> <p>{$aLang.userfeed_no_blogs}</p>
{/if} {/if}
</div> </div>
{/if} {/if}

View file

@ -1,29 +1,29 @@
{if $oUserCurrent} {if $oUserCurrent}
{literal} {literal}
<script language="JavaScript" type="text/javascript"> <script type="text/javascript">
jQuery(document).ready( function() { jQuery(document).ready( function() {
ls.autocomplete.add(jQuery('#userfeed_users_complete'), aRouter['ajax']+'autocompleter/user/?security_ls_key='+LIVESTREET_SECURITY_KEY); ls.autocomplete.add(jQuery('#userfeed_users_complete'), aRouter['ajax']+'autocompleter/user/?security_ls_key='+LIVESTREET_SECURITY_KEY);
jQuery('#userfeed_users_complete').keydown(function (event) { jQuery('#userfeed_users_complete').keydown(function (event) {
if (event.which == 13) { if (event.which == 13) {
ls.userfeed.appendUser() ls.userfeed.appendUser()
} }
}); });
}); });
</script> </script>
{/literal} {/literal}
<div class="block stream-settings"> <div class="block stream-settings">
<h2>{$aLang.userfeed_block_users_title}</h2> <h2>{$aLang.userfeed_block_users_title}</h2>
<p class="note">{$aLang.userfeed_settings_note_follow_user}</p> <p class="note">{$aLang.userfeed_settings_note_follow_user}</p>
<div class="stream-settings-userlist"> <div class="stream-settings-userlist">
<p><input type="text" id="userfeed_users_complete" autocomplete="off" onclick/> <p><input type="text" id="userfeed_users_complete" autocomplete="off" onclick/>
<a href="javascript:ls.userfeed.appendUser()">{$aLang.userfeed_block_users_append}</a></p> <a href="javascript:ls.userfeed.appendUser()">{$aLang.userfeed_block_users_append}</a></p>
{if count($aUserfeedSubscribedUsers)} {if count($aUserfeedSubscribedUsers)}
<ul id="userfeed_block_users_list"> <ul id="userfeed_block_users_list">
{foreach from=$aUserfeedSubscribedUsers item=oUser} {foreach from=$aUserfeedSubscribedUsers item=oUser}
{assign var=iUserId value=$oUser->getId()} {assign var=iUserId value=$oUser->getId()}
@ -37,19 +37,19 @@
</li> </li>
{/if} {/if}
{/foreach} {/foreach}
</ul> </ul>
{else} {else}
<ul id="userfeed_block_users_list"></ul> <ul id="userfeed_block_users_list"></ul>
<p id="userfeed_no_subscribed_users">{$aLang.userfeed_no_subscribed_users}</p> <p id="userfeed_no_subscribed_users">{$aLang.userfeed_no_subscribed_users}</p>
{/if} {/if}
</div> </div>
{if count($aUserfeedFriends)} {if count($aUserfeedFriends)}
<h3>{$aLang.userfeed_block_users_friends}</h3> <h3>{$aLang.userfeed_block_users_friends}</h3>
<p class="note">{$aLang.userfeed_settings_note_follow_friend}</p> <p class="note">{$aLang.userfeed_settings_note_follow_friend}</p>
<ul class="stream-settings-friends"> <ul class="stream-settings-friends">
{foreach from=$aUserfeedFriends item=oUser} {foreach from=$aUserfeedFriends item=oUser}
{assign var=iUserId value=$oUser->getId()} {assign var=iUserId value=$oUser->getId()}

View file

@ -1,25 +1,25 @@
<table class="table blog-list-table table-people"> <table class="table blog-list-table table-people">
<thead> <thead>
<tr> <tr>
<td>{$aLang.blogs_title}</td> <td class="blog-title">{$aLang.blogs_title}</td>
{if $oUserCurrent}<td align="center" width="100px">{$aLang.blog_join_leave}</td>{/if} {if $oUserCurrent}<td class="blog-join-leave">{$aLang.blog_join_leave}</td>{/if}
<td align="center" width="60px">{$aLang.blogs_readers}</td> <td class="blog-readers-count">{$aLang.blogs_readers}</td>
<td align="center" width="60px">{$aLang.blogs_rating}</td> <td class="blog-rating">{$aLang.blogs_rating}</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$aBlogs item=oBlog} {foreach from=$aBlogs item=oBlog}
{assign var="oUserOwner" value=$oBlog->getOwner()} {assign var="oUserOwner" value=$oBlog->getOwner()}
<tr> <tr>
<td> <td class="blog-title">
<a href="{router page='blog'}{$oBlog->getUrl()}/"><img src="{$oBlog->getAvatarPath(24)}" alt="" class="avatar" /></a> <a href="{router page='blog'}{$oBlog->getUrl()}/"><img src="{$oBlog->getAvatarPath(24)}" alt="" class="avatar" /></a>
<a href="{router page='blog'}{$oBlog->getUrl()}/" class="title">{$oBlog->getTitle()|escape:'html'}</a> <a href="{router page='blog'}{$oBlog->getUrl()}/" class="title">{$oBlog->getTitle()|escape:'html'}</a>
{if $oBlog->getType()=='close'}<img src="{cfg name='path.static.skin'}/images/lock.png" alt="[x]" title="{$aLang.blog_closed}" class="private" />{/if} {if $oBlog->getType()=='close'}<img src="{cfg name='path.static.skin'}/images/lock.png" alt="[x]" title="{$aLang.blog_closed}" class="private" />{/if}
<p>{$aLang.blogs_owner}: <a href="{router page='profile'}{$oUserOwner->getLogin()}/" class="user">{$oUserOwner->getLogin()}</a></p> <p>{$aLang.blogs_owner}: <a href="{router page='profile'}{$oUserOwner->getLogin()}/" class="user">{$oUserOwner->getLogin()}</a></p>
</td> </td>
{if $oUserCurrent} {if $oUserCurrent}
<td align="center"> <td class="blog-join-leave">
{if $oUserCurrent->getId()!=$oBlog->getOwnerId() and $oBlog->getType()=='open'} {if $oUserCurrent->getId()!=$oBlog->getOwnerId() and $oBlog->getType()=='open'}
<div onclick="ls.blog.toggleJoin(this, {$oBlog->getId()}); return false;" class="join {if $oBlog->getUserIsJoin()}active{/if}"></div> <div onclick="ls.blog.toggleJoin(this, {$oBlog->getId()}); return false;" class="join {if $oBlog->getUserIsJoin()}active{/if}"></div>
{else} {else}
@ -27,8 +27,8 @@
{/if} {/if}
</td> </td>
{/if} {/if}
<td align="center" id="blog_user_count_{$oBlog->getId()}" class="date">{$oBlog->getCountUser()}</td> <td class="blog-readers-count date" id="blog_user_count_{$oBlog->getId()}">{$oBlog->getCountUser()}</td>
<td align="center" class="rating"><strong>{$oBlog->getRating()}</strong></td> <td class="blog-rating rating"><strong>{$oBlog->getRating()}</strong></td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>

View file

@ -3,33 +3,33 @@
<div id="comment_id_{$oComment->getId()}" class="comment {if !$oUserCurrent or ($oUserCurrent and !$oUserCurrent->isAdministrator())}not-admin{/if} {if $oComment->getDelete()} deleted{elseif $oUserCurrent and $oComment->getUserId()==$oUserCurrent->getId()} self{elseif $sDateReadLast<=$oComment->getDate()} new{/if}" > <div id="comment_id_{$oComment->getId()}" class="comment {if !$oUserCurrent or ($oUserCurrent and !$oUserCurrent->isAdministrator())}not-admin{/if} {if $oComment->getDelete()} deleted{elseif $oUserCurrent and $oComment->getUserId()==$oUserCurrent->getId()} self{elseif $sDateReadLast<=$oComment->getDate()} new{/if}" >
{if !$oComment->getDelete() or $bOneComment or ($oUserCurrent and $oUserCurrent->isAdministrator())} {if !$oComment->getDelete() or $bOneComment or ($oUserCurrent and $oUserCurrent->isAdministrator())}
<a name="comment{$oComment->getId()}" ></a> <a id="comment{$oComment->getId()}"></a>
<div class="folding"></div> <div class="folding"></div>
<div id="comment_content_id_{$oComment->getId()}" class="content"> <div id="comment_content_id_{$oComment->getId()}" class="content">
{if $oComment->isBad()} {if $oComment->isBad()}
<div style="display: none;" id="comment_text_{$oComment->getId()}"> <div style="display: none;" id="comment_text_{$oComment->getId()}">
{$oComment->getText()} {$oComment->getText()}
</div> </div>
<a href="#" onclick="jQuery('#comment_text_{$oComment->getId()}').show();jQuery(this).hide();return false;">{$aLang.comment_bad_open}</a> <a href="#" onclick="jQuery('#comment_text_{$oComment->getId()}').show();jQuery(this).hide();return false;">{$aLang.comment_bad_open}</a>
{else} {else}
{$oComment->getText()} {$oComment->getText()}
{/if} {/if}
</div> </div>
{if $oComment->getTargetType()!='talk'} {if $oComment->getTargetType()!='talk'}
<div id="vote_area_comment_{$oComment->getId()}" class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} "> <div id="vote_area_comment_{$oComment->getId()}" class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} ">
<a href="#" class="plus" onclick="return ls.vote.vote({$oComment->getId()},this,1,'comment');"></a> <a href="#" class="plus" onclick="return ls.vote.vote({$oComment->getId()},this,1,'comment');"></a>
<span id="vote_total_comment_{$oComment->getId()}" class="total">{if $oComment->getRating()>0}+{/if}{$oComment->getRating()}</span> <span id="vote_total_comment_{$oComment->getId()}" class="total">{if $oComment->getRating()>0}+{/if}{$oComment->getRating()}</span>
<a href="#" class="minus" onclick="return ls.vote.vote({$oComment->getId()},this,-1,'comment');"></a> <a href="#" class="minus" onclick="return ls.vote.vote({$oComment->getId()},this,-1,'comment');"></a>
</div> </div>
{/if} {/if}
<ul class="info"> <ul class="info">
<li class="avatar"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" /></a></li> <li class="avatar"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" /></a></li>
<li class="username"><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li> <li class="username"><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li>
@ -37,27 +37,27 @@
{if $oUserCurrent and !$oComment->getDelete() and !$bAllowNewComment} {if $oUserCurrent and !$oComment->getDelete() and !$bAllowNewComment}
<li><a href="#" onclick="ls.comments.toggleCommentForm({$oComment->getId()}); return false;" class="reply-link">{$aLang.comment_answer}</a></li> <li><a href="#" onclick="ls.comments.toggleCommentForm({$oComment->getId()}); return false;" class="reply-link">{$aLang.comment_answer}</a></li>
{/if} {/if}
<li><a href="{if $oConfig->GetValue('module.comment.nested_per_page')}{router page='comments'}{else}#comment{/if}{$oComment->getId()}" class="comment-link"></a></li> <li><a href="{if $oConfig->GetValue('module.comment.nested_per_page')}{router page='comments'}{else}#comment{/if}{$oComment->getId()}" class="comment-link"></a></li>
{if $oComment->getPid()} {if $oComment->getPid()}
<li class="goto-comment-parent"><a href="#" onclick="ls.comments.goToParentComment({$oComment->getId()},{$oComment->getPid()}); return false;" title="{$aLang.comment_goto_parent}">↑</a></li> <li class="goto-comment-parent"><a href="#" onclick="ls.comments.goToParentComment({$oComment->getId()},{$oComment->getPid()}); return false;" title="{$aLang.comment_goto_parent}">↑</a></li>
{/if} {/if}
<li class="goto-comment-child"><a href="#" title="{$aLang.comment_goto_child}">↓</a></li> <li class="goto-comment-child"><a href="#" title="{$aLang.comment_goto_child}">↓</a></li>
{if $oUserCurrent and !$bNoCommentFavourites} {if $oUserCurrent and !$bNoCommentFavourites}
<li><a href="#" onclick="return ls.favourite.toggle({$oComment->getId()},this,'comment');" class="favourite {if $oComment->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_comment_{$oComment->getId()}">{if $oComment->getCountFavourite()>0}{$oComment->getCountFavourite()}{else}&nbsp;{/if}</span></a></li> <li><a href="#" onclick="return ls.favourite.toggle({$oComment->getId()},this,'comment');" class="favourite {if $oComment->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_comment_{$oComment->getId()}">{if $oComment->getCountFavourite()>0}{$oComment->getCountFavourite()}{else}&nbsp;{/if}</span></a></li>
{/if} {/if}
{if !$oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()} {if !$oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
<li><a href="#" class="delete" onclick="ls.comments.toggle(this,{$oComment->getId()}); return false;">{$aLang.comment_delete}</a></li> <li><a href="#" class="delete" onclick="ls.comments.toggle(this,{$oComment->getId()}); return false;">{$aLang.comment_delete}</a></li>
{/if} {/if}
{if $oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()} {if $oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
<li><a href="#" class="repair" onclick="ls.comments.toggle(this,{$oComment->getId()}); return false;">{$aLang.comment_repair}</a></li> <li><a href="#" class="repair" onclick="ls.comments.toggle(this,{$oComment->getId()}); return false;">{$aLang.comment_repair}</a></li>
{/if} {/if}
{hook run='comment_action' comment=$oComment} {hook run='comment_action' comment=$oComment}
</ul> </ul>
{else} {else}
{$aLang.comment_was_delete} {$aLang.comment_was_delete}
{/if} {/if}
{if $oUserCurrent} {if $oUserCurrent}
<div class="comment-preview" id="comment_preview_{$oComment->getId()}" style="display: none;"></div> <div class="comment-preview" id="comment_preview_{$oComment->getId()}" style="display: none;"></div>
<div class="reply" id="reply_{$oComment->getId()}" style="display: none;"></div> <div class="reply" id="reply_{$oComment->getId()}" style="display: none;"></div>
{/if} {/if}
</div> </div>

View file

@ -3,36 +3,36 @@
{assign var="oUser" value=$oComment->getUser()} {assign var="oUser" value=$oComment->getUser()}
{assign var="oTopic" value=$oComment->getTarget()} {assign var="oTopic" value=$oComment->getTarget()}
{assign var="oBlog" value=$oTopic->getBlog()} {assign var="oBlog" value=$oTopic->getBlog()}
<div class="path"> <div class="path">
<a href="{$oTopic->getUrl()}">{$oTopic->getTitle()|escape:'html'}</a> / <a href="{$oTopic->getUrl()}">{$oTopic->getTitle()|escape:'html'}</a> /
<a href="{$oBlog->getUrlFull()}" class="blog-name">{$oBlog->getTitle()|escape:'html'}</a> <a href="{$oBlog->getUrlFull()}" class="blog-name">{$oBlog->getTitle()|escape:'html'}</a>
<a href="{$oTopic->getUrl()}#comments" class="comments-total">{$oTopic->getCountComment()}</a> <a href="{$oTopic->getUrl()}#comments" class="comments-total">{$oTopic->getCountComment()}</a>
</div> </div>
<div class="comment"> <div class="comment">
<div class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} "> <div class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} ">
<span class="total">{if $oComment->getRating()>0}+{/if}{$oComment->getRating()}</span> <span class="total">{if $oComment->getRating()>0}+{/if}{$oComment->getRating()}</span>
</div> </div>
<div class="content"> <div class="content">
{if $oComment->isBad()} {if $oComment->isBad()}
<div style="color: #aaa;">{$oComment->getText()}</div> <div style="color: #aaa;">{$oComment->getText()}</div>
{else} {else}
{$oComment->getText()} {$oComment->getText()}
{/if} {/if}
</div> </div>
<ul class="info"> <ul class="info">
<li class="avatar"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" /></a></li> <li class="avatar"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" /></a></li>
<li class="username"><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li> <li class="username"><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li>
<li class="date">{date_format date=$oComment->getDate()}</li> <li class="date">{date_format date=$oComment->getDate()}</li>
<li><a href="{if $oConfig->GetValue('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}" class="comment-link"></a></li> <li><a href="{if $oConfig->GetValue('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}" class="comment-link"></a></li>
</ul> </ul>
</div> </div>
{/foreach} {/foreach}
</div> </div>
{include file='paging.tpl' aPaging="$aPaging"} {include file='paging.tpl' aPaging="$aPaging"}

View file

@ -4,12 +4,12 @@
{else} {else}
{assign var="sGetSep" value='?'} {assign var="sGetSep" value='?'}
{/if} {/if}
<div class="pagination pagination-comments"> <div class="pagination pagination-comments">
<ul> <ul>
<li>{$aLang.paging}:</li> <li>{$aLang.paging}:</li>
{if $oConfig->GetValue('module.comment.nested_page_reverse')} {if $oConfig->GetValue('module.comment.nested_page_reverse')}
{if $aPagingCmt.iCurrentPage>1} {if $aPagingCmt.iCurrentPage>1}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage=1">&larr;</a></li> <li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage=1">&larr;</a></li>
{/if} {/if}
@ -23,13 +23,13 @@
{if $aPagingCmt.iCurrentPage<$aPagingCmt.iCountPage} {if $aPagingCmt.iCurrentPage<$aPagingCmt.iCountPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$aPagingCmt.iCountPage}">{$aLang.paging_last}</a></li> <li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$aPagingCmt.iCountPage}">{$aLang.paging_last}</a></li>
{/if} {/if}
{else} {else}
{if $aPagingCmt.iCurrentPage<$aPagingCmt.iCountPage} {if $aPagingCmt.iCurrentPage<$aPagingCmt.iCountPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$aPagingCmt.iCountPage}">{$aLang.paging_last}</a></li> <li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$aPagingCmt.iCountPage}">{$aLang.paging_last}</a></li>
{/if} {/if}
{foreach from=$aPagingCmt.aPagesRight item=iPage} {foreach from=$aPagingCmt.aPagesRight item=iPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$iPage}">{$iPage}</a></li> <li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$iPage}">{$iPage}</a></li>
{/foreach} {/foreach}
@ -37,13 +37,13 @@
{foreach from=$aPagingCmt.aPagesLeft item=iPage} {foreach from=$aPagingCmt.aPagesLeft item=iPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$iPage}">{$iPage}</a></li> <li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$iPage}">{$iPage}</a></li>
{/foreach} {/foreach}
{if $aPagingCmt.iCurrentPage>1} {if $aPagingCmt.iCurrentPage>1}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage=1">&rarr;</a></li> <li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage=1">&rarr;</a></li>
{/if} {/if}
{/if} {/if}
</ul> </ul>
</div> </div>
{/if} {/if}

View file

@ -6,46 +6,43 @@
<input type="hidden" id="comment_use_paging" value="{if $aPagingCmt and $aPagingCmt.iCountPage>1}1{/if}" /> <input type="hidden" id="comment_use_paging" value="{if $aPagingCmt and $aPagingCmt.iCountPage>1}1{/if}" />
</div> </div>
{/if} {/if}
<div class="comments-header"> <div class="comments-header">
<h3>{$aLang.comment_title} (<span id="count-comments">{$iCountComment}</span>)</h3> <h3>{$aLang.comment_title} (<span id="count-comments">{$iCountComment}</span>)</h3>
{if $sTargetType=='topic'} {if $sTargetType=='topic'}
<a href="{router page='rss'}comments/{$iTargetId}/" class="rss">RSS</a> <a href="{router page='rss'}comments/{$iTargetId}/" class="rss">RSS</a>
{/if} {/if}
<a href="#" onclick="ls.comments.collapseCommentAll(); return false;" onfocus="blur();">{$aLang.comment_collapse}</a> / <a href="#" onclick="ls.comments.collapseCommentAll(); return false;" onfocus="blur();">{$aLang.comment_collapse}</a> /
<a href="#" onclick="ls.comments.expandCommentAll(); return false;" onfocus="blur();">{$aLang.comment_expand}</a> <a href="#" onclick="ls.comments.expandCommentAll(); return false;" onfocus="blur();">{$aLang.comment_expand}</a>
</div> </div>
<a name="comments"></a>
<div class="comments" id="comments"> <div class="comments" id="comments">
{assign var="nesting" value="-1"} {assign var="nesting" value="-1"}
{foreach from=$aComments item=oComment name=rublist} {foreach from=$aComments item=oComment name=rublist}
{assign var="cmtlevel" value=$oComment->getLevel()} {assign var="cmtlevel" value=$oComment->getLevel()}
{if $cmtlevel>$oConfig->GetValue('module.comment.max_tree')} {if $cmtlevel>$oConfig->GetValue('module.comment.max_tree')}
{assign var="cmtlevel" value=$oConfig->GetValue('module.comment.max_tree')} {assign var="cmtlevel" value=$oConfig->GetValue('module.comment.max_tree')}
{/if} {/if}
{if $nesting < $cmtlevel} {if $nesting < $cmtlevel}
{elseif $nesting > $cmtlevel} {elseif $nesting > $cmtlevel}
{section name=closelist1 loop=$nesting-$cmtlevel+1}</div>{/section} {section name=closelist1 loop=$nesting-$cmtlevel+1}</div>{/section}
{elseif not $smarty.foreach.rublist.first} {elseif not $smarty.foreach.rublist.first}
</div> </div>
{/if} {/if}
<div class="comment-wrapper" id="comment_wrapper_id_{$oComment->getId()}"> <div class="comment-wrapper" id="comment_wrapper_id_{$oComment->getId()}">
{include file='comment.tpl'} {include file='comment.tpl'}
{assign var="nesting" value=$cmtlevel} {assign var="nesting" value=$cmtlevel}
{if $smarty.foreach.rublist.last} {if $smarty.foreach.rublist.last}
{section name=closelist2 loop=$nesting+1}</div>{/section} {section name=closelist2 loop=$nesting+1}</div>{/section}
{/if} {/if}
{/foreach} {/foreach}
</div> </div>
{include file='comment_paging.tpl' aPagingCmt=$aPagingCmt} {include file='comment_paging.tpl' aPagingCmt=$aPagingCmt}
{if $bAllowNewComment} {if $bAllowNewComment}
@ -54,70 +51,70 @@
{if $oUserCurrent} {if $oUserCurrent}
<div class="reply-area"> <div class="reply-area">
<h4 class="reply-header" id="add_comment_root"><a href="#" onclick="ls.comments.toggleCommentForm(0); return false;">{$sNoticeCommentAdd}</a></h4> <h4 class="reply-header" id="add_comment_root"><a href="#" onclick="ls.comments.toggleCommentForm(0); return false;">{$sNoticeCommentAdd}</a></h4>
{if $oConfig->GetValue('view.tinymce')} {if $oConfig->GetValue('view.tinymce')}
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce/tiny_mce.js"></script> <script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce/tiny_mce.js"></script>
{literal} {literal}
<script type="text/javascript"> <script type="text/javascript">
tinyMCE.init({ tinyMCE.init({
mode : "textareas", mode : "textareas",
theme : "advanced", theme : "advanced",
theme_advanced_toolbar_location : "top", theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left", theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,lslink,lsquote", theme_advanced_buttons1 : "bold,italic,underline,strikethrough,lslink,lsquote",
theme_advanced_buttons2 : "", theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "", theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom", theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true, theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0, theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0, theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false, theme_advanced_path : false,
object_resizing : true, object_resizing : true,
force_br_newlines : true, force_br_newlines : true,
forced_root_block : '', // Needed for 3.x forced_root_block : '', // Needed for 3.x
force_p_newlines : false, force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak", plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false, convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]", extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>", pagebreak_separator :"<cut>",
media_strict : false, media_strict : false,
language : TINYMCE_LANG, language : TINYMCE_LANG,
inline_styles:false, inline_styles:false,
formats : { formats : {
underline : {inline : 'u', exact : true}, underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true} strikethrough : {inline : 's', exact : true}
}, },
setup : function(ed) { setup : function(ed) {
// Display an alert onclick // Display an alert onclick
ed.onKeyPress.add(function(ed, e) { ed.onKeyPress.add(function(ed, e) {
key = e.keyCode || e.which; key = e.keyCode || e.which;
if(e.ctrlKey && (key == 13)) { if(e.ctrlKey && (key == 13)) {
$('#comment-button-submit').click(); $('#comment-button-submit').click();
return false; return false;
} }
}); });
} }
}); });
</script> </script>
{/literal} {/literal}
{else} {else}
{include file='window_load_img.tpl' sToLoad='form_comment_text'} {include file='window_load_img.tpl' sToLoad='form_comment_text'}
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($){ jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"}); ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор // Подключаем редактор
$('#form_comment_text').markItUp(getMarkitupCommentSettings()); $('#form_comment_text').markItUp(getMarkitupCommentSettings());
}); });
</script> </script>
{/if} {/if}
<div id="reply_0" class="reply"> <div id="reply_0" class="reply">
{if $oUserCurrent} {if $oUserCurrent}
<div class="comment-preview" id="comment_preview_0" style="display: none;"><div class="comment-inner"><div class="content"></div></div></div> <div class="comment-preview" id="comment_preview_0" style="display: none;"><div class="comment-inner"><div class="content"></div></div></div>
{/if} {/if}
<form action="" method="POST" id="form_comment" onsubmit="return false;" enctype="multipart/form-data"> <form action="#" method="POST" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
<textarea name="comment_text" id="form_comment_text" class="input-wide"></textarea> <textarea name="comment_text" id="form_comment_text" class="input-wide"></textarea>
<input type="button" value="{$aLang.comment_preview}" onclick="ls.comments.preview();" /> <input type="button" value="{$aLang.comment_preview}" onclick="ls.comments.preview();" />
<input type="submit" name="submit_comment" value="{$aLang.comment_add}" id="comment-button-submit" onclick="ls.comments.add('form_comment',{$iTargetId},'{$sTargetType}'); return false;" /> <input type="submit" name="submit_comment" value="{$aLang.comment_add}" id="comment-button-submit" onclick="ls.comments.add('form_comment',{$iTargetId},'{$sTargetType}'); return false;" />
@ -129,6 +126,4 @@
{else} {else}
{$aLang.comment_unregistered} {$aLang.comment_unregistered}
{/if} {/if}
{/if} {/if}

View file

@ -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 { 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 h2 { font-size: 20px; font-family: Tahoma, sans-serif; }
.block.nostyle { padding: 20px 25px; background: none; margin: 0px; border: none; box-shadow: none;} .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 { padding-top: 5px; font-size: 11px; text-align: right; }
.block .bottom a { } .block .bottom a { }
.block .stream-settings-userlist ul, .block .stream-settings-userlist ul,
.block .stream-settings-friends, .block .stream-settings-friends,
.block .stream-settings-blogs { overflow: auto; max-height: 200px; _height: expression( this.scrollHeight > 200 ? "200px" : "auto" ); position: relative; } .block .stream-settings-blogs { overflow: auto; max-height: 200px; _height: expression( this.scrollHeight > 200 ? "200px" : "auto" ); position: relative; }
/* Contacts */ /* Contacts */
.block.contacts img { padding: 7px; border: 1px solid #ccc; } .block.contacts img { padding: 7px; border: 1px solid #ccc; }
.block.contacts ul { margin-top: 5px; } .block.contacts ul { margin-top: 5px; }
.block.contacts ul li { padding: 3px 0 3px 25px; } .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.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.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.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.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.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.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; } .block.contacts ul li.phone { background: url(../images/icons-contacts.gif) no-repeat scroll 0px -145px; }
/* Stream */ /* Stream */
.block.stream ul.list { border-top: 1px solid #eee; font-size: 11px; line-height: 16px; color: #999; } .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 { 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 .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 .topic-title { color: #333; }
.block.stream ul.list li .blog-title { color: #999; } .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-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 .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 span { color: #66B746; }
.block.stream ul.list li.even { background: #F8F8F8; } .block.stream ul.list li.even { background: #F8F8F8; }
/* Top Blogs */ /* Top Blogs */
.block.blogs ul.list { border-top: 1px solid #eee; } .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 { 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 a { color: #777; }
.block.blogs ul.list li img { vertical-align: top; } .block.blogs ul.list li img { vertical-align: top; }
.block.blogs ul.list li .rating { float: right; font-weight: bold; margin-left: 10px; } .block.blogs ul.list li .rating { float: right; font-weight: bold; margin-left: 10px; }
/* Tags */ /* Tags */
.block.tags { background: #F7F8F9; box-shadow: none; border-color: #EAEBEB; } .block.tags { background: #F7F8F9; box-shadow: none; border-color: #EAEBEB; }
.block .cloud { text-align: center; } .block .cloud { text-align: center; }
.block .cloud li { display: inline; margin-right: 5px; line-height: 22px; } .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 { text-decoration: none; white-space: nowrap; color: #8B8B8B; }
.block .cloud li a:hover { color: #fff; background: #777; } .block .cloud li a:hover { color: #fff; background: #777; }
.block .cloud li a.w1 { font-size: 12px; } .block .cloud li a.w1 { font-size: 12px; }
.block .cloud li a.w2 { font-size: 12px; } .block .cloud li a.w2 { font-size: 12px; }
.block .cloud li a.w3 { font-size: 14px; } .block .cloud li a.w3 { font-size: 14px; }
.block .cloud li a.w4 { font-size: 14px; } .block .cloud li a.w4 { font-size: 14px; }
.block .cloud li a.w5 { font-size: 18px; } .block .cloud li a.w5 { font-size: 18px; }
.block .cloud li a.w6 { font-size: 18px; } .block .cloud li a.w6 { font-size: 18px; }
.block .cloud li a.w7 { font-size: 20px; } .block .cloud li a.w7 { font-size: 20px; }
.block .cloud li a.w8 { font-size: 20px; } .block .cloud li a.w8 { font-size: 20px; }
.block .cloud li a.w9 { font-size: 22px; } .block .cloud li a.w9 { font-size: 22px; }
.block .cloud li a.w10 { font-size: 22px; } .block .cloud li a.w10 { font-size: 22px; }
/* Stream Settings */ /* Stream Settings */
.block.stream-settings h2 { margin-bottom: 7px; } .block.stream-settings h2 { margin-bottom: 7px; }
.block.stream-settings h3 { margin-bottom: 7px; } .block.stream-settings h3 { margin-bottom: 7px; }
.block.stream-settings p.note { margin-bottom: 15px; color: #aaa; } .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 input.input-checkbox { position: relative; top: 2px; margin: 0 2px 0 1px; }
.block.stream-settings ul li { padding-bottom: 5px; } .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-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 { 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 { 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 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 { 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 p a:hover { color: #555; border-color: #555; }
.block.stream-settings .stream-settings-userlist li { padding-bottom: 5px; } .block.stream-settings .stream-settings-userlist li { padding-bottom: 5px; }

View file

@ -1,91 +1,91 @@
/* Update button */ /* Update button */
.update { .update {
padding: 8px; padding: 8px;
float: right; float: right;
position: fixed; position: fixed;
top: 220px; top: 220px;
right: 0; right: 0;
z-index: 100; z-index: 100;
text-align: center; text-align: center;
background: #FAFBFB; background: #FAFBFB;
border-radius: 10px 0 0 10px; border-radius: 10px 0 0 10px;
border-top: 1px solid #eee; border-top: 1px solid #eee;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
border-left: 1px solid #ddd; border-left: 1px solid #ddd;
_position: absolute; _position: absolute;
_top: expression( eval(document.documentElement.scrollTop) + 220 +"px" ); _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 { 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 .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; } .update .new-comments { border-top: 1px solid #ececed; color: #3cc600; padding-top: 7px; margin-top: 3px; cursor: pointer; }
/* Comments */ /* Comments */
.comments { margin-bottom: 10px; } .comments { margin-bottom: 10px; }
.comments .comment-wrapper { overflow: hidden; zoom: 1; position: relative; } .comments .comment-wrapper { overflow: hidden; zoom: 1; position: relative; }
.comments .comment-wrapper .comment-wrapper { padding-left: 25px; } .comments .comment-wrapper .comment-wrapper { padding-left: 25px; }
.comment-preview { padding: 5px 10px; margin-bottom: 5px; background: #fafafa; overflow: hidden; zoom: 1; } .comment-preview { padding: 5px 10px; margin-bottom: 5px; background: #fafafa; overflow: hidden; zoom: 1; }
.comments-header { padding-left: 20px; margin-bottom: 20px; } .comments-header { padding-left: 20px; margin-bottom: 20px; }
.comments-header h3 { font-size: 18px; font-family: Verdana, sans-serif; margin-bottom: 3px; } .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; } .comments-header a.rss { background: url(../images/icons.gif) no-repeat scroll -70px -247px transparent; margin-right: 20px; padding-left: 14px; }
/* Comment */ /* Comment */
.comment { margin-bottom: 20px; position: relative; padding-left: 20px; zoom: 1; } .comment { margin-bottom: 20px; position: relative; padding-left: 20px; zoom: 1; }
.comment .deleted { padding: 5px 10px; color: #777; background: #f4f4f4; } .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 { 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 .folding.folded { background-position: 0 -210px; }
.comment .goto-comment-child { display: none; } .comment .goto-comment-child { display: none; }
.comment .voting { position: absolute; top: 5px; right: 0; width: 48px; height: 30px; } .comment .voting { position: absolute; top: 5px; right: 0; width: 48px; height: 30px; }
.comment .voting .plus { position: absolute; top: 0; left: 0; } .comment .voting .plus { position: absolute; top: 0; left: 0; }
.comment .voting .minus { position: absolute; top: 16px; 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 .total { position: absolute; top: 4px; right: 0; font-weight: normal; color: #333; padding: 0; }
.comment .voting.positive .total { color: #390; } .comment .voting.positive .total { color: #390; }
.comment .voting.negative .total { color: #f00; } .comment .voting.negative .total { color: #f00; }
/* Comment Highlights */ /* Comment Highlights */
.comment .content, .comment .content:before { background-color: #f7f7f7; } .comment .content, .comment .content:before { background-color: #f7f7f7; }
.comment.deleted .content, .comment.deleted .content:before { background-color: #c5c5c5; } .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.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.self .content, .comment.self .content:before { background-color: #fdf5e6; }
.comment.new .content, .comment.new .content:before { background-color: #e4fbf1; } .comment.new .content, .comment.new .content:before { background-color: #e4fbf1; }
.comment.current .content, .comment.current .content:before { background-color: #cdf5a6; } .comment.current .content, .comment.current .content:before { background-color: #cdf5a6; }
/* Info Block */ /* 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 { 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 { float: left; margin-right: 10px; }
.comment .info li.avatar { padding-top: 0; position: absolute; top: 0; left: 0; } .comment .info li.avatar { padding-top: 0; position: absolute; top: 0; left: 0; }
.comment .info li.avatar img { vertical-align: top; } .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.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.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.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 { 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.active { background-position: -50px -40px; }
.comment .info li a.favourite:hover { 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 span.favourite-count { color: #390; margin-left: 2px; position: relative; top: 1px; }
.comment .info li a { } .comment .info li a { }
/* Content */ /* 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 { 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 .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 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;} .comment blockquote, .comment-preview blockquote {font-style: italic; padding: 5px 10px; background: #ffffff; border: 1px solid #ddd;}
/* Actions */ /* Actions */
.comment .actions { font-size: 11px; } .comment .actions { font-size: 11px; }
.comment .actions a { text-decoration: none; } .comment .actions a { text-decoration: none; }
/* Comment List */ /* Comment List */
.comments.comment-list .path { padding-bottom: 3px; font-size: 11px; font-weight: bold; color: #aaa; } .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 .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 .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; } .comments.comment-list .comment { padding-left: 0; }
/* Reply Form */ /* Reply Form */
.reply-area { padding-left: 20px; } .reply-area { padding-left: 20px; }
.reply { padding-bottom: 10px; padding-top: 10px; } .reply { padding-bottom: 10px; padding-top: 10px; }
.reply .markItUp { width: 98%; } .reply .markItUp { width: 98%; }
.reply .markItUpHeader { width: 98%; } .reply .markItUpHeader { width: 98%; }
.reply textarea { height: 100px; width: 98%; } .reply textarea { height: 100px; width: 98%; }
.reply textarea.loader { background: #f7f7f7 url(../images/loader.gif) no-repeat center;} .reply textarea.loader { background: #f7f7f7 url(../images/loader.gif) no-repeat center;}

View file

@ -1,111 +1,117 @@
/* Voting */ /* Voting */
.voting { overflow: hidden; zoom: 1; } .voting { overflow: hidden; zoom: 1; }
.voting .total { float: left; padding: 0 7px; color: #aaa; } .voting .total { float: left; padding: 0 7px; color: #aaa; }
.voting .total a { text-decoration: none; color: #999; outline: none; } .voting .total a { text-decoration: none; color: #999; outline: none; }
.voting.positive .total { color: #390; } .voting.positive .total { color: #390; }
.voting.negative .total { color: #f00; } .voting.negative .total { color: #f00; }
.voting .plus, .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 .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 .plus { background-position: 0 0; }
.voting .minus { background-position: -18px 0; } .voting .minus { background-position: -18px 0; }
.voting .plus:hover { background-position: -9px 0; } .voting .plus:hover { background-position: -9px 0; }
.voting .minus:hover { background-position: -27px 0; } .voting .minus:hover { background-position: -27px 0; }
.voting.voted.plus .plus { background-position: -9px 0; } .voting.voted.plus .plus { background-position: -9px 0; }
.voting.voted.minus .minus { background-position: -27px 0; } .voting.voted.minus .minus { background-position: -27px 0; }
.voting.voted.plus .minus:hover { background-position: -18px 0; } .voting.voted.plus .minus:hover { background-position: -18px 0; }
.voting.voted.minus .plus:hover { background-position: 0 0; } .voting.voted.minus .plus:hover { background-position: 0 0; }
.voting.guest .plus:hover { background-position: 0 0; } .voting.guest .plus:hover { background-position: 0 0; }
.voting.guest .minus:hover { background-position: -18px 0; } .voting.guest .minus:hover { background-position: -18px 0; }
/* Favorite */ /* Favorite */
.favourite { background: url(../images/favorite.png) no-repeat; display: block; height: 16px; width: 16px; position: relative; top: 1px; } .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:hover { background-position: 0 -16px; }
.favourite.active { background-position: 0 -16px; } .favourite.active { background-position: 0 -16px; }
/* Pagination */ /* Pagination */
.pagination { } .pagination { }
.pagination p { font-size: 16px; color: #bbb; margin-bottom: 10px; } .pagination p { font-size: 16px; color: #bbb; margin-bottom: 10px; }
.pagination ul { overflow: hidden; font-family: Verdana, Sans-Serif; } .pagination ul { overflow: hidden; font-family: Verdana, Sans-Serif; }
.pagination ul li { float: left; margin-right: 8px; } .pagination ul li { float: left; margin-right: 8px; }
.pagination ul li.active { font-weight: bold; } .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; } .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 */
.switcher { overflow: hidden; zoom: 1; margin-bottom: 15px; font-size: 11px; padding-bottom: 3px; } .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 { 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 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 { -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.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 { -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.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 { color: #fff; background: #83DC5F; border-color: #83DC5F; box-shadow: 0 1px 0 #75C656 inset; }
.switcher li.active a { color: #fff; } .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; } .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 messages */
.system-message-error { background: #f0c8c8; color: #b22626; padding: 10px 15px; margin-bottom: 15px; } .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; } .system-message-notice { background: #dafad8; color: #4bb23b; padding: 10px 15px; margin-bottom: 15px; }
/* Actions */ /* Actions */
.actions { overflow: hidden; zoom: 1; font-size: 11px; } .actions { overflow: hidden; zoom: 1; font-size: 11px; }
.actions a { overflow: hidden; zoom: 1; margin-right: 10px; text-decoration: none; } .actions a { overflow: hidden; zoom: 1; margin-right: 10px; text-decoration: none; }
.actions li { float: left;} .actions li { float: left;}
.actions .edit { padding-left: 16px; background: url(../images/edit.gif) no-repeat 0 1px; } .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 .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 .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 .join { margin-top: 4px; }
.actions a:hover { text-decoration: underline; } .actions a:hover { text-decoration: underline; }
/* Misc */ /* Misc */
.user { padding-left: 12px; background: url(../images/icons.gif) no-repeat 0 -107px; color: #555; text-decoration: none;} .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;} .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; } .user.inactive { color: #888; }
.padding { padding: 10px 20px; } .padding { padding: 10px 20px; }
.tags-search { position: relative; left: -20px; margin-bottom: 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; } .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 { 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 .input-text { border: 1px solid #ccc; width: 386px; padding: 4px 6px; font-size: 18px; font-family: Arial, sans-serif; }
.center h2 { color: #888; } .center h2 { color: #888; }
.center .button-login { float: right; } .center .button-login { float: right; }
.join { width: 10px; height: 10px; background: url(../images/icons.gif) no-repeat 0 -250px; cursor: pointer; } .join { width: 10px; height: 10px; background: url(../images/icons.gif) no-repeat 0 -250px; cursor: pointer; }
.join.active { background-position: -10px -250px; } .join.active { background-position: -10px -250px; }
.table { width: 100%; margin-bottom: 15px; } table { width: 100%; margin-bottom: 15px; }
.table td { padding: 5px; } table td { padding: 5px; }
.table tr.active td { background: #F1FCEF; } table tr.active td { background: #F1FCEF; }
.table thead td { background: #F0F1F1; font-weight: bold; } table thead td { background: #F0F1F1; font-weight: bold; }
.table tbody td { padding: 5px; border-bottom: 1px solid #ddd; font-size: 11px; } table tbody td { padding: 5px; border-bottom: 1px solid #ddd; font-size: 11px; }
.table.table-people { } 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 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 .username { font-weight: bold; color: #999; } table.table-people td.user-skill { width: 60px; }
.table.table-people .strength { font-weight: bold; color: #70AAE0; } table.table-people td.user-rating { width: 80px; }
.table.table-people .date { color: #999; } table.table-people td.user-date-last, table.table-people td.user-date-registration { width: 170px; }
.table.table-people .rating strong { font-weight: bold; color: #fff; background: #FF68CF; padding: 5px 10px; } table.table-people .avatar { vertical-align: middle; margin-right: 7px; }
table.table-people .username { font-weight: bold; color: #999; }
.table.table-talk tbody td { color: #999; } table.table-people .strength { font-weight: bold; color: #70AAE0; }
.table.table-talk td { padding: 5px; } table.table-people .date { color: #999; }
.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-people .rating strong { font-weight: bold; color: #fff; background: #FF68CF; padding: 5px 10px; }
.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 tbody td { color: #999; }
.table.table-talk a.favourite.active { background-position: -50px -40px; } table.table-talk td { padding: 5px; }
.table.table-talk a.favourite:hover { background-position: -50px -40px; } 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; }
.right { float: right; } table.table-talk a.favourite { float: left; width: 10px; height: 8px; background: url(../images/icons.gif) -40px -40px no-repeat; }
span.green { color: #008000; } 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; }

View file

@ -1,35 +1,35 @@
.input-wide { width: 98%; _width: 97%; padding: 2px; } .input-wide { width: 98%; _width: 97%; padding: 2px; }
.input-100 { width: 100px; padding: 2px; } .input-100 { width: 100px; padding: 2px; }
.input-200 { width: 200px; padding: 2px; } .input-200 { width: 200px; padding: 2px; }
.input-300 { width: 300px; padding: 2px; } .input-300 { width: 300px; padding: 2px; }
.note { font-size: 12px; color: #aaa; } .note { font-size: 12px; color: #aaa; }
.checkbox { position: relative; top: 2px; margin: 0 4px 0 1px; } .checkbox { position: relative; top: 2px; margin: 0 4px 0 1px; }
.question-list { margin-bottom: 15px; } .question-list { margin-bottom: 15px; }
.question-list li { margin-bottom: 5px; } .question-list li { margin-bottom: 5px; }
.question-list li input { margin-right: 5px; } .question-list li input { margin-right: 5px; }
.markItUp { width: 100%; } .markItUp { width: 100%; }
.markItUpEditor { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markItUpEditor { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; }
.markItUpHeader { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markItUpHeader { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; }
.button { .button {
background: rgb(254,254,254); background: rgb(254,254,254);
background: -moz-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(233,233,233,1) 100%); 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-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: -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: -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%); 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 ); 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%); background: linear-gradient(top, rgba(254,254,254,1) 0%,rgba(233,233,233,1) 100%);
border-radius: 15px; border-radius: 15px;
border: none; border: none;
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
padding: 3px 13px 3px; padding: 3px 13px 3px;
color: #444; color: #444;
text-shadow: 0 1px 0 #fff; text-shadow: 0 1px 0 #fff;
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
border-bottom: 1px solid #fafafa; border-bottom: 1px solid #fafafa;
cursor: pointer; cursor: pointer;
} }

View file

@ -1,183 +1,189 @@
/* Blocks /* Blocks
-------------------- */ -------------------- */
#container { margin: 0 auto 20px; max-width: 1600px; min-width: 960px; } #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 { 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; } #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 { overflow: hidden; zoom: 1; padding: 0 20px 20px; }
#wrapper.show-update-button { padding-right: 55px; } #wrapper.show-update-button { padding-right: 55px; }
#wrapper.white-back { background: #fff; margin: 0 20px 30px 20px;} #wrapper.white-back { background: #fff; margin: 0 20px 30px 20px;}
#wrapper.white-back #content { } #wrapper.white-back #content { }
#content { width: 66.5%; float: left; margin-right: 1.5%; background: #fff; } #content { width: 66.5%; float: left; margin-right: 1.5%; background: #fff; }
#content-inner { padding: 20px; } #content-inner { padding: 20px; }
#sidebar { width: 32%; float: left; } #sidebar { width: 32%; float: left; }
#footer { overflow: hidden; zoom: 1; margin: 0 0 20px; color: #777; border-top: 1px solid #DADADA; } #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; } #footer-inner { border-top: 1px solid #fff; padding: 15px 20px 10px; }
/* Header /* Header
-------------------- */ -------------------- */
#header a.logo { font-size: 20px; float: left; padding: 30px 40px 0 5px; text-decoration: none; } #header a.logo { font-size: 20px; float: left; padding: 30px 40px 0 5px; text-decoration: none; }
#header a.logo span { color: #77D115; } #header a.logo span { color: #77D115; }
#header a { color: #fff; } #header a { color: #fff; }
#header .pages { overflow: hidden; zoom: 1; padding: 32px 0 0; list-style: none; float: left; font-size: 15px; } #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 { float: left; margin-right: 10px; position: relative; }
#header .pages li a { color: #BEBEBE; text-decoration: underline; padding: 2px 5px 3px; } #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 a { color: #FFFFFF; font-size: 24px; line-height: 24px; text-decoration: none; }
#header .pages li.active { top: -5px; } #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 { 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 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 { 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 .message.new { background: url(../images/icons.gif) no-repeat right -17px; color: #ffea00; }
#header .profile .create { color: #f79cf3; } #header .profile .create { color: #f79cf3; }
#header .profile .logout { color: #AFAFAF; text-decoration: none; } #header .profile .logout { color: #AFAFAF; text-decoration: none; }
#header .profile .avatar { position: absolute; top: 0; right: 0; width: 48px; height: 48px;} #header .profile .avatar { position: absolute; top: 0; right: 0; width: 48px; height: 48px;}
#header .profile a:hover { color: #ddd; } #header .profile a:hover { color: #ddd; }
#header .auth { position: absolute; top: 28px; right: 33px; color: #ddd; } #header .auth { position: absolute; top: 28px; right: 33px; color: #ddd; }
#header .auth .login-link { font-size: 18px; } #header .auth .login-link { font-size: 18px; }
/* Header Light /* Header Light
-------------------- */ -------------------- */
#header-light .logo { font-size: 28px; text-decoration: none; color: #777; } #header-light .logo { font-size: 28px; text-decoration: none; color: #777; }
#header-light .logo:hover { color: #555; } #header-light .logo:hover { color: #555; }
/* Navigation /* Navigation
-------------------- */ -------------------- */
#nav { margin: 0 auto 15px; max-width: 1600px; min-width: 960px; background: url(../images/nav.png) no-repeat; position: relative; zoom: 1; } #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; } #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 */ /* Menu */
#nav .menu { padding-bottom: 30px; float: left; font-size: 15px; margin: 11px 0 0 0; } #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 { 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.new { color: #390; }
#nav .menu li a { text-decoration: none; color: #838383; } #nav .menu li a { text-decoration: none; color: #838383; }
#nav .menu li a:hover { color: #333; } #nav .menu li a:hover { color: #333; }
#nav .menu li.active { position: relative; background: #fff; border-bottom: 1px solid #ddd; } #nav .menu li.active { position: relative; background: #fff; border-bottom: 1px solid #ddd; }
#nav .menu li.active a { color: #333; } #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; } #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 */ /* Sub-menu */
#nav .sub-menu { position: absolute; top: 35px; left: 0; width: 500px; font-size: 11px; } #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 { 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 { color: #777 !important; text-decoration: underline; }
#nav .sub-menu li a:hover { text-decoration: none !important; } #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 { 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 a { color: #fff !important; text-decoration: none; }
#nav .sub-menu li.active:before { display: none; } #nav .sub-menu li.active:before { display: none; }
/* Search */ /* Search */
#nav .search { position: absolute; bottom: 25px; right: 20px; } #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 .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; } #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 */ /* 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 { 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; } #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 /* Misc blocks
-------------------- */ -------------------- */
/* Blog profile */ /* Blog profile */
.blog { padding: 20px 20px 0; margin-bottom: 20px; color: #666; position: relative; } .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 { position: absolute; top: 10px; right: 20px; z-index: 100; }
.blog .voting .total { font-weight: normal; padding: 4px 10px 5px; font-size: 14px; } .blog .voting .total { font-weight: normal; padding: 4px 10px 5px; font-size: 14px; }
.blog .voting .plus { margin: 4px 6px 0 0; } .blog .voting .plus { margin: 4px 6px 0 0; }
.blog .voting .minus { margin: 4px 0 0 6px; } .blog .voting .minus { margin: 4px 0 0 6px; }
.blog .voting .text { font-size: 10px; color: #aaa; text-align: center; clear: both; } .blog .voting .text { font-size: 10px; color: #aaa; text-align: center; clear: both; }
.blog .voting.positive .total { background: #68BF46; color: #fff; } .blog .voting.positive .total { background: #68BF46; color: #fff; }
.blog .voting.negative .total { background: #FF3B3C; 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 { overflow: hidden; zoom: 1; position: relative; padding: 0 100px 0 30px; }
.blog .blog-header img { position: absolute; top: 0; left: 0; } .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 { 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 a { text-decoration: none; border-bottom: 1px dashed #70AAE0; }
.blog .blog-header h2.inactive a { color: #ccc; border-color: #ccc; } .blog .blog-header h2.inactive a { color: #ccc; border-color: #ccc; }
.blog .actions { margin-bottom: 10px; } .blog .actions { margin-bottom: 10px; }
.blog .blog-info { display: none; background: #F4F4F6; padding: 25px 30px; border-radius: 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 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 p { border-bottom: 1px solid #DADADA; padding-bottom: 15px; margin-bottom: 0; }
.blog .blog-info .user { margin-right: 5px; } .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 { 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-admins { float: left; width: 50%; }
.blog .blog-wrapper .blog-mods { 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 { float: left; width: 60px;text-align: center; overflow: hidden; }
.blog .blog-wrapper .user-list li img { display: block; margin: 0 auto 2px; } .blog .blog-wrapper .user-list li img { display: block; margin: 0 auto 2px; }
.blog-list-table { } .blog-list-table { }
.blog-list-table tbody { color: #999; } .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 td .avatar { float: left; position: relative; top: 2px; } .blog-list-table thead td.blog-join-leave { width: 100px; }
.blog-list-table td .title { font-size: 18px; line-height: 22px; } .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 td .user { font-weight: bold; color: #999; background: url(../images/icons.gif) 0 -108px no-repeat; } .blog-list-table tbody { color: #999; }
.blog-list-table td .private { position: relative; top: 2px; } .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 p { margin-bottom: 0; color: #999; } .blog-list-table td.blog-join-leave { width: 100px; }
.blog-list-table td .avatar { float: left; position: relative; top: 2px; }
/* User profile */ .blog-list-table td .title { font-size: 18px; line-height: 22px; }
.user-profile { margin-bottom: 20px; overflow: hidden; zoom: 1; position: relative; } .blog-list-table td .user { font-weight: bold; color: #999; background: url(../images/icons.gif) 0 -108px no-repeat; }
.user-profile .avatar { float: left; margin-right: 15px; } .blog-list-table td .private { position: relative; top: 2px; }
.user-profile h3 { font-size: 24px; line-height: 1em; margin-bottom: 10px; } .blog-list-table td p { margin-bottom: 0; color: #999; }
.user-profile p.realname { font-size: 18px; color: #999; }
.user-profile .voting { position: absolute; top: 0px; right: 85px; z-index: 100; } /* User profile */
.user-profile .voting .total { font-weight: normal; padding: 4px 10px 5px; font-size: 14px; } .user-profile { margin-bottom: 20px; overflow: hidden; zoom: 1; position: relative; }
.user-profile .voting .plus { margin: 4px 6px 0 0; } .user-profile .avatar { float: left; margin-right: 15px; }
.user-profile .voting .minus { margin: 4px 0 0 6px; } .user-profile h3 { font-size: 24px; line-height: 1em; margin-bottom: 10px; }
.user-profile .voting .text { font-size: 10px; color: #aaa; text-align: center; clear: both; } .user-profile p.realname { font-size: 18px; color: #999; }
.user-profile .voting.positive .total { background: #68BF46; color: #fff; }
.user-profile .voting.negative .total { background: #FF3B3C; color: #fff; } .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 .strength { float: right; } .user-profile .voting .plus { margin: 4px 6px 0 0; }
.user-profile .strength .total { background: #70AAE0; font-size: 14px; padding: 4px 10px 5px; font-weight: normal; color: #fff; } .user-profile .voting .minus { margin: 4px 0 0 6px; }
.user-profile .strength .text { font-size: 10px; color: #aaa; text-align: center; } .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-header { font-size: 18px; margin-bottom: 7px; border-bottom: 1px solid #ccc; } .user-profile .voting.negative .total { background: #FF3B3C; color: #fff; }
.user-profile-table { width: 100%; } .user-profile .strength { float: right; }
.user-profile-table td { vertical-align: top; padding: 0 0 5px; } .user-profile .strength .total { background: #70AAE0; font-size: 14px; padding: 4px 10px 5px; font-weight: normal; color: #fff; }
.user-profile-table td.var { width: 150px; font-weight: bold; color: #999; } .user-profile .strength .text { font-size: 10px; color: #aaa; text-align: center; }
.user-profile-table td .user { margin-right: 7px; }
.user-profile-header { font-size: 18px; margin-bottom: 7px; border-bottom: 1px solid #ccc; }
/* Stat */
.stat-performance { padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; } .user-profile-table { width: 100%; }
.stat-performance table { } .user-profile-table td { vertical-align: top; padding: 0 0 5px; }
.stat-performance table td { width: 200px; vertical-align: top; } .user-profile-table td.var { width: 150px; font-weight: bold; color: #999; }
.stat-performance h4 { font-weight: bold; } .user-profile-table td .user { margin-right: 7px; }
/* Userfeed */ /* Stat */
.userfeed-get-more { display:block; width: 90%; margin: 0px auto; text-align: center; height: 2.5em; padding-top: 1em;} .stat-performance { padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.userfeed-get-more:hover { background: #f0f7fd;} .stat-performance table { }
.userfeed_loading {background: #F7F7F7 url(../images/loader.gif) no-repeat center;} .stat-performance table td { width: 200px; vertical-align: top; }
.stat-performance h4 { font-weight: bold; }
/* Stream */
.stream-get-more { display: block; text-align: center; padding: 12px 0; background: #fafafa; color: #aaa; border-top: 1px solid #eee; text-decoration: none; } /* Userfeed */
.stream-get-more:hover { background: #f0f7fd; } .userfeed-get-more { display:block; width: 90%; margin: 0px auto; text-align: center; height: 2.5em; padding-top: 1em;}
.stream_loading { background: #f7f7f7 url(../images/loader.gif) no-repeat center; } .userfeed-get-more:hover { background: #f0f7fd;}
.stream-comment-preview { padding: 5px 10px; background: #f3f3f3; margin-top: 5px; } .userfeed_loading {background: #F7F7F7 url(../images/loader.gif) no-repeat center;}
.stream-list { margin: 0 0 20px; } /* Stream */
.stream-list li { margin-bottom: 5px; min-height: 48px; _height: 48px; background: #fafafa; padding: 10px 15px 10px 70px; position: relative; } .stream-get-more { display: block; text-align: center; padding: 12px 0; background: #fafafa; color: #aaa; border-top: 1px solid #eee; text-decoration: none; }
.stream-list li .avatar { position: absolute; top: 10px; left: 10px; } .stream-get-more:hover { background: #f0f7fd; }
.stream-list li .date { display: block; color: #999; } .stream_loading { background: #f7f7f7 url(../images/loader.gif) no-repeat center; }
.stream-list li a { text-decoration: none; } .stream-comment-preview { padding: 5px 10px; background: #f3f3f3; margin-top: 5px; }
.stream-list li a:hover { text-decoration: underline; }
.stream-list { margin: 0 0 20px; }
/* Userfields */ .stream-list li { margin-bottom: 5px; min-height: 48px; _height: 48px; background: #fafafa; padding: 10px 15px 10px 70px; position: relative; }
.userfield-list { width: 450px; } .stream-list li .avatar { position: absolute; top: 10px; left: 10px; }
.userfield-list li { background: #f7f7f7; margin-bottom: 1px; padding: 10px 5px; overflow: hidden; zoom: 1; line-height: 12px; color: #777; } .stream-list li .date { display: block; color: #999; }
.userfield-list li .uf-actions { float: right; } .stream-list li a { text-decoration: none; }
.userfield-list li .uf-actions img { vertical-align: top; } .stream-list li a:hover { text-decoration: underline; }
.userfield-list li .userfield_admin_name { font-weight: bold; color: #333; }
/* Userfields */
.userfield-add { text-decoration: none; border-bottom: 1px dashed #70AAE0; } .userfield-list { width: 450px; }
.userfield-add:hover { color: #333; border-color: #333; } .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; }

View file

@ -1,52 +1,52 @@
/* jqModal base Styling courtesy of; /* jqModal base Styling courtesy of;
Brice Burgess <bhb@iceburg.net> */ Brice Burgess <bhb@iceburg.net> */
/* The Window's CSS z-index value is respected (takes priority). If none is supplied, /* 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). */ the Window's z-index value will be set to 3000 by default (via jqModal.js). */
.jqmWindow { .jqmWindow {
display: none; display: none;
position: fixed; position: fixed;
top: 25%; top: 25%;
left: 50%; left: 50%;
z-index: 200; z-index: 200;
background-color: #fff; background-color: #fff;
color: #333; color: #333;
border: 1px solid #777; border: 1px solid #777;
padding: 20px 25px 25px; padding: 20px 25px 25px;
background: rgb(249,249,249); 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: -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-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: -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: -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%); 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 ); 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%); 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; border-radius: 10px;
overflow: hidden; overflow: hidden;
zoom: 1; zoom: 1;
} }
.jqmWindow h3 { margin-bottom: 15px; color: #999; } .jqmWindow h3 { margin-bottom: 15px; color: #999; }
.jqmWindow label { color: #777; } .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; } .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; } .jqmOverlay { background-color: #000; }
/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */ /* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1; * iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
width: expression(this.parentNode.offsetWidth+'px'); width: expression(this.parentNode.offsetWidth+'px');
height: expression(this.parentNode.offsetHeight+'px'); height: expression(this.parentNode.offsetHeight+'px');
} }
/* Fixed posistioning emulation for IE6 /* Fixed posistioning emulation for IE6
Star selector used to hide definition from browsers other than IE6 Star selector used to hide definition from browsers other than IE6
For valid CSS, use a conditional include instead */ For valid CSS, use a conditional include instead */
* html .jqmWindow { * html .jqmWindow {
position: absolute; position: absolute;
top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px'); top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
} }

View file

@ -1,31 +1,31 @@
#notifier { #notifier {
width: 250px; width: 250px;
position: fixed; position: fixed;
top: 10px; top: 10px;
right: 10px; right: 10px;
font-size: 12px; font-size: 12px;
z-index: 9999; z-index: 9999;
/* IE 6 Fix */ /* IE 6 Fix */
_position: absolute; _position: absolute;
_top: expression( eval(document.documentElement.scrollTop) + 10 +"px" ); _top: expression( eval(document.documentElement.scrollTop) + 10 +"px" );
} }
#notifier .n-box { #notifier .n-box {
position: relative; position: relative;
padding: 10px 15px 11px; padding: 10px 15px 11px;
margin-bottom: 10px; margin-bottom: 10px;
color: #fff; color: #fff;
background: #000; background: #000;
-moz-border-radius: 5px; -moz-border-radius: 5px;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
border-radius: 5px; border-radius: 5px;
cursor: pointer; cursor: pointer;
} }
#notifier .n-box h3 { color: #fff; font-size: 14px; font-weight: bold; margin-bottom: 3px; } #notifier .n-box h3 { color: #fff; font-size: 14px; font-weight: bold; margin-bottom: 3px; }

View file

@ -1,23 +1,13 @@
body { body { font: 12px/18px Tahoma, Arial, Sans-Serif; color: #333; background: #F7F8F9; }
font: 12px/18px Tahoma, Arial, Sans-Serif;
color: #333; h1, h2, h3, h4, h5, h6 { font: normal 18px Verdana, Arial, Sans-Serif; line-height: 1.3em; margin-bottom: 0.3em; color: #333; }
background: #F7F8F9; h2 { font-size: 22px; margin-bottom: 10px; }
} h2 span { color: #6EC80D; }
h3 { font-size: 18px; }
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; } a { color: #70AAE0; }
h2 span { color: #6EC80D; } a:hover { text-decoration: none; }
h3 { font-size: 18px; }
a.dashed { text-decoration: none; border-bottom: 1px dashed #70AAE0; }
a { color: #70AAE0; }
a:hover { text-decoration: none; } p { margin-bottom: 18px; }
a.dashed { text-decoration: none; border-bottom: 1px dashed #70AAE0; }
p { margin-bottom: 18px; }

View file

@ -1,36 +1,36 @@
/* Login popup */ /* Login popup */
.login-form { width: 400px; margin-left: -200px; left: 50%; top: 60px; background: #fff; display: none; } .login-form { width: 400px; margin-left: -200px; left: 50%; top: 60px; background: #fff; display: none; }
.login-form p { margin-bottom: 15px; } .login-form p { margin-bottom: 15px; }
.login-form a { color: #555; } .login-form a { color: #555; }
.login-form label.label-remember { position: relative; top: 3px; } .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 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 .button{ float: right; }
.login-form .checkbox-label { color: #333; } .login-form .checkbox-label { color: #333; }
.login-form .checkbox { position: relative; top: 2px; margin-right: 5px; } .login-form .checkbox { position: relative; top: 2px; margin-right: 5px; }
/* Upload image popup */ /* Upload image popup */
.upload-form { width: 300px; margin-left: -150px; left: 50%; } .upload-form { width: 300px; margin-left: -150px; left: 50%; }
.upload-form h3 { margin-bottom: 15px; } .upload-form h3 { margin-bottom: 15px; }
.upload-form .button { float: left; margin-right: 10px; } .upload-form .button { float: left; margin-right: 10px; }
/* Blog delete popup */ /* Blog delete popup */
.blog-delete-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; display: none; } .blog-delete-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; display: none; }
.blog-delete-form p { margin-bottom: 8px; } .blog-delete-form p { margin-bottom: 8px; }
.blog-delete-form select { width: 100%; } .blog-delete-form select { width: 100%; }
/* Add friend popup */ /* Add friend popup */
.add-friend-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; display: none; } .add-friend-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; display: none; }
.add-friend-form textarea { width: 195px; margin-bottom: 5px; } .add-friend-form textarea { width: 195px; margin-bottom: 5px; }
/* Add userfield popup */ /* Add userfield popup */
.userfield-form { width: 270px; padding: 15px; margin-left: -120px; top: 100px; left: 50%; display: none; } .userfield-form { width: 270px; padding: 15px; margin-left: -120px; top: 100px; left: 50%; display: none; }
.userfield-form p { margin-bottom: 10px; } .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 .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; } .userfield-form .button { float: left; margin-right: 10px; }

View file

@ -1,32 +1,32 @@
html, body, div, span, applet, object, iframe, html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, small, strike, strong, sub, sup, tt, var,
b, u, i, center, b, u, i, center,
dl, dt, dd, ol, ul, li, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
outline: 0; outline: 0;
font-size: 100%; font-size: 100%;
vertical-align: baseline; vertical-align: baseline;
background: transparent; background: transparent;
} }
body { line-height: 1; } body { line-height: 1; }
ol, ul { list-style: none; } ol, ul { list-style: none; }
blockquote, q { quotes: none; } blockquote, q { quotes: none; }
blockquote:before, blockquote:after, blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; } q:before, q:after { content: ''; content: none; }
/* remember to define focus styles! */ /* remember to define focus styles! */
:focus { outline: 0; } :focus { outline: 0; }
/* remember to highlight inserts somehow! */ /* remember to highlight inserts somehow! */
ins { text-decoration: none; } ins { text-decoration: none; }
del { text-decoration: line-through; } del { text-decoration: line-through; }
/* tables still need 'cellspacing="0"' in the markup */ /* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; border-spacing: 0; } table { border-collapse: collapse; border-spacing: 0; }

View file

@ -76,13 +76,13 @@
/* Interaction Cues /* 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-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, .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 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-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-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; } .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 /* Icons
@ -357,14 +357,14 @@
.ui-datepicker .ui-datepicker-next { right:2px; } .ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; } .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right: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 { 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 .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-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;} .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 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 { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } .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; } .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 */ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover { .ui-datepicker-cover {
display: none; /*sorry for IE5*/ display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/ display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/ position: absolute; /*must have*/
z-index: -1; /*must have*/ z-index: -1; /*must have*/
filter: mask(); /*must have*/ filter: mask(); /*must have*/
top: -4px; /*must have*/ top: -4px; /*must have*/
left: -4px; /*must have*/ left: -4px; /*must have*/
width: 200px; /*must have*/ width: 200px; /*must have*/
height: 200px; /*must have*/ height: 200px; /*must have*/
} }

View file

@ -1,114 +1,114 @@
.topic { margin-bottom: 50px; padding-left: 20px; position: relative; zoom: 1;} .topic { margin-bottom: 50px; padding-left: 20px; position: relative; zoom: 1;}
/* Title */ /* Title */
.topic .title { margin-bottom: 3px; font-size: 22px; font-family: Verdana, sans-serif; } .topic .title { margin-bottom: 3px; font-size: 22px; font-family: Verdana, sans-serif; }
.topic .title a { } .topic .title a { }
/* Content */ /* Content */
.topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; font-size: 14px; font-family: Verdana, sans-serif; line-height: 20px; } .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 p { margin-bottom: 18px; }
.topic .content h4 { font-size: 22px; line-height: 1.3em; margin-bottom: 10px; } .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 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 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 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 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 ul { list-style-type: disc; margin-left: 17px; }
.topic .content ol { list-style-type: decimal; margin-left: 30px; } .topic .content ol { list-style-type: decimal; margin-left: 30px; }
.topic .content img[align="right"] { margin: 4px 0 5px 15px; } .topic .content img[align="right"] { margin: 4px 0 5px 15px; }
.topic .content img[align="left"] { margin: 4px 15px 10px 0; } .topic .content img[align="left"] { margin: 4px 15px 10px 0; }
.topic .content img.image-center { display: block; margin: 0 auto; } .topic .content img.image-center { display: block; margin: 0 auto; }
/* Tags */ /* Tags */
.topic .tags { margin: 0 0 6px; padding-left: 13px; background: url(../images/tag.png) no-repeat 0 5px; zoom: 1; } .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 { display: inline; color: #777; }
.topic .tags li a { color: #777; text-decoration: none; } .topic .tags li a { color: #777; text-decoration: none; }
.topic .tags li a:hover { color: #fff; background: #777; } .topic .tags li a:hover { color: #fff; background: #777; }
/* Info */ /* Info */
.topic .info-top { margin-bottom: 20px; } .topic .info-top { margin-bottom: 20px; }
.topic .info-top .title-blog { color: #aaa; margin-right: 15px; } .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 { 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 { float: left; margin-right: 15px; }
.topic .info li a { text-decoration: none; } .topic .info li a { text-decoration: none; }
.topic .info li.date { color: #999; font-size: 11px; } .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 { 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.username a:hover { text-decoration: underline; }
.topic .info li.voting { padding-right: 15px; } .topic .info li.voting { padding-right: 15px; }
.topic .info li.comments-link a { color: #f00; font-size: 11px; } .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 span { color: #390; }
.topic .info li.comments-link a:hover { background: #f00; color: #fff; } .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.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 .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 { 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: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.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; } .topic .favourite-count { color: #390; position: absolute;top: 15px; left: -7px; width: 32px; }
/* Poll */ /* Poll */
.topic .poll { margin-bottom: 15px; font-size: 14px; } .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 { margin-bottom: 10px; margin-left: 0; list-style-type: none; }
.topic .poll .poll-vote li { margin-bottom: 5px; } .topic .poll .poll-vote li { margin-bottom: 5px; }
.topic .poll .poll-vote li label { display: inline; } .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 { 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 { margin-bottom: 20px; }
.topic .poll .poll-result li dl { overflow: hidden; zoom: 1; } .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 { 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 dt span { color: #aaa; }
.topic .poll .poll-result li dl dd { float: left; width: 400px; } .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 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-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 .poll .poll-total { color: #aaa; }
/* Topic Photo */ /* Topic Photo */
.topic.photo { } .topic.photo { }
.topic.photo .topic-photo-preview { position: relative; margin-bottom: 15px; cursor: pointer; } .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 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-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-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 { 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 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 { 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 { 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 .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:hover .image-number { display: block; }
.topic.photo .topic-photo-images ul li img { vertical-align: top; } .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 { 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 .topic-photo-images .topic-photo-more:hover { background: #eaf2f8; }
.topic-photo-upload { background: #fafafa; padding: 15px 15px 15px; margin-bottom: 20px; } .topic-photo-upload { background: #fafafa; padding: 15px 15px 15px; margin-bottom: 20px; }
.topic-photo-upload h2 { margin-bottom: 15px; } .topic-photo-upload h2 { margin-bottom: 15px; }
.topic-photo-upload ul { overflow: hidden; zoom: 1; } .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 { 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 img { position: absolute; top: 0; left: 0; }
.topic-photo-upload ul li label { color: #aaa; } .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 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 { text-decoration: none; margin-right: 15px; }
.topic-photo-upload ul li .image-delete:hover { color: #f00; } .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.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 .mark-as-preview { display: none; text-decoration: none; }
.topic-photo-upload ul li:hover .mark-as-preview { display: inline; } .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-rules { color: #888; margin-bottom: 15px; }
.topic-photo-upload .topic-photo-upload-input { margin-bottom: 20px; } .topic-photo-upload .topic-photo-upload-input { margin-bottom: 20px; }
.topic-photo-upload .topic-photo-upload-input input { margin-top: 3px; } .topic-photo-upload .topic-photo-upload-input input { margin-top: 3px; }
#photoset-upload-form { #photoset-upload-form {
width: 270px; width: 270px;
padding: 15px; padding: 15px;
position: absolute; position: absolute;
top:70%; top:70%;
display: none; display: none;
background-color: #fff; background-color: #fff;
border: 1px solid #ccc; border: 1px solid #ccc;
-moz-box-shadow: 0 0 10px #ddd; -moz-box-shadow: 0 0 10px #ddd;
-webkit-box-shadow: 0 0 10px #ddd; -webkit-box-shadow: 0 0 10px #ddd;
box-shadow: 0 0 10px #ddd; box-shadow: 0 0 10px #ddd;
} }
#photoset-upload-form p { margin-bottom: 10px; } #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; } #photoset-upload-form .input-text { width: 262px; border: 1px solid #ccc; margin: 0; padding: 3px; font-family: Arial, sans-serif; font-size: 12px; }

View file

@ -11,7 +11,7 @@
<div id="footer-inner"> <div id="footer-inner">
<div class="right">{hook run='copyright'}</div> <div class="right">{hook run='copyright'}</div>
Design by — <a href="http://www.xeoart.com">Студия XeoArt</a> Design by — <a href="http://www.xeoart.com">Студия XeoArt</a>
<img border="0" src="{cfg name='path.static.skin'}/images/xeoart.gif"> <img src="{cfg name='path.static.skin'}/images/xeoart.gif" alt="xeoart logo" />
{if $oUserCurrent and $oUserCurrent->isAdministrator()}| <a href="{cfg name='path.root.web'}/admin">{$aLang.admin_title}</a>{/if} {if $oUserCurrent and $oUserCurrent->isAdministrator()}| <a href="{cfg name='path.root.web'}/admin">{$aLang.admin_title}</a>{/if}
{hook run='footer_end'} {hook run='footer_end'}
</div> </div>

View file

@ -1,16 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML>
<html lang="ru"> <html>
<head> <head>
{hook run='html_head_begin'} {hook run='html_head_begin'}
<title>{$sHtmlTitle}</title> <title>{$sHtmlTitle}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta charset="UTF-8" />
{$aHtmlHeadFiles.css} {$aHtmlHeadFiles.css}
{if $bRefreshToHome} {if $bRefreshToHome}
<meta HTTP-EQUIV="Refresh" CONTENT="3; URL={cfg name='path.root.web'}/"> <meta HTTP-EQUIV="Refresh" CONTENT="3; URL={cfg name='path.root.web'}/">
{/if} {/if}
{hook run='html_head_end'} {hook run='html_head_end'}
</head> </head>
@ -21,7 +21,7 @@
<div id="header-light"> <div id="header-light">
<a href="{cfg name='path.root.web'}" class="logo">Live<span>Street</span></a> <a href="{cfg name='path.root.web'}" class="logo">Live<span>Street</span></a>
</div> </div>
{if !$noShowSystemMessage} {if !$noShowSystemMessage}
{include file='system_message.tpl'} {include file='system_message.tpl'}
{/if} {/if}

View file

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML>
<html lang="ru"> <html>
<head> <head>
{hook run='html_head_begin'} {hook run='html_head_begin'}
<title>{$sHtmlTitle}</title> <title>{$sHtmlTitle}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta charset="UTF-8" />
<meta name="description" content="{$sHtmlDescription}" /> <meta name="description" content="{$sHtmlDescription}" />
<meta name="keywords" content="{$sHtmlKeywords}" /> <meta name="keywords" content="{$sHtmlKeywords}" />
@ -18,37 +18,37 @@
{if $aHtmlRssAlternate} {if $aHtmlRssAlternate}
<link rel="alternate" type="application/rss+xml" href="{$aHtmlRssAlternate.url}" title="{$aHtmlRssAlternate.title}"> <link rel="alternate" type="application/rss+xml" href="{$aHtmlRssAlternate.url}" title="{$aHtmlRssAlternate.title}">
{/if} {/if}
{if $bRefreshToHome} {if $bRefreshToHome}
<meta HTTP-EQUIV="Refresh" CONTENT="3; URL={cfg name='path.root.web'}/"> <meta HTTP-EQUIV="Refresh" CONTENT="3; URL={cfg name='path.root.web'}/">
{/if}
<script language="JavaScript" type="text/javascript">
var DIR_WEB_ROOT = '{cfg name="path.root.web"}';
var DIR_STATIC_SKIN = '{cfg name="path.static.skin"}';
var DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}';
var LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}';
var SESSION_ID = '{$_sPhpSessionId}';
var BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
var TINYMCE_LANG='en';
{if $oConfig->GetValue('lang.current')=='russian'}
TINYMCE_LANG='ru';
{/if} {/if}
var aRouter = new Array(); <script type="text/javascript">
{foreach from=$aRouter key=sPage item=sPath} var DIR_WEB_ROOT = '{cfg name="path.root.web"}';
aRouter['{$sPage}'] = '{$sPath}'; var DIR_STATIC_SKIN = '{cfg name="path.static.skin"}';
{/foreach} var DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}';
var LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}';
var SESSION_ID = '{$_sPhpSessionId}';
var BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
var TINYMCE_LANG='en';
{if $oConfig->GetValue('lang.current')=='russian'}
TINYMCE_LANG='ru';
{/if}
var aRouter = new Array();
{foreach from=$aRouter key=sPage item=sPath}
aRouter['{$sPage}'] = '{$sPath}';
{/foreach}
</script> </script>
{$aHtmlHeadFiles.js} {$aHtmlHeadFiles.js}
<script language="JavaScript" type="text/javascript"> <script type="text/javascript">
var tinyMCE=false; var tinyMCE=false;
ls.lang.load({json var=$aLangJs}); ls.lang.load({json var=$aLangJs});
</script> </script>
{hook run='html_head_end'} {hook run='html_head_end'}
</head> </head>
@ -64,5 +64,5 @@
<div id="content-inner"> <div id="content-inner">
{include file='window_login.tpl'} {include file='window_login.tpl'}
{include file='system_message.tpl'} {include file='system_message.tpl'}
{hook run='content_begin'} {hook run='content_begin'}

View file

@ -4,7 +4,7 @@
<a href="{$oUserCurrent->getUserWebPath()}"><img src="{$oUserCurrent->getProfileAvatarPath(48)}" alt="{$oUserCurrent->getLogin()}" class="avatar" /></a> <a href="{$oUserCurrent->getUserWebPath()}"><img src="{$oUserCurrent->getProfileAvatarPath(48)}" alt="{$oUserCurrent->getLogin()}" class="avatar" /></a>
<ul> <ul>
<li> <li>
<a href="{$oUserCurrent->getUserWebPath()}" class="username">{$oUserCurrent->getLogin()}</a> <a href="{$oUserCurrent->getUserWebPath()}" class="username">{$oUserCurrent->getLogin()}</a>
(<a href="{router page='login'}exit/?security_ls_key={$LIVESTREET_SECURITY_KEY}" class="logout">{$aLang.exit}</a>) (<a href="{router page='login'}exit/?security_ls_key={$LIVESTREET_SECURITY_KEY}" class="logout">{$aLang.exit}</a>)
</li> </li>
<li> <li>
@ -13,25 +13,25 @@
{else} {else}
<a href="{router page='talk'}" id="new_messages" class="message"></a> <a href="{router page='talk'}" id="new_messages" class="message"></a>
{/if} {/if}
{$aLang.user_settings} <a href="{router page='settings'}profile/" class="author">{$aLang.user_settings_profile}</a> | {$aLang.user_settings} <a href="{router page='settings'}profile/" class="author">{$aLang.user_settings_profile}</a> |
<a href="{router page='settings'}tuning/" class="author">{$aLang.user_settings_tuning}</a> <a href="{router page='settings'}tuning/" class="author">{$aLang.user_settings_tuning}</a>
</li> </li>
<li>{$aLang.user_rating} <strong>{$oUserCurrent->getRating()}</strong></li> <li>{$aLang.user_rating} <strong>{$oUserCurrent->getRating()}</strong></li>
{hook run='userbar_item'} {hook run='userbar_item'}
</ul> </ul>
</div> </div>
{else} {else}
<div class="auth"> <div class="auth">
<a href="{router page='login'}" id="login_form_show" class="login-link">{$aLang.user_login_submit}</a> {$aLang.or} <a href="{router page='login'}" id="login_form_show" class="login-link">{$aLang.user_login_submit}</a> {$aLang.or}
<a href="{router page='registration'}">{$aLang.registration_submit}</a> <a href="{router page='registration'}">{$aLang.registration_submit}</a>
</div> </div>
{/if} {/if}
<a href="{cfg name='path.root.web'}" class="logo">Live<span>Street</span></a> <a href="{cfg name='path.root.web'}" class="logo">Live<span>Street</span></a>
<ul class="pages"> <ul class="pages">
<li {if $sMenuHeadItemSelect=='blog'}class="active"{/if}><a href="{cfg name='path.root.web'}">{$aLang.topic_title}</a></li> <li {if $sMenuHeadItemSelect=='blog'}class="active"{/if}><a href="{cfg name='path.root.web'}">{$aLang.topic_title}</a></li>
<li {if $sMenuHeadItemSelect=='blogs'}class="active"{/if}><a href="{router page='blogs'}">{$aLang.blogs}</a></li> <li {if $sMenuHeadItemSelect=='blogs'}class="active"{/if}><a href="{router page='blogs'}">{$aLang.blogs}</a></li>
@ -41,7 +41,7 @@
<a href="{router page='stream'}">{$aLang.stream_personal_title}</a> <a href="{router page='stream'}">{$aLang.stream_personal_title}</a>
</li> </li>
{/if} {/if}
{hook run='main_menu'} {hook run='main_menu'}
</ul> </ul>
</div> </div>

View file

@ -35,7 +35,7 @@ ls.blocks = (function ($) {
this.load = function(obj, block, params){ this.load = function(obj, block, params){
var id = $(obj).attr('id'); var id = $(obj).attr('id');
params=$.extend(true,{},this.options.type[id].params || {},params || {}); params=$.extend(true,{},this.options.type[id].params || {},params || {});
var content = $('#'+block+'_content'); var content = $('#'+block+'_content');
this.showProgress(content); this.showProgress(content);

View file

@ -4,7 +4,7 @@ var ls = ls || {};
* JS функционал для блогов * JS функционал для блогов
*/ */
ls.blog = (function ($) { ls.blog = (function ($) {
/** /**
* Вступить или покинуть блог * Вступить или покинуть блог
*/ */
@ -48,7 +48,7 @@ ls.blog = (function ($) {
}); });
} }
}); });
return false; return false;
} }
@ -63,10 +63,10 @@ ls.blog = (function ($) {
ls.msg.notice(null, result.sMsg); ls.msg.notice(null, result.sMsg);
} }
}); });
return false; return false;
} }
/** /**
* Отображение информации о блоге * Отображение информации о блоге
*/ */
@ -79,13 +79,13 @@ ls.blog = (function ($) {
} }
}); });
} }
/** /**
* Отображение информации о типе блога * Отображение информации о типе блога
*/ */
this.loadInfoType = function(type) { this.loadInfoType = function(type) {
$('#blog_type_note').text($('#blog_type_note_'+type).text()); $('#blog_type_note').text($('#blog_type_note_'+type).text());
} }
return this; return this;
}).call(ls.blog || {},jQuery); }).call(ls.blog || {},jQuery);

View file

@ -1,333 +1,333 @@
var ls = ls || {}; var ls = ls || {};
/** /**
* Обработка комментариев * Обработка комментариев
*/ */
ls.comments = (function ($) { ls.comments = (function ($) {
/** /**
* Опции * Опции
*/ */
this.options = { this.options = {
type: { type: {
topic: { topic: {
url_add: aRouter.blog+'ajaxaddcomment/', url_add: aRouter.blog+'ajaxaddcomment/',
url_response: aRouter.blog+'ajaxresponsecomment/' url_response: aRouter.blog+'ajaxresponsecomment/'
}, },
talk: { talk: {
url_add: aRouter.talk+'ajaxaddcomment/', url_add: aRouter.talk+'ajaxaddcomment/',
url_response: aRouter.talk+'ajaxresponsecomment/' url_response: aRouter.talk+'ajaxresponsecomment/'
} }
}, },
classes: { classes: {
form_loader: 'loader', form_loader: 'loader',
comment_new: 'new', comment_new: 'new',
comment_current: 'current', comment_current: 'current',
comment_deleted: 'deleted', comment_deleted: 'deleted',
comment_self: 'self', comment_self: 'self',
comment: 'comment', comment: 'comment',
comment_goto_parent: 'goto-comment-parent', comment_goto_parent: 'goto-comment-parent',
comment_goto_child: 'goto-comment-child' comment_goto_child: 'goto-comment-child'
}, },
wysiwyg: null wysiwyg: null
}; };
this.iCurrentShowFormComment=0; this.iCurrentShowFormComment=0;
this.iCurrentViewComment=null; this.iCurrentViewComment=null;
this.aCommentNew=[]; this.aCommentNew=[];
// Добавляет комментарий // Добавляет комментарий
this.add = function(formObj, targetId, targetType) { this.add = function(formObj, targetId, targetType) {
if (this.options.wysiwyg) { if (this.options.wysiwyg) {
$('#'+formObj+' textarea').val(tinyMCE.activeEditor.getContent()); $('#'+formObj+' textarea').val(tinyMCE.activeEditor.getContent());
} }
formObj = $('#'+formObj); formObj = $('#'+formObj);
$('#form_comment_text').addClass(this.options.classes.form_loader).attr('readonly',true); $('#form_comment_text').addClass(this.options.classes.form_loader).attr('readonly',true);
$('#comment-button-submit').attr('disabled', 'disabled'); $('#comment-button-submit').attr('disabled', 'disabled');
ls.ajax(this.options.type[targetType].url_add, formObj.serializeJSON(), function(result){ ls.ajax(this.options.type[targetType].url_add, formObj.serializeJSON(), function(result){
$('#comment-button-submit').removeAttr('disabled'); $('#comment-button-submit').removeAttr('disabled');
if (!result) { if (!result) {
this.enableFormComment(); this.enableFormComment();
ls.msg.error('Error','Please try again later'); ls.msg.error('Error','Please try again later');
return; return;
} }
if (result.bStateError) { if (result.bStateError) {
this.enableFormComment(); this.enableFormComment();
ls.msg.error(null,result.sMsg); ls.msg.error(null,result.sMsg);
} else { } else {
this.enableFormComment(); this.enableFormComment();
$('#form_comment_text').val(''); $('#form_comment_text').val('');
// Load new comments // Load new comments
this.load(targetId, targetType, result.sCommentId, true); this.load(targetId, targetType, result.sCommentId, true);
} }
}.bind(this)); }.bind(this));
} }
// Активирует форму // Активирует форму
this.enableFormComment = function() { this.enableFormComment = function() {
$('#form_comment_text').removeClass(this.options.classes.form_loader).attr('readonly',false); $('#form_comment_text').removeClass(this.options.classes.form_loader).attr('readonly',false);
} }
// Показывает/скрывает форму комментирования // Показывает/скрывает форму комментирования
this.toggleCommentForm = function(idComment, bNoFocus) { this.toggleCommentForm = function(idComment, bNoFocus) {
$('#comment_preview_'+this.iCurrentShowFormComment).html('').css('display','none'); $('#comment_preview_'+this.iCurrentShowFormComment).html('').css('display','none');
if (this.iCurrentShowFormComment==idComment && $('#reply_'+idComment).css('display')=='block') { if (this.iCurrentShowFormComment==idComment && $('#reply_'+idComment).css('display')=='block') {
$('#reply_'+idComment).hide(); $('#reply_'+idComment).hide();
return; return;
} }
if (this.options.wysiwyg) { if (this.options.wysiwyg) {
tinyMCE.execCommand('mceRemoveControl',true,'form_comment_text'); tinyMCE.execCommand('mceRemoveControl',true,'form_comment_text');
} }
$('#form_comment').appendTo("#reply_"+idComment); $('#form_comment').appendTo("#reply_"+idComment);
$('#form_comment_text').val(''); $('#form_comment_text').val('');
$('#form_comment_reply').val(idComment); $('#form_comment_reply').val(idComment);
$('.reply').hide(); $('.reply').hide();
$('#reply_'+idComment).css('display','block'); $('#reply_'+idComment).css('display','block');
this.iCurrentShowFormComment=idComment; this.iCurrentShowFormComment=idComment;
if (this.options.wysiwyg) { if (this.options.wysiwyg) {
tinyMCE.execCommand('mceAddControl',true,'form_comment_text'); tinyMCE.execCommand('mceAddControl',true,'form_comment_text');
} }
if (!bNoFocus) $('#form_comment_text').focus(); if (!bNoFocus) $('#form_comment_text').focus();
} }
// Подгружает новые комментарии // Подгружает новые комментарии
this.load = function(idTarget, typeTarget, selfIdComment, bNotFlushNew) { this.load = function(idTarget, typeTarget, selfIdComment, bNotFlushNew) {
var idCommentLast = $("#comment_last_id").val(); var idCommentLast = $("#comment_last_id").val();
// Удаляем подсветку у комментариев // Удаляем подсветку у комментариев
if (!bNotFlushNew) { if (!bNotFlushNew) {
$('.comment').each(function(index, item){ $('.comment').each(function(index, item){
$(item).removeClass(this.options.classes.comment_new+' '+this.options.classes.comment_current); $(item).removeClass(this.options.classes.comment_new+' '+this.options.classes.comment_current);
}.bind(this)); }.bind(this));
} }
objImg = $('#update-comments'); objImg = $('#update-comments');
objImg.addClass('active'); objImg.addClass('active');
var params = { idCommentLast: idCommentLast, idTarget: idTarget, typeTarget: typeTarget }; var params = { idCommentLast: idCommentLast, idTarget: idTarget, typeTarget: typeTarget };
if (selfIdComment) { if (selfIdComment) {
params.selfIdComment = selfIdComment; params.selfIdComment = selfIdComment;
} }
if ($('#comment_use_paging').val()) { if ($('#comment_use_paging').val()) {
params.bUsePaging = 1; params.bUsePaging = 1;
} }
ls.ajax(this.options.type[typeTarget].url_response, params, function(result) { ls.ajax(this.options.type[typeTarget].url_response, params, function(result) {
objImg.removeClass('active'); objImg.removeClass('active');
if (!result) { ls.msg.error('Error','Please try again later'); } if (!result) { ls.msg.error('Error','Please try again later'); }
if (result.bStateError) { if (result.bStateError) {
ls.msg.error(null,result.sMsg); ls.msg.error(null,result.sMsg);
} else { } else {
var aCmt = result.aComments; var aCmt = result.aComments;
if (aCmt.length > 0 && result.iMaxIdComment) { if (aCmt.length > 0 && result.iMaxIdComment) {
$("#comment_last_id").val(result.iMaxIdComment); $("#comment_last_id").val(result.iMaxIdComment);
$('#count-comments').text(parseInt($('#count-comments').text())+aCmt.length); $('#count-comments').text(parseInt($('#count-comments').text())+aCmt.length);
if ($('#block_stream_item_comment').length && ls.blocks) { if ($('#block_stream_item_comment').length && ls.blocks) {
ls.blocks.load($('#block_stream_item_comment'), 'block_stream'); ls.blocks.load($('#block_stream_item_comment'), 'block_stream');
} }
} }
var iCountOld=0; var iCountOld=0;
if (bNotFlushNew) { if (bNotFlushNew) {
iCountOld=this.aCommentNew.length; iCountOld=this.aCommentNew.length;
} else { } else {
this.aCommentNew=[]; this.aCommentNew=[];
} }
if (selfIdComment) { if (selfIdComment) {
this.toggleCommentForm(this.iCurrentShowFormComment, true); this.toggleCommentForm(this.iCurrentShowFormComment, true);
this.setCountNewComment(aCmt.length-1+iCountOld); this.setCountNewComment(aCmt.length-1+iCountOld);
} else { } else {
this.setCountNewComment(aCmt.length+iCountOld); this.setCountNewComment(aCmt.length+iCountOld);
} }
$.each(aCmt, function(index, item) { $.each(aCmt, function(index, item) {
if (!(selfIdComment && selfIdComment==item.id)) { if (!(selfIdComment && selfIdComment==item.id)) {
this.aCommentNew.push(item.id); this.aCommentNew.push(item.id);
} }
this.inject(item.idParent, item.id, item.html); this.inject(item.idParent, item.id, item.html);
}.bind(this)); }.bind(this));
if (selfIdComment && $('#comment_id_'+selfIdComment).length) { if (selfIdComment && $('#comment_id_'+selfIdComment).length) {
this.scrollToComment(selfIdComment); this.scrollToComment(selfIdComment);
} }
this.checkFolding(); this.checkFolding();
} }
}.bind(this)); }.bind(this));
} }
// Вставка комментария // Вставка комментария
this.inject = function(idCommentParent, idComment, sHtml) { this.inject = function(idCommentParent, idComment, sHtml) {
var newComment = $('<div>', {'class': 'comment-wrapper', id: 'comment_wrapper_id_'+idComment}).html(sHtml); var newComment = $('<div>', {'class': 'comment-wrapper', id: 'comment_wrapper_id_'+idComment}).html(sHtml);
if (idCommentParent) { if (idCommentParent) {
$('#comment_wrapper_id_'+idCommentParent).append(newComment); $('#comment_wrapper_id_'+idCommentParent).append(newComment);
} else { } else {
$('#comments').append(newComment); $('#comments').append(newComment);
} }
} }
// Удалить/восстановить комментарий // Удалить/восстановить комментарий
this.toggle = function(obj, commentId) { this.toggle = function(obj, commentId) {
ls.ajax(aRouter['ajax']+'comment/delete/', { idComment: commentId }, function(result){ ls.ajax(aRouter['ajax']+'comment/delete/', { idComment: commentId }, function(result){
if (!result) { if (!result) {
ls.msg.error('Error','Please try again later'); ls.msg.error('Error','Please try again later');
} }
if (result.bStateError) { if (result.bStateError) {
ls.msg.error(null,result.sMsg); ls.msg.error(null,result.sMsg);
} else { } else {
ls.msg.notice(null,result.sMsg); 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); $('#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) { if (result.bState) {
$('#comment_id_'+commentId).addClass(this.options.classes.comment_deleted); $('#comment_id_'+commentId).addClass(this.options.classes.comment_deleted);
} }
$(obj).text(result.sTextToggle); $(obj).text(result.sTextToggle);
} }
}.bind(this)); }.bind(this));
} }
// Предпросмотр комментария // Предпросмотр комментария
this.preview = function() { this.preview = function() {
if (this.options.wysiwyg) { if (this.options.wysiwyg) {
$("#form_comment_text").val(tinyMCE.activeEditor.getContent()); $("#form_comment_text").val(tinyMCE.activeEditor.getContent());
} }
if ($("#form_comment_text").val() == '') return; if ($("#form_comment_text").val() == '') return;
$("#comment_preview_"+this.iCurrentShowFormComment).css('display', 'block'); $("#comment_preview_"+this.iCurrentShowFormComment).css('display', 'block');
ls.tools.textPreview('form_comment_text', false, 'comment_preview_'+this.iCurrentShowFormComment); ls.tools.textPreview('form_comment_text', false, 'comment_preview_'+this.iCurrentShowFormComment);
} }
// Устанавливает число новых комментариев // Устанавливает число новых комментариев
this.setCountNewComment = function(count) { this.setCountNewComment = function(count) {
if (count > 0) { if (count > 0) {
$('#new_comments_counter').css('display','block').text(count); $('#new_comments_counter').css('display','block').text(count);
} else { } else {
$('#new_comments_counter').text(0).hide(); $('#new_comments_counter').text(0).hide();
} }
} }
// Вычисляет кол-во новых комментариев // Вычисляет кол-во новых комментариев
this.calcNewComments = function() { this.calcNewComments = function() {
var aCommentsNew = $('.'+this.options.classes.comment+'.'+this.options.classes.comment_new); var aCommentsNew = $('.'+this.options.classes.comment+'.'+this.options.classes.comment_new);
this.setCountNewComment(aCommentsNew.length); this.setCountNewComment(aCommentsNew.length);
$.each(aCommentsNew,function(k,v){ $.each(aCommentsNew,function(k,v){
this.aCommentNew.push(parseInt($(v).attr('id').replace('comment_id_',''))); this.aCommentNew.push(parseInt($(v).attr('id').replace('comment_id_','')));
}.bind(this)); }.bind(this));
} }
// Переход к следующему комментарию // Переход к следующему комментарию
this.goToNextComment = function() { this.goToNextComment = function() {
if (this.aCommentNew[0]) { if (this.aCommentNew[0]) {
if ($('#comment_id_'+this.aCommentNew[0]).length) { if ($('#comment_id_'+this.aCommentNew[0]).length) {
this.scrollToComment(this.aCommentNew[0]); this.scrollToComment(this.aCommentNew[0]);
} }
this.aCommentNew.shift(); this.aCommentNew.shift();
} }
this.setCountNewComment(this.aCommentNew.length); this.setCountNewComment(this.aCommentNew.length);
} }
// Прокрутка к комментарию // Прокрутка к комментарию
this.scrollToComment = function(idComment) { this.scrollToComment = function(idComment) {
$.scrollTo('#comment_id_'+idComment, 1000, {offset: -250}); $.scrollTo('#comment_id_'+idComment, 1000, {offset: -250});
if (this.iCurrentViewComment) { if (this.iCurrentViewComment) {
$('#comment_id_'+this.iCurrentViewComment).removeClass(this.options.classes.comment_current); $('#comment_id_'+this.iCurrentViewComment).removeClass(this.options.classes.comment_current);
} }
$('#comment_id_'+idComment).addClass(this.options.classes.comment_current); $('#comment_id_'+idComment).addClass(this.options.classes.comment_current);
this.iCurrentViewComment=idComment; this.iCurrentViewComment=idComment;
} }
// Прокрутка к родительскому комментарию // Прокрутка к родительскому комментарию
this.goToParentComment = function(id, pid) { this.goToParentComment = function(id, pid) {
thisObj = this; thisObj = this;
$('.'+this.options.classes.comment_goto_child).hide().find('a').unbind(); $('.'+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(){ $("#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(); $(this).parent('.'+thisObj.options.classes.comment_goto_child).hide();
thisObj.scrollToComment(id); thisObj.scrollToComment(id);
return false; return false;
}); });
this.scrollToComment(pid); this.scrollToComment(pid);
return false; return false;
} }
// Сворачивание комментариев // Сворачивание комментариев
this.checkFolding = function() { this.checkFolding = function() {
$(".folding").each(function(index, element){ $(".folding").each(function(index, element){
if ($(element).parent(".comment").next(".comment-wrapper").length == 0) { if ($(element).parent(".comment").next(".comment-wrapper").length == 0) {
$(element).hide(); $(element).hide();
} else { } else {
$(element).show(); $(element).show();
} }
}); });
return false; return false;
} }
this.expandComment = function(folding) { this.expandComment = function(folding) {
$(folding).removeClass("folded").parent().nextAll(".comment-wrapper").show(); $(folding).removeClass("folded").parent().nextAll(".comment-wrapper").show();
} }
this.collapseComment = function(folding) { this.collapseComment = function(folding) {
$(folding).addClass("folded").parent().nextAll(".comment-wrapper").hide(); $(folding).addClass("folded").parent().nextAll(".comment-wrapper").hide();
} }
this.expandCommentAll = function() { this.expandCommentAll = function() {
$.each($(".folding"),function(k,v){ $.each($(".folding"),function(k,v){
this.expandComment(v); this.expandComment(v);
}.bind(this)) }.bind(this))
} }
this.collapseCommentAll = function() { this.collapseCommentAll = function() {
$.each($(".folding"),function(k,v){ $.each($(".folding"),function(k,v){
this.collapseComment(v); this.collapseComment(v);
}.bind(this)) }.bind(this))
} }
this.init = function() { this.init = function() {
this.initEvent(); this.initEvent();
this.calcNewComments(); this.calcNewComments();
this.checkFolding(); this.checkFolding();
this.toggleCommentForm(this.iCurrentShowFormComment); this.toggleCommentForm(this.iCurrentShowFormComment);
if (typeof(this.options.wysiwyg)!='number') { if (typeof(this.options.wysiwyg)!='number') {
this.options.wysiwyg = Boolean(BLOG_USE_TINYMCE && tinyMCE); this.options.wysiwyg = Boolean(BLOG_USE_TINYMCE && tinyMCE);
} }
} }
this.initEvent = function() { this.initEvent = function() {
$('#form_comment_text').bind('keyup', function(e) { $('#form_comment_text').bind('keyup', function(e) {
key = e.keyCode || e.which; key = e.keyCode || e.which;
if(e.ctrlKey && (key == 13)) { if(e.ctrlKey && (key == 13)) {
$('#comment-button-submit').click(); $('#comment-button-submit').click();
return false; return false;
} }
}); });
$(".folding").click(function(e){ $(".folding").click(function(e){
if ($(e.target).hasClass("folded")) { if ($(e.target).hasClass("folded")) {
this.expandComment(e.target); this.expandComment(e.target);
} else { } else {
this.collapseComment(e.target); this.collapseComment(e.target);
} }
}.bind(this)); }.bind(this));
} }
return this; return this;
}).call(ls.comments || {},jQuery); }).call(ls.comments || {},jQuery);
jQuery(document).ready(function(){ jQuery(document).ready(function(){
ls.comments.init(); ls.comments.init();
}); });

View file

@ -29,14 +29,16 @@ ls.favourite = (function ($) {
* Переключение избранного * Переключение избранного
*/ */
this.toggle = function(idTarget, objFavourite, type) { this.toggle = function(idTarget, objFavourite, type) {
if (!this.options.type[type]) { return false; } if (!this.options.type[type]) {
return false;
}
this.objFavourite = $(objFavourite); this.objFavourite = $(objFavourite);
var params = {}; var params = {};
params['type'] = !this.objFavourite.hasClass(this.options.active); params['type'] = !this.objFavourite.hasClass(this.options.active);
params[this.options.type[type].targetName] = idTarget; params[this.options.type[type].targetName] = idTarget;
ls.ajax(this.options.type[type].url, params, function(result) { ls.ajax(this.options.type[type].url, params, function(result) {
$(this).trigger('toggle',[idTarget,objFavourite,type,params,result]); $(this).trigger('toggle',[idTarget,objFavourite,type,params,result]);
if (result.bStateError) { if (result.bStateError) {
@ -48,7 +50,7 @@ ls.favourite = (function ($) {
this.objFavourite.addClass(this.options.active); 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)); }.bind(this));
return false; return false;

View file

@ -4,7 +4,7 @@ var ls = ls || {};
* Управление пользователями * Управление пользователями
*/ */
ls.user = (function ($) { ls.user = (function ($) {
/** /**
* Добавление в друзья * Добавление в друзья
*/ */
@ -54,6 +54,6 @@ ls.user = (function ($) {
}); });
return false; return false;
} }
return this; return this;
}).call(ls.user || {},jQuery); }).call(ls.user || {},jQuery);

View file

@ -26,14 +26,14 @@ ls.msg = (function ($) {
this.notice = function(title,msg){ this.notice = function(title,msg){
$.notifier.broadcast(title, msg, this.options.class_notice); $.notifier.broadcast(title, msg, this.options.class_notice);
}; };
/** /**
* Отображение сообщения об ошибке * Отображение сообщения об ошибке
*/ */
this.error = function(title,msg){ this.error = function(title,msg){
$.notifier.broadcast(title, msg, this.options.class_error); $.notifier.broadcast(title, msg, this.options.class_error);
}; };
return this; return this;
}).call(ls.msg || {},jQuery); }).call(ls.msg || {},jQuery);
@ -53,9 +53,9 @@ ls.lang = (function ($) {
this.load = function(msgs){ this.load = function(msgs){
$.extend(true,this.msgs,msgs); $.extend(true,this.msgs,msgs);
}; };
/** /**
* Отображение сообщения об ошибке * Отображение сообщения об ошибке
*/ */
this.get = function(name,replace){ this.get = function(name,replace){
if (this.msgs[name]) { if (this.msgs[name]) {
@ -69,7 +69,7 @@ ls.lang = (function ($) {
} }
return ''; return '';
}; };
return this; return this;
}).call(ls.lang || {},jQuery); }).call(ls.lang || {},jQuery);
@ -78,11 +78,11 @@ ls.lang = (function ($) {
* Flash загрузчик * Flash загрузчик
*/ */
ls.swfupload = (function ($) { ls.swfupload = (function ($) {
this.swfu = null; this.swfu = null;
this.initOptions = function() { this.initOptions = function() {
this.swfOptions = { this.swfOptions = {
// Backend Settings // Backend Settings
upload_url: aRouter['photoset']+"upload", upload_url: aRouter['photoset']+"upload",
@ -115,15 +115,15 @@ ls.swfupload = (function ($) {
// Flash Settings // Flash Settings
flash_url : DIR_ROOT_ENGINE_LIB+'/external/swfupload/swfupload.swf', flash_url : DIR_ROOT_ENGINE_LIB+'/external/swfupload/swfupload.swf',
custom_settings : { custom_settings : {
}, },
// Debug Settings // Debug Settings
debug: false debug: false
}; };
} }
this.loadSwf = function() { this.loadSwf = function() {
$.getScript(DIR_ROOT_ENGINE_LIB+'/external/swfupload/swfupload.swfobject.js',function(){ $.getScript(DIR_ROOT_ENGINE_LIB+'/external/swfupload/swfupload.swfobject.js',function(){
@ -134,7 +134,7 @@ ls.swfupload = (function ($) {
$(this).trigger('load'); $(this).trigger('load');
}.bind(this)); }.bind(this));
} }
this.init = function(opt) { this.init = function(opt) {
if (opt) { if (opt) {
$.extend(true,this.swfOptions,opt); $.extend(true,this.swfOptions,opt);
@ -142,31 +142,31 @@ ls.swfupload = (function ($) {
this.swfu = new SWFUpload(this.swfOptions); this.swfu = new SWFUpload(this.swfOptions);
return this.swfu; return this.swfu;
} }
this.handlerFileQueueError = function(file, errorCode, message) { this.handlerFileQueueError = function(file, errorCode, message) {
$(this).trigger('eFileQueueError',[file, errorCode, message]); $(this).trigger('eFileQueueError',[file, errorCode, message]);
} }
this.handlerFileDialogComplete = function(numFilesSelected, numFilesQueued) { this.handlerFileDialogComplete = function(numFilesSelected, numFilesQueued) {
$(this).trigger('eFileDialogComplete',[numFilesSelected, numFilesQueued]); $(this).trigger('eFileDialogComplete',[numFilesSelected, numFilesQueued]);
if (numFilesQueued>0) { if (numFilesQueued>0) {
this.startUpload(); this.startUpload();
} }
} }
this.handlerUploadProgress = function(file, bytesLoaded) { this.handlerUploadProgress = function(file, bytesLoaded) {
var percent = Math.ceil((bytesLoaded / file.size) * 100); var percent = Math.ceil((bytesLoaded / file.size) * 100);
$(this).trigger('eUploadProgress',[file, bytesLoaded, percent]); $(this).trigger('eUploadProgress',[file, bytesLoaded, percent]);
} }
this.handlerUploadError = function(file, errorCode, message) { this.handlerUploadError = function(file, errorCode, message) {
$(this).trigger('eUploadError',[file, errorCode, message]); $(this).trigger('eUploadError',[file, errorCode, message]);
} }
this.handlerUploadSuccess = function(file, serverData) { this.handlerUploadSuccess = function(file, serverData) {
$(this).trigger('eUploadSuccess',[file, serverData]); $(this).trigger('eUploadSuccess',[file, serverData]);
} }
this.handlerUploadComplete = function(file) { this.handlerUploadComplete = function(file) {
var next = this.getStats().files_queued; var next = this.getStats().files_queued;
if (next > 0) { if (next > 0) {
@ -174,7 +174,7 @@ ls.swfupload = (function ($) {
} }
$(this).trigger('eUploadComplete',[file, next]); $(this).trigger('eUploadComplete',[file, next]);
} }
return this; return this;
}).call(ls.swfupload || {},jQuery); }).call(ls.swfupload || {},jQuery);
@ -191,7 +191,7 @@ ls.tools = (function ($) {
var f = str.charAt(0).toUpperCase(); var f = str.charAt(0).toUpperCase();
return f + str.substr(1, str.length-1); return f + str.substr(1, str.length-1);
} }
/** /**
* Выделяет все chekbox с определенным css классом * Выделяет все chekbox с определенным css классом
*/ */
@ -209,7 +209,7 @@ ls.tools = (function ($) {
* Предпросмотр * Предпросмотр
*/ */
this.textPreview = function(textId, save, divPreview) { 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){ ls.ajax(aRouter['ajax']+'preview/text/', {text: text, save: save}, function(result){
if (!result) { if (!result) {
ls.msg.error('Error','Please try again later'); 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 text;
} }
return this; return this;
}).call(ls.tools || {},jQuery); }).call(ls.tools || {},jQuery);
@ -254,12 +254,12 @@ ls.tools = (function ($) {
* Дополнительные функции * Дополнительные функции
*/ */
ls = (function ($) { ls = (function ($) {
/** /**
* Глобальные опции * Глобальные опции
*/ */
this.options = this.options || {} this.options = this.options || {}
/** /**
* Выполнение AJAX запроса, автоматически передает security key * Выполнение AJAX запроса, автоматически передает security key
*/ */
@ -267,17 +267,17 @@ ls = (function ($) {
more=more || {}; more=more || {};
params=params || {}; params=params || {};
params.security_ls_key=LIVESTREET_SECURITY_KEY; params.security_ls_key=LIVESTREET_SECURITY_KEY;
$.each(params,function(k,v){ $.each(params,function(k,v){
if (typeof(v) == "boolean") { if (typeof(v) == "boolean") {
params[k]=v ? 1 : 0; params[k]=v ? 1 : 0;
} }
}) })
if (url.indexOf('http://')!=0 && url.indexOf('https://')!=0) { if (url.indexOf('http://')!=0 && url.indexOf('https://')!=0) {
url=aRouter['ajax']+url+'/'; url=aRouter['ajax']+url+'/';
} }
return $.ajax({ return $.ajax({
type: more.type || "POST", type: more.type || "POST",
url: url, url: url,
@ -296,21 +296,21 @@ ls = (function ($) {
ls.debug(msg); ls.debug(msg);
}.bind(this) }.bind(this)
}); });
}; };
/** /**
* Выполнение AJAX отправки формы, включая загрузку файлов * Выполнение AJAX отправки формы, включая загрузку файлов
*/ */
this.ajaxSubmit = function(url,form,callback,more) { this.ajaxSubmit = function(url,form,callback,more) {
more=more || {}; more=more || {};
if (typeof(form)=='string') { if (typeof(form)=='string') {
form=$('#'+form); form=$('#'+form);
} }
if (url.indexOf('http://')!=0 && url.indexOf('https://')!=0) { if (url.indexOf('http://')!=0 && url.indexOf('https://')!=0) {
url=aRouter['ajax']+url+'/'; url=aRouter['ajax']+url+'/';
} }
var options={ var options={
type: 'POST', type: 'POST',
url: url, url: url,
@ -326,7 +326,7 @@ ls = (function ($) {
}.bind(this) }.bind(this)
} }
form.ajaxSubmit(options); form.ajaxSubmit(options);
} }
@ -344,7 +344,7 @@ ls = (function ($) {
} }
}); });
} }
/** /**
* Дебаг сообщений * Дебаг сообщений
*/ */
@ -364,7 +364,7 @@ ls = (function ($) {
//alert(msg); //alert(msg);
} }
} }
return this; return this;
}).call(ls || {},jQuery); }).call(ls || {},jQuery);
@ -422,11 +422,11 @@ ls.autocomplete = (function ($) {
this.split = function(val) { this.split = function(val) {
return val.split( /,\s*/ ); return val.split( /,\s*/ );
} }
this.extractLast = function(term) { this.extractLast = function(term) {
return ls.autocomplete.split(term).pop(); return ls.autocomplete.split(term).pop();
} }
return this; return this;
}).call(ls.autocomplete || {},jQuery); }).call(ls.autocomplete || {},jQuery);
@ -444,44 +444,44 @@ jQuery(document).ready(function($){
$('#add_friend_form').jqm({trigger: '#add_friend_show'}); $('#add_friend_form').jqm({trigger: '#add_friend_show'});
$('#form_upload_img').jqm(); $('#form_upload_img').jqm();
$('#userfield_form').jqm(); $('#userfield_form').jqm();
// Datepicker // Datepicker
$('.date-picker').datepicker({ $('.date-picker').datepicker({
dateFormat: 'dd.mm.yy', dateFormat: 'dd.mm.yy',
dayNamesMin: ['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'], dayNamesMin: ['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'],
monthNames: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'], monthNames: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'],
firstDay: 1 firstDay: 1
}); });
// Поиск по тегам // Поиск по тегам
$('#tag_search_form').submit(function(){ $('#tag_search_form').submit(function(){
window.location = aRouter['tag']+$('#tag_search').val()+'/'; window.location = aRouter['tag']+$('#tag_search').val()+'/';
return false; return false;
}); });
// Автокомплит // Автокомплит
ls.autocomplete.add($(".autocomplete-tags-sep"), aRouter['ajax']+'autocompleter/tag/', true); 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-users"), aRouter['ajax']+'autocompleter/user/', true);
ls.autocomplete.add($(".autocomplete-city"), aRouter['ajax']+'autocompleter/city/', false); ls.autocomplete.add($(".autocomplete-city"), aRouter['ajax']+'autocompleter/city/', false);
ls.autocomplete.add($(".autocomplete-country"), aRouter['ajax']+'autocompleter/country/', false); ls.autocomplete.add($(".autocomplete-country"), aRouter['ajax']+'autocompleter/country/', false);
// Скролл // Скролл
$(window)._scrollable(); $(window)._scrollable();
// Show blog info // Show blog info
$("#show_blog_info").click(function(){ $("#show_blog_info").click(function(){
$("#blog_info").slideToggle(500); $("#blog_info").slideToggle(500);
$("#show_blog_info").toggleClass("inactive"); $("#show_blog_info").toggleClass("inactive");
return false; return false;
}); });
// Detecting IE6-IE8 // 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:first-child").addClass("first-child");
$(".switcher li:last-child").addClass("last-child"); $(".switcher li:last-child").addClass("last-child");
} }

View file

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

View file

@ -1,16 +1,16 @@
var ls = ls || {}; var ls = ls || {};
ls.photoset =( function ($) { ls.photoset =( function ($) {
this.idLast=0; this.idLast=0;
this.isLoading=false; this.isLoading=false;
this.swfu; this.swfu;
this.initSwfUpload = function(opt) { this.initSwfUpload = function(opt) {
opt=opt || {}; opt=opt || {};
opt.button_placeholder_id = 'photoset-start-upload'; 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; opt.post_params.ls_photoset_target_tmp = $.cookie('ls_photoset_target_tmp') ? $.cookie('ls_photoset_target_tmp') : 0;
$(ls.swfupload).bind('load',function() { $(ls.swfupload).bind('load',function() {
this.swfu = ls.swfupload.init(opt); this.swfu = ls.swfupload.init(opt);
@ -19,36 +19,36 @@ ls.photoset =( function ($) {
$(this.swfu).bind('eUploadSuccess',this.swfHandlerUploadSuccess); $(this.swfu).bind('eUploadSuccess',this.swfHandlerUploadSuccess);
$(this.swfu).bind('eUploadComplete',this.swfHandlerUploadComplete); $(this.swfu).bind('eUploadComplete',this.swfHandlerUploadComplete);
}.bind(this)); }.bind(this));
ls.swfupload.loadSwf(); ls.swfupload.loadSwf();
} }
this.swfHandlerUploadProgress = function(e, file, bytesLoaded, percent) { this.swfHandlerUploadProgress = function(e, file, bytesLoaded, percent) {
$('#photoset_photo_empty_progress').text(file.name+': '+( percent==100 ? 'resize..' : percent +'%')); $('#photoset_photo_empty_progress').text(file.name+': '+( percent==100 ? 'resize..' : percent +'%'));
} }
this.swfHandlerFileDialogComplete = function(e, numFilesSelected, numFilesQueued) { this.swfHandlerFileDialogComplete = function(e, numFilesSelected, numFilesQueued) {
if (numFilesQueued>0) { if (numFilesQueued>0) {
ls.photoset.addPhotoEmpty(); ls.photoset.addPhotoEmpty();
} }
} }
this.swfHandlerUploadSuccess = function(e, file, serverData) { this.swfHandlerUploadSuccess = function(e, file, serverData) {
ls.photoset.addPhoto(jQuery.parseJSON(serverData)); ls.photoset.addPhoto(jQuery.parseJSON(serverData));
} }
this.swfHandlerUploadComplete = function(e, file, next) { this.swfHandlerUploadComplete = function(e, file, next) {
if (next>0) { if (next>0) {
ls.photoset.addPhotoEmpty(); ls.photoset.addPhotoEmpty();
} }
} }
this.addPhotoEmpty = function() { this.addPhotoEmpty = function() {
template = '<li id="photoset_photo_empty"><img src="'+DIR_STATIC_SKIN + '/images/loader.gif'+'" alt="image" style="margin-left: 35px;margin-top: 20px;" />' template = '<li id="photoset_photo_empty"><img src="'+DIR_STATIC_SKIN + '/images/loader.gif'+'" alt="image" style="margin-left: 35px;margin-top: 20px;" />'
+'<div id="photoset_photo_empty_progress" style="height: 60px;width: 350px;padding: 3px;border: 1px solid #DDDDDD;"></div><br /></li>'; +'<div id="photoset_photo_empty_progress" style="height: 60px;width: 350px;padding: 3px;border: 1px solid #DDDDDD;"></div><br /></li>';
$('#swfu_images').append(template); $('#swfu_images').append(template);
} }
this.addPhoto = function(response) { this.addPhoto = function(response) {
$('#photoset_photo_empty').remove(); $('#photoset_photo_empty').remove();
if (!response.bStateError) { if (!response.bStateError) {
@ -92,7 +92,7 @@ ls.photoset =( function ($) {
this.setPreviewDescription = function(id, text) 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) { if (!result.bStateError) {
} else { } else {
@ -106,7 +106,7 @@ ls.photoset =( function ($) {
{ {
if (this.isLoading) return; if (this.isLoading) return;
this.isLoading=true; this.isLoading=true;
ls.ajax(aRouter['photoset']+'getmore', {'topic_id':topic_id, 'last_id':this.idLast}, function(result){ ls.ajax(aRouter['photoset']+'getmore', {'topic_id':topic_id, 'last_id':this.idLast}, function(result){
this.isLoading=false; this.isLoading=false;
if (!result.bStateError) { if (!result.bStateError) {
@ -159,18 +159,18 @@ ls.photoset =( function ($) {
var pos = $select.offset(); var pos = $select.offset();
w = $select.outerWidth(); w = $select.outerWidth();
h = $select.outerHeight(); h = $select.outerHeight();
t = pos.top + h - 30 + 'px'; t = pos.top + h - 30 + 'px';
l = pos.left - 15 + 'px'; l = pos.left - 15 + 'px';
$('#photoset-upload-form').css({'top':t,'left':l}); $('#photoset-upload-form').css({'top':t,'left':l});
} }
$('#photoset-upload-form').show(); $('#photoset-upload-form').show();
} }
this.showMainPhoto = function(id) { this.showMainPhoto = function(id) {
$('#photoset-main-preview-'+id).css('width',$('#photoset-main-image-'+id).outerWidth()); $('#photoset-main-preview-'+id).css('width',$('#photoset-main-image-'+id).outerWidth());
$('#photoset-photo-count-'+id).show(); $('#photoset-photo-count-'+id).show();
$('#photoset-photo-desc-'+id).show(); $('#photoset-photo-desc-'+id).show();
} }
return this; return this;
}).call(ls.photoset || {},jQuery); }).call(ls.photoset || {},jQuery);

Some files were not shown because too many files have changed in this diff Show more