/** * This helper functions cares for including the strings used in the workflow into translation. */ function MUVideo_workflow_none_gettextstrings() { return array('title' => no__('None workflow (no approval)'), 'description' => no__('This is like a non-existing workflow. Everything is online immediately after creation.'), 'states' => array(no__('Initial') => no__('Pseudo-state for content which is just created and not persisted yet.'), no__('Approved') => no__('Content has been approved and is available online.'), no__('Deleted') => no__('Pseudo-state for content which has been deleted from the database.')), 'actions' => array('initial' => array(no__('Submit') => no__('Submit content.')), 'approved' => array(no__('Update') => no__('Update content.'), no__('Delete') => no__('Delete content permanently.')), 'deleted' => array())); }
<?php namespace Zikula\Theme\AtomTheme; class AtomThemeVersion extends \Zikula_AbstractThemeVersion { public function getMetaData() { $meta = array('displayname' => $this->__('Atom'), 'description' => $this->__("The Atom theme is an auxiliary theme specially designed for rendering pages in Atom mark-up."), 'version' => '1.0.0', 'admin' => 0, 'user' => 0, 'system' => 1); return $meta; } } /* themevariables.ini gettext strings*/ no__('Show item descriptions');
/** * This helper functions cares for including the strings used in the workflow into translation. */ function Reviews_workflow_standard_gettextstrings() { return array('title' => no__('Standard workflow (single approval)'), 'description' => no__('This is a two staged workflow with stages for untrusted submissions and finally approved publications. It does not allow corrections of non-editors to published pages.'), 'states' => array(no__('Initial') => no__('Pseudo-state for content which is just created and not persisted yet.'), no__('Waiting') => no__('Content has been submitted and waits for approval.'), no__('Approved') => no__('Content has been approved and is available online.'), no__('Suspended') => no__('Content has been approved, but is temporarily offline.'), no__('Deleted') => no__('Pseudo-state for content which has been deleted from the database.')), 'actions' => array('initial' => array(no__('Submit') => no__('Submit content for acceptance by a moderator.'), no__('Submit and Approve') => no__('Submit content and approve immediately.')), 'waiting' => array(no__('Update') => no__('Update content.'), no__('Approve') => no__('Update content and approve for immediate publishing.'), no__('Delete') => no__('Delete content permanently.')), 'approved' => array(no__('Update') => no__('Update content.'), no__('Unpublish') => no__('Hide content temporarily.'), no__('Delete') => no__('Delete content permanently.')), 'suspended' => array(no__('Update') => no__('Update content.'), no__('Publish') => no__('Make content available again.'), no__('Delete') => no__('Delete content permanently.')), 'deleted' => array())); }
no__('yes'); no__('no'); no__('Master body template'); no__('2 columns'); no__('3 columns'); no__('3 columns static'); no__('grid'); no__('full width'); no__('full height'); no__('Master layout'); no__("Enable 'header' block position?"); no__('User menu to use'); no__('bt_userlinks plugin'); no__("'topnav' block position"); no__('Bottom navigation to use'); no__('footer HTML links'); no__("'bottomnav' block position"); no__("Enable 'footer' block position?"); no__('Enable font resize buttons'); no__('Enable optimized mode'); no__('Full height body required CSS class');
/** * Create the default data for the users module. * * @return void */ protected function defaultdata() { // Make assumption that if were upgrading from 76x to 1.x // that user properties already exist and abort inserts. if (isset($_SESSION['_PNUpgrader']['_PNUpgradeFrom76x'])) { return; } // _UREALNAME $record = array(); $record['prop_label'] = no__('_UREALNAME'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '1'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 0, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'realname'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _UFAKEMAIL $record = array(); $record['prop_label'] = no__('_UFAKEMAIL'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '2'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 0, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'publicemail'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _YOURHOMEPAGE $record = array(); $record['prop_label'] = no__('_YOURHOMEPAGE'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '3'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 0, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'url'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _TIMEZONEOFFSET $record = array(); $record['prop_label'] = no__('_TIMEZONEOFFSET'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '4'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 4, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'tzoffset'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _YOURAVATAR $record = array(); $record['prop_label'] = no__('_YOURAVATAR'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '5'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 4, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'avatar'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _YICQ $record = array(); $record['prop_label'] = no__('_YICQ'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '6'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 0, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'icq'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _YAIM $record = array(); $record['prop_label'] = no__('_YAIM'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '7'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 0, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'aim'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _YYIM $record = array(); $record['prop_label'] = no__('_YYIM'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '8'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 0, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'yim'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _YMSNM $record = array(); $record['prop_label'] = no__('_YMSNM'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '9'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 0, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'msnm'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _YLOCATION $record = array(); $record['prop_label'] = no__('_YLOCATION'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '10'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 0, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'city'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _YOCCUPATION $record = array(); $record['prop_label'] = no__('_YOCCUPATION'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '11'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 0, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'occupation'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _SIGNATURE $record = array(); $record['prop_label'] = no__('_SIGNATURE'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '12'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 1, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'signature'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _EXTRAINFO $record = array(); $record['prop_label'] = no__('_EXTRAINFO'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '13'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 1, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'extrainfo'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // _YINTERESTS $record = array(); $record['prop_label'] = no__('_YINTERESTS'); $record['prop_dtype'] = '1'; $record['prop_weight'] = '14'; $record['prop_validation'] = serialize(array('required' => 0, 'viewby' => 0, 'displaytype' => 1, 'listoptions' => '', 'note' => '')); $record['prop_attribute_name'] = 'interests'; DBUtil::insertObject($record, 'user_property', 'prop_id'); // set realname, homepage, timezone offset, location and ocupation // to be shown in the registration form by default $this->setVar('dudregshow', array(1, 3, 4, 10, 11)); }
<?php /** * Copyright Zikula Foundation 2009 - Zikula Application Framework * * This work is contributed to the Zikula Foundation under one or more * Contributor Agreements and licensed to You under the following license: * * @license GNU/LGPLv3 (or at your option, any later version). * @package Zikula * * Please see the NOTICE file distributed with this source code for further * information regarding copyright and licensing. */ $themeversion['name'] = 'RSS'; $themeversion['displayname'] = __('RSS'); $themeversion['description'] = __('The RSS theme is an auxiliary theme designed specially for outputting pages as an RSS feed.'); $themeversion['version'] = '1.0'; $themeversion['admin'] = 0; $themeversion['user'] = 0; $themeversion['system'] = 1; $themeversion['xhtml'] = false; /* themevariables.ini gettext strings*/ no__('Show item descriptions'); no__('RSS v0.91,RSS v0.20'); no__('RSS Version');