[ Index ]
 

Code source de CMS made simple 1.0.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/modules/MenuManager/lang/ -> en_US.php (source)

   1  <?php
   2  $lang['addtemplate'] = 'Add Template';
   3  $lang['areyousure'] = 'Are you sure you want to delete this?';
   4  $lang['changelog'] = <<<EOF
   5      <ul>
   6      <li>1.1 -- Added handling of target parameter, mainly for the Link content type</li>
   7      <li>1.0 -- Initial Release</li>
   8      </ul> 
   9  EOF;
  10  $lang['dbtemplates'] = 'Database Templates';
  11  $lang['description'] = 'Manage menu templates to display menus in any way imaginable.';
  12  $lang['deletetemplate'] = 'Delete Template';
  13  $lang['edittemplate'] = 'Edit Template';
  14  $lang['filename'] = 'Filename';
  15  $lang['filetemplates'] = 'File Templates';
  16  $lang['help_collapse'] = 'Turn on (set to 1) to have the menu hide items not related to the current selected page.';
  17  $lang['help_items'] = 'Use this item to select a list of pages that this menu should display.  The value should be a list of page aliases separated with commas.';
  18  $lang['help_number_of_levels'] = 'This setting will only allow the menu to only display a certain number of levels deep.';
  19  $lang['help_show_all'] = 'This option will cause the menu to show all nodes even if they are set to not show in the menu. It will still not display inactive pages however.';
  20  $lang['help_show_root_siblings'] = 'This option only becomes useful if start_element or start_page are used.  It basically will display the siblings along side of the selected start_page/element.';
  21  $lang['help_start_level'] = 'This option will have the menu only display items starting a the given level.  An easy example would be if you had one menu on the page with number_of_levels=\'1\'.  Then as a second menu, you have start_level=\'2\'.  Now, your second menu will show items based on what is selected in the first menu.';
  22  $lang['help_start_element'] = 'Starts the menu displaying at the given start_element and showing that element and it\'s children only.  Takes a hierarchy position (e.g. 5.1.2).';
  23  $lang['help_start_page'] = 'Starts the menu displaying at the given start_page and showing that element and it\'s children only.  Takes a page alias.';
  24  $lang['help_template'] = 'The template to use for displaying the menu.  Templates will come from the database templates unless the template name ends with .tpl, in which case it will come from a file in the MenuManager templates directory';
  25  $lang['help'] = <<<EOF
  26      <h3>What does this do?</h3>
  27      <p>Menu Manager is a module for abstracting menus into a system that's easily usable and customizable.  It abstracts the display portion of menus into smarty templates that can be easily modified to suit the user's needs. That is, the menu manager itself is just an engine that feeds the template. By customizing templates, or make your own ones, you can create virtually any menu you can think of.</p>
  28      <h3>How do I use it?</h3>
  29      <p>Just insert the tag into your template/page like: <code>{menu}</code>.  The parameters that it can accept are listed below.</p>
  30      <h3>Why do I care about templates?</h3>
  31      <p>Menu Manager uses templates for display logic.  It comes with three default templates called cssmenu.tpl, minimal_menu.tpl and simple_navigation.tpl. They all basically create a simple unordered list of pages, using different classes and ID's for styling with CSS.</p>
  32      <p>Note that you style the look of the menus with CSS. Stylesheets are not included with Menu Manager, but must be attached to the page template separately. For the cssmenu.tpl template to work in IE you must also insert a link to the JavaScript in the head section of the page template, which is necessary for the hover effect to work in IE.</p>
  33      <p>If you would like to make a specialized version of a template, you can easily import into the database and then edit it directly inside the CMSMS admin.  To do this:
  34          <ol>
  35              <li>Click on the Menu Manager admin.</li>
  36              <li>Click on the File Templates tab, and click the Import Template to Database button next to i.e. simple_navigation.tpl.</li>
  37              <li>Give the template copy a name.  We'll call it "Test Template".</li>
  38              <li>You should now see the "Test Template" in your list of Database Templates.</li>
  39          </ol>
  40      </p>
  41      <p>Now you can easily modify the template to your needs for this site.  Put in classes, id's and other tags so that the formatting is exactly what you want.  Now, you can insert it into your site with {menu template='Test Template'}. Note that the .tpl extension must be included if a file template is used.</p>
  42      <p>The parameters for the \$node object used in the template are as follows:
  43          <ul>
  44              <li>\$node->id -- Content ID</li>
  45              <li>\$node->url -- URL of the Content</li>
  46              <li>\$node->accesskey -- Access Key, if defined</li>
  47              <li>\$node->tabindex -- Tab Index, if defined</li>
  48              <li>\$node->titleattribute -- Description or Title Attribute (title), if defined</li>
  49              <li>\$node->hierarchy -- Hierarchy position, (e.g. 1.3.3)</li>
  50              <li>\$node->depth -- Depth (level) of this node in the current menu</li>
  51              <li>\$node->prevdepth -- Depth (level) of the node that was right before this one</li>
  52              <li>\$node->haschildren -- Returns true if this node has child nodes to be displayed</li>
  53              <li>\$node->menutext -- Menu Text</li>
  54              <li>\$node->alias -- Page alias</li>
  55              <li>\$node->target -- Target for the link.  Will be empty if content doesn't set it.</li>
  56              <li>\$node->index -- Count of this node in the whole menu</li>
  57              <li>\$node->parent -- True if this node is a parent of the currently selected page</li>
  58          </ul>
  59      </p>
  60  EOF;
  61  $lang['importtemplate'] = 'Import Template to Database';
  62  $lang['menumanager'] = 'Menu Manager';
  63  $lang['newtemplate'] = 'New Template Name';
  64  $lang['nocontent'] = 'No content given';
  65  $lang['notemplatefiles'] = 'No file templates in %s';
  66  $lang['notemplatename'] = 'No template name given.';
  67  $lang['templatecontent'] = 'Template Content';
  68  $lang['templatenameexists'] = 'A template with this name already exists';
  69  ?>


Généré le : Tue Apr 3 18:50:37 2007 par Balluche grâce à PHPXref 0.7