public function userOverviewSimple($statement, $userHandle, $galleries = false) { $words = new MOD_words(); $Gallery = new GalleryController(); $callbackId = $Gallery->updateGalleryProcess(); $vars =& PPostHandler::getVars($callbackId); if (!isset($vars['errors'])) { $vars['errors'] = array(); } $type = 'images'; $galleries = $this->_model->getUserGalleries(); echo ' <form method="post" action="gallery/show/user/' . $userHandle . '/pictures" name="mod-images" class="def-form"> <input type="hidden" name="' . $callbackId . '" value="1"/> '; if (in_array('gallery', $vars['errors'])) { echo '<span class="error">' . $words->get('GalleryErrorsPhotosets') . '</span>'; } if (in_array('images', $vars['errors'])) { echo '<span class="error">' . $words->get('GalleryErrorsImages') . '</span>'; } require 'templates/overview.php'; require 'templates/user_controls.php'; echo '</form>'; }
protected function column_col3() { $words = new MOD_words(); echo "<div class=\"info\">\n"; echo "<h3>", $words->get("Volunteer_Join"), "</h3>"; echo "<p>", $words->get("Volunteer_JoinText"), "</p>"; echo "</div>\n"; }
protected function getTableColumns() { $request_str = implode('/', PRequest::get()->request); $dir_str = isset($_GET['dir']) && $_GET['dir'] != 'ASC' ? 'ASC' : 'DESC'; $words = new MOD_words(); return array('select' => '', 'from' => '<a href="' . $request_str . '?sort=sender&dir=' . $dir_str . '">' . $words->getSilent('From') . '</a> / <a href="' . $request_str . '?sort=date&dir=' . (isset($_GET['dir']) ? $dir_str : 'ASC') . '">' . $words->getSilent('Date') . '</a>' . $words->flushBuffer(), 'message' => $words->get('MessagesText')); return array('select' => '', 'from' => 'From/To', 'message' => 'Text'); }
/** * Columns for messages table. * The $key of a column is used as a suffix for method tableCell_$key * * @return array table columns, as $name => Column title */ protected function getTableColumns() { // We don't mark the link of the current sortorder yet, but we could: // $sort_current = isset($_GET['sort']) ? $_GET['sort'] : 'date'; // This would lgo in the a-tag: '.(($sort_current == 'date') ? 'class="sort_selected"' : '').' $request_str = implode('/', PRequest::get()->request); $dir_str = isset($_GET['dir']) && $_GET['dir'] != 'ASC' ? 'ASC' : 'DESC'; $words = new MOD_words(); return array('select' => '', 'from' => '<a href="' . $request_str . '?sort=sender&dir=' . $dir_str . '">' . $words->getSilent('From') . '</a> / <a href="' . $request_str . '?sort=date&dir=' . (isset($_GET['dir']) ? $dir_str : 'ASC') . '">' . $words->getSilent('Date') . '</a>' . $words->flushBuffer(), 'message' => $words->get('MessagesText')); }
protected function column_col3() { $member = $this->_model->getLoggedInMember(); $Blog = new Blog(); $callback = $this->getCallbackOutput('BlogController', 'createProcess'); // get the saved post vars // get current request $request = PRequest::get()->request; $errors = array(); $lang = array(); $words = new MOD_words(); $i18n = new MOD_i18n('apps/blog/editcreate.php'); $errors = $i18n->getText('errors'); $lang = $i18n->getText('lang'); $monthNames = array(); $i18n = new MOD_i18n('date.php'); $monthNames = $i18n->getText('monthNames'); $catIt = $this->_model->getCategoryFromUserIt($member->id); $tripIt = $this->_model->getTripFromUserIt($member->id); $google_conf = PVars::getObj('config_google'); $defaultVis = new StdClass(); $defaultVis->valueint = 2; // hack: TB settings are disabled as they reference app_user - default visibility is public //$defaultVis = A PP_User::getSetting($member->id, 'APP_blog_defaultVis'); if (!isset($vars['errors']) || !is_array($vars['errors'])) { $vars['errors'] = array(); } if (!isset($request[2]) || $request[2] != 'finish') { $actionUrl = 'blog/create'; $submitName = ''; $submitValue = $words->getSilent('BlogCreateSubmit'); echo '<h2>' . $words->get('Blog_CreateEntry') . '</h2>'; } else { // $request[2] == 'finish' echo '<h2>' . $words->get('BlogCreateFinishTitle') . "</h2>\n"; echo '<p>' . $words->get('BlogCreateFinishText') . "</p>\n"; echo '<p>' . $words->get('BlogCreateFinishInfo') . "</p>\n"; } $disableTinyMCE = $this->_model->getTinyMCEPreference(); require SCRIPT_BASE . 'build/blog/templates/editcreateform.php'; }
protected function column_col3() { $post = $this->post; $member = $this->member; $blogId = $post->blog_id; $vars = $this->vars; $callback = $this->getCallbackOutput('BlogController', 'editProcess'); $errors = array(); $lang = array(); $i18n = new MOD_i18n('apps/blog/editcreate.php'); $words = new MOD_words(); $errors = $i18n->getText('errors'); $lang = $i18n->getText('lang'); $monthNames = array(); $i18n = new MOD_i18n('date.php'); $monthNames = $i18n->getText('monthNames'); $catIt = $this->_model->getCategoryFromUserIt($member->id); $tripIt = $this->_model->getTripFromUserIt($member->id); $google_conf = PVars::getObj('config_google'); $defaultVis = new StdClass(); $defaultVis->valueint = 2; // hack: TB settings are disabled as they reference app_user - default visibility is public //$defaultVis = A PP_User::getSetting($member->id, 'APP_blog_defaultVis'); if (!isset($request[3]) || $request[3] != 'finish') { echo '<h2>' . $words->get('BlogEditTitle') . '</h2>'; } else { // $request[2] == 'finish' echo '<h2>' . $words->get('BlogEditFinishTitle') . "</h2>\n"; echo $words->get('BlogEditFinishText') ? '<p>' . $words->get('BlogEditFinishText') . "</p>\n" : ''; echo $words->get('BlogEditFinishInfo') ? '<p>' . $words->get('BlogEditFinishInfo') . "</p>\n" : ''; } $actionUrl = 'blog/edit/' . $blogId; $submitName = 'submit_blog_edit'; $submitValue = $words->getSilent('BlogEditSubmit'); $disableTinyMCE = $this->_model->getTinyMCEPreference(); require_once SCRIPT_BASE . 'build/blog/templates/editcreateform.php'; }
if (strpos($url, "/reverse") === false) { // THis in order to avoid to concatenate /reverse twice $url .= "/reverse"; } echo ' <a href="' . $url . '" title="' . $words->getSilent('ReverseOrder') . '" ><img src="images/icons/reverse_order.png" alt="' . $words->getSilent('ReverseOrder') . '" /></a> ' . $words->flushBuffer(); } echo "</h2>"; ?> <div class="forumthreadinfo"> <div class="float_left"> <?php if ($topic->topicinfo->IdGroup > 0) { ?> <p class="forumsthreadtags"><strong><?php echo $words->get("group"); ?> :</strong> <a href="groups/<?php echo $this->_model->getGroupName($topic->topicinfo->IdGroup); ?> "> <?php echo $this->_model->getGroupName($topic->topicinfo->GroupName); ?> </a> </p> <?php } ?>
the Free Software Foundation; either version 2 of the License, or (at your option) any later version. BW Rox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., 59 Temple PlaceSuite 330, Boston, MA 02111-1307, USA. */ $words = new MOD_words(); ?> <h2><?php echo $words->get("ThePeople"); ?> </h2> <div class="subcolumns"> <div class="c50l"> <div class="subcl"> <h3><?php echo $words->get("ThePeople_Title1"); ?> </h3> <p><?php echo $words->get("ThePeople_Text1"); ?> </p>
protected function column_col3() { $words = new MOD_words(); $member = $this->member; $layoutkit = $this->layoutkit; $formkit = $layoutkit->formkit; $callback_tag = $formkit->setPostCallback('MembersController', 'RelationCallback'); $page_url = PVars::getObj('env')->baseuri . implode('/', PRequest::get()->request); $TabRelationsType = $member->get_TabRelationsType(); $relation = $this->model->get_relation_between_members($member->id); if (isset($relation['member']->Confirmed) && $relation['member']->Confirmed == 'No') { $action = 'confirm'; } elseif (isset($relation['myself']->id)) { $action = 'update'; } else { $action = 'add'; } ?> <?php if ($action == 'update' && isset($relation['member']->Confirmed)) { ?> <p class="note"><?php echo $words->get('RelationIsConfirmed', $member->Username); ?> </p> <?php } elseif ($action == 'update') { ?> <p class="note"><?php echo $words->get('RelationWaitConfirmed', $member->Username); ?> </p> <?php } ?> <form method="post" action="<?php echo $page_url; ?> " name="relation" id="relation" enctype="multipart/form-data"> <fieldset> <input type="hidden" name="IdRelation" value="<?php echo $member->id; ?> " /> <input type="hidden" name="IdOwner" value="<?php echo $_SESSION['IdMember']; ?> " /> <?php echo $callback_tag; ?> <legend><?php echo $words->get($action . 'Relation'); ?> </legend> <p><?php echo $words->get('MyRelationListExplanation', $member->Username, $member->Username); ?> </p> <?php if (count($relation['member']) <= 0) { ?> <div class="row"> <label class="grey"><?php echo $words->get('RelationListCategory'); ?> </label><br /> <?php $tt = $TabRelationsType; $max = count($tt); for ($ii = 0; $ii < $max; $ii++) { echo "<input type=checkbox name=\"Type_" . $tt[$ii] . "\""; if (count($relation['myself']) > 0 && strpos(" " . $relation['myself']->Type, $tt[$ii]) != 0) { echo " checked "; } echo "> " . $words->get("Relation_Type_" . $tt[$ii]) . "<br />"; } ?> <p class="desc"><?php echo $words->get('RelationListExplanation'); ?> </p> </div> <?php } else { ?> <div class="row"> <?php echo $words->get('RelationType'); ?> : <strong><?php echo $words->get("Relation_Type_" . $relation['member']->Type); ?> </strong> </div> <?php } ?> <div class="row"> <label class="grey"><?php echo $words->get("RelationText", $member->Username); ?> :</label><br /> <textarea rows="4" cols="60" name="Comment"><?php if (isset($relation['myself']->Comment)) { $lang = $this->model->get_profile_language(); $comment = $words->mInTrad($relation['myself']->IdTradComment, $lang->id); // Hack to filter out accidental '0' or '123456' comments that were saved // by users while relation comment update form was buggy (see #1580) if (is_numeric($comment)) { $comment = ''; } echo $comment; } ?> </textarea> </div> <?php if ($action == 'confirm') { echo '<input type="hidden" name="Type" value="' . $relation['member']->Type . '">'; echo '<input type="hidden" name="RelationId" value="' . $relation['member']->id . '">'; echo '<input type="hidden" name="action" value="confirm">'; } elseif ($action == 'update') { echo '<input type="hidden" name="RelationId" value="' . $relation['myself']->id . '">'; echo '<input type="hidden" name="action" value="update">'; } else { echo '<input type="hidden" name="action" value="add">'; } ?> <br /> <input type="submit" name="submit" value="<?php echo $words->getSilent($action . 'Relation'); ?> " /><?php echo $words->flushBuffer(); ?> <br /> </fieldset> </form> <?php }
<?php $words = new MOD_words(); $request = PRequest::get()->request; $requestStr = implode('/', $request); ?> <h3><?php echo $words->get('Meta'); ?> </h3> <ul class="linklist"> <li><a href="rss/<?php echo htmlspecialchars($requestStr, ENT_QUOTES); ?> "><img src="images/icons/feed.png" alt="<?php echo $words->getSilent('GetRSSFeed'); ?> " /> <?php echo $words->getSilent('BlogEntriesRSS'); echo $words->flushBuffer(); ?> </a></li> </ul>
"><?php echo $trip->trip_name; ?> </a></h2> <div class="trip_author"> <span class="trip_daterange"><?php echo $daterange; ?> </span> <a href="trip/<?php echo $trip->trip_id; ?> "><img src="styles/css/minimal/images/iconsfam/map.png" alt="Trip Map & Details" /> </a> — <?php echo $words->get('by'); ?> <a href="user/<?php echo $trip->handle; ?> "><?php echo $trip->handle; ?> </a> <?php // show flags for a trip that is about a specific country !? if ($trip->fk_countrycode) { echo ' <a href="country/' . $trip->fk_countrycode . '"><img src="images/icons/flags/' . strtolower($trip->fk_countrycode) . '.png" alt="" /></a>'; } ?> <a href="blog/<?php
* We should take care of that as soon as possible! * JeanYves : they are protected by the right system, the only important question IMHO is to * discuss case by case, if needed, the relevance and the need for displaying the information then provide * still IMHO, this need is real and the displayed data are not, in the context they are used, privacy abuse */ /** * $words -- a way to get translated content for the page * totype: the type of connection (good/neutral/family...) from the left to the right member * reversetype: type of connection from the right to the left member **/ $words = new MOD_words(); ?> <div class="float_right"> <div class="info"> <h3><?php echo $words->get('HowDoIKnow'); ?> </h3> <?php foreach ($link->linkpath as $row) { ?> <div class="floatbox"> <?php foreach ($row as $e) { ?> <div class="float_left" style="padding-right: 15px"> <p> <?php if (isset($e['totype']) && $e['totype'][0] != '0') { ?>
Boston, MA 02111-1307, USA. */ /** * @author shevek */ /** * massmail overview template * * @package Apps * @subpackage Admin */ $words = new MOD_words(); ?> <div id="adminmassmail"> <h3><?php echo $words->get('AdminMassMailListHeader'); ?> </h3> <?php $ii = 0; $this->pager->render(); if (isset($_SESSION['AdminMassMailStatus'])) { echo '<div class="success">'; $status = $_SESSION['AdminMassMailStatus']; switch ($status[0]) { case 'Edit': echo $words->get('AdminMassMailSuccessEdit', $status[1]); break; case 'Create': echo $words->get('AdminMassMailSuccessCreate', $status[1]); break;
protected function column_col3() { $words = new MOD_words(); $message = $this->message; $purifier = new MOD_htmlpure(); $purifier = $purifier->getMessagesHtmlPurifier(); $contact_username = $message->senderUsername; $model = new MembersModel(); $direction_in = true; if ($contact_username == $_SESSION['Username']) { $contact_username = $message->receiverUsername; $direction_in = false; } $member = $model->getMemberWithUsername($contact_username); ?> <div id="message" class="floatbox"> <div id="shade_top"></div> <div id="buttonstop"> <p class="floatbox"> <?php if ($direction_in) { ?> <a class="button float_left" href="messages/<?php echo $message->id; ?> /reply"><?php echo $words->get('replymessage'); ?> </a> <?php if ($message->InFolder == 'Spam') { ?> <a class="button float_right" href="messages/<?php echo $message->id; ?> /nospam"><?php echo $words->get('marknospam'); ?> </a> <?php } else { ?> <a class="button float_right" href="messages/<?php echo $message->id; ?> /spam"><?php echo $words->get('markspam'); ?> </a> <?php } ?> <?php } else { ?> <a class="button float_left" href="messages/<?php echo $message->id; ?> /edit"><?php echo $words->get('editmessage'); ?> </a> <?php } ?> <a class="button float_right" href="messages/<?php echo $message->id; ?> /delete" onclick="return confirm ('<?php echo $words->getBuffered('MessagesWarningConfirmDelete'); ?> ')"><?php echo $words->get('delmessage'); ?> </a> <?php echo $words->flushBuffer(); ?> </p> </div> <!-- buttonstop --> <div id="messageheader" class="floatbox"> <div id="messageside" class="float_right"> <p class="small grey"> <?php echo $words->get('LivesIn'); ?> <strong><?php echo $member->City; ?> , <?php echo $member->Country; ?> </strong> <br/> <?php echo $words->get('Speaks'); ?> <?php $languages = $member->get_languages_spoken(); if (count($languages) > 0) { $ii = 0; $max = count($languages); foreach ($languages as $language) { $space = $ii != $max - 1 ? ', ' : ''; ?> <strong><span title="<?php echo $words->getSilent('LanguageLevel_' . $language->Level); ?> "><?php echo $language->Name; echo $space; ?> </span> </strong><?php echo $words->flushBuffer(); $ii++; } } ?> </p> <p class="small grey"> <a href="messages/with/<?php echo $contact_username; ?> "><img src="images/icons/comments.png" alt="<?php echo $words->getSilent('messages_allmessageswith', $contact_username); ?> " title="<?php echo $words->getSilent('messages_allmessageswith', $contact_username); ?> "/> <?php echo $words->getSilent('messages_allmessageswith', $contact_username); ?> </a> </p> </div> <!-- messageside --> <p class="float_left"> <?php echo MOD_layoutbits::PIC_50_50($contact_username); ?> </p> <p class=""> <span class="grey"><?php echo $direction_in ? $words->get('MessageFrom', '<a href="members/' . $contact_username . '">' . $contact_username . '</a>') : $words->get('MessageTo', '<a href="members/' . $contact_username . '">' . $contact_username . '</a>'); ?> </span> </p> <p class=""> <span class="grey"><?php echo $words->get('MessagesDate'); ?> : </span> <?php echo date($words->getSilent('DateFormatShort'), strtotime($message->created)); ?> </p> </div> <div id="messagecontent"> <p class="text"> <?php echo $purifier->purify($message->Message); ?> </p> </div> <!-- messagecontent --> <div id="messagefooter"> <p class="floatbox"> <?php if ($direction_in) { ?> <a class="button float_left" href="messages/<?php echo $message->id; ?> /reply"><?php echo $words->get('replymessage'); ?> </a> <?php if ($message->InFolder == 'Spam') { ?> <a class="button float_right" href="messages/<?php echo $message->id; ?> /nospam"><?php echo $words->get('marknospam'); ?> </a> <?php } else { ?> <a class="button float_right" href="messages/<?php echo $message->id; ?> /spam"><?php echo $words->get('markspam'); ?> </a> <?php } ?> <?php } else { ?> <a class="button float_left" href="messages/<?php echo $message->id; ?> /edit"><?php echo $words->get('editmessage'); ?> </a> <?php } ?> <a class="button float_right" href="messages/<?php echo $message->id; ?> /delete"><?php echo $words->get('delmessage'); ?> </a> </p> </div> <!-- messagefooter --> <div id="shade"></div> </div> <!-- message --> <?php echo $words->flushBuffer(); ?> <?php }
<?php /* Copyright (c) 2007 BeVolunteer This file is part of BW Rox. BW Rox is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. BW Rox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ $words = new MOD_words(); ?> <div id="teaser"> <h1><?php echo $words->get('signup'); ?> </h1> </div> <!-- teaser -->
the Free Software Foundation; either version 2 of the License, or (at your option) any later version. BW Rox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ $words = new MOD_words(); ?> <h2><?php echo $words->get("SoWhat"); ?> </h2> <div class="subcolumns"> <div class="c50l"> <div class="subcl"> <?php echo "<h3>", $words->get("AboutUs_TheIdea"), "</h3>"; echo "<p>", $words->get("AboutUs_TheIdeaText"), "\n </p>"; echo "<h3>", $words->get("AboutUs_GetActive"), "</h3>"; echo "<p>", $words->get("AboutUs_GetActiveText"), "</p>"; echo "<p>", $words->get("AboutUs_Greetings"), "</p>"; echo "<h3>", $words->get("AboutUs_GiveFeedback"), "</h3>"; echo "<p>", $words->get("AboutUs_GiveFeedbackText"), "</p>"; ?>
You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /** * @author crumbking * * * @package Apps * @subpackage Admin */ $words = new MOD_words(); ?> <h3><?php echo $words->get('AdminTreasurerActions'); ?> </h3> <ul class="linklist"> <li><a href="admin/treasurer/add" title="$words->get('AdminTreasurerAddDonation')"><?php echo $words->get('AdminTreasurerAddDonation'); ?> </a></li> <?php if ($this->campaign) { ?> <li><a href="admin/treasurer/campaign/stop" title="$words->get('AdminTreasurerStopCampaign')"><?php echo $words->get('AdminTreasurerStopCampaign'); ?> </a></li> <?php
$words = new MOD_words(); $ii = 0; ?> <div id="<?php echo $cssID; ?> " class="box"> <div class="floatbox"> <?php foreach ($linkpath as $row) { ?> <?php if (count($row) > 2) { ?> <h3><?php echo $words->get('HowDoIKnow'); ?> </h3> <?php foreach ($row as $e) { ?> <?php if ($ii_new = $ii++ && ($ii_new != 0 || $ii++ != count($row))) { ?> <div class="connection float_left" > <p class="small grey"> <?php if (isset($e['totype']) && $e['totype'][0] != '0') { ?> <img title="<?php echo implode(' - ', $e['totype']);
You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ $words = new MOD_words(); $model = new MembersModel(); $member = $model->getMemberWithUsername($receiver_username); ?> <div id="message" class="floatbox"> <div id="shade_top"></div> <div id="messageheader" class="floatbox"> <div id="messageside" class="float_right"> <p class="small grey"> <?php echo $words->get('LivesIn'); ?> <strong><?php echo $member->City; ?> , <?php echo $member->Country; ?> </strong><br /> <?php echo $words->get('Speaks'); ?> <?php $languages = $member->get_languages_spoken(); if (count($languages) > 0) { $ii = 0;
<?php /* Copyright (c) 2007 BeVolunteer This file is part of BW Rox. BW Rox is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. BW Rox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ $words = new MOD_words(); ?> <div id="message" class="floatbox"> <p class="note big"><?php echo $words->get('MessageComposeProhibited'); ?> </p> </div> <!-- message -->
echo '<input type="hidden" name="IdGroup" value="0">'; } } ?> <?php if (isset($this->suggestionsGroupId) || $groupsforum == SuggestionsModel::getGroupId()) { ?> <fieldset class="row" id = "fpost_vis_fieldset" > <legend onclick = "toggleFieldsets('fpost_vis');" ><?php echo $words->getFormatted("ForumSuggestionsVisibilityAndLanguage"); ?> </legend> <div id="fpost_vis"> <p><?php echo $words->get('SuggestionsGroupInfoReply'); ?> </p> <input type="hidden" name="PostVisibility" id="PostVisibility" value="MembersOnly"/> <input type="hidden" name="IdLanguage" id="IdLanguage" value="0"/> </div> </fieldset> <?php } else { ?> <fieldset class="row" id="fpost_vis_fieldset"> <legend onclick="toggleFieldsets('fpost_vis');"><?php echo $words->getFormatted("forum_label_visibility"); ?> </legend> <div>
$errors = $vars['errors']; } else { $errors = array(); } $member = $this->_model->getLoggedInMember(); $words = new MOD_words(); $createText = array(); $errorText = array(); $i18n = new MOD_i18n('apps/trip/create.php'); $createText = $i18n->getText('createText'); $errorText = $i18n->getText('errorText'); ?> <form method="post" action="trip/create" class="def-form"> <?php if (in_array('not_created', $errors)) { echo '<p class="error">' . $words->get('ErrorsTripNot_created') . '</p>'; } ?> <fieldset id="trip-main"> <legend><?php echo $editing ? $words->get('Triptitle_edit') : $words->get('TripTitle_create'); ?> </legend> <div class="row"> <label for="trip-name"><?php echo $words->get('TripLabel_name'); ?> </label><br/> <input type="text" id="trip-name" name="n" class="long"<?php if (isset($vars['n']) && $vars['n']) {
the Free Software Foundation; either version 2 of the License, or (at your option) any later version. BW Rox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ $words = new MOD_words(); ?> <div id="tour"> <h3><?php echo $words->get('tour_trips'); ?> </h3> <h4><?php echo $words->getFormatted('tour_trips_title1'); ?> </h4> <div class="floatbox"> <img src="images/tour/trips-example.png" class="float_left" alt="trips" /> <p><?php echo $words->getFormatted('tour_trips_text1'); ?> </p> </div>
/** * returns the notification's text * * @access public * @return string */ public function getText() { $words = new MOD_words(); if (!$this->isLoaded() || !$this->WordCode) { return ''; } elseif ($this->WordCode == '' && ($text_params = unserialize($this->TranslateParams)) !== false) { return call_user_func_array(array($words, 'get'), $text_params); } else { $member = MOD_member::getMember_userId($item->IdRelMember); return $words->get($this->WordCode, $member->getUsername()); } }
<?php $words = new MOD_words(); $member = $this->_model->getLoggedInMember(); if ($member) { ?> <h3><?php echo $words->get('TripsSingleTripActionsHeadline'); ?> </h3> <ul class="linklist"> <li><a href="trip/show/<?php echo $member->Username; ?> " title="<?php echo $words->getSilent('TripsShowMy'); ?> "><img src="images/icons/world.png" style="vertical-align:bottom;" alt="<?php echo $words->getSilent('TripsShowMy'); ?> " /></a> <a href="trip/show/<?php echo $member->Username; ?> " title="<?php echo $words->getSilent('TripsShowMy'); ?> "><?php echo $words->getSilent('TripsShowMy'); ?> </a><?php echo $words->flushBuffer();
<?php $userbarText = array(); $words = new MOD_words(); ?> <h3><?php echo $words->get('About_AtAGlance'); ?> </h3> <ul class="linklist"> <li class="circle1"><a href="about"<?php echo $currentSubPage === 'theidea' ? ' class="active"' : ''; ?> ><?php echo $words->get('About_TheIdea'); ?> </a></li> <li class="circle2"><a href="about/thepeople"<?php echo $currentSubPage === 'thepeople' ? ' class="active"' : ''; ?> ><?php echo $words->get('About_ThePeople'); ?> </a></li> <li class="circle3"><a href="about/getactive"<?php echo $currentSubPage === 'getactive' ? ' class="active"' : ''; ?> ><?php echo $words->get('About_GetActive'); ?>
<?php $words = new MOD_words(); ?> <table style="padding: 0;"><tr><td style="padding: 0;"> <?php if ($Previous) { foreach ($Previous as $d) { echo '<a href="gallery/show/image/' . $d->id . '"><img src="gallery/thumbimg?id=' . $d->id . '" style="border: 1px solid #ccc; padding: 1px; margin: 15px 25px 15px 0; width: 60px; height: 60px;" alt="image"/></a><br />'; echo '<a href="gallery/show/image/' . $d->id . '"><span class="small"><img src="styles/css/minimal/images/icon_image_prev.gif" style="float: left; padding-right: 5px;">' . $words->get('Previous') . '</span></a>'; } } ?> </td><td style="text-align: right; padding: 0;"><?php if ($Next) { foreach ($Next as $e) { echo '<a href="gallery/show/image/' . $e->id . '"><img src="gallery/thumbimg?id=' . $e->id . '" style="border: 1px solid #ccc; padding: 1px; margin: 15px 0 15px 0; width: 60px; height: 60px;" alt="image"/></a><br />'; echo '<a href="gallery/show/image/' . $e->id . '"><span class="small"><img src="styles/css/minimal/images/icon_image_next.gif" style="float: right; padding-left: 5px;">' . $words->get('Next') . '</span></a>'; } } ?> </td></tr></table>
* @author The myTravelbook Team <http://www.sourceforge.net/projects/mytravelbook> * @copyright Copyright (c) 2005-2006, myTravelbook Team * @license http://www.gnu.org/licenses/gpl.html GNU General Public License (GPL) * @version $Id$ */ $Blog = new Blog(); $BlogView = new BlogView($Blog); $errors = array(); $tagsText = array(); $i18n = new MOD_i18n('apps/blog/tags.php'); $tagsText = $i18n->getText('tagsText'); $words = new MOD_words(); ?> <div id="blog-tags"> <h2><?php echo $words->get('TagsTitle'); ?> </h2> <?php if (!$tag) { // display only overview of all tags. $minstyle = 0; $maxstyle = 5; $prevcount = -999; $maxcount = false; $curstyle = $minstyle; $tagsIt = $Blog->getTagsIt($tag); $tags = array(); foreach ($tagsIt as $t) { if (!$maxcount) { $maxcount = $t->usecount;
* defined vars: * $blog - the blog object. * * @package blog * @subpackage template * @author The myTravelbook Team <http://www.sourceforge.net/projects/mytravelbook> * @copyright Copyright (c) 2005-2006, myTravelbook Team * @license http://www.gnu.org/licenses/gpl.html GNU General Public License (GPL) * @version $Id$ */ $words = new MOD_words(); $format = array('short' => $words->getSilent('DateFormatShort')); if (!isset($headingLevel)) { $headingLevel = 3; } $shouts = new ShoutsController(); ?> <p class="action"> <?php if (!$shouts->getShouts($application, $id)) { if ($shouts->count == 1) { echo '<img src="images/icons/comment.png" alt="' . $words->get('CommentsSingular') . '"/> 1 ' . $words->get('CommentsSingular'); } else { echo '<img src="images/icons/comments.png" alt="' . $words->get('CommentsPlural') . '"/> ' . (int) $shouts->comments . ' ' . $words->get('CommentsPlural'); } } else { echo '<img src="images/icons/comment_add.png" alt="' . $words->get('CommentsAdd') . '"/> ' . $words->get('CommentsAdd'); } ?> </p>
* $userId - user ID * $userHandle - handle of the user. * * @package blog * @subpackage template * @author The myTravelbook Team <http://www.sourceforge.net/projects/mytravelbook> * @copyright Copyright (c) 2005-2006, myTravelbook Team * @license http://www.gnu.org/licenses/gpl.html GNU General Public License (GPL) * @version $Id$ */ $words = new MOD_words(); if (!$search) { } else { ?> <h2><?php echo $words->get('BlogSearchPage', $search); ?> </h2> <div id="searchable"> <?php if ($posts == false) { echo '<p style="margin: 2em 0"><span class="note"><img src="images/icons/exclamation.png"> ' . $words->get('BlogSearch_NoResults') . '</span></p>'; } else { ?> <h3><?php echo $words->get('BlogSearchPosts', $search); ?> </h3> <?php foreach ($posts as $blog) { require 'blogitem.php';